diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-10-30 18:38:54 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-10-30 18:38:54 +0000 |
commit | 9f41fac873dce98d041453027e50b074c93398dd (patch) | |
tree | 93e7b8e61751be0c17f621789a1af71a92c171fa /net/openldap24-server/pkg-plist | |
parent | File missing in pkg-plist (diff) |
Fix plist to handle *.conf files properly as apache13* ports do.
Submitted by: bento
Notes
Notes:
svn path=/head/; revision=34459
Diffstat (limited to '')
-rw-r--r-- | net/openldap24-server/pkg-plist | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/openldap24-server/pkg-plist b/net/openldap24-server/pkg-plist index 78121f33f4be..692835f547df 100644 --- a/net/openldap24-server/pkg-plist +++ b/net/openldap24-server/pkg-plist @@ -5,13 +5,29 @@ bin/ldapmodrdn bin/ldappasswd bin/ldapsearch bin/ud +@unexec if cmp -s %D/etc/openldap/ldap.conf %D/etc/openldap/ldap.conf.default; then rm -f %D/etc/openldap/ldap.conf; fi etc/openldap/ldap.conf.default +@exec [ ! -f %B/ldap.conf ] && cp %B/%f %B/ldap.conf +@unexec if cmp -s %D/etc/openldap/ldapfilter.conf %D/etc/openldap/ldapfilter.conf.default; then rm -f %D/etc/openldap/ldapfilter.conf; fi etc/openldap/ldapfilter.conf.default +@exec [ ! -f %B/ldapfilter.conf ] && cp %B/%f %B/ldapfilter.conf +@unexec if cmp -s %D/etc/openldap/ldapsearchprefs.conf %D/etc/openldap/ldapsearchprefs.conf.default; then rm -f %D/etc/openldap/ldapsearchprefs.conf; fi etc/openldap/ldapsearchprefs.conf.default +@exec [ ! -f %B/ldapsearchprefs.conf ] && cp %B/%f %B/ldapsearchprefs.conf +@unexec if cmp -s %D/etc/openldap/ldaptemplates.conf %D/etc/openldap/ldaptemplates.conf.default; then rm -f %D/etc/openldap/ldaptemplates.conf; fi etc/openldap/ldaptemplates.conf.default +@exec [ ! -f %B/ldaptemplates.conf ] && cp %B/%f %B/ldaptemplates.conf +@unexec if cmp -s %D/etc/openldap/slapd.at.conf %D/etc/openldap/slapd.at.conf.default; then rm -f %D/etc/openldap/slapd.at.conf; fi etc/openldap/slapd.at.conf.default +@exec [ ! -f %B/slapd.at.conf ] && cp %B/%f %B/slapd.at.conf +@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi etc/openldap/slapd.conf.default +@exec [ ! -f %B/slapd.conf ] && cp %B/%f %B/slapd.conf +@unexec if cmp -s %D/etc/openldap/slapd.oc.conf %D/etc/openldap/slapd.oc.conf.default; then rm -f %D/etc/openldap/slapd.oc.conf; fi etc/openldap/slapd.oc.conf.default +@exec [ ! -f %B/slapd.oc.conf ] && cp %B/%f %B/slapd.oc.conf +@dirrm etc/openldap +etc/rc.d/slapd.sh.sample include/disptmpl.h include/lber.h include/ldap.h |