mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 10:53:39 +01:00
a7b5a3d486
All of them are needed to be able to boot to single user and be able to repair a existing FreeBSD installation so put them directly into FreeBSD-runtime. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21503
24 lines
430 B
Makefile
24 lines
430 B
Makefile
# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE = runtime
|
|
PROG = passwd
|
|
BINOWN = root
|
|
BINMODE = 4555
|
|
PRECIOUSPROG=
|
|
LIBADD = pam
|
|
.if ${MK_NIS} != "no"
|
|
SYMLINKS = 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
|
|
|
|
.include <bsd.prog.mk>
|