mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
Finish the job of conditionalizing UUCP by preventing files in /etc/uucp
from being installed, and make rmail conditional on neither of NO_SENDMAIL and NOUUCP. PR: bin/21321 Submitted by: Me
This commit is contained in:
parent
82fdce0977
commit
9fc9ecb643
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67849
|
@ -34,7 +34,7 @@ SUBDIR= cat \
|
|||
SUBDIR+=csh
|
||||
.endif
|
||||
|
||||
.if !defined(NO_SENDMAIL)
|
||||
.if !defined(NO_SENDMAIL) && !defined(NOUUCP)
|
||||
SUBDIR+=rmail
|
||||
.endif
|
||||
|
||||
|
|
|
@ -70,7 +70,6 @@ distribution:
|
|||
master.passwd ${DESTDIR}/etc; \
|
||||
( cd ${.CURDIR}/periodic; ${MAKE} install ); \
|
||||
( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall ); \
|
||||
( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \
|
||||
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
|
||||
( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \
|
||||
( cd ${.CURDIR}/sendmail; ${MAKE} etc-sendmail.cf ); \
|
||||
|
@ -78,6 +77,9 @@ distribution:
|
|||
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
|
||||
MAKEDEV.local MAKEDEV ${DESTDIR}/dev )
|
||||
.if !defined(NOUUCP)
|
||||
( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install )
|
||||
.endif
|
||||
.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSH)
|
||||
(cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSH} \
|
||||
${DESTDIR}/etc/ssh )
|
||||
|
|
|
@ -13,14 +13,16 @@ BIN= 100.clean-disks \
|
|||
310.accounting \
|
||||
320.rdist \
|
||||
330.news \
|
||||
340.uucp \
|
||||
400.status-disks \
|
||||
410.status-uucp \
|
||||
420.status-network \
|
||||
430.status-rwho \
|
||||
440.status-mailq \
|
||||
450.status-security \
|
||||
460.status-mail-rejects \
|
||||
999.local
|
||||
.if !defined(NOUUCP)
|
||||
BIN+= 340.uucp \
|
||||
410.status-uucp
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
# $FreeBSD$
|
||||
|
||||
BIN= 120.clean-kvmdb \
|
||||
300.uucp \
|
||||
310.locate \
|
||||
320.whatis \
|
||||
330.catman \
|
||||
340.noid \
|
||||
400.status-pkg \
|
||||
999.local
|
||||
.if !defined(NOUUCP)
|
||||
BIN+= 300.uucp
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
Loading…
Reference in a new issue