Project

General

Profile

Debian Repository » History » Version 21

Marc Dequènes, 2023-06-29 02:27

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