ports/172387: fix plist for net/openldap24-server with pkg
Koop Mast
kwm at FreeBSD.org
Sat Oct 6 10:10:11 UTC 2012
>Number: 172387
>Category: ports
>Synopsis: fix plist for net/openldap24-server with pkg
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 06 10:10:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Koop Mast
>Release: FreeBSD 9.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 9.0-STABLE FreeBSD 9.0-STABLE #6 r235139: Tue May 8 21:19:03 UTC 2012 simon at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386
>Description:
fix the plist of net/openldap2?-* with pkg in strict mode
For the server since libexec/openldap is only created when modules
support is enabled. So only try to remove it then.
The clients shouldn't try to remove libexec/openldap the client itself
doesn't anything in there. I also didn't find anything else in the
ports tree that installs something in libexec/openldap so I don't see
why -client should try to remove it.
>How-To-Repeat:
try to install openldap2?-client with "env DEVELOPER_MODE pkg"
>Fix:
--- openldap-pkg.diff begins here ---
Index: net/openldap23-server/pkg-plist
===================================================================
--- net/openldap23-server/pkg-plist (revision 305185)
+++ net/openldap23-server/pkg-plist (working copy)
@@ -56,7 +56,7 @@
%%BACK_SQL%%libexec/openldap/back_sql.so
libexec/slapd
%%SLURPD%%libexec/slurpd
- at dirrmtry libexec/openldap
+%%MODULES%%@dirrmtry libexec/openldap
sbin/slapacl
sbin/slapadd
sbin/slapauth
Index: net/openldap23-server/pkg-plist.client
===================================================================
--- net/openldap23-server/pkg-plist.client (revision 305185)
+++ net/openldap23-server/pkg-plist.client (working copy)
@@ -43,4 +43,3 @@
@comment share/openldap/ucdata/num.dat
@comment @dirrm share/openldap/ucdata
@comment @dirrm share/openldap
- at dirrmtry libexec/openldap
Index: net/openldap24-server/pkg-plist
===================================================================
--- net/openldap24-server/pkg-plist (revision 305185)
+++ net/openldap24-server/pkg-plist (working copy)
@@ -86,7 +86,7 @@
%%SMBPWD%%libexec/openldap/smbk5pwd.so
%%SMBPWD%%libexec/openldap/smbk5pwd.so.0
libexec/slapd
- at dirrmtry libexec/openldap
+%%MODULES%%@dirrmtry libexec/openldap
sbin/slapacl
sbin/slapadd
sbin/slapauth
Index: net/openldap24-server/pkg-plist.client
===================================================================
--- net/openldap24-server/pkg-plist.client (revision 305185)
+++ net/openldap24-server/pkg-plist.client (working copy)
@@ -37,4 +37,3 @@
lib/libldap_r.a
lib/libldap_r.la
lib/libldap_r.so
- at dirrmtry libexec/openldap
--- openldap-pkg.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list