summaryrefslogtreecommitdiff
path: root/docs/packaging/building.md
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-02 17:35:02 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-02 17:35:02 -0300
commit53e1b44d87c32676da33074925f776a9fc4dd7ff (patch)
tree2fdbf41e968562949223fbec1e0a90822a7b7026 /docs/packaging/building.md
parentb301abacd5ae122bce7a56ae73026108063421bb (diff)
downloaddebian-53e1b44d87c32676da33074925f776a9fc4dd7ff.tar.gz
debian-53e1b44d87c32676da33074925f776a9fc4dd7ff.tar.bz2
Feat: make the project more general
Diffstat (limited to 'docs/packaging/building.md')
-rw-r--r--docs/packaging/building.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/packaging/building.md b/docs/packaging/building.md
new file mode 100644
index 0000000..e29e742
--- /dev/null
+++ b/docs/packaging/building.md
@@ -0,0 +1,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.