Project

General

Profile

Debian Repository » History » Version 11

Marc Dequènes, 2021-10-14 18:55

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