444 Commits

Author SHA1 Message Date
James Valleroy
c866100dc0 freedombox Debian release 23.15
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmTa2akWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICMQcEAC86ENO/EvUsvL4DfqvAE87edA6
 BAdrSA+LK4Sv0mtjWOiHzGp+KMDhKzqM5qd2eXlg5EzZu3VVZvHduKSSNJw8epIB
 c4VFkaGT/Ynoz7n07h6Ir8KKwJ8+WZyypH6gPiIBs2BwxiIfnHC3t/K+zoE8mvlZ
 FqozQALcWX9HNtlBa+5NSZ2NGrxPwhoR/BihxHeUlpl8JrJRWKF+jzLVM5YNZTrt
 Z0cGKD4eVe9D3CPzd5iRLOzkM6nPj1m7CF2LHynhRJn0l7tR1R7Y0Na8QA+52YFj
 qGVOpbX4wFzM65BslQ+n7sxx36oLIbt98fuhWquakyQ+3SBeENc64ILO1VXjMbfN
 PF933ZIPt3WOnpjtmP3oaIrnjTus4duwjEco0vRlrmntXxLHbKQd0BOg9Yb9FI+j
 v4h59XoF6rgfmVB9JjeB38hBSRLC/JB3vJIwZ59vkxxM7V9+Q32YnzhonZyK+RQ5
 muHOlk2y+crw/VQo7FUQfHCT6WJ608UB+vrdHgeEa5Gw+irBeBv2V/TP5fsOAVqQ
 zn0zS3iEM2FpC2vgCmjk3tNuEym9oohikMg3LTMEDwgz6a+ntBtmkVlnDjrKCKHY
 BM6+Qw6KPwb0JwZHpeHglLmhFp3vk+fsQRdxBG3UWqcH1fu6IAjfpoFin5M2poJV
 1fvOV6Pud58fp277cw==
 =o8pW
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmTfShIWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICOYVD/94TSjTSINlfDXJ7yny2rVvFWGT
 9OihFtA+UbBTCaTBt9rRAD2tlinToaXNSgps4MVVOwyxdXpTJFEsxAYImjbGHFTt
 dI4hswVoURzTM+p16Nefd+O1xxkox9+h32XluN95oeUFZZBBgQmRLVxtLfOMOENq
 mV8Op0zxSDvhDhcOHlesRSkKaoEMAFr8JmYKgEzgRoXDtukMrapWx9FVC14LolIa
 NbA/mGPqJfGWFMBGt8PH7L3RacC+vnu4yAbGvWL9J/L0jBFsq8515xNXsAq4vE3f
 ILwFNtdyyQmeErLEPK5RWbNHXd++V0wmszwDSjVf4gGmv2EHentil0Z/sUjlsQDn
 SfPXJH+lwGTQYm9OPsStxd+HTz6jdxcfCcwWZGsDviSI0M/Ruyjy90dUacDiwv4L
 +v9FyFiaerHGxqjCyzJV/pRg48dJbbWnqwly8Gm1NZZSSnvh+Ne/xnp0TAF6b8p4
 3gCQwOqfM96JEZDfxIKY31+a6NR2QKrU6M5cqLtdwRlgpKFON1HD7bJqSkMYZZ59
 tMkJtR6hmnX3/6dA7Rqfg6tT4djyW++EUz4ZAPz2nTqVdrBGcoNJwVY8lRtECeD6
 e7S3EiA/6dyX8oAFt3OwXfUeN4G5olE+Op4zQN81hhj39J/6fB4sldYdPVhOijDR
 7d2nsQnx3MprMQMXlw==
 =CJ4M
 -----END PGP SIGNATURE-----

Merge tag 'v23.15' into debian/bookworm-backports

freedombox Debian release 23.15

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-08-18 06:38:09 -04:00
James Valleroy
18a04d384a
Release v23.15 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-08-14 21:11:52 -04:00
James Valleroy
4a1c96545a
debian: Add Swedish translation for debconf
Thanks to Peter Kvillegård <quat@sdfeu.org> for the translation.

