Commit graph

5545 commits

Author SHA1 Message Date
Alexandre Aubin
b4ced44ad4 Update changelog for 4.0.3 2020-07-29 17:10:41 +02:00
Alexandre Aubin
6a9a7b1cf6 Update changelog for 4.0.2~beta 2020-07-27 19:26:18 +02:00
Alexandre Aubin
c2422d8c3e Let's create the home after we validate that admin actually does exists 2020-07-27 19:26:18 +02:00
Kay0u
509d417070 create admin home folder 2020-07-27 19:26:18 +02:00
Alexandre Aubin
1f2061c9ee Fix version number >.> 2020-07-27 19:26:18 +02:00
Alexandre Aubin
c5ae774e8d Funny jokes with char meanings in deb versions, apparently using a dash makes everything explode suddently >.> 2020-07-27 19:26:18 +02:00
Alexandre Aubin
5a6dca897b Update changelog for 4.0.0-alpha1 2020-07-27 19:26:18 +02:00
Josué Tille
f22f64103a 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-07-27 19:26:18 +02:00
Josué Tille
7c10ea6b93 Fix index config 2020-07-27 19:26:18 +02:00
Josué Tille
8af56c82ef slapd.conf is no more used, but ldap.conf need to be saved/restored 2020-07-27 19:26:18 +02:00
Alexandre Aubin
e28c618e67 Those single quotes were probably meant to be double quotes? 2020-07-27 19:26:18 +02:00
Alexandre Aubin
2bbff1d264 Factorize the actual slapd regeneration 2020-07-27 19:26:18 +02:00
Alexandre Aubin
a179e9107a Misc comment improvements? 2020-07-27 19:26:18 +02:00
Alexandre Aubin
4eb93d62e9 Improve comment about editing slapd.ldif 2020-07-27 19:26:18 +02:00
Josue-T
c0d3a361e3 Update data/hooks/conf_regen/06-slapd
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-07-27 19:26:18 +02:00
Josué Tille
e6a52f09bd [fix] Clean old files 2020-07-27 19:26:18 +02:00
Josué Tille
9bb8c0437d Rewrite slapd regen-conf for new config file 2020-07-27 19:26:18 +02:00
Josué Tille
d73a71fa61 Rewrite LDAP configuration in LDIF format 2020-07-27 19:26:18 +02:00
Josué Tille
7099750323 Change file type of LDAP schema from 'schema' to ldif 2020-07-27 19:26:18 +02:00
Alexandre Aubin
ca20eda9ca [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-07-27 19:26:18 +02:00
Alexandre Aubin
5914740957 [firewall] nftables is the new iptables-persistent and it should conflict with yunohost-firewall 2020-07-27 19:26:18 +02:00
Alexandre Aubin
bbb6a4ce91 [firewall] Add draft of migration for xtable->nftable 2020-07-27 19:26:18 +02:00
Alexandre Aubin
56a5b5aae2 [psql] Fix hardcoded fix for postgresql status check 2020-07-27 19:25:24 +02:00
Alexandre Aubin
50f1e9a681 [psql] Add migration for Postgresql cluster upgrade from 9.6 to 11 2020-07-27 19:25:24 +02:00
Alexandre Aubin
70fab24247 [psql] Upgrade postgresql helper to use version 11 2020-07-27 19:23:53 +02:00
Alexandre Aubin
73356eed75 [php] Also patch php7.0 settings on the fly during restore 2020-07-27 19:23:53 +02:00
Alexandre Aubin
b6d1bb7901 [php] Also migrate app settings to fix inconsistencies (e.g. during remove of migrated apps) 2020-07-27 19:23:53 +02:00
Alexandre Aubin
a90540ddeb [php] php-mcrypt doesn't exist anymore in buster 2020-07-27 19:23:53 +02:00
Alexandre Aubin
b747c17369 [php] Also patch stuff in subfolers inside scripts/ (some apps have an experimental_helpers/ folder) 2020-07-27 19:23:53 +02:00
Alexandre Aubin
9dbf626b36 [php] More ugly hack for php helpers shipped by apps that assume php 7.0 by default 2020-07-27 19:23:53 +02:00
Alexandre Aubin
2c7b3a1fd1 [php] Add migration procedure for php7.0 -> php7.3 pool files 2020-07-27 19:23:53 +02:00
Alexandre Aubin
5930b6ddf2 [php] Now use php7.3 instead of php7.0 + autopatch app scripts like we did for php5 2020-07-27 19:23:53 +02:00
Alexandre Aubin
57ce323cab [conf] Update nslcd and nsswitch stuff using new Buster's default configs + get rid of nslcd service, only keep the regen-conf part 2020-07-27 19:23:07 +02:00
Alexandre Aubin
01ccd5dd8c [conf] Small tweak in dovecot conf (deprecated settings) 2020-07-27 19:23:07 +02:00
Alexandre Aubin
16ce8bf693 [conf] Remove deprecated option in sshd conf, c.f. https://patchwork.openembedded.org/patch/139981/ 2020-07-27 19:23:07 +02:00
Alexandre Aubin
fa59ad35a9 [conf] Automatically disable/stop systemd-resolved that conflicts with dnsmasq on fresh setups ... 2020-07-27 19:23:07 +02:00
Alexandre Aubin
fa5130a7fc [cleanup] Move migration 0011 code to legacy.py 2020-07-27 19:23:07 +02:00
Alexandre Aubin
bde5dab71d [cleanup] Fix typo in string name, remove stale string 2020-07-27 19:22:21 +02:00
Alexandre Aubin
06c5f23c2b [cleanup] These arent used anywhere 2020-07-27 19:22:21 +02:00
Alexandre Aubin
60dd1fc848 [cleanup] Remove legacy migrations and code snippets which won't be needed anymore on buster 2020-07-27 19:22:21 +02:00
Alexandre Aubin
04894b1b87 [deb] Update moulinette and ssowat required version to >= 4.0.0~alpha 2020-07-27 19:21:12 +02:00
Alexandre Aubin
d935ab64f6 [deb] Add conflicts with versions from backports for critical dependencies 2020-07-27 19:21:12 +02:00
Alexandre Aubin
e9d5abf5e6 [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-07-27 19:21:12 +02:00
Alexandre Aubin
4f9216b07c [deb] Tmp version for debian builds during experimental/alpha dev for Buster 2020-07-27 19:21:12 +02:00
Étienne Mollier
0a9f4d59cb [fix] Ldap interface seems to expect lists everywhere now? 2020-07-27 19:20:36 +02:00
Alexandre Aubin
834b767000 [fix] Explicitly create home using mkhomedir_helper instead of obscure pam rule that doesn't work anymore 2020-07-27 19:20:36 +02:00
Kay0u
8d5422d13f [fix] Fix getopts and helpers 2020-07-27 19:20:36 +02:00
Alexandre Aubin
bc19bef59e Workaround for custom backup/restore hook issue 2020-07-27 19:20:36 +02:00
Alexandre Aubin
6b72fc5fc5 It just make no sense to backup/restore the mysql password... 2020-07-27 19:20:36 +02:00
Alexandre Aubin
02385c58b0 Update changelog for 3.8.5.5 2020-07-27 19:13:28 +02:00