Debian Repository » History » Version 16
Marc Dequènes, 2021-10-20 15:38
| 1 | 1 | Marc Dequènes | h1. Debian Repository |
|---|---|---|---|
| 2 | |||
| 3 | 3 | Marc Dequènes | h2. Content |
| 4 | |||
| 5 | Since Buster we document here the reason for having custom/ported packages in this repository. |
||
| 6 | |||
| 7 | 12 | Marc Dequènes | h3. Sid |
| 8 | |||
| 9 | | lxd | Packaging of LXD (unsuitable for official Debian upload) | |
||
| 10 | |||
| 11 | 8 | Marc Dequènes | h3. Bullseye |
| 12 | |||
| 13 | 16 | Marc Dequènes | |_. Packages |_. Reason | |
| 14 | | spoolinger | DC tool, packaging in Debian WIP | |
||
| 15 | | xl2tpd | fixed upstream release| |
||
| 16 | | openldap |/2. backport for N-Way Sync and better cn=config management| |
||
| 17 | | python-ldap | |
||
| 18 | | python-certbot-dns-rfc2136 | certbot DNS plugin with workaround since the "CNAME resolution patch":https://github.com/certbot/certbot/pull/7244 is not being merged and no solution in sight | |
||
| 19 | 1 | Marc Dequènes | | lxd |/3. Packaging of LXD (unsuitable for official Debian upload), and related backports | |
| 20 | 12 | Marc Dequènes | | lxc | |
| 21 | 15 | Marc Dequènes | | dqlite | |
| 22 | 16 | Marc Dequènes | | criu | Backport for live migrations with LXD | |
| 23 | 8 | Marc Dequènes | |
| 24 | 3 | Marc Dequènes | h3. Buster |
| 25 | 1 | Marc Dequènes | |
| 26 | 16 | Marc Dequènes | |_. Packages |_. Reason | |
| 27 | | ftp-ssl | missing in Buster | |
||
| 28 | | m2crypto|dependency for *srv_cert_tlsa_gen*| |
||
| 29 | | molly-guard|/2. backported "fix for Debian#914716":https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914716 | |
||
| 30 | | usrmerge| |
||
| 31 | | phpmyadmin|/7. phpmyadmin is missing from Buster and previous version was broken (#670), simple backport with a few dependencies | |
||
| 32 | | google-recaptcha| |
||
| 33 | | phpmyadmin-motranslator| |
||
| 34 | | phpmyadmin-shapefile| |
||
| 35 | | phpmyadmin-sql-parser| |
||
| 36 | | tcpdf| |
||
| 37 | | twig-extensions| |
||
| 38 | | python-acme |/3. certbot with "CNAME resolution patch":https://github.com/certbot/certbot/pull/7244 | |
||
| 39 | | python-certbot | |
||
| 40 | | python-certbot-dns-rfc2136 | |
||
| 41 | | roundcube |/2. port of the 1.4 series to get important improvements | |
||
| 42 | | php-masterminds-html5 | |
||
| 43 | | spoolinger | DC tool, packaging in Debian WIP | |
||
| 44 | | inspircd | patched to be able to reload the TLS certificate without restarting (not supported in v2) | |
||
| 45 | | xl2tpd | fixed upstream release | |
||
| 46 | | openldap |/2. backport for N-Way Sync and better cn=config management | |
||
| 47 | | python-ldap| |
||
| 48 | 3 | Marc Dequènes | |
| 49 | 2 | Marc Dequènes | h2. Administration |
| 50 | |||
| 51 | 1 | Marc Dequènes | All files are stored into */srv/www/sites/repository.duckcorp.org* (config, packages, upload zone…). The user *dc-repository* has been created to handle all the necessary tasks with only limited rights. |
| 52 | |||
| 53 | Regular administration is to be done using the *adm_dc-repository* script as root. This script is able to sudo and pass local configuration options to reprepro, and avoid messing with the rights. |
||
| 54 | |||
| 55 | For example: |
||
| 56 | <pre> |
||
| 57 | # adm_dc-repository list jessie |
||
| 58 | jessie|dc-net|amd64: libiksemel-dev 1.4-2+dc1 |
||
| 59 | jessie|dc-net|amd64: libiksemel-utils 1.4-2+dc1 |
||
| 60 | jessie|dc-net|amd64: libiksemel3 1.4-2+dc1 |
||
| 61 | jessie|dc-net|amd64: zabbix-agent 1:2.4.6+dfsg-1+dc1 |
||
| 62 | … |
||
| 63 | jessie|dc-net|i386: zabbix-agent 1:2.4.6+dfsg-1+dc1 |
||
| 64 | … |
||
| 65 | jessie|dc-net|source: libiksemel 1.4-2+dc1 |
||
| 66 | jessie|dc-net|source: zabbix 1:2.4.6+dfsg-1+dc1 |
||
| 67 | </pre> |
||
| 68 | 2 | Marc Dequènes | |
| 69 | h2. Adding Contributors |
||
| 70 | |||
| 71 | 15 | Marc Dequènes | The list of uploader is setup into *data/duckcorp/debian_repository/reprepro_conf/dc-incoming-uploaders*. Use the _playbooks/tenants/duckcorp/debian_repository.yml_ playbook to deploy it. |
| 72 | 6 | Marc Dequènes | |
| 73 | h2. Renewing Signing Key |
||
| 74 | |||
| 75 | gpg expects to have full control over the tty, so temporarily give the tty's ownership over to the _dc-repository_ user (or document here a better solution). |
||
| 76 | |||
| 77 | Key creation: |
||
| 78 | |||
| 79 | <pre> |
||
| 80 | chown dc-repository $(tty) |
||
| 81 | su - dc-repository |
||
| 82 | gpg --full-generate-key |
||
| 83 | # default key is fine |
||
| 84 | # expiration: 5y |
||
| 85 | # Real name: DuckCorp Archive Automatic Signing Key |
||
| 86 | # Email address: admin_at_duckcorp.org |
||
| 87 | # note the new <key-id> |
||
| 88 | gpg --armor --export <key-id> >duckcorp_repository.gpg.key |
||
| 89 | chown root $(tty) |
||
| 90 | </pre> |
||
| 91 | |||
| 92 | Update the <key_id> in _host_vars/Toushirou/debian_repository.yml_ and redeploy the repository configuration: |
||
| 93 | |||
| 94 | ansible-playbook --diff playbooks/tenants/duckcorp/debian_repository.yml |
||
| 95 | |||
| 96 | Force resigning with the new key: |
||
| 97 | |||
| 98 | adm_dc-repository --export=lookedat export |
||
| 99 | |||
| 100 | Then update the APT trusted keys on all hosts: |
||
| 101 | |||
| 102 | ansible-playbook --diff -t apt playbooks/common.yml |