git: af5e40770e09 - main - pkgbase: Put the mibs and defs in the bnsmp package
Emmanuel Vadot
manu at FreeBSD.org
Sat Jun 19 15:50:30 UTC 2021
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=af5e40770e093cc5b0a1845f2f7b011676b3c709
commit af5e40770e093cc5b0a1845f2f7b011676b3c709
Author: Emmanuel Vadot <manu at FreeBSD.org>
AuthorDate: 2021-06-19 15:50:03 +0000
Commit: Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-06-19 15:50:03 +0000
pkgbase: Put the mibs and defs in the bnsmp package
Differential Revision: https://reviews.freebsd.org/D30756
Sponsored by: Diablotin Systems
---
lib/libbsnmp/libbsnmp/Makefile | 1 +
share/mk/bsd.snmpmod.mk | 3 +++
share/snmp/mibs/Makefile | 2 ++
usr.sbin/bsnmpd/bsnmpd/Makefile | 3 +++
4 files changed, 9 insertions(+)
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
More information about the dev-commits-src-all
mailing list