Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 06:33:15 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316817 - head/etc/pam.d
Message-ID:  <201704140633.v3E6XFf3072893@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Fri Apr 14 06:33:15 2017
New Revision: 316817
URL: https://svnweb.freebsd.org/changeset/base/316817

Log:
  Derive {AT,RCMDS}{DIR,MODE} from FILE{DIR,MODE}
  
  This reduces duplicity a bit.
  
  MFC after:	7 weeks
  Sponsored by:	Dell EMC Isilon

Modified:
  head/etc/pam.d/Makefile

Modified: head/etc/pam.d/Makefile
==============================================================================
--- head/etc/pam.d/Makefile	Fri Apr 14 05:32:03 2017	(r316816)
+++ head/etc/pam.d/Makefile	Fri Apr 14 06:33:15 2017	(r316817)
@@ -17,24 +17,25 @@ FILES=	README \
 	telnetd \
 	xdm
 
+FILESDIR=	/etc/pam.d
+FILESMODE=	644
+
 .if ${MK_AT} != "no"
 FILESGROUPS+=	AT
 AT+=	atrun
 ATPACKAGE+=	at
-ATDIR=	/etc/pam.d
-ATMODE=	644
+ATDIR=		${FILESDIR}
+ATMODE=		${FILESMODE}
 .endif
 
 .if ${MK_RCMDS} != "no"
 FILESGROUPS+=	RCMDS
 RCMDS+=		rsh
 RCMDSPACKAGE+=	rcmds
-RCMDSDIR=	/etc/pam.d
-RCMDSMODE=	644
+RCMDSDIR=	${FILESDIR}
+RCMDSMODE=	${FILESMODE}
 .endif
 
-FILESDIR=	/etc/pam.d
-FILESMODE=	644
 FILESMODE_README=	444
 LINKS=	${FILESDIR}/ftpd ${FILESDIR}/ftp
 



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