1 |
commit: 08af5d112cc3044e4068dddef1b40d8ba26c7ae8 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 12 19:06:29 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 12 19:06:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08af5d11 |
7 |
|
8 |
net-nds/openldap: fix MissingSlash |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
net-nds/openldap/openldap-2.4.49.ebuild | 8 ++++---- |
14 |
1 file changed, 4 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/net-nds/openldap/openldap-2.4.49.ebuild b/net-nds/openldap/openldap-2.4.49.ebuild |
17 |
index d7df0d817e0..6b4c5ba2ad9 100644 |
18 |
--- a/net-nds/openldap/openldap-2.4.49.ebuild |
19 |
+++ b/net-nds/openldap/openldap-2.4.49.ebuild |
20 |
@@ -866,7 +866,7 @@ pkg_postinst() { |
21 |
# and a misconfiguration if multiple machines use the same key and cert. |
22 |
if use ssl; then |
23 |
install_cert /etc/openldap/ssl/ldap |
24 |
- use prefix || chown ldap:ldap "${EROOT}"etc/openldap/ssl/ldap.* |
25 |
+ use prefix || chown ldap:ldap "${EROOT}"/etc/openldap/ssl/ldap.* |
26 |
ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" |
27 |
ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" |
28 |
ewarn "add 'TLS_REQCERT allow' if you want to use them." |
29 |
@@ -881,11 +881,11 @@ pkg_postinst() { |
30 |
fi |
31 |
|
32 |
# These lines force the permissions of various content to be correct |
33 |
- use prefix || chown ldap:ldap "${EROOT}"var/run/openldap |
34 |
+ use prefix || chown ldap:ldap "${EROOT}"/var/run/openldap |
35 |
chmod 0755 "${EROOT}"var/run/openldap |
36 |
- use prefix || chown root:ldap "${EROOT}"etc/openldap/slapd.conf{,.default} |
37 |
+ use prefix || chown root:ldap "${EROOT}"/etc/openldap/slapd.conf{,.default} |
38 |
chmod 0640 "${EROOT}"etc/openldap/slapd.conf{,.default} |
39 |
- use prefix || chown ldap:ldap "${EROOT}"var/lib/openldap-data |
40 |
+ use prefix || chown ldap:ldap "${EROOT}"/var/lib/openldap-data |
41 |
fi |
42 |
|
43 |
if has_version 'net-nds/openldap[-minimal]' && ((${OPENLDAP_PRINT_MESSAGES})); then |