summaryrefslogtreecommitdiff
path: root/extra/net-snmp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/net-snmp/PKGBUILD')
-rw-r--r--extra/net-snmp/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/extra/net-snmp/PKGBUILD b/extra/net-snmp/PKGBUILD
index 4e003ed5a..05ebfe611 100644
--- a/extra/net-snmp/PKGBUILD
+++ b/extra/net-snmp/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 198340 2013-10-30 14:16:21Z allan $
+# $Id: PKGBUILD 206473 2014-02-27 12:21:34Z eric $
# Maintainer:
# Contributor: Dale Blount <dale@archlinux.org>
pkgname=net-snmp
-pkgver=5.7.2
-pkgrel=8
+pkgver=5.7.2.1
+pkgrel=1
pkgdesc="A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6"
arch=('i686' 'x86_64')
url="http://www.net-snmp.org/"
@@ -17,7 +17,7 @@ optdepends=('perl-term-readkey: for snmpcheck application'
options=('!emptydirs' '!makeflags')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
snmpd.service snmptrapd.service libnl32.patch)
-sha1sums=('c493027907f32400648244d81117a126aecd27ee'
+sha1sums=('ea5b8952ca482eceac8cb1f3ffbac50e13c0a5b0'
'SKIP'
'84e32c54d32e6b608747054e04a3ddfe6d6638cc'
'0244e91c7baa0abebfb5c0560e8ce04c966c5992'
@@ -25,6 +25,7 @@ sha1sums=('c493027907f32400648244d81117a126aecd27ee'
prepare() {
cd ${pkgname}-${pkgver}
+ make PERL_ARCHLIB=/usr/lib/perl5/core_perl PERL_INC=/usr/lib/perl5/core_perl/CORE distclean
# http://sourceforge.net/tracker/index.php?func=detail&aid=3250304&group_id=12694&atid=112694
patch -Np1 -i "$srcdir/libnl32.patch"
autoreconf -f -i
@@ -43,8 +44,7 @@ build() {
--with-sys-location="Unknown" \
--with-logfile="/var/log/snmpd.log" \
--with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod" \
- --with-persistent-directory="/var/net-snmp" \
- --disable-static
+ --with-persistent-directory="/var/net-snmp"
make NETSNMP_DONT_CHECK_VERSION=1
}