Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2012 16:23:12 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243617 - head/usr.bin/passwd
Message-ID:  <201211271623.qARGNCMH007017@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Tue Nov 27 16:23:12 2012
New Revision: 243617
URL: http://svnweb.freebsd.org/changeset/base/243617

Log:
  Respect NO_FSCHG and don't set 'schg' flag on passwd/yppasswd is defined.
  
  MFC after:	2 weeks

Modified:
  head/usr.bin/passwd/Makefile

Modified: head/usr.bin/passwd/Makefile
==============================================================================
--- head/usr.bin/passwd/Makefile	Tue Nov 27 16:20:44 2012	(r243616)
+++ head/usr.bin/passwd/Makefile	Tue Nov 27 16:23:12 2012	(r243617)
@@ -19,7 +19,9 @@ beforeinstall:
 		chflags noschg ${DESTDIR}${BINDIR}/$i || true
 .endfor
 
+.if !defined(NO_FSCHG)
 afterinstall:
 	-chflags schg ${DESTDIR}${BINDIR}/passwd
+.endif
 
 .include <bsd.prog.mk>



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