[arch-commits] CVS update of extra/network/net-snmp (PKGBUILD)
Eric Belanger
eric at archlinux.org
Tue Jan 15 04:09:56 UTC 2008
Date: Monday, January 14, 2008 @ 23:09:56
Author: eric
Path: /home/cvs-extra/extra/network/net-snmp
Modified: PKGBUILD (1.5 -> 1.6)
upgpkg: net-snmp 5.4.1-3
Updated for new perl policy, made man pages FHS compliant, added mib modules (close FS#4180)
----------+
PKGBUILD | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
Index: extra/network/net-snmp/PKGBUILD
diff -u extra/network/net-snmp/PKGBUILD:1.5 extra/network/net-snmp/PKGBUILD:1.6
--- extra/network/net-snmp/PKGBUILD:1.5 Tue Oct 9 20:56:45 2007
+++ extra/network/net-snmp/PKGBUILD Mon Jan 14 23:09:56 2008
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD,v 1.5 2007/10/10 00:56:45 eric Exp $
-# Maintainer: Dale Blount <dale at archlinux.org>
+# $Id: PKGBUILD,v 1.6 2008/01/15 04:09:56 eric Exp $
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Dale Blount <dale at archlinux.org>
pkgname=net-snmp
pkgver=5.4.1
-pkgrel=2
+pkgrel=3
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/"
@@ -18,19 +19,18 @@
build() {
cd $startdir/src/$pkgname-$pkgver
- eval `perl -V:archname`
- ./configure --prefix=/usr --sysconfdir=/etc --enable-ucd-snmp-compatibility \
- --with-default-snmp-version="3" --with-sys-contact="root at localhost" \
- --with-sys-location="Unknown" --with-logfile="/var/log/snmpd.log" \
- --with-persistent-directory="/var/net-snmp"
+#TODO: add "ucd-snmp/lmSensors" to --with-mib-modules
+ ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
+ --enable-ucd-snmp-compatibility \
+ --with-default-snmp-version="3" --with-sys-contact="root at 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"
make || return 1
-# fix Makefile for perl modules
- cd perl && perl Makefile.PL \
- INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
- INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
- INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
- cd ..
- make DESTDIR=$startdir/pkg INSTALL_PREFIX=$startdir/pkg install
+ make DESTDIR=$startdir/pkg INSTALL_PREFIX=$startdir/pkg \
+ INSTALLDIRS=vendor INSTALLMAN3DIR=/usr/share/man/man3 \
+ INSTALLSITEMAN3DIR=/usr/share/man/man3 INSTALLVENDORMAN3DIR=/usr/share/man/man3 install
+
install -D -m755 $startdir/src/snmpd.rc $startdir/pkg/etc/rc.d/snmpd || return 1
install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
More information about the arch-commits
mailing list