svn commit: r289944 - stable/9/usr.bin/passwd

Garrett Cooper ngie at FreeBSD.org
Sun Oct 25 21:48:47 UTC 2015


Author: ngie
Date: Sun Oct 25 21:48:45 2015
New Revision: 289944
URL: https://svnweb.freebsd.org/changeset/base/289944

Log:
  MFC r243617 (to fix a longstanding bug):
  
  PR: 171779
  
  r243617 (by pjd):
  
  Respect NO_FSCHG and don't set 'schg' flag on passwd/yppasswd is defined.

Modified:
  stable/9/usr.bin/passwd/Makefile
Directory Properties:
  stable/9/   (props changed)
  stable/9/usr.bin/   (props changed)
  stable/9/usr.bin/passwd/   (props changed)

Modified: stable/9/usr.bin/passwd/Makefile
==============================================================================
--- stable/9/usr.bin/passwd/Makefile	Sun Oct 25 21:39:23 2015	(r289943)
+++ stable/9/usr.bin/passwd/Makefile	Sun Oct 25 21:48:45 2015	(r289944)
@@ -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>


More information about the svn-src-stable-9 mailing list