extra/net-snp to 5.7.2.1-2

This commit is contained in:
Kevin Mihelich 2014-03-13 16:55:37 +00:00
parent ca918235ee
commit f00cfcadcb

View file

@ -7,7 +7,7 @@
pkgname=net-snmp pkgname=net-snmp
pkgver=5.7.2.1 pkgver=5.7.2.1
pkgrel=1 pkgrel=2
pkgdesc="A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6" pkgdesc="A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.net-snmp.org/" url="http://www.net-snmp.org/"
@ -20,7 +20,7 @@ optdepends=('perl-term-readkey: for snmpcheck application'
options=('!emptydirs' '!makeflags') options=('!emptydirs' '!makeflags')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc} source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
snmpd.service snmptrapd.service libnl32.patch ifmib.patch) snmpd.service snmptrapd.service libnl32.patch ifmib.patch)
sha1sums=('ea5b8952ca482eceac8cb1f3ffbac50e13c0a5b0' sha1sums=('815d4e5520a1ed96a27def33e7534b4190599f0f'
'SKIP' 'SKIP'
'84e32c54d32e6b608747054e04a3ddfe6d6638cc' '84e32c54d32e6b608747054e04a3ddfe6d6638cc'
'0244e91c7baa0abebfb5c0560e8ce04c966c5992' '0244e91c7baa0abebfb5c0560e8ce04c966c5992'
@ -29,10 +29,12 @@ sha1sums=('ea5b8952ca482eceac8cb1f3ffbac50e13c0a5b0'
prepare() { prepare() {
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
make PERL_ARCHLIB=/usr/lib/perl5/core_perl PERL_INC=/usr/lib/perl5/core_perl/CORE distclean #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
# 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/libnl32.patch"
patch -Np1 -i "$srcdir/ifmib.patch" patch -Np1 -i "$srcdir/ifmib.patch"
autoreconf -f -i autoreconf -f -i
} }