Project

General

Profile

Debian Repository » History » Version 17

Marc Dequènes, 2021-10-21 06:34

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 17 Marc Dequènes
| ruby-httpclient | backport to fix #995448
49 3 Marc Dequènes
50 2 Marc Dequènes
h2. Administration
51
52 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.
53
54
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.
55
56
For example:
57
<pre>
58
# adm_dc-repository list jessie
59
jessie|dc-net|amd64: libiksemel-dev 1.4-2+dc1
60
jessie|dc-net|amd64: libiksemel-utils 1.4-2+dc1
61
jessie|dc-net|amd64: libiksemel3 1.4-2+dc1
62
jessie|dc-net|amd64: zabbix-agent 1:2.4.6+dfsg-1+dc1
63
64
jessie|dc-net|i386: zabbix-agent 1:2.4.6+dfsg-1+dc1
65
66
jessie|dc-net|source: libiksemel 1.4-2+dc1
67
jessie|dc-net|source: zabbix 1:2.4.6+dfsg-1+dc1
68
</pre>
69 2 Marc Dequènes
70
h2. Adding Contributors
71
72 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.
73 6 Marc Dequènes
74
h2. Renewing Signing Key
75
76
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).
77
78
Key creation:
79
80
<pre>
81
chown dc-repository $(tty)
82
su - dc-repository
83
gpg --full-generate-key
84
# default key is fine
85
# expiration: 5y
86
# Real name: DuckCorp Archive Automatic Signing Key
87
# Email address: admin_at_duckcorp.org
88
# note the new <key-id>
89
gpg --armor --export <key-id> >duckcorp_repository.gpg.key
90
chown root $(tty)
91
</pre>
92
93
Update the <key_id> in _host_vars/Toushirou/debian_repository.yml_ and redeploy the repository configuration:
94
95
    ansible-playbook --diff playbooks/tenants/duckcorp/debian_repository.yml
96
97
Force resigning with the new key:
98
99
    adm_dc-repository --export=lookedat export
100
101
Then update the APT trusted keys on all hosts:
102
103
    ansible-playbook --diff -t apt playbooks/common.yml