summaryrefslogtreecommitdiff
path: root/building.md
blob: b02f39293350e03868ff545e54c4f6d0b3345936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Building
========

Standard build
--------------

    DIST=stretch sudo -E cowbuilder --build $package*.dsc

Signing
-------

To sign both the `.dsc` and the `.changes` files:

    debsign $package*.changes

Uploading
---------

Simply run

    dupload *changes

This assumes a `~/.dupload.conf` like the following:

    package config;
    $default_host = "myremote";

    $cfg{'myremote'} = {
            fqdn     => "myremote.example.org",
            login    => "user",
            method   => "scpb",
            incoming => "/var/reprepro/incoming/",
            # The dinstall on ftp-master sends emails itself
            #dinstall_runs => 1,
    };

It's also important that:

  1. The host remote port is correctly defined at your `~/.ssh/config`.
  2. The user is in the `reprepro` group in the server.