Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2017 13:49:53 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r444464 - head/security/sudo
Message-ID:  <201706271349.v5RDnrLU029624@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Tue Jun 27 13:49:53 2017
New Revision: 444464
URL: https://svnweb.freebsd.org/changeset/ports/444464

Log:
  Fix the way ${PREFIX}/etc/sudoers.d is handled removing the workaround added in
  r260609 and using @dir
  
  PR:		220234
  Submitted by:	Jose Luis Duran <jlduran@gmail.com>
  Sponsored by:	Rubicon Communications (Netgate)

Modified:
  head/security/sudo/Makefile
  head/security/sudo/pkg-plist

Modified: head/security/sudo/Makefile
==============================================================================
--- head/security/sudo/Makefile	Tue Jun 27 13:46:53 2017	(r444463)
+++ head/security/sudo/Makefile	Tue Jun 27 13:49:53 2017	(r444464)
@@ -3,7 +3,7 @@
 
 PORTNAME=	sudo
 PORTVERSION=	1.8.20p2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	SUDO
 
@@ -88,7 +88,6 @@ post-patch:
 
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/sudo.default
-	${TOUCH} ${STAGEDIR}${PREFIX}/etc/sudoers.d/.keep-me
 	${RM} ${STAGEDIR}${PREFIX}/etc/sudoers
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sudoreplay
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/visudo

Modified: head/security/sudo/pkg-plist
==============================================================================
--- head/security/sudo/pkg-plist	Tue Jun 27 13:46:53 2017	(r444463)
+++ head/security/sudo/pkg-plist	Tue Jun 27 13:49:53 2017	(r444464)
@@ -94,7 +94,7 @@ sbin/visudo
 %%NLS%%share/locale/vi/LC_MESSAGES/sudoers.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/sudo.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/sudoers.mo
-etc/sudoers.d/.keep-me
+@dir etc/sudoers.d
 @dir /var/db/sudo/lectured
 @dir /var/db/sudo
 @dir /var/run/sudo



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