diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2021-06-19 15:50:03 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2021-06-30 07:24:33 +0000 |
commit | e39af9bedaa086d38c19de5618450021d3a07668 (patch) | |
tree | 996eef2872c44303c564b33a9ef8dca280d1de4d | |
parent | 35466a69bb00e1124c9db5eb286be0dbc445a464 (diff) | |
download | src-e39af9bedaa086d38c19de5618450021d3a07668.tar.gz src-e39af9bedaa086d38c19de5618450021d3a07668.zip |
pkgbase: Put the mibs and defs in the bnsmp package
Differential Revision: https://reviews.freebsd.org/D30756
Sponsored by: Diablotin Systems
-rw-r--r-- | lib/libbsnmp/libbsnmp/Makefile | 1 | ||||
-rw-r--r-- | share/mk/bsd.snmpmod.mk | 3 | ||||
-rw-r--r-- | share/snmp/mibs/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/bsnmpd/bsnmpd/Makefile | 3 |
4 files changed, 9 insertions, 0 deletions
diff --git a/lib/libbsnmp/libbsnmp/Makefile b/lib/libbsnmp/libbsnmp/Makefile index aac554b3bc74..d4c48a879303 100644 --- a/lib/libbsnmp/libbsnmp/Makefile +++ b/lib/libbsnmp/libbsnmp/Makefile @@ -137,5 +137,6 @@ MLINKS+= bsnmplib.3 snmp_value_parse.3 FILESGROUPS+= DEFS DEFS= tc.def DEFSDIR?= ${SHAREDIR}/snmp/defs +DEFSPACKAGE= bsnmp .include <bsd.lib.mk> diff --git a/share/mk/bsd.snmpmod.mk b/share/mk/bsd.snmpmod.mk index 6ecbbcf09bf7..7956b89382b5 100644 --- a/share/mk/bsd.snmpmod.mk +++ b/share/mk/bsd.snmpmod.mk @@ -32,6 +32,9 @@ FILESGROUPS+= BMIBS BMIBSDIR?= ${SHAREDIR}/snmp/mibs .endif +DEFSPACKAGE= bsnmp +BMIBSPACKAGE= bsnmp + .if !target(smilint) && !empty(BMIBS) LOCALBASE?= /usr/local diff --git a/share/snmp/mibs/Makefile b/share/snmp/mibs/Makefile index 8bee4c85624e..e4cc1d1d6fb0 100644 --- a/share/snmp/mibs/Makefile +++ b/share/snmp/mibs/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +PACKAGE= bsnmp + FILES= FREEBSD-MIB.txt FILESDIR= ${SHAREDIR}/snmp/mibs diff --git a/usr.sbin/bsnmpd/bsnmpd/Makefile b/usr.sbin/bsnmpd/bsnmpd/Makefile index 8555eaee67b8..05d617279ff0 100644 --- a/usr.sbin/bsnmpd/bsnmpd/Makefile +++ b/usr.sbin/bsnmpd/bsnmpd/Makefile @@ -120,6 +120,9 @@ MLINKS+= snmpmod.3 usm_user.3 FILESGROUPS= BMIBS DEFS +DEFSPACKAGE= bsnmp +BMIBSPACKAGE= bsnmp + BMIBS= FOKUS-MIB.txt BEGEMOT-MIB.txt BEGEMOT-SNMPD.txt BMIBSDIR= ${SHAREDIR}/snmp/mibs DEFS= tree.def |