net-snmp: rebuild against perl-5.16.

This commit is contained in:
Juan RP 2012-05-27 12:08:43 +02:00
parent 7aefb36ef3
commit 8866e62c0b
2 changed files with 6 additions and 9 deletions

View file

@ -1,14 +1,12 @@
# Template file for 'net-snmp-devel'. # Template file for 'net-snmp-devel'.
# #
depends="libnet-snmp>=5.7.1" noarch=yes
depends="libnet-snmp>=$version"
short_desc="${short_desc} - development files" short_desc="${short_desc} - development files"
long_desc="${long_desc} long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
noarch=yes
do_install() { do_install() {
vmove usr/bin/net-snmp-config usr/bin vmove usr/bin/net-snmp-config usr/bin
vmove usr/include usr vmove usr/include usr

View file

@ -1,9 +1,12 @@
# Template build file for 'net-snmp'. # Template build file for 'net-snmp'.
pkgname=net-snmp pkgname=net-snmp
version=5.7.1 version=5.7.1
revision=1
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz" distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
depends="python" depends="python"
makedepends="perl bzip2-devel openssl-devel libnl-devel pciutils-devel python-devel python-distribute" makedepends="bzip2-devel openssl-devel libnl-devel pciutils-devel python-devel python-distribute"
fulldepends="perl>=5.16"
subpackages="lib${pkgname} $pkgname-devel"
short_desc="Simple Network Management Protocol (SNMP) suite" short_desc="Simple Network Management Protocol (SNMP) suite"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.net-snmp.org/" homepage="http://www.net-snmp.org/"
@ -15,10 +18,6 @@ long_desc="
even devices like UPSs. Net-SNMP is a suite of applications used to implement even devices like UPSs. Net-SNMP is a suite of applications used to implement
SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6." SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6."
subpackages="lib${pkgname} $pkgname-devel"
do_configure() { do_configure() {
./configure ${CONFIGURE_SHARED_ARGS} --enable-ucd-snmp-compatibility \ ./configure ${CONFIGURE_SHARED_ARGS} --enable-ucd-snmp-compatibility \
--enable-ipv6 --with-python-modules --with-default-snmp-version="3" \ --enable-ipv6 --with-python-modules --with-default-snmp-version="3" \