You are not logged in.
Arch Linux package of Net-SNMP is compiled without IPv6 support.
There is a bug reported for that since April.
Do you know who should I contact with to update this package in [extra]?
Offline
Do you know who should I contact with to update this package in [extra]?
It has already been done:
There is a bug reported for that since April.
If you can't wait:
https://wiki.archlinux.org/index.php/ABS
Last edited by fukawi2 (2010-11-18 22:56:09)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
OK, this is PKGBUILD modified for 5.6 with IPv6, however I needed to comment out stuff related to manuals because it didn't worked anymore:
# $Id: PKGBUILD 89806 2010-09-04 06:38:51Z remy $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Dale Blount <dale@archlinux.org>
pkgname=net-snmp
pkgver=5.6
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/"
license=('custom')
depends=('openssl' 'tcp_wrappers' 'libnl')
makedepends=('setuptools')
optdepends=('perl-term-readkey: for snmpcheck application' 'perl-tk: for snmpcheck application')
provides=('ucd-snmp')
options=('!libtool' '!makeflags' '!emptydirs')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'snmpd.rc')
md5sums=('89b3a7a77e68daef925abee43a3f7018'
'9f0d13676ba1fae1eb7eb178edd85b43')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i -e "s:\(install --basedir=\$\$dir\):\1 --root='${pkgdir}':" Makefile.in || return 1
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
--enable-ucd-snmp-compatibility --enable-ipv6 --with-libwrap --with-python-modules \
--with-default-snmp-version="3" --with-sys-contact="root@localhost" \
--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" \
PYTHONPROG=/usr/bin/python2
make NETSNMP_DONT_CHECK_VERSION=1 LDFLAGS+="-Wl,-rpath -Wl,/usr/lib/perl5/core_perl/CORE" || return 1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" INSTALL_PREFIX="${pkgdir}" INSTALLDIRS=vendor install || return 1
install -D -m755 "${srcdir}/snmpd.rc" "${pkgdir}/etc/rc.d/snmpd" || return 1
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
}Offline