Project

General

Profile

Debian Repository » History » Version 9

Marc Dequènes, 2021-08-16 08:24

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