Move snmpd.config to usr.sbin/bsnmpd/bsnmpd/
This helps with pkgbase as this config file will now be tagged as a config file Approved by: allanjude (mentor) Sponsored by: Essen Hackathon Differential Revision: https://reviews.freebsd.org/D16674
This commit is contained in:
parent
a4dc1e4521
commit
dec06dc11b
@ -158,11 +158,6 @@ distribution:
|
||||
${DESTDIR}/etc/services;
|
||||
.endif
|
||||
|
||||
.if ${MK_BSNMP} != "no"
|
||||
cd ${.CURDIR}; \
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
||||
snmpd.config ${DESTDIR}/etc;
|
||||
.endif
|
||||
.if ${MK_TCSH} == "no"
|
||||
sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd
|
||||
.endif
|
||||
|
@ -7,6 +7,8 @@
|
||||
CONTRIB=${SRCTOP}/contrib/bsnmp
|
||||
.PATH: ${CONTRIB}/snmpd
|
||||
|
||||
CONFS= snmpd.config
|
||||
CONFSMODE= 600
|
||||
PROG= bsnmpd
|
||||
SRCS= main.c action.c config.c export.c trap.c trans_udp.c trans_lsock.c
|
||||
SRCS+= oid.h tree.c tree.h
|
||||
|
Loading…
Reference in New Issue
Block a user