Project

General

Profile

Debian Repository » History » Version 10

Marc Dequènes, 2021-10-06 19:59

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