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:
Brad Davis 2018-09-20 09:31:27 +00:00
parent 6999b78550
commit 27e35a09ef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338824
3 changed files with 4 additions and 2 deletions

View file

@ -70,7 +70,7 @@ distribution:
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${BIN1} ${DESTDIR}/etc; \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
master.passwd nsmb.conf ${DESTDIR}/etc;
master.passwd ${DESTDIR}/etc;
.if ${MK_TCSH} == "no"
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}
cd ${.CURDIR}; ${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 \
${BIN1} ${BIN2} nsmb.conf \
${BIN1} ${BIN2} \
${DESTDIR}${SHAREDIR}/examples/etc
.include <bsd.prog.mk>

View file

@ -2,6 +2,8 @@
.include <src.opts.mk>
CONFS= nsmb.conf
CONFSMODE= 600
PACKAGE=lib${LIB}
CONTRIBDIR= ${SRCTOP}/contrib/smbfs
.PATH: ${CONTRIBDIR}/lib/smb