mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
o Do not keep a separate list of src/etc/defaults files in
the src/etc makefile. This list was used to manually install the files from src/etc. Instead, simply change directory and 'make install'. o There is no reason for the files in src/etc/defaults to be installed as writeable. Reviewed by: ru
This commit is contained in:
parent
dfc161b4ad
commit
c732f30398
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119385
@ -32,8 +32,6 @@ SSL= ${.CURDIR}/../crypto/openssl/apps/openssl.cnf
|
||||
# -rwxr-xr-x root:wheel, for the new cron root:wheel
|
||||
BIN2= netstart pccard_ether rc.suspend rc.resume
|
||||
|
||||
DEFAULTS= rc.conf pccard.conf periodic.conf
|
||||
|
||||
MTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \
|
||||
BSD.var.dist BSD.x11.dist BSD.x11-4.dist
|
||||
.if !defined(NO_SENDMAIL)
|
||||
@ -71,8 +69,7 @@ distribution:
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
||||
master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; \
|
||||
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd
|
||||
cd ${.CURDIR}/defaults; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||
${DEFAULTS} ${DESTDIR}/etc/defaults
|
||||
cd ${.CURDIR}/defaults; ${MAKE} install
|
||||
cd ${.CURDIR}/periodic; ${MAKE} install
|
||||
cd ${.CURDIR}/rc.d; ${MAKE} install
|
||||
cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall
|
||||
@ -197,7 +194,7 @@ etc-examples:
|
||||
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${BIN1} ${BIN2} nsmb.conf opieaccess \
|
||||
${DESTDIR}/usr/share/examples/etc
|
||||
cd ${.CURDIR}/defaults; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${DEFAULTS} ${DESTDIR}/usr/share/examples/etc/defaults
|
||||
cd ${.CURDIR}/defaults; ${MAKE} install \
|
||||
DESTDIR=${DESTDIR}/usr/share/examples
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -3,6 +3,6 @@
|
||||
FILES= devfs.rules pccard.conf periodic.conf rc.conf
|
||||
NOOBJ= noobj
|
||||
FILESDIR= /etc/defaults
|
||||
FILESMODE= 644
|
||||
FILESMODE= 444
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user