[Midnightbsd-cvs] mports: security/sudo: Tweak plist, add missing file on LDAP setup, add

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Mar 25 22:00:55 EDT 2008


Log Message:
-----------
Tweak plist, add missing file on LDAP setup, add a patch for some of the environment variables used by ports.  (this probably needs some tweaks for mports)

Modified Files:
--------------
    mports/security/sudo:
        Makefile (r1.6 -> r1.7)
        pkg-plist (r1.2 -> r1.3)

Added Files:
-----------
    mports/security/sudo/files:
        patch-sudoers (r1.1)

-------------- next part --------------
Index: pkg-plist
===================================================================
RCS file: /home/cvs/mports/security/sudo/pkg-plist,v
retrieving revision 1.2
retrieving revision 1.3
diff -L security/sudo/pkg-plist -L security/sudo/pkg-plist -u -r1.2 -r1.3
--- security/sudo/pkg-plist
+++ security/sudo/pkg-plist
@@ -13,5 +13,6 @@
 %%PORTDOCS%%%%DOCSDIR%%/UPGRADE
 %%PORTDOCS%%%%DOCSDIR%%/sample.sudoers
 %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.LDAP
+%%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/schema.OpenLDAP
 %%LDAP%%%%PORTDOCS%%%%DOCSDIR%%/sudoers2ldif
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/security/sudo/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -L security/sudo/Makefile -L security/sudo/Makefile -u -r1.6 -r1.7
--- security/sudo/Makefile
+++ security/sudo/Makefile
@@ -10,15 +10,12 @@
 PORTVERSION=	1.6.9.14
 CATEGORIES=	security
 MASTER_SITES=	http://www.sudo.ws/sudo/dist/ \
-		http://probsd.org/sudoftp/ \
-		http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/sudo/ \
-		http://mirrors.theonlinerecordstore.com/sudo/ \
-		http://core.ring.gr.jp/archives/misc/sudo/ \
-		http://www.ring.gr.jp/archives/misc/sudo/ \
-		http://sudo.tsuren.net/dist/ \
-		http://pluto.cdpa.nsysu.edu.tw/sudo/ \
-		ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/ \
-		ftp://ftp.stikman.com/pub/sudo/
+		ftp://obsd.isc.org/pub/sudo/ \
+		ftp://ftp.uwsg.indiana.edu/pub/security/sudo/ \
+		ftp://boulder.tele.dk/pub/sudo/ \
+		ftp://core.ring.gr.jp/pub/misc/sudo/ \
+		ftp://ftp.wiretapped.net/pub/security/host-security/sudo/ \
+
 DISTNAME=	${PORTNAME}-1.6.9p14
 
 MAINTAINER=	ports at MidnightBSD.org
@@ -71,7 +68,7 @@
 	${INSTALL_DATA} ${FILESDIR}/pam.conf ${PREFIX}/etc/pam.d/sudo.default
 
 	if [ ! -e ${PREFIX}/etc/pam.d/sudo ]; then \
-		cp -p ${PREFIX}/etc/pam.d/sudo.default \
+		${CP} -p ${PREFIX}/etc/pam.d/sudo.default \
 		${PREFIX}/etc/pam.d/sudo ;\
 	fi
 
@@ -85,6 +82,7 @@
 	${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${DOCSDIR}
 .if defined(WITH_LDAP)
 	${INSTALL_DATA} ${WRKSRC}/README.LDAP ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/schema.OpenLDAP ${DOCSDIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/sudoers2ldif ${DOCSDIR}
 .endif
 .endif
--- /dev/null
+++ security/sudo/files/patch-sudoers
@@ -0,0 +1,17 @@
+--- sudoers.orig	2007-07-08 09:06:33.000000000 -0400
++++ sudoers	2007-08-27 15:37:00.868840000 -0400
+@@ -12,6 +12,14 @@
+ # Cmnd alias specification
+ 
+ # Defaults specification
++# Uncomment if needed to preserve environmental variables related to the
++# FreeBSD pkg_* utilities.
++#Defaults	env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR"
++
++# Uncomment if needed to preserve environmental variables related to
++# portupgrade. (portupgrade uses some of the same variables as the pkg_*
++# tools so their Defaults above should be uncommented if needed too.)
++#Defaults	env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF"
+ 
+ # Runas alias specification
+ 


More information about the Midnightbsd-cvs mailing list