summaryrefslogtreecommitdiff
path: root/docs/building.md
blob: 0f7009ceb82a3b97806ee397e0dbee09b31a8810 (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
# 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.