summaryrefslogtreecommitdiff
path: root/docs/building.md
blob: e29e742419dc9f6c7755f7cee53db9e0a4db6be4 (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=bookworm 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.