From 431e493decba9994ef13640fc42111735a2a214e Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 27 Feb 2014 14:12:57 +0000 Subject: [PATCH] extra/net-snmp to 5.7.2.1-1 --- extra/net-snmp/PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/extra/net-snmp/PKGBUILD b/extra/net-snmp/PKGBUILD index 612477c0e..17d6acf43 100644 --- a/extra/net-snmp/PKGBUILD +++ b/extra/net-snmp/PKGBUILD @@ -6,8 +6,8 @@ # - patch for pci issue: ifmib.patch (http://sourceforge.net/p/net-snmp/bugs/2449/) 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,10 +17,10 @@ makedepends=('python2-setuptools') optdepends=('perl-term-readkey: for snmpcheck application' 'perl-tk: for snmpcheck and tkmib applications' 'python2: for the python modules') -options=('!libtool' '!emptydirs' '!makeflags') +options=('!emptydirs' '!makeflags') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc} snmpd.service snmptrapd.service libnl32.patch ifmib.patch) -sha1sums=('c493027907f32400648244d81117a126aecd27ee' +sha1sums=('ea5b8952ca482eceac8cb1f3ffbac50e13c0a5b0' 'SKIP' '84e32c54d32e6b608747054e04a3ddfe6d6638cc' '0244e91c7baa0abebfb5c0560e8ce04c966c5992' @@ -29,6 +29,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" patch -Np1 -i "$srcdir/ifmib.patch" @@ -48,8 +49,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 }