Commit graph

5176 commits

Author SHA1 Message Date
Alexandre Aubin
ea0817c47e Fix version number >.> 2020-06-05 17:01:03 +02:00
Alexandre Aubin
b0f39472b4 Funny jokes with char meanings in deb versions, apparently using a dash makes everything explode suddently >.> 2020-06-05 04:02:16 +02:00
Alexandre Aubin
40127af9e1 Update changelog for 4.0.0-alpha1 2020-06-05 03:35:41 +02:00
Josué Tille
81d936f9a7 Backup/restore also slapd.ldif
We need this because the regen-conf need to get the state of the slapd config database if it is customized or not and if some update are need.
2020-06-05 02:58:53 +02:00
Josué Tille
2f863748fb Fix index config 2020-06-05 02:58:53 +02:00
Josué Tille
41fdc613c8 slapd.conf is no more used, but ldap.conf need to be saved/restored 2020-06-05 02:58:52 +02:00
Alexandre Aubin
853df5e859 Those single quotes were probably meant to be double quotes? 2020-06-05 02:58:52 +02:00
Alexandre Aubin
ec656c7eb3 Factorize the actual slapd regeneration 2020-06-05 02:58:52 +02:00
Alexandre Aubin
a289294818 Misc comment improvements? 2020-06-05 02:58:35 +02:00
Alexandre Aubin
bade095bec Improve comment about editing slapd.ldif 2020-06-05 02:57:50 +02:00
Josue-T
c3e8231d04 Update data/hooks/conf_regen/06-slapd
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-06-05 02:57:50 +02:00
Josué Tille
5b4da63504 [fix] Clean old files 2020-06-05 02:57:50 +02:00
Josué Tille
6093ab00a7 Rewrite slapd regen-conf for new config file 2020-06-05 02:57:50 +02:00
Josué Tille
2ea0809909 Rewrite LDAP configuration in LDIF format 2020-06-05 02:55:16 +02:00
Josué Tille
50ae2546ba Change file type of LDAP schema from 'schema' to ldif 2020-06-05 02:55:16 +02:00
Alexandre Aubin
625d53723d [firewall] Let's not disable nftables that makes the script crash if it's not installed and we don't really need to disable it anyway since it's already configured to conflict 2020-06-05 02:55:16 +02:00
Alexandre Aubin
2c4a8b7309 [firewall] nftables is the new iptables-persistent and it should conflict with yunohost-firewall 2020-06-05 02:55:16 +02:00
Alexandre Aubin
05fb58f2dc [firewall] Add draft of migration for xtable->nftable 2020-06-05 02:55:16 +02:00
Alexandre Aubin
c70b0ae4f2 [psql] Fix hardcoded fix for postgresql status check 2020-06-05 02:55:16 +02:00
Alexandre Aubin
4920d4f907 [psql] Add migration for Postgresql cluster upgrade from 9.6 to 11 2020-06-05 02:55:16 +02:00
Alexandre Aubin
e88aed7249 [psql] Upgrade postgresql helper to use version 11 2020-06-05 02:55:16 +02:00
Alexandre Aubin
c4ad66f554 [php] Also patch php7.0 settings on the fly during restore 2020-06-05 02:55:16 +02:00
Alexandre Aubin
25fcaa196e [php] Also migrate app settings to fix inconsistencies (e.g. during remove of migrated apps) 2020-06-05 02:55:16 +02:00
Alexandre Aubin
212a15e42b [php] php-mcrypt doesn't exist anymore in buster 2020-06-05 02:55:16 +02:00
Alexandre Aubin
9679c291a5 [php] Also patch stuff in subfolers inside scripts/ (some apps have an experimental_helpers/ folder) 2020-06-05 02:55:16 +02:00
Alexandre Aubin
dd9564d389 [php] More ugly hack for php helpers shipped by apps that assume php 7.0 by default 2020-06-05 02:55:16 +02:00
Alexandre Aubin
9be105064b [php] Add migration procedure for php7.0 -> php7.3 pool files 2020-06-05 02:55:16 +02:00
Alexandre Aubin
3374e6539a [php] Now use php7.3 instead of php7.0 + autopatch app scripts like we did for php5 2020-06-05 02:55:16 +02:00
Alexandre Aubin
6ef3520f8d [conf] Update nslcd and nsswitch stuff using new Buster's default configs + get rid of nslcd service, only keep the regen-conf part 2020-06-05 02:55:16 +02:00
Alexandre Aubin
dc0481e26a [conf] Small tweak in dovecot conf (deprecated settings) 2020-06-05 02:55:16 +02:00
Alexandre Aubin
2723d24576 [conf] Remove deprecated option in sshd conf, c.f. https://patchwork.openembedded.org/patch/139981/ 2020-06-05 02:55:16 +02:00
Alexandre Aubin
e7214b37f3 [conf] Automatically disable/stop systemd-resolved that conflicts with dnsmasq on fresh setups ... 2020-06-05 02:55:16 +02:00
Alexandre Aubin
82d468a312 [cleanup] Move migration 0011 code to legacy.py 2020-06-05 02:55:16 +02:00
Alexandre Aubin
af047468df [cleanup] Fix typo in string name, remove stale string 2020-06-05 02:55:16 +02:00
Alexandre Aubin
d77da6a054 [cleanup] These arent used anywhere 2020-06-05 02:55:16 +02:00
Alexandre Aubin
217aaa36fa [cleanup] Remove legacy migrations and code snippets which won't be needed anymore on buster 2020-06-05 02:55:16 +02:00
Alexandre Aubin
878534aaa8 [deb] Update moulinette and ssowat required version to >= 4.0.0~alpha 2020-06-05 02:55:16 +02:00
Alexandre Aubin
1c51ee48e0 [deb] Add conflicts with versions from backports for critical dependencies 2020-06-05 02:55:16 +02:00
Alexandre Aubin
ca0d49337a [deb] Clean control file, remove some legacy Conflicts and Replaces -- it is safe to do so because 3.x instances already have these Conflicts / Replaces, so it's okay to remove them for 4.x 2020-06-05 02:55:16 +02:00
Alexandre Aubin
60bc1aaa62 [deb] Tmp version for debian builds during experimental/alpha dev for Buster 2020-06-05 02:55:16 +02:00
Étienne Mollier
fb8c2b7ba8 [fix] Ldap interface seems to expect lists everywhere now? 2020-06-05 02:54:43 +02:00
Alexandre Aubin
b67ff3143b [fix] Explicitly create home using mkhomedir_helper instead of obscure pam rule that doesn't work anymore 2020-06-05 02:54:43 +02:00
Kay0u
d738f8bc90 [fix] Fix getopts and helpers 2020-06-05 02:54:43 +02:00
Alexandre Aubin
3ef8f743c9 Workaround for custom backup/restore hook issue 2020-06-05 02:54:43 +02:00
Alexandre Aubin
584abd474d It just make no sense to backup/restore the mysql password... 2020-06-05 02:54:43 +02:00
Alexandre Aubin
a0511cca19 Fix string key 2020-06-05 02:50:51 +02:00
Alexandre Aubin
e544bf3e85 Do not disable sury during migration 2020-06-05 02:50:51 +02:00
Alexandre Aubin
9f1211e9b8 Also remove stupid progress messages during this migration 2020-06-05 02:50:51 +02:00
Alexandre Aubin
9d0c092481 Disable/skip ntp when inside a container 2020-06-05 02:50:51 +02:00
Alexandre Aubin
a26411dbad Misc tweaks to avoid re-running steps already performed 2020-06-05 02:50:51 +02:00