Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 10:05:31 GMT
From:      Koop Mast <kwm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172387: fix plist for net/openldap24-server with pkg
Message-ID:  <201210061005.q96A5ViD019655@freefall.freebsd.org>
Resent-Message-ID: <201210061010.q96AABMN020003@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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
-@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
-@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
-@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
-@dirrmtry libexec/openldap
--- openldap-pkg.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210061005.q96A5ViD019655>