1994-09-29 13:06:54 +00:00
|
|
|
# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
|
1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 12:33:43 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-04-15 03:02:57 +00:00
|
|
|
PROG = passwd
|
|
|
|
BINOWN = root
|
|
|
|
BINMODE = 4555
|
|
|
|
DPADD = ${LIBPAM}
|
|
|
|
LDADD = ${MINUSLPAM}
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_NIS} != "no"
|
2002-04-15 03:02:57 +00:00
|
|
|
LINKS = ${BINDIR}/passwd ${BINDIR}/yppasswd
|
|
|
|
MLINKS = passwd.1 yppasswd.1
|
2004-12-29 08:16:39 +00:00
|
|
|
.endif
|
1995-02-11 18:20:06 +00:00
|
|
|
|
1995-08-13 16:07:36 +00:00
|
|
|
beforeinstall:
|
1997-02-26 05:31:52 +00:00
|
|
|
.for i in passwd yppasswd
|
|
|
|
[ ! -e ${DESTDIR}${BINDIR}/$i ] || \
|
1999-02-14 13:56:15 +00:00
|
|
|
chflags noschg ${DESTDIR}${BINDIR}/$i || true
|
1997-02-26 05:31:52 +00:00
|
|
|
.endfor
|
1995-08-17 11:26:42 +00:00
|
|
|
|
2012-11-27 16:23:12 +00:00
|
|
|
.if !defined(NO_FSCHG)
|
1995-02-14 21:08:45 +00:00
|
|
|
afterinstall:
|
1999-02-14 13:56:15 +00:00
|
|
|
-chflags schg ${DESTDIR}${BINDIR}/passwd
|
2012-11-27 16:23:12 +00:00
|
|
|
.endif
|
1995-02-14 21:08:45 +00:00
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
.include <bsd.prog.mk>
|