Project

General

Profile

Debian Repository » History » Version 20

Marc Dequènes, 2023-06-28 15:45

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 20 Marc Dequènes
h3. Bookworm
12
13
|_. Packages |_. Reason |
14
| spoolinger | DC tool, packaging in Debian WIP |
15
| 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 |
16
17 8 Marc Dequènes
h3. Bullseye
18
19 16 Marc Dequènes
|_. Packages |_. Reason |
20
| spoolinger | DC tool, packaging in Debian WIP |
21
| xl2tpd | fixed upstream release|
22
| openldap |/2. backport for N-Way Sync and better cn=config management|
23
| python-ldap |
24
| 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 |
25 1 Marc Dequènes
| lxd |/3. Packaging of LXD (unsuitable for official Debian upload), and related backports |
26 12 Marc Dequènes
| lxc |
27 15 Marc Dequènes
| dqlite |
28 16 Marc Dequènes
| criu | Backport for live migrations with LXD |
29 18 Marc Dequènes
| roundcube | back for newer version |
30 8 Marc Dequènes
31 3 Marc Dequènes
h3. Buster
32 1 Marc Dequènes
33 16 Marc Dequènes
|_. Packages |_. Reason |
34
| ftp-ssl | missing in Buster |
35
| m2crypto|dependency for *srv_cert_tlsa_gen*|
36
| molly-guard|/2. backported "fix for Debian#914716":https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914716 |
37
| usrmerge|
38
| phpmyadmin|/7. phpmyadmin is missing from Buster and previous version was broken (#670), simple backport with a few dependencies |
39
| google-recaptcha|
40
| phpmyadmin-motranslator|
41
| phpmyadmin-shapefile|
42
| phpmyadmin-sql-parser|
43
| tcpdf|
44
| twig-extensions|
45
| python-acme |/3. certbot with "CNAME resolution patch":https://github.com/certbot/certbot/pull/7244 |
46
| python-certbot |
47
| python-certbot-dns-rfc2136 |
48
| roundcube |/2. port of the 1.4 series to get important improvements  |
49
| php-masterminds-html5 |
50
| spoolinger | DC tool, packaging in Debian WIP |
51
| inspircd | patched to be able to reload the TLS certificate without restarting (not supported in v2) |
52
| xl2tpd | fixed upstream release |
53
| openldap |/2. backport for N-Way Sync and better cn=config management |
54
| python-ldap|
55 19 Marc Dequènes
| ruby-httpclient | backport to fix #995448 |
56 3 Marc Dequènes
57 2 Marc Dequènes
h2. Administration
58
59 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.
60
61
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.
62
63
For example:
64
<pre>
65
# adm_dc-repository list jessie
66
jessie|dc-net|amd64: libiksemel-dev 1.4-2+dc1
67
jessie|dc-net|amd64: libiksemel-utils 1.4-2+dc1
68
jessie|dc-net|amd64: libiksemel3 1.4-2+dc1
69
jessie|dc-net|amd64: zabbix-agent 1:2.4.6+dfsg-1+dc1
70
71
jessie|dc-net|i386: zabbix-agent 1:2.4.6+dfsg-1+dc1
72
73
jessie|dc-net|source: libiksemel 1.4-2+dc1
74
jessie|dc-net|source: zabbix 1:2.4.6+dfsg-1+dc1
75
</pre>
76 2 Marc Dequènes
77
h2. Adding Contributors
78
79 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.
80 6 Marc Dequènes
81
h2. Renewing Signing Key
82
83
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).
84
85
Key creation:
86
87
<pre>
88
chown dc-repository $(tty)
89
su - dc-repository
90
gpg --full-generate-key
91
# default key is fine
92
# expiration: 5y
93
# Real name: DuckCorp Archive Automatic Signing Key
94
# Email address: admin_at_duckcorp.org
95
# note the new <key-id>
96
gpg --armor --export <key-id> >duckcorp_repository.gpg.key
97
chown root $(tty)
98
</pre>
99
100
Update the <key_id> in _host_vars/Toushirou/debian_repository.yml_ and redeploy the repository configuration:
101
102
    ansible-playbook --diff playbooks/tenants/duckcorp/debian_repository.yml
103
104
Force resigning with the new key:
105
106
    adm_dc-repository --export=lookedat export
107
108
Then update the APT trusted keys on all hosts:
109
110
    ansible-playbook --diff -t apt playbooks/common.yml