Skip to content

Commit

Permalink
pkgbase: Put the mibs and defs in the bnsmp package
Browse files Browse the repository at this point in the history
Differential Revision:	https://reviews.freebsd.org/D30756
Sponsored by:	Diablotin Systems
  • Loading branch information
evadot committed Jun 19, 2021
1 parent c42e9af commit af5e407
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/libbsnmp/libbsnmp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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>
3 changes: 3 additions & 0 deletions share/mk/bsd.snmpmod.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ FILESGROUPS+= BMIBS
BMIBSDIR?= ${SHAREDIR}/snmp/mibs
.endif

DEFSPACKAGE= bsnmp
BMIBSPACKAGE= bsnmp

.if !target(smilint) && !empty(BMIBS)
LOCALBASE?= /usr/local

Expand Down
2 changes: 2 additions & 0 deletions share/snmp/mibs/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# $FreeBSD$

PACKAGE= bsnmp

FILES= FREEBSD-MIB.txt
FILESDIR= ${SHAREDIR}/snmp/mibs

Expand Down
3 changes: 3 additions & 0 deletions usr.sbin/bsnmpd/bsnmpd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af5e407

Please sign in to comment.