Closes: #1041735
2023-08-13 10:45:43 -04:00
James Valleroy
61d9fa1ff9
Release v23.14~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-08-03 06:12:31 -04:00
James Valleroy
3aac407176 freedombox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GEEIjH5scbRBbF/pmO
 /VtN3KyHBxaMiFdrt/eObwp01YZ/Ulozet3T4tEde9nVR5ejZTIUS+Rd6Hz/NjlS
 6h5SiEXOkJOPgnzg6DXvMOb/u9BbzQ4HrVXO593I6fdwEZOlvuNo6SI/FwdtcRFf
 Lz/0qqrpWFeHIKrpyF6WHPMBn2hEhG9bBlDfYD3XXzc7RuYQ4bojVz1878o9XEjO
 eHcSKoRE+hh2Ojj192BIPej4yuILfSIi7A/9cgnhXYvfysCPkMIBRf2cn/TOYGxa
 3zysNtcuaMLhAIUuAAMxMn69OcK7aBFPuDKhFhA4qHYxTJLJ6KSz00xxuAL6L1+2
 NfVNjoAc9cxZQlJDHtCsT2Sct+9Mez4LCWx/lCqaPLXS7rRbVibe0QNtBL1sk1Te
 Cf9JhiEMfiFWuqZJWuya9zLLBWXNrFTLgWP5Iqc8HtBjr07vh9NG8SBl9Ryh7WUs
 XQIzKmzu7rHZOm5507Tdx2ymXc8r0YRp0bja9HbIEUSOvu0uL6bfqeCvBhIgId+l
 DPJyYpl991KljQ0O+8cY8QDvCcX6vjkSSMQj/v4nIdW46vNhwbxu7O4OwxwPUjt8
 KI5PSlzlIZuI32/u1g==
 =dhE2
 -----END PGP SIGNATURE-----

Merge tag 'v23.14' into debian/bookworm-backports

freedombox Debian release 23.14

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-08-03 06:11:23 -04:00
James Valleroy
e7826781fd
Release v23.14 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 20:40:13 -04:00
James Valleroy
196122716f
Release v23.13~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-21 10:03:50 -04:00
James Valleroy
e81c4471c6 freedombox Debian release 23.13
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmS2escWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMd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xj25X5bY9PBnqBvYDM0lfYtI
 Dz9LVKpcXQ9kG+eU2AOoZXmL3IWJGxRm+TzFWnflbGDyWJdwI3d1+Vy1FyVJKsjD
 dreZFYMK4TRkv53rRZLHezgIEaNmgagzT84TFOSHyMVUyEFbVPygR5Fi/kkn6Fk+
 y4FmiCnYoJUeeDGEYmL3fp0YBzEGIuA9gcpwCVf377TPLnV7zrdWWxyCEWF76bTp
 Dje+hY+zf4PFlxOP8S/ZRKzetWw+BuINC/J09rBTaGlw1LrXtaPKRLImiLANoCNx
 ZIM1sOKufBVTru0XqtHm747PkoiO42qUBNUFGR5viAsN7X9okPqbJfxdjQu0SUvm
 RdKL+lMgESS2MYr6MpcU4Gc+F3cLKp5viuPCIkWtCiNlCkyhx2F5eMLtkEmQBFpc
 UATwU9DMbJBoZGtl2yLVqEZ2sWFwLCsxCHQK6Cx8GLLxyzrAnthFQltjxqtXWoKF
 vsYLWlTo4KiTtaAS8w==
 =S3UF
 -----END PGP SIGNATURE-----

Merge tag 'v22.13' into debian/bookworm-backports

freedombox Debian release 23.13

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-21 09:55:54 -04:00
James Valleroy
3d536af95d
Release v23.13 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-17 22:02:45 -04:00
James Valleroy
674523d06f
Release v23.12~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-11 07:29:04 -04:00
James Valleroy
cf7b8bfdb3
Release v23.12 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-19 20:45:25 -04:00
James Valleroy
7bd1e45742
Release v23.11 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 22:07:40 -04:00
James Valleroy
d8c488242c
debian: Remove drop-in configs from version <23.11
Since 23.10 is already in experimental, change the prior-version to
23.11~ for removed drop-in /etc config files.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:34:49 -04:00
Sunil Mohan Adapa
a35c320ebd
ejabberd: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/

- jsxc is able to connect to jabber server

