Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 23:17:13 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367995 - head/security/sudo
Message-ID:  <201409112317.s8BNHD3Y018632@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Sep 11 23:17:12 2014
New Revision: 367995
URL: http://svnweb.freebsd.org/changeset/ports/367995
QAT: https://qat.redports.org/buildarchive/r367995/

Log:
  Use @sample for sudoers

Modified:
  head/security/sudo/pkg-plist

Modified: head/security/sudo/pkg-plist
==============================================================================
--- head/security/sudo/pkg-plist	Thu Sep 11 23:11:48 2014	(r367994)
+++ head/security/sudo/pkg-plist	Thu Sep 11 23:17:12 2014	(r367995)
@@ -1,9 +1,7 @@
 bin/sudo
 bin/sudoedit
 bin/sudoreplay
-@unexec if cmp -s %D/etc/sudoers.sample %D/etc/sudoers; then rm -f %D/etc/sudoers; fi
-etc/sudoers.sample
-@exec if [ ! -f %D/etc/sudoers ] ; then cp -p %D/%F %B/sudoers; fi
+@sample etc/sudoers.sample
 @unexec if cmp -s %D/etc/pam.d/sudo.default %D/etc/pam.d/sudo; then rm -f %D/etc/pam.d/sudo ; fi
 etc/pam.d/sudo.default
 @exec if [ ! -f %D/etc/pam.d/sudo ] ; then cp -p %D/%F %B/sudo; fi



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