mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/net-snmp to 5.7.2.1-1
This commit is contained in:
parent
41ce970d37
commit
431e493dec
1 changed files with 6 additions and 6 deletions
|
@ -6,8 +6,8 @@
|
||||||
# - patch for pci issue: ifmib.patch (http://sourceforge.net/p/net-snmp/bugs/2449/)
|
# - patch for pci issue: ifmib.patch (http://sourceforge.net/p/net-snmp/bugs/2449/)
|
||||||
|
|
||||||
pkgname=net-snmp
|
pkgname=net-snmp
|
||||||
pkgver=5.7.2
|
pkgver=5.7.2.1
|
||||||
pkgrel=8
|
pkgrel=1
|
||||||
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/"
|
||||||
|
@ -17,10 +17,10 @@ makedepends=('python2-setuptools')
|
||||||
optdepends=('perl-term-readkey: for snmpcheck application'
|
optdepends=('perl-term-readkey: for snmpcheck application'
|
||||||
'perl-tk: for snmpcheck and tkmib applications'
|
'perl-tk: for snmpcheck and tkmib applications'
|
||||||
'python2: for the python modules')
|
'python2: for the python modules')
|
||||||
options=('!libtool' '!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=('c493027907f32400648244d81117a126aecd27ee'
|
sha1sums=('ea5b8952ca482eceac8cb1f3ffbac50e13c0a5b0'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'84e32c54d32e6b608747054e04a3ddfe6d6638cc'
|
'84e32c54d32e6b608747054e04a3ddfe6d6638cc'
|
||||||
'0244e91c7baa0abebfb5c0560e8ce04c966c5992'
|
'0244e91c7baa0abebfb5c0560e8ce04c966c5992'
|
||||||
|
@ -29,6 +29,7 @@ sha1sums=('c493027907f32400648244d81117a126aecd27ee'
|
||||||
|
|
||||||
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
|
||||||
# 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"
|
||||||
|
@ -48,8 +49,7 @@ build() {
|
||||||
--with-sys-location="Unknown" \
|
--with-sys-location="Unknown" \
|
||||||
--with-logfile="/var/log/snmpd.log" \
|
--with-logfile="/var/log/snmpd.log" \
|
||||||
--with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod" \
|
--with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod" \
|
||||||
--with-persistent-directory="/var/net-snmp" \
|
--with-persistent-directory="/var/net-snmp"
|
||||||
--disable-static
|
|
||||||
make NETSNMP_DONT_CHECK_VERSION=1
|
make NETSNMP_DONT_CHECK_VERSION=1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue