svn commit: r310665 - in head: tools/build/mk usr.sbin/bsnmpd/modules
Ngie Cooper
ngie at FreeBSD.org
Wed Dec 28 05:21:23 UTC 2016
Author: ngie
Date: Wed Dec 28 05:21:22 2016
New Revision: 310665
URL: https://svnweb.freebsd.org/changeset/base/310665
Log:
Only build/install usr.sbin/bsnmpd/modules/snmp_hast if MK_HAST != no
MFC after: 1 week
Modified:
head/tools/build/mk/OptionalObsoleteFiles.inc
head/usr.sbin/bsnmpd/modules/Makefile
Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
==============================================================================
--- head/tools/build/mk/OptionalObsoleteFiles.inc Wed Dec 28 05:16:41 2016 (r310664)
+++ head/tools/build/mk/OptionalObsoleteFiles.inc Wed Dec 28 05:21:22 2016 (r310665)
@@ -3004,6 +3004,12 @@ OLD_FILES+=usr/share/man/man5/hast.conf.
OLD_FILES+=usr/share/man/man8/hastctl.8.gz
OLD_FILES+=usr/share/man/man8/hastd.8.gz
OLD_DIRS+=usr/share/examples/hast
+# bsnmp
+OLD_FILES+=usr/lib/snmp_hast.so
+OLD_LIBS+=usr/lib/snmp_hast.so.6
+OLD_FILES+=usr/share/man/man3/snmp_hast.3.gz
+OLD_FILES+=usr/share/snmp/defs/hast_tree.def
+OLD_FILES+=usr/share/snmp/mibs/BEGEMOT-HAST-MIB.txt
.endif
.if ${MK_HESIOD} == no
Modified: head/usr.sbin/bsnmpd/modules/Makefile
==============================================================================
--- head/usr.sbin/bsnmpd/modules/Makefile Wed Dec 28 05:16:41 2016 (r310664)
+++ head/usr.sbin/bsnmpd/modules/Makefile Wed Dec 28 05:21:22 2016 (r310665)
@@ -10,7 +10,6 @@ _snmp_atm= snmp_atm
SUBDIR= ${_snmp_atm} \
snmp_bridge \
- snmp_hast \
snmp_hostres \
snmp_lm75 \
snmp_mibII \
@@ -18,6 +17,10 @@ SUBDIR= ${_snmp_atm} \
snmp_usm \
snmp_vacm \
+.if ${MK_HAST} != "no"
+SUBDIR+=snmp_hast
+.endif
+
.if ${MK_PF} != "no"
SUBDIR+=snmp_pf
.endif
More information about the svn-src-all
mailing list