databases/openldap: fix -server installs

@sample /var/openldap-data/ earlier (before /var/openldap-data/DB_CONFIG)
otherwise pkg_add complains that the file could not be installed.

ok sthen@ (MAINTAINER)
This commit is contained in:
landry
2021-07-28 07:23:34 +00:00
parent aa953d9ada
commit 9e1a0c69de
2 changed files with 6 additions and 7 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.187 2021/06/09 22:31:27 sthen Exp $
# $OpenBSD: Makefile,v 1.188 2021/07/28 07:23:34 landry Exp $
DPB_PROPERTIES = parallel
@@ -11,6 +11,7 @@ PORTROACH = limit:^2\.4\.
DISTNAME = openldap-2.4.59
PKGNAME-main = ${DISTNAME:S/-/-client-/}
PKGNAME-server = ${DISTNAME:S/-/-server-/}
REVISION-server = 0
# overwrite -main pkgname/path to strip FLAVOR, aci only affects the server
FULLPKGNAME-main = ${DISTNAME:S/-/-client-/}${FLAVOR_EXT:S/-aci//}
+4 -6
View File
@@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-server,v 1.27 2020/06/18 17:42:56 sthen Exp $
@comment $OpenBSD: PLIST-server,v 1.28 2021/07/28 07:23:34 landry Exp $
@option is-branch
@conflict openldap-client-<=2.4.45p0
@pkgpath databases/openldap,-server,bdb
@@ -72,9 +72,11 @@ sbin/slappasswd
sbin/slapschema
sbin/slaptest
share/examples/openldap/DB_CONFIG.example
@mode 600
@owner _openldap
@group _openldap
@mode 700
@sample /var/openldap-data/
@mode 600
@sample /var/openldap-data/DB_CONFIG
@mode
@owner
@@ -127,7 +129,3 @@ share/examples/openldap/slapd.ldif
@mode 0750
@group _openldap
@sample ${SYSCONFDIR}/openldap/slapd.d/
@mode 700
@owner _openldap
@group
@sample /var/openldap-data/