- When ssh is enabled avahi-browse -a shows SSH and SFTP services. The avahi
service files are created in /etc/avahi/services/. When service is disabled,
files are removed and avahi-browse -a does not show the services.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:30:16 -04:00
Sunil Mohan Adapa
87a45e1716
cockpit: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Web interface is available

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:30:14 -04:00
Sunil Mohan Adapa
98be58eb41
calibre: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- calibre web interface is available

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:30:11 -04:00
Sunil Mohan Adapa
1060d733a7
bepasty: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- bepasty uwsgi service is running
- bepasty web interface is available

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:30:09 -04:00
Sunil Mohan Adapa
c6817ab462
apache: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- ttrss app's web interface works
- Incorrect password attempts in LDAP login with /tt-rss-app/ get registered by
  fail2ban

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:30:06 -04:00
Sunil Mohan Adapa
86444764a7
wordpress: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Web interface works
- Adding a plugin using auto-download works
- fail2ban-client status shows wordpress-freedombox
- fail2ban catches invalid login attempts

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:30:04 -04:00
Sunil Mohan Adapa
73bc89b916
users: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- LDAP auth works for /tt-rss-app/

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:30:01 -04:00
Sunil Mohan Adapa
4b5d1d3204
upgrades: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Running 'apt update' sends a DBus signal to freedombox service
- unattended-upgrade works
- Many service were restart when unattended-upgrade was run

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:59 -04:00
Sunil Mohan Adapa
efe303de31
ttrss: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Web interface works

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:56 -04:00
Sunil Mohan Adapa
ba251c1e9a
transmission: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Web interface works

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:54 -04:00
Sunil Mohan Adapa
3d299a7b8a
syncthing: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Web interface works

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:51 -04:00
Sunil Mohan Adapa
f3bad4a880
sso: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Single-sing-on for searx works

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:49 -04:00
Sunil Mohan Adapa
e019f76b40
ssh: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/

- fail2ban-client show shows sshd in jail list

- When ssh is enabled avahi-browse -a shows SSH and SFTP services. The avahi
service files are created in /etc/avahi/services/. When service is disabled,
files are removed and avahi-browse -a does not show the services.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:46 -04:00
Sunil Mohan Adapa
56b3c854e4
sharing: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Sharing folders works

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:43 -04:00
Sunil Mohan Adapa
31cfb8f643
security: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- 'fail2ban-client get logtarget' shows sysout
- fail2ban logs to journald
- fail2ban identifies failures logged by apache in journald

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:41 -04:00
Sunil Mohan Adapa
500cfca6d4
searx: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Web interface works
- Web interface authentication works

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:38 -04:00
Sunil Mohan Adapa
4f0dd7733b
rssbridge: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Web interface works

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:35 -04:00
Sunil Mohan Adapa
8b1dfc525b
roundcube: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Web interface works
- fail2ban jail is enabled

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:33 -04:00
Sunil Mohan Adapa
23f7497c05
radicale: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Web interface works.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:30 -04:00
Sunil Mohan Adapa
8533a287a6
privacy: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- popularity-contest shows VENDOR:FreedomBox

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:27 -04:00
Sunil Mohan Adapa
e05a4b5eae
pagekite: Drop the config file for forcing use of Debian certs
See Debian bug #961984. This patch is available in Debian since version
1.5.2.200531-1. It is present in bullseye and bookworm. So it can be dropped
from FreedomBox.

Tests:

- Untested, as the exact configuration exists in
/etc/pagekite.d/90_debian_certs.rc

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:24 -04:00
Sunil Mohan Adapa
0daf6f353e
networks: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Network manager does run the dispatcher script due to write permission for
  group. This issue is unrelated to the patch, however.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:22 -04:00
Sunil Mohan Adapa
df7e2e313f
minidlna: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- /_minidlna/ works and shows a 404 generated by miniDLNA

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:18 -04:00
Sunil Mohan Adapa
cd512bd24c
mediawiki: Use drop-in config component for /etc files
- Don't ship /etc/mediawiki/FreedomBoxSettings.php anymore. Create the file on
first setup. Keep old file on update.

- Simplify and unify how the configuration settings are read and written.

Tests:

- Run unit and functional tests.

- All the drop-in config files in /etc/ are symlinks.

