Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2021 07:25:04 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e39af9bedaa0 - stable/13 - pkgbase: Put the mibs and defs in the bnsmp package
Message-ID:  <202106300725.15U7P4IG084361@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=e39af9bedaa086d38c19de5618450021d3a07668

commit e39af9bedaa086d38c19de5618450021d3a07668
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-06-19 15:50:03 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-06-30 07:24:33 +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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106300725.15U7P4IG084361>