Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2015 21:48:46 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r289944 - stable/9/usr.bin/passwd
Message-ID:  <201510252148.t9PLmk60002290@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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