mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 22:43:22 +01:00
a2455e276d
MFC after: 2 weeks
28 lines
517 B
Makefile
28 lines
517 B
Makefile
# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
|
|
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG = passwd
|
|
BINOWN = root
|
|
BINMODE = 4555
|
|
DPADD = ${LIBPAM}
|
|
LDADD = ${MINUSLPAM}
|
|
.if ${MK_NIS} != "no"
|
|
LINKS = ${BINDIR}/passwd ${BINDIR}/yppasswd
|
|
MLINKS = passwd.1 yppasswd.1
|
|
.endif
|
|
|
|
beforeinstall:
|
|
.for i in passwd yppasswd
|
|
[ ! -e ${DESTDIR}${BINDIR}/$i ] || \
|
|
chflags noschg ${DESTDIR}${BINDIR}/$i || true
|
|
.endfor
|
|
|
|
.if !defined(NO_FSCHG)
|
|
afterinstall:
|
|
-chflags schg ${DESTDIR}${BINDIR}/passwd
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|