summaryrefslogtreecommitdiff
path: root/package/net-snmp/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-13 23:35:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-13 23:35:41 +0100
commit05e92cbeda75035f1c127510679b9d0eb6e1946a (patch)
treee5a36c5c7dfb3461f4ad19092d3da10dc1e28326 /package/net-snmp/Makefile
parent7a126246d2a5bfbfdef61691d814846b70ae3082 (diff)
simplify net-snmp package, update to latest upstream
- fix iptables-snmp package (reported by joerg) - simplify and update net-snmp
Diffstat (limited to 'package/net-snmp/Makefile')
-rw-r--r--package/net-snmp/Makefile88
1 files changed, 17 insertions, 71 deletions
diff --git a/package/net-snmp/Makefile b/package/net-snmp/Makefile
index c78efadcf..ebd3b3d41 100644
--- a/package/net-snmp/Makefile
+++ b/package/net-snmp/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= net-snmp
-PKG_VERSION:= 5.4.2.1
+PKG_VERSION:= 5.5
PKG_RELEASE:= 1
-PKG_MD5SUM:= 984932520143f0c8bf7b7ce1fc9e1da1
+PKG_MD5SUM:= 5b2551e7bd024fbbee84dca22a5f13a1
PKG_DESCR:= SNMP Agent
PKG_SECTION:= net
PKG_DEPENDS:= libnetsnmp libelf
@@ -14,94 +14,40 @@ PKG_NOPARALLEL:= 1
PKG_URL:= http://www.net-snmp.org
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=net-snmp/}
-PKG_DESCR_1:= SNMP utilities
-PKG_DEPENDS_1:= libnetsnmp libelf
+PKG_DESCR_UTILS:= SNMP utilities
+PKG_DEPENDS_UTILS:= libnetsnmp libelf
-PKG_DESCR_2:= SNMP library
-PKG_DEPENDS_2:= libelf
-PKG_SECTION_2:= libs
+PKG_DESCR_LIBS:= SNMP library
+PKG_DEPENDS_LIBS:= libelf
+PKG_SECTION_LIBS:= libs
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SNMPD,snmpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,SNMP_UTILS,snmp-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_1},${PKG_DESCR_1},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBNETSNMP,libnetsnmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_2},${PKG_DESCR_2},${PKG_SECTION_2}))
+$(eval $(call PKG_template,SNMP_UTILS,snmp-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_UTILS},${PKG_DESCR_UTILS},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBNETSNMP,libnetsnmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_LIBS},${PKG_DESCR_LIBS},${PKG_SECTION_LIBS}))
-
-SNMP_MIB_MODULES_INCLUDED = \
- host/hr_device \
- host/hr_disk \
- host/hr_filesys \
- host/hr_network \
- host/hr_partition \
- host/hr_proc \
- host/hr_storage \
- host/hr_system \
- mibII/at \
- mibII/icmp \
- mibII/ip \
- mibII/snmp_mib \
- mibII/sysORTable \
- mibII/system_mib \
- mibII/tcp \
- mibII/udp \
- mibII/vacm_context \
- mibII/vacm_vars \
- snmpv3/snmpEngine \
- snmpv3/snmpMPDStats \
- snmpv3/usmStats \
- snmpv3/usmUser \
- snmpv3mibs \
- tunnel \
- ucd-snmp/disk \
- ucd-snmp/dlmod \
- ucd-snmp/extensible \
- ucd-snmp/loadave \
- ucd-snmp/memory \
- ucd-snmp/pass \
- ucd-snmp/proc \
- ucd-snmp/vmstat \
- util_funcs \
- utilities/execute \
-
-SNMP_MIB_MODULES_EXCLUDED = \
- mibII/interfaces \
- if-mib \
- agent_mibs \
- agentx \
- host \
- ieee802dot11 \
- mibII \
- notification \
- notification-log-mib \
- notification/snmpNotifyTable \
- target \
- ucd_snmp \
- utilities \
-
-SNMP_TRANSPORTS_INCLUDED= Callback UDP
-
-SNMP_TRANSPORTS_EXCLUDED= TCP TCPv6 UDPv6 Unix
+SNMP_TRANSPORTS_INCLUDED= UDP TCP Callback Unix
+SNMP_TRANSPORTS_EXCLUDED= TCPIPv6 UDPIPv6 Alias
+TLDFLAGS+= -pthread
CONFIGURE_STYLE:= gnu
-CONFIGURE_ENV+= ac_cv_header_pcap_h=no
-CONFIGURE_ARGS+= --with-endianness=little \
- --with-logfile=/var/log/snmpd.log \
+CONFIGURE_ARGS+= --with-logfile=/var/log/snmpd.log \
--with-persistent-directory=/usr/lib/snmp/ \
--with-default-snmp-version=3 \
--with-sys-contact=root@localhost \
--with-sys-location=Unknown \
--enable-applications \
+ --disable-embedded-perl \
+ --without-perl-modules \
--disable-debugging \
--disable-manuals \
--disable-mib-loading \
--disable-mibs \
--disable-scripts \
- --with-out-mib-modules="${SNMP_MIB_MODULES_EXCLUDED}" \
- --with-mib-modules="${SNMP_MIB_MODULES_INCLUDED}" \
- --with-out-transports="${SNMP_TRANSPORTS_EXCLUDED}" \
--with-transports="${SNMP_TRANSPORTS_INCLUDED}" \
- --without-opaque-special-types \
+ --with-out-transports="${SNMP_TRANSPORTS_EXCLUDED}" \
+ --with-opaque-special-types \
--without-openssl \
--without-libwrap \
--without-rpm \