- Shipped configuration is effective.

- Upgrade from older version keeps old configuration.

- Config files are all symlinks in /etc/

- When upgrading from older version FreedomBoxSettings.php does not change.
  FreedomBoxStaticSettings.php becomes a symlink.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:16 -04:00
Sunil Mohan Adapa
c326b35238
matrixsynapse: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Login to Matrix using app.element.io works.
- Fail2ban rules work

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:13 -04:00
Sunil Mohan Adapa
0e82c58f1b
letsencrypt: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Unable to test renewal hook

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:10 -04:00
Sunil Mohan Adapa
0bddd4bb54
janus: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Web interface is accessible

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:08 -04:00
Sunil Mohan Adapa
6688ec9a20
ikiwiki: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks in /etc/
- Creating blog and wiki works
- Wiki is accessible

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:05 -04:00
Sunil Mohan Adapa
4950639fbf
i2p: Use drop-in config component for /etc files
Tests:

- Could not test as the app is uninstallable

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:29:01 -04:00
Sunil Mohan Adapa
340c8bd156
email: Use drop-in config component for /etc files
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:28:58 -04:00
Sunil Mohan Adapa
99b23b75a4
deluge: Use drop-in config comonents for /etc files
Tests:

- Could not test as the app is not installable.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:28:54 -04:00
Sunil Mohan Adapa
13db2c2372
gitweb: Use drop-in config component for /etc files
Tests:

- Config files are all symlinks /etc/
- Configuration file is effective
- Web interface works
- Web interface authentication works

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:27:32 -04:00
Sunil Mohan Adapa
ad13211f7e
debian/install: Add new place in /usr to keep drop-in config files
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-06-05 20:27:28 -04:00
James Valleroy
e719b1ed49
shadowsocksserver: Add separate app for Shadowsocks server
Closes: #729.

Tests:

- Install Shadowsocks Server. Install Shadowsocks Client, and set the
  server to localhost, and set the same password as the server. Use
  curl to connect to local SOCKS proxy on port 1080 and fetch a
  website.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Update some docstring comments for shadowsocks clients]
[sunil: Use the term Censorship instead of network filters]
[sunil: Prevent enabling both apps when setup is re-run]
[sunil: Update typehint for a privileged method to be minimal]
[sunil: Accept connections from external IPs too]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-05-23 13:58:39 -07:00
James Valleroy
1e905d8553
Release v23.10 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-05-22 21:14:59 -04:00
Sunil Mohan Adapa
40eecb6446
*: Move modules-enabled files to /usr/share
- This will leave /etc/{plinth,freedombox} empty by default making service more
robust to run across various environments and situations. See systemd's
explanation for more details.

- Use Debian maintainer scripts remove all the existing files in
/etc/plinth/modules-enabled.

- Read from /usr/share/freedombox/modules-enabled then from
/etc/plinth/modules-enabled and finally from /etc/freedombox/modules-enabled.
Later read ones override previously read files. Any file pointing to /dev/null
will mean the module must be ignored.

Tests:

- Clean up /etc/plinth, /etc/freedombox and
/usr/share/freedombox/modules-enabled. Run service and notice that files are
getting loaded from development folder using a debug message.

- Run setup.py and notice that files get installed in
/usr/share/freedombox/modules-enabled/ and in the next run they get loaded from
there.

- Create a override file in /etc/plinth/modules-enabled/transmission and notice
that overriden file gets priority over the one in
/usr/share/freedombox/modules-enabled.

- Link the file /etc/plinth/modules-enabled/transmission to /dev/null and notice
that is not loaded.

- Create another file in /etc/freedombox/modules-enabled/transmission and notice
that it overrides the previous two files.

- All affected modules are loaded.

- Build a new Debian package and ensure that upgrading 23.8 to new version
removes are all configuration files.

- Build developer documentation and test that Tutorial -> Full Code and Tutorial
-> Skeleton sections have been updated with references to
-.../modules-enabled/... paths.

- Install quassel and notice that certificates were copied to /var/lib/quassel
directory. Change domain to another domain and notice that certificates were
copied again to that directory.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-05-13 07:08:43 -04:00
James Valleroy
6cce7126dd
Release v23.9 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-05-08 21:12:59 -04:00