Move nsmb.conf to lib/libsmb/
This leverages CONFS to do the install Approved by: re (pkgbase, blanket), bapt (mentor) Differential Revision: https://reviews.freebsd.org/D17243
This commit is contained in:
parent
6c4aaa339f
commit
964931a5ce
@ -70,7 +70,7 @@ distribution:
|
|||||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||||
${BIN1} ${DESTDIR}/etc; \
|
${BIN1} ${DESTDIR}/etc; \
|
||||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
||||||
master.passwd nsmb.conf ${DESTDIR}/etc;
|
master.passwd ${DESTDIR}/etc;
|
||||||
|
|
||||||
.if ${MK_TCSH} == "no"
|
.if ${MK_TCSH} == "no"
|
||||||
sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd
|
sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd
|
||||||
@ -206,7 +206,7 @@ distrib-dirs: ${MTREES:N/*} distrib-cleanup .PHONY
|
|||||||
|
|
||||||
etc-examples: ${META_DEPS}
|
etc-examples: ${META_DEPS}
|
||||||
cd ${.CURDIR}; ${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
cd ${.CURDIR}; ${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||||
${BIN1} ${BIN2} nsmb.conf \
|
${BIN1} ${BIN2} \
|
||||||
${DESTDIR}${SHAREDIR}/examples/etc
|
${DESTDIR}${SHAREDIR}/examples/etc
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
.include <src.opts.mk>
|
.include <src.opts.mk>
|
||||||
|
|
||||||
|
CONFS= nsmb.conf
|
||||||
|
CONFSMODE= 600
|
||||||
PACKAGE=lib${LIB}
|
PACKAGE=lib${LIB}
|
||||||
CONTRIBDIR= ${SRCTOP}/contrib/smbfs
|
CONTRIBDIR= ${SRCTOP}/contrib/smbfs
|
||||||
.PATH: ${CONTRIBDIR}/lib/smb
|
.PATH: ${CONTRIBDIR}/lib/smb
|
||||||
|
Loading…
Reference in New Issue
Block a user