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:
brd 2018-09-20 09:31:27 +00:00
parent 6c4aaa339f
commit 964931a5ce
3 changed files with 4 additions and 2 deletions

View File

@ -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>

View File

@ -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