aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-18 13:01:09 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-18 13:01:09 +0000
commit9f4256d5255a237bbc0cb06495c2ae26f9801449 (patch)
tree36222b91633c21c7133d08305386a480b09bb361
parent842294c1ff56d205da05785da70464fbfdf5c272 (diff)
downloadsrc-9f4256d5255a237bbc0cb06495c2ae26f9801449.tar.gz
src-9f4256d5255a237bbc0cb06495c2ae26f9801449.zip
Add a bsnmp package
Notes
Notes: svn path=/projects/release-pkg/; revision=280217
-rw-r--r--etc/rc.d/Makefile7
-rw-r--r--lib/libbsnmp/Makefile.inc1
-rw-r--r--release/packages/bsnmp-development.ucl13
-rw-r--r--release/packages/bsnmp-lib32-development.ucl13
-rw-r--r--release/packages/bsnmp-lib32-profile.ucl13
-rw-r--r--release/packages/bsnmp-lib32.ucl13
-rw-r--r--release/packages/bsnmp-profile.ucl13
-rw-r--r--release/packages/bsnmp.ucl13
-rw-r--r--usr.sbin/bsnmpd/Makefile.inc1
-rw-r--r--usr.sbin/bsnmpd/modules/Makefile.inc1
-rw-r--r--usr.sbin/bsnmpd/tools/Makefile.inc1
11 files changed, 88 insertions, 1 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index 849d620e2f2e..10fe26b12a1b 100644
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -174,7 +174,8 @@ FILES+= bootparams
.endif
.if ${MK_BSNMP} != "no"
-FILES+= bsnmpd
+FILESGROUPS+= BSNMP
+BSNMP+= bsnmpd
.endif
.if ${MK_CASPER} != "no"
@@ -302,4 +303,8 @@ SSHDIR= /etc/rc.d
SSHMODE= ${BINMODE}
SSHPACKAGE= ssh
+BSNMPDIR= /etc/rc.d
+BSNMPMODE= ${BINMODE}
+BSNMPPACKAGE= bsnmp
+
.include <bsd.prog.mk>
diff --git a/lib/libbsnmp/Makefile.inc b/lib/libbsnmp/Makefile.inc
index 82f48accf146..5c3fdade33e7 100644
--- a/lib/libbsnmp/Makefile.inc
+++ b/lib/libbsnmp/Makefile.inc
@@ -2,5 +2,6 @@
NO_WERROR=
INCSDIR= ${INCLUDEDIR}/bsnmp
+PACKAGE= bsnmp
.include "../Makefile.inc"
diff --git a/release/packages/bsnmp-development.ucl b/release/packages/bsnmp-development.ucl
new file mode 100644
index 000000000000..b728ac07eebd
--- /dev/null
+++ b/release/packages/bsnmp-development.ucl
@@ -0,0 +1,13 @@
+name = "FreeBSD-bsnmp-development"
+origin = "base"
+version = "%VERSION%"
+comment = "SNMP development"
+categories = [ base ]
+maintainer = "re@FreeBSD.org"
+www = "http://www.FreeBSD.org"
+prefix = "/"
+licenselogic = "single"
+licenses = [ BSD2CLAUSE ]
+desc = <<EOD
+TODO
+EOD
diff --git a/release/packages/bsnmp-lib32-development.ucl b/release/packages/bsnmp-lib32-development.ucl
new file mode 100644
index 000000000000..225f5622f833
--- /dev/null
+++ b/release/packages/bsnmp-lib32-development.ucl
@@ -0,0 +1,13 @@
+name = "FreeBSD-bsnmp-lib32-development"
+origin = "base"
+version = "%VERSION%"
+comment = "SNMP 32bits development"
+categories = [ base ]
+maintainer = "re@FreeBSD.org"
+www = "http://www.FreeBSD.org"
+prefix = "/"
+licenselogic = "single"
+licenses = [ BSD2CLAUSE ]
+desc = <<EOD
+TODO
+EOD
diff --git a/release/packages/bsnmp-lib32-profile.ucl b/release/packages/bsnmp-lib32-profile.ucl
new file mode 100644
index 000000000000..9f7de98e9e80
--- /dev/null
+++ b/release/packages/bsnmp-lib32-profile.ucl
@@ -0,0 +1,13 @@
+name = "FreeBSD-bsnmp-lib32"
+origin = "base"
+version = "%VERSION%"
+comment = "SNMP 32bits libraries (profiling)"
+categories = [ base ]
+maintainer = "re@FreeBSD.org"
+www = "http://www.FreeBSD.org"
+prefix = "/"
+licenselogic = "single"
+licenses = [ BSD2CLAUSE ]
+desc = <<EOD
+TODO
+EOD
diff --git a/release/packages/bsnmp-lib32.ucl b/release/packages/bsnmp-lib32.ucl
new file mode 100644
index 000000000000..d879defa52ae
--- /dev/null
+++ b/release/packages/bsnmp-lib32.ucl
@@ -0,0 +1,13 @@
+name = "FreeBSD-bsnmp-lib32"
+origin = "base"
+version = "%VERSION%"
+comment = "SNMP 32bits libraries"
+categories = [ base ]
+maintainer = "re@FreeBSD.org"
+www = "http://www.FreeBSD.org"
+prefix = "/"
+licenselogic = "single"
+licenses = [ BSD2CLAUSE ]
+desc = <<EOD
+TODO
+EOD
diff --git a/release/packages/bsnmp-profile.ucl b/release/packages/bsnmp-profile.ucl
new file mode 100644
index 000000000000..1d504636a51e
--- /dev/null
+++ b/release/packages/bsnmp-profile.ucl
@@ -0,0 +1,13 @@
+name = "FreeBSD-bsnmp-profile"
+origin = "base"
+version = "%VERSION%"
+comment = "SNMP libraries (profiling)"
+categories = [ base ]
+maintainer = "re@FreeBSD.org"
+www = "http://www.FreeBSD.org"
+prefix = "/"
+licenselogic = "single"
+licenses = [ BSD2CLAUSE ]
+desc = <<EOD
+TODO
+EOD
diff --git a/release/packages/bsnmp.ucl b/release/packages/bsnmp.ucl
new file mode 100644
index 000000000000..279ad1bfc269
--- /dev/null
+++ b/release/packages/bsnmp.ucl
@@ -0,0 +1,13 @@
+name = "FreeBSD-bsnmp"
+origin = "base"
+version = "%VERSION%"
+comment = "SNMP daemon and userland tools"
+categories = [ base ]
+maintainer = "re@FreeBSD.org"
+www = "http://www.FreeBSD.org"
+prefix = "/"
+licenselogic = "single"
+licenses = [ BSD2CLAUSE ]
+desc = <<EOD
+TODO
+EOD
diff --git a/usr.sbin/bsnmpd/Makefile.inc b/usr.sbin/bsnmpd/Makefile.inc
index 265f86d1ed55..3718a5aaf44d 100644
--- a/usr.sbin/bsnmpd/Makefile.inc
+++ b/usr.sbin/bsnmpd/Makefile.inc
@@ -1,3 +1,4 @@
# $FreeBSD$
+PACKAGE= bsnmp
.include "../Makefile.inc"
diff --git a/usr.sbin/bsnmpd/modules/Makefile.inc b/usr.sbin/bsnmpd/modules/Makefile.inc
index 357b4416c35c..bf633958e82b 100644
--- a/usr.sbin/bsnmpd/modules/Makefile.inc
+++ b/usr.sbin/bsnmpd/modules/Makefile.inc
@@ -1,6 +1,7 @@
# $FreeBSD$
SHLIB_MAJOR= 6
+PACKAGE= bsnmp
MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \
-e 's%@DEFPATH@%${DEFSDIR}/%g' \
diff --git a/usr.sbin/bsnmpd/tools/Makefile.inc b/usr.sbin/bsnmpd/tools/Makefile.inc
index e08fe2692f3e..a0bf4a035149 100644
--- a/usr.sbin/bsnmpd/tools/Makefile.inc
+++ b/usr.sbin/bsnmpd/tools/Makefile.inc
@@ -2,6 +2,7 @@
# Author: Shteryana Shopova <syrinx@FreeBSD.org>
BINDIR?= /usr/bin
+PACKAGE= bsnmp
CFLAGS+= -I. -I${.CURDIR}