Commit graph

1669 commits

Author SHA1 Message Date
Josué Tille
2e5d87545e 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-19 15:13:06 +02:00
Josué Tille
bc8d2f5176 Fix index config 2020-06-19 15:13:06 +02:00
Josué Tille
5aae05e180 slapd.conf is no more used, but ldap.conf need to be saved/restored 2020-06-19 15:13:06 +02:00
Alexandre Aubin
c1c99c1b34 Those single quotes were probably meant to be double quotes? 2020-06-19 15:13:06 +02:00
Alexandre Aubin
4d322e7e00 Factorize the actual slapd regeneration 2020-06-19 15:13:06 +02:00
Alexandre Aubin
5323dfa600 Misc comment improvements? 2020-06-19 15:13:06 +02:00
Alexandre Aubin
48c9d3790e Improve comment about editing slapd.ldif 2020-06-19 15:13:06 +02:00
Josue-T
308bca32ef Update data/hooks/conf_regen/06-slapd
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-06-19 15:13:06 +02:00
Josué Tille
7a0340cef8 [fix] Clean old files 2020-06-19 15:13:06 +02:00
Josué Tille
9b3fb09008 Rewrite slapd regen-conf for new config file 2020-06-19 15:13:06 +02:00
Josué Tille
7d35d0db60 Rewrite LDAP configuration in LDIF format 2020-06-19 15:13:06 +02:00
Josué Tille
ed96ec9cdd Change file type of LDAP schema from 'schema' to ldif 2020-06-19 15:13:06 +02:00
Alexandre Aubin
1eb1d85ed9 [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-19 15:13:06 +02:00
Alexandre Aubin
3b7a6e7e75 [firewall] nftables is the new iptables-persistent and it should conflict with yunohost-firewall 2020-06-19 15:13:06 +02:00
Alexandre Aubin
3537e5d24d [psql] Upgrade postgresql helper to use version 11 2020-06-19 15:13:06 +02:00
Alexandre Aubin
a4ae3b2beb [php] Now use php7.3 instead of php7.0 + autopatch app scripts like we did for php5 2020-06-19 15:13:06 +02:00
Alexandre Aubin
5202b823c5 [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-19 15:13:06 +02:00
Alexandre Aubin
5d59d4e29c [conf] Small tweak in dovecot conf (deprecated settings) 2020-06-19 15:13:06 +02:00
Alexandre Aubin
e6f490dd7e [conf] Remove deprecated option in sshd conf, c.f. https://patchwork.openembedded.org/patch/139981/ 2020-06-19 15:13:06 +02:00
Alexandre Aubin
4a0efb8337 [conf] Automatically disable/stop systemd-resolved that conflicts with dnsmasq on fresh setups ... 2020-06-19 15:13:06 +02:00
Alexandre Aubin
2ee1bf0230 [cleanup] These arent used anywhere 2020-06-19 15:13:06 +02:00
Kay0u
397e2d4d66 [fix] Fix getopts and helpers 2020-06-19 15:10:50 +02:00
Alexandre Aubin
bb1f59159f Workaround for custom backup/restore hook issue 2020-06-19 15:10:50 +02:00
Alexandre Aubin
9e0d655e34 It just make no sense to backup/restore the mysql password... 2020-06-19 15:10:50 +02:00
Alexandre Aubin
ecb27ed124
Merge pull request #988 from taziden/patch-1
[fix] postfix per-domain destination concurrency
2020-06-17 21:10:03 +02:00
Alexandre Aubin
653c5fde8f Set sury default pinning to 600 2020-06-06 01:16:54 +02:00
Alexandre Aubin
b050c1b3a4
Merge pull request #1012 from ericgaspar/update-n-to-6.5.1
Update n to 6.5.1
2020-06-05 17:50:54 +02:00
Alexandre Aubin
2408a62059
More accurate grep to avoid mistakenly grepping commented lines... 2020-06-05 16:58:46 +02:00
Éric Gaspar
2ab56428f8
Update data/helpers.d/nodejs
Co-authored-by: Kayou <pierre@kayou.io>
2020-06-05 11:27:43 +02:00
Alexandre Aubin
9d0c092481 Disable/skip ntp when inside a container 2020-06-05 02:50:51 +02:00
Alexandre Aubin
2d42480f7e Make sure to propagate change in slapd systemd conf during initial install 2020-06-04 19:24:50 +02:00
Alexandre Aubin
203bc01e0c
Merge pull request #1007 from SohKa/add-predefined-dh-group
Add pre-defined DHE group and set up Nginx to use it
2020-06-04 18:51:53 +02:00
Alexandre Aubin
1cfa815aaa
Propagate location change for ffdhe2048.pem 2020-06-04 18:44:02 +02:00
Alexandre Aubin
cc04c4b937
Rename dh2048.pem to ffdhe2048.pem 2020-06-04 18:42:40 +02:00
Alexandre Aubin
9906617aa1
Add comments about where the DH param comes from 2020-06-04 18:41:05 +02:00
Éric Gaspar
c62527a0af
Update data/helpers.d/nodejs
Co-authored-by: Kayou <pierre@kayou.io>
2020-06-04 15:04:02 +02:00
ericgaspar
63e6abdf1e
add n_version variable 2020-06-04 11:23:51 +02:00
yalh76
f0e204bcd3 Change to be consistent with mysql helper 2020-06-04 02:28:20 +02:00
Alexandre Aubin
55036fad2c Calling ynh_print_err in case of error didn't work, and we probably want a ynh_die here 2020-06-04 01:18:52 +02:00
Alexandre Aubin
3d66eaec01 Retry wget on non-critical failures to try to avoid tmp dns issues 2020-06-04 00:48:18 +02:00
Alexandre Aubin
ca89607d9d Make sure to stop the old mysql and that mariadb is started 2020-06-03 23:38:59 +02:00
Alexandre Aubin
03432349d7 Add -o Acquire::Retries=3 to fix some stupid issues happening sometimes 2020-06-03 19:29:32 +02:00
ericgaspar
66bc921c4a
fix stupid mistake 2020-06-03 19:11:56 +02:00
Alexandre Aubin
b52f5bc182
Merge pull request #1001 from YunoHost/fix_add_fpm_restore
Fix ynh_add_fpm_config with template in restore
2020-06-03 16:32:59 +02:00
Alexandre Aubin
e24191ce64 Make sure mysql is an alias to mariadb 2020-06-02 17:00:52 +02:00
Alexandre Aubin
852cd14c4b
Force external resolution for reverse DNS dig 2020-06-02 16:48:19 +02:00
ericgaspar
faedbc534f Update nodejs 2020-05-31 18:02:29 +02:00
ericgaspar
ada94aec18
Update n to upstream version (6.5.1) 2020-05-30 17:30:38 +02:00
Alexandre Aubin
17eec25ed2 Buuuurn glances 2020-05-28 20:48:01 +02:00
JimboJoe
94cecf682d
Update data/helpers.d/php
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-05-28 07:15:46 +02:00