[arch-commits] Commit in net-snmp/repos (8 files)

2015-06-02 Thread Felix Yan
Date: Wednesday, June 3, 2015 @ 04:48:30
  Author: fyan
Revision: 240266

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  net-snmp/repos/staging-i686/
  net-snmp/repos/staging-i686/PKGBUILD
(from rev 240265, net-snmp/trunk/PKGBUILD)
  net-snmp/repos/staging-i686/snmpd.service
(from rev 240265, net-snmp/trunk/snmpd.service)
  net-snmp/repos/staging-i686/snmptrapd.service
(from rev 240265, net-snmp/trunk/snmptrapd.service)
  net-snmp/repos/staging-x86_64/
  net-snmp/repos/staging-x86_64/PKGBUILD
(from rev 240265, net-snmp/trunk/PKGBUILD)
  net-snmp/repos/staging-x86_64/snmpd.service
(from rev 240265, net-snmp/trunk/snmpd.service)
  net-snmp/repos/staging-x86_64/snmptrapd.service
(from rev 240265, net-snmp/trunk/snmptrapd.service)

--+
 staging-i686/PKGBUILD|   64 +
 staging-i686/snmpd.service   |   12 ++
 staging-i686/snmptrapd.service   |   12 ++
 staging-x86_64/PKGBUILD  |   64 +
 staging-x86_64/snmpd.service |   12 ++
 staging-x86_64/snmptrapd.service |   12 ++
 6 files changed, 176 insertions(+)

Copied: net-snmp/repos/staging-i686/PKGBUILD (from rev 240265, 
net-snmp/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-06-03 02:48:30 UTC (rev 240266)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan felixonm...@archlinux.org
+# Contributor: Dale Blount d...@archlinux.org
+
+pkgname=net-snmp
+pkgver=5.7.3
+pkgrel=2
+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=('BSD')
+depends=('openssl' 'libnl' 'pciutils')
+makedepends=('python2-setuptools')
+optdepends=('perl-term-readkey: for snmpcheck application'
+'perl-tk: for snmpcheck and tkmib applications'
+'python2: for the python modules')
+options=('!emptydirs' '!makeflags')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
+snmpd.service snmptrapd.service)
+sha1sums=('97dc25077257680815de44e34128d365c76bd839'
+  'SKIP'
+  '84e32c54d32e6b608747054e04a3ddfe6d6638cc'
+  '0244e91c7baa0abebfb5c0560e8ce04c966c5992')
+validpgpkeys=('8AAA779B597B405BBC329B6376CF47B8A77C5329'
+  '27CAA4A32E371383A33ED0587D5F9576E0F81533')  # Net-SNMP 
Administrators
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  #make PERL_ARCHLIB=/usr/lib/perl5/core_perl 
PERL_INC=/usr/lib/perl5/core_perl/CORE distclean
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
+--sysconfdir=/etc --sbindir=/usr/bin \
+--mandir=/usr/share/man \
+--enable-ucd-snmp-compatibility \
+--enable-ipv6 \
+--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
+  make NETSNMP_DONT_CHECK_VERSION=1
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  sed -i -e s:install --basedir=\$\$dir:install --basedir=\$\$dir 
--root=${pkgdir}: Makefile
+  make DESTDIR=${pkgdir} INSTALL_PREFIX=${pkgdir} INSTALLDIRS=vendor 
install
+  install -D -m644 ${srcdir}/snmpd.service 
${pkgdir}/usr/lib/systemd/system/snmpd.service
+  install -D -m644 ${srcdir}/snmptrapd.service 
${pkgdir}/usr/lib/systemd/system/snmptrapd.service
+  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find $pkgdir/usr/lib/perl5/ -name *.so) ]]; then
+   _perlver_min=$(perl -e '$v = $^V-{version}; print 
$v-[0]...($v-[1]);')
+   _perlver_max=$(perl -e '$v = $^V-{version}; print 
$v-[0]...($v-[1]+1);')
+   depends+=(perl=$_perlver_min perl$_perlver_max)
+fi
+# template end;
+}

Copied: net-snmp/repos/staging-i686/snmpd.service (from rev 240265, 
net-snmp/trunk/snmpd.service)
===
--- staging-i686/snmpd.service  (rev 0)
+++ staging-i686/snmpd.service  2015-06-03 02:48:30 UTC (rev 240266)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Simple Network Management Protocol (SNMP) Daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/run/snmpd.pid
+ExecStart=/usr/bin/snmpd -p /run/snmpd.pid
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target

Copied: net-snmp/repos/staging-i686/snmptrapd.service (from rev 240265, 
net-snmp/trunk/snmptrapd.service)
===
--- staging-i686/snmptrapd.service  

[arch-commits] Commit in net-snmp/repos (8 files)

2015-02-06 Thread Felix Yan
Date: Saturday, February 7, 2015 @ 03:58:46
  Author: fyan
Revision: 230919

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  net-snmp/repos/testing-i686/
  net-snmp/repos/testing-i686/PKGBUILD
(from rev 230918, net-snmp/trunk/PKGBUILD)
  net-snmp/repos/testing-i686/snmpd.service
(from rev 230918, net-snmp/trunk/snmpd.service)
  net-snmp/repos/testing-i686/snmptrapd.service
(from rev 230918, net-snmp/trunk/snmptrapd.service)
  net-snmp/repos/testing-x86_64/
  net-snmp/repos/testing-x86_64/PKGBUILD
(from rev 230918, net-snmp/trunk/PKGBUILD)
  net-snmp/repos/testing-x86_64/snmpd.service
(from rev 230918, net-snmp/trunk/snmpd.service)
  net-snmp/repos/testing-x86_64/snmptrapd.service
(from rev 230918, net-snmp/trunk/snmptrapd.service)

--+
 testing-i686/PKGBUILD|   56 +
 testing-i686/snmpd.service   |   12 +++
 testing-i686/snmptrapd.service   |   12 +++
 testing-x86_64/PKGBUILD  |   56 +
 testing-x86_64/snmpd.service |   12 +++
 testing-x86_64/snmptrapd.service |   12 +++
 6 files changed, 160 insertions(+)

Copied: net-snmp/repos/testing-i686/PKGBUILD (from rev 230918, 
net-snmp/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-02-07 02:58:46 UTC (rev 230919)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan felixonm...@archlinux.org
+# Contributor: Dale Blount d...@archlinux.org
+
+pkgname=net-snmp
+pkgver=5.7.3
+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=('BSD')
+depends=('openssl' 'libnl' 'pciutils')
+makedepends=('python2-setuptools')
+optdepends=('perl-term-readkey: for snmpcheck application'
+'perl-tk: for snmpcheck and tkmib applications'
+'python2: for the python modules')
+options=('!emptydirs' '!makeflags')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
+snmpd.service snmptrapd.service)
+sha1sums=('97dc25077257680815de44e34128d365c76bd839'
+  'SKIP'
+  '84e32c54d32e6b608747054e04a3ddfe6d6638cc'
+  '0244e91c7baa0abebfb5c0560e8ce04c966c5992')
+validpgpkeys=('8AAA779B597B405BBC329B6376CF47B8A77C5329'
+  '27CAA4A32E371383A33ED0587D5F9576E0F81533')  # Net-SNMP 
Administrators
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  #make PERL_ARCHLIB=/usr/lib/perl5/core_perl 
PERL_INC=/usr/lib/perl5/core_perl/CORE distclean
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
+--sysconfdir=/etc --sbindir=/usr/bin \
+--mandir=/usr/share/man \
+--enable-ucd-snmp-compatibility \
+--enable-ipv6 \
+--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
+  make NETSNMP_DONT_CHECK_VERSION=1
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  sed -i -e s:install --basedir=\$\$dir:install --basedir=\$\$dir 
--root=${pkgdir}: Makefile
+  make DESTDIR=${pkgdir} INSTALL_PREFIX=${pkgdir} INSTALLDIRS=vendor 
install
+  install -D -m644 ${srcdir}/snmpd.service 
${pkgdir}/usr/lib/systemd/system/snmpd.service
+  install -D -m644 ${srcdir}/snmptrapd.service 
${pkgdir}/usr/lib/systemd/system/snmptrapd.service
+  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: net-snmp/repos/testing-i686/snmpd.service (from rev 230918, 
net-snmp/trunk/snmpd.service)
===
--- testing-i686/snmpd.service  (rev 0)
+++ testing-i686/snmpd.service  2015-02-07 02:58:46 UTC (rev 230919)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Simple Network Management Protocol (SNMP) Daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/run/snmpd.pid
+ExecStart=/usr/bin/snmpd -p /run/snmpd.pid
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target

Copied: net-snmp/repos/testing-i686/snmptrapd.service (from rev 230918, 
net-snmp/trunk/snmptrapd.service)
===
--- testing-i686/snmptrapd.service  (rev 0)
+++ testing-i686/snmptrapd.service  2015-02-07 02:58:46 UTC (rev 230919)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Simple Network Management Protocol (SNMP) TRAP Daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/run/snmptrapd.pid
+ExecStart=/usr/bin/snmptrapd -p /run/snmptrapd.pid
+ExecReload=/bin/kill -HUP $MAINPID
+

[arch-commits] Commit in net-snmp/repos (8 files)

2013-05-19 Thread Evangelos Foutras
Date: Monday, May 20, 2013 @ 00:11:21
  Author: foutrelis
Revision: 185956

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  net-snmp/repos/staging-i686/
  net-snmp/repos/staging-i686/PKGBUILD
(from rev 185955, net-snmp/trunk/PKGBUILD)
  net-snmp/repos/staging-i686/libnl32.patch
(from rev 185955, net-snmp/trunk/libnl32.patch)
  net-snmp/repos/staging-i686/snmpd.service
(from rev 185955, net-snmp/trunk/snmpd.service)
  net-snmp/repos/staging-x86_64/
  net-snmp/repos/staging-x86_64/PKGBUILD
(from rev 185955, net-snmp/trunk/PKGBUILD)
  net-snmp/repos/staging-x86_64/libnl32.patch
(from rev 185955, net-snmp/trunk/libnl32.patch)
  net-snmp/repos/staging-x86_64/snmpd.service
(from rev 185955, net-snmp/trunk/snmpd.service)

--+
 staging-i686/PKGBUILD|   56 
 staging-i686/libnl32.patch   |   80 +
 staging-i686/snmpd.service   |   12 ++
 staging-x86_64/PKGBUILD  |   56 
 staging-x86_64/libnl32.patch |   80 +
 staging-x86_64/snmpd.service |   12 ++
 6 files changed, 296 insertions(+)

Copied: net-snmp/repos/staging-i686/PKGBUILD (from rev 185955, 
net-snmp/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2013-05-19 22:11:21 UTC (rev 185956)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer:
+# Contributor: Dale Blount d...@archlinux.org
+
+pkgname=net-snmp
+pkgver=5.7.2
+pkgrel=6
+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=('BSD')
+depends=('openssl' 'libnl' 'pciutils')
+makedepends=('python2-distribute')
+optdepends=('perl-term-readkey: for snmpcheck application'
+'perl-tk: for snmpcheck and tkmib applications'
+'python2: for the python modules')
+options=('!libtool' '!emptydirs' '!makeflags')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
+snmpd.service libnl32.patch)
+sha1sums=('c493027907f32400648244d81117a126aecd27ee'
+  'SKIP'
+  '84e32c54d32e6b608747054e04a3ddfe6d6638cc'
+  '74a9848b95f63378eb1753fc309d2b74de5afb0f')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+# 
http://sourceforge.net/tracker/index.php?func=detailaid=3250304group_id=12694atid=112694
+  patch -Np1 -i $srcdir/libnl32.patch
+  autoreconf -f -i
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
+--sysconfdir=/etc --sbindir=/usr/bin \
+--mandir=/usr/share/man \
+--enable-ucd-snmp-compatibility \
+--enable-ipv6 \
+--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 \
+--disable-static
+  make NETSNMP_DONT_CHECK_VERSION=1
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  sed -i -e s:install --basedir=\$\$dir:install --basedir=\$\$dir 
--root=${pkgdir}: Makefile
+  make DESTDIR=${pkgdir} INSTALL_PREFIX=${pkgdir} INSTALLDIRS=vendor 
install
+  install -D -m644 ${srcdir}/snmpd.service 
${pkgdir}/usr/lib/systemd/system/snmpd.service
+  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: net-snmp/repos/staging-i686/libnl32.patch (from rev 185955, 
net-snmp/trunk/libnl32.patch)
===
--- staging-i686/libnl32.patch  (rev 0)
+++ staging-i686/libnl32.patch  2013-05-19 22:11:21 UTC (rev 185956)
@@ -0,0 +1,80 @@
+diff -u -r net-snmp-5.7.1/agent/mibgroup/mibII/tcpTable.c 
net-snmp-5.7.1-libnl32/agent/mibgroup/mibII/tcpTable.c
+--- net-snmp-5.7.1/agent/mibgroup/mibII/tcpTable.c 2011-09-28 
06:53:47.0 +0200
 net-snmp-5.7.1-libnl32/agent/mibgroup/mibII/tcpTable.c 2012-02-09 
20:02:49.136022132 +0100
+@@ -566,8 +566,9 @@
+ static int
+ tcpTable_load_netlink(void)
+ {
++  int err;
+   /*  TODO: perhaps use permanent nl handle? */
+-  struct nl_handle *nl = nl_handle_alloc();
++  struct nl_sock *nl = nl_socket_alloc();
+ 
+   if (nl == NULL) {
+   DEBUGMSGTL((mibII/tcpTable, Failed to allocate netlink 
handle\n));
+@@ -575,10 +576,10 @@
+   return -1;
+   }
+ 
+-  if (nl_connect(nl, NETLINK_INET_DIAG)  0) {
+-  DEBUGMSGTL((mibII/tcpTable, Failed to connect to netlink: 
%s\n, nl_geterror()));
+-  snmp_log(LOG_ERR, snmpd: Couldn't connect to netlink: %s\n, 
nl_geterror());
+-  nl_handle_destroy(nl);
++  if ((err = nl_connect(nl, NETLINK_INET_DIAG))  0) {
++  

[arch-commits] Commit in net-snmp/repos (8 files)

2012-02-23 Thread Allan McRae
Date: Thursday, February 23, 2012 @ 08:55:10
  Author: allan
Revision: 150901

db-move: moved net-snmp from [testing] to [extra] (i686)

Added:
  net-snmp/repos/extra-i686/PKGBUILD
(from rev 150896, net-snmp/repos/testing-i686/PKGBUILD)
  net-snmp/repos/extra-i686/libnl32.patch
(from rev 150896, net-snmp/repos/testing-i686/libnl32.patch)
  net-snmp/repos/extra-i686/snmpd.confd
(from rev 150896, net-snmp/repos/testing-i686/snmpd.confd)
  net-snmp/repos/extra-i686/snmpd.rc
(from rev 150896, net-snmp/repos/testing-i686/snmpd.rc)
Deleted:
  net-snmp/repos/extra-i686/PKGBUILD
  net-snmp/repos/extra-i686/snmpd.confd
  net-snmp/repos/extra-i686/snmpd.rc
  net-snmp/repos/testing-i686/

---+
 PKGBUILD  |  109 +---
 libnl32.patch |   80 +
 snmpd.confd   |   10 ++---
 snmpd.rc  |   78 
 4 files changed, 182 insertions(+), 95 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2012-02-23 13:55:06 UTC (rev 150900)
+++ extra-i686/PKGBUILD 2012-02-23 13:55:10 UTC (rev 150901)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: 
-# Contributor: Dale Blount d...@archlinux.org
-
-pkgname=net-snmp
-pkgver=5.7.1
-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=('BSD')
-depends=('openssl' 'libnl' 'pciutils')
-makedepends=('python2-distribute')
-optdepends=('perl-term-readkey: for snmpcheck application' 
-'perl-tk: for snmpcheck and tkmib applications'
-'python2: for the python modules')
-provides=('ucd-snmp')
-backup=('etc/conf.d/snmpd')
-options=('!libtool' '!makeflags' '!emptydirs')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
-snmpd.confd snmpd.rc)
-sha1sums=('ddb82ce1112ef0642869d3c8d7c7e585f151849a'
-  '2bdc2839ce09d7daa608cd54687fa8beb47ed907'
-  'cf811da9e57bbca34d8e2a3c358bb3bfc0c2b33b'
-  '90600c0141eed10d6e3ca3ccc97ad8dda15c2112')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  sed -i -e s:\(install --basedir=\$\$dir\):\1 --root='${pkgdir}': 
Makefile.in
-  PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
---sysconfdir=/etc \
---mandir=/usr/share/man \
---enable-ucd-snmp-compatibility \
---enable-ipv6 \
---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
-  make NETSNMP_DONT_CHECK_VERSION=1
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} INSTALL_PREFIX=${pkgdir} INSTALLDIRS=vendor 
install
-  install -D -m755 ${srcdir}/snmpd.rc ${pkgdir}/etc/rc.d/snmpd
-  install -D -m644 ${srcdir}/snmpd.confd ${pkgdir}/etc/conf.d/snmpd
-  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: net-snmp/repos/extra-i686/PKGBUILD (from rev 150896, 
net-snmp/repos/testing-i686/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-02-23 13:55:10 UTC (rev 150901)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: 
+# Contributor: Dale Blount d...@archlinux.org
+
+pkgname=net-snmp
+pkgver=5.7.1
+pkgrel=2
+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=('BSD')
+depends=('openssl' 'libnl' 'pciutils')
+makedepends=('python2-distribute')
+optdepends=('perl-term-readkey: for snmpcheck application' 
+'perl-tk: for snmpcheck and tkmib applications'
+'python2: for the python modules')
+provides=('ucd-snmp')
+backup=('etc/conf.d/snmpd')
+options=('!libtool' '!makeflags' '!emptydirs')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
+snmpd.confd snmpd.rc libnl32.patch)
+sha1sums=('ddb82ce1112ef0642869d3c8d7c7e585f151849a'
+  '2bdc2839ce09d7daa608cd54687fa8beb47ed907'
+  'cf811da9e57bbca34d8e2a3c358bb3bfc0c2b33b'
+  '90600c0141eed10d6e3ca3ccc97ad8dda15c2112'
+  '74a9848b95f63378eb1753fc309d2b74de5afb0f')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # 
http://sourceforge.net/tracker/index.php?func=detailaid=3250304group_id=12694atid=112694
+  patch -Np1 -i $srcdir/libnl32.patch
+  autoreconf -f -i
+
+  sed -i -e s:\(install --basedir=\$\$dir\):\1 --root='${pkgdir}': 
Makefile.in
+  PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--mandir=/usr/share/man \
+

[arch-commits] Commit in net-snmp/repos (8 files)

2012-02-23 Thread Allan McRae
Date: Thursday, February 23, 2012 @ 08:55:13
  Author: allan
Revision: 150902

db-move: moved net-snmp from [testing] to [extra] (x86_64)

Added:
  net-snmp/repos/extra-x86_64/PKGBUILD
(from rev 150896, net-snmp/repos/testing-x86_64/PKGBUILD)
  net-snmp/repos/extra-x86_64/libnl32.patch
(from rev 150896, net-snmp/repos/testing-x86_64/libnl32.patch)
  net-snmp/repos/extra-x86_64/snmpd.confd
(from rev 150896, net-snmp/repos/testing-x86_64/snmpd.confd)
  net-snmp/repos/extra-x86_64/snmpd.rc
(from rev 150896, net-snmp/repos/testing-x86_64/snmpd.rc)
Deleted:
  net-snmp/repos/extra-x86_64/PKGBUILD
  net-snmp/repos/extra-x86_64/snmpd.confd
  net-snmp/repos/extra-x86_64/snmpd.rc
  net-snmp/repos/testing-x86_64/

---+
 PKGBUILD  |  109 +---
 libnl32.patch |   80 +
 snmpd.confd   |   10 ++---
 snmpd.rc  |   78 
 4 files changed, 182 insertions(+), 95 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2012-02-23 13:55:10 UTC (rev 150901)
+++ extra-x86_64/PKGBUILD   2012-02-23 13:55:13 UTC (rev 150902)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: 
-# Contributor: Dale Blount d...@archlinux.org
-
-pkgname=net-snmp
-pkgver=5.7.1
-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=('BSD')
-depends=('openssl' 'libnl' 'pciutils')
-makedepends=('python2-distribute')
-optdepends=('perl-term-readkey: for snmpcheck application' 
-'perl-tk: for snmpcheck and tkmib applications'
-'python2: for the python modules')
-provides=('ucd-snmp')
-backup=('etc/conf.d/snmpd')
-options=('!libtool' '!makeflags' '!emptydirs')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
-snmpd.confd snmpd.rc)
-sha1sums=('ddb82ce1112ef0642869d3c8d7c7e585f151849a'
-  '2bdc2839ce09d7daa608cd54687fa8beb47ed907'
-  'cf811da9e57bbca34d8e2a3c358bb3bfc0c2b33b'
-  '90600c0141eed10d6e3ca3ccc97ad8dda15c2112')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  sed -i -e s:\(install --basedir=\$\$dir\):\1 --root='${pkgdir}': 
Makefile.in
-  PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
---sysconfdir=/etc \
---mandir=/usr/share/man \
---enable-ucd-snmp-compatibility \
---enable-ipv6 \
---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
-  make NETSNMP_DONT_CHECK_VERSION=1
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} INSTALL_PREFIX=${pkgdir} INSTALLDIRS=vendor 
install
-  install -D -m755 ${srcdir}/snmpd.rc ${pkgdir}/etc/rc.d/snmpd
-  install -D -m644 ${srcdir}/snmpd.confd ${pkgdir}/etc/conf.d/snmpd
-  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: net-snmp/repos/extra-x86_64/PKGBUILD (from rev 150896, 
net-snmp/repos/testing-x86_64/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2012-02-23 13:55:13 UTC (rev 150902)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: 
+# Contributor: Dale Blount d...@archlinux.org
+
+pkgname=net-snmp
+pkgver=5.7.1
+pkgrel=2
+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=('BSD')
+depends=('openssl' 'libnl' 'pciutils')
+makedepends=('python2-distribute')
+optdepends=('perl-term-readkey: for snmpcheck application' 
+'perl-tk: for snmpcheck and tkmib applications'
+'python2: for the python modules')
+provides=('ucd-snmp')
+backup=('etc/conf.d/snmpd')
+options=('!libtool' '!makeflags' '!emptydirs')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
+snmpd.confd snmpd.rc libnl32.patch)
+sha1sums=('ddb82ce1112ef0642869d3c8d7c7e585f151849a'
+  '2bdc2839ce09d7daa608cd54687fa8beb47ed907'
+  'cf811da9e57bbca34d8e2a3c358bb3bfc0c2b33b'
+  '90600c0141eed10d6e3ca3ccc97ad8dda15c2112'
+  '74a9848b95f63378eb1753fc309d2b74de5afb0f')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # 
http://sourceforge.net/tracker/index.php?func=detailaid=3250304group_id=12694atid=112694
+  patch -Np1 -i $srcdir/libnl32.patch
+  autoreconf -f -i
+
+  sed -i -e s:\(install --basedir=\$\$dir\):\1 --root='${pkgdir}': 
Makefile.in
+  PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
+

[arch-commits] Commit in net-snmp/repos (8 files)

2011-10-01 Thread Eric Bélanger
Date: Saturday, October 1, 2011 @ 22:49:38
  Author: eric
Revision: 139480

db-move: moved net-snmp from [testing] to [extra] (x86_64)

Added:
  net-snmp/repos/extra-x86_64/PKGBUILD
(from rev 139472, net-snmp/repos/testing-x86_64/PKGBUILD)
  net-snmp/repos/extra-x86_64/snmpd.confd
(from rev 139472, net-snmp/repos/testing-x86_64/snmpd.confd)
  net-snmp/repos/extra-x86_64/snmpd.rc
(from rev 139472, net-snmp/repos/testing-x86_64/snmpd.rc)
Deleted:
  net-snmp/repos/extra-x86_64/PKGBUILD
  net-snmp/repos/extra-x86_64/libnl-2.patch
  net-snmp/repos/extra-x86_64/snmpd.confd
  net-snmp/repos/extra-x86_64/snmpd.rc
  net-snmp/repos/testing-x86_64/

---+
 PKGBUILD  |  100 
 libnl-2.patch |   67 -
 snmpd.confd   |   10 ++---
 snmpd.rc  |   78 +--
 4 files changed, 95 insertions(+), 160 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2011-10-02 02:49:36 UTC (rev 139479)
+++ extra-x86_64/PKGBUILD   2011-10-02 02:49:38 UTC (rev 139480)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: 
-# Contributor: Dale Blount d...@archlinux.org
-
-pkgname=net-snmp
-pkgver=5.6.1
-pkgrel=4
-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' 'libnl')
-makedepends=('python2-distribute')
-optdepends=('perl-term-readkey: for snmpcheck application' 
-'perl-tk: for snmpcheck and tkmib applications'
-'python2: for the python modules')
-provides=('ucd-snmp')
-options=('!libtool' '!makeflags' '!emptydirs')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
-snmpd.confd snmpd.rc)
-md5sums=('b4e30ead5783b0bb1d280172c6095ea4'
- '37bc5db8707004fe284c202437c6aa7d'
- 'edab44a12f76045e41340d433a79dcec')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  sed -i -e s:\(install --basedir=\$\$dir\):\1 --root='${pkgdir}': 
Makefile.in
-  PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
---sysconfdir=/etc \
---mandir=/usr/share/man \
---enable-ucd-snmp-compatibility \
---enable-ipv6 \
---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
-  make NETSNMP_DONT_CHECK_VERSION=1
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} INSTALL_PREFIX=${pkgdir} INSTALLDIRS=vendor 
install
-  install -D -m755 ${srcdir}/snmpd.rc ${pkgdir}/etc/rc.d/snmpd
-  install -D -m644 ${srcdir}/snmpd.confd ${pkgdir}/etc/conf.d/snmpd
-  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: net-snmp/repos/extra-x86_64/PKGBUILD (from rev 139472, 
net-snmp/repos/testing-x86_64/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2011-10-02 02:49:38 UTC (rev 139480)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: 
+# Contributor: Dale Blount d...@archlinux.org
+
+pkgname=net-snmp
+pkgver=5.7.1
+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=('BSD')
+depends=('openssl' 'libnl' 'pciutils')
+makedepends=('python2-distribute')
+optdepends=('perl-term-readkey: for snmpcheck application' 
+'perl-tk: for snmpcheck and tkmib applications'
+'python2: for the python modules')
+provides=('ucd-snmp')
+backup=('etc/conf.d/snmpd')
+options=('!libtool' '!makeflags' '!emptydirs')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
+snmpd.confd snmpd.rc)
+sha1sums=('ddb82ce1112ef0642869d3c8d7c7e585f151849a'
+  '2bdc2839ce09d7daa608cd54687fa8beb47ed907'
+  'cf811da9e57bbca34d8e2a3c358bb3bfc0c2b33b'
+  '90600c0141eed10d6e3ca3ccc97ad8dda15c2112')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  sed -i -e s:\(install --basedir=\$\$dir\):\1 --root='${pkgdir}': 
Makefile.in
+  PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--mandir=/usr/share/man \
+--enable-ucd-snmp-compatibility \
+--enable-ipv6 \
+--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
+  

[arch-commits] Commit in net-snmp/repos (8 files)

2011-10-01 Thread Eric Bélanger
Date: Saturday, October 1, 2011 @ 22:49:36
  Author: eric
Revision: 139479

db-move: moved net-snmp from [testing] to [extra] (i686)

Added:
  net-snmp/repos/extra-i686/PKGBUILD
(from rev 139472, net-snmp/repos/testing-i686/PKGBUILD)
  net-snmp/repos/extra-i686/snmpd.confd
(from rev 139472, net-snmp/repos/testing-i686/snmpd.confd)
  net-snmp/repos/extra-i686/snmpd.rc
(from rev 139472, net-snmp/repos/testing-i686/snmpd.rc)
Deleted:
  net-snmp/repos/extra-i686/PKGBUILD
  net-snmp/repos/extra-i686/libnl-2.patch
  net-snmp/repos/extra-i686/snmpd.confd
  net-snmp/repos/extra-i686/snmpd.rc
  net-snmp/repos/testing-i686/

---+
 PKGBUILD  |  100 
 libnl-2.patch |   67 -
 snmpd.confd   |   10 ++---
 snmpd.rc  |   78 +--
 4 files changed, 95 insertions(+), 160 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2011-10-02 02:49:35 UTC (rev 139478)
+++ extra-i686/PKGBUILD 2011-10-02 02:49:36 UTC (rev 139479)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: 
-# Contributor: Dale Blount d...@archlinux.org
-
-pkgname=net-snmp
-pkgver=5.6.1
-pkgrel=4
-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' 'libnl')
-makedepends=('python2-distribute')
-optdepends=('perl-term-readkey: for snmpcheck application' 
-'perl-tk: for snmpcheck and tkmib applications'
-'python2: for the python modules')
-provides=('ucd-snmp')
-options=('!libtool' '!makeflags' '!emptydirs')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
-snmpd.confd snmpd.rc)
-md5sums=('b4e30ead5783b0bb1d280172c6095ea4'
- '37bc5db8707004fe284c202437c6aa7d'
- 'edab44a12f76045e41340d433a79dcec')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  sed -i -e s:\(install --basedir=\$\$dir\):\1 --root='${pkgdir}': 
Makefile.in
-  PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
---sysconfdir=/etc \
---mandir=/usr/share/man \
---enable-ucd-snmp-compatibility \
---enable-ipv6 \
---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
-  make NETSNMP_DONT_CHECK_VERSION=1
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} INSTALL_PREFIX=${pkgdir} INSTALLDIRS=vendor 
install
-  install -D -m755 ${srcdir}/snmpd.rc ${pkgdir}/etc/rc.d/snmpd
-  install -D -m644 ${srcdir}/snmpd.confd ${pkgdir}/etc/conf.d/snmpd
-  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: net-snmp/repos/extra-i686/PKGBUILD (from rev 139472, 
net-snmp/repos/testing-i686/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2011-10-02 02:49:36 UTC (rev 139479)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: 
+# Contributor: Dale Blount d...@archlinux.org
+
+pkgname=net-snmp
+pkgver=5.7.1
+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=('BSD')
+depends=('openssl' 'libnl' 'pciutils')
+makedepends=('python2-distribute')
+optdepends=('perl-term-readkey: for snmpcheck application' 
+'perl-tk: for snmpcheck and tkmib applications'
+'python2: for the python modules')
+provides=('ucd-snmp')
+backup=('etc/conf.d/snmpd')
+options=('!libtool' '!makeflags' '!emptydirs')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
+snmpd.confd snmpd.rc)
+sha1sums=('ddb82ce1112ef0642869d3c8d7c7e585f151849a'
+  '2bdc2839ce09d7daa608cd54687fa8beb47ed907'
+  'cf811da9e57bbca34d8e2a3c358bb3bfc0c2b33b'
+  '90600c0141eed10d6e3ca3ccc97ad8dda15c2112')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  sed -i -e s:\(install --basedir=\$\$dir\):\1 --root='${pkgdir}': 
Makefile.in
+  PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--mandir=/usr/share/man \
+--enable-ucd-snmp-compatibility \
+--enable-ipv6 \
+--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
+  make NETSNMP_DONT_CHECK_VERSION=1
+}
+
+package() {
+  cd 

[arch-commits] Commit in net-snmp/repos (8 files)

2011-09-28 Thread Eric Bélanger
Date: Thursday, September 29, 2011 @ 00:45:08
  Author: eric
Revision: 139097

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  net-snmp/repos/staging-i686/
  net-snmp/repos/staging-i686/PKGBUILD
(from rev 139096, net-snmp/trunk/PKGBUILD)
  net-snmp/repos/staging-i686/snmpd.confd
(from rev 139096, net-snmp/trunk/snmpd.confd)
  net-snmp/repos/staging-i686/snmpd.rc
(from rev 139096, net-snmp/trunk/snmpd.rc)
  net-snmp/repos/staging-x86_64/
  net-snmp/repos/staging-x86_64/PKGBUILD
(from rev 139096, net-snmp/trunk/PKGBUILD)
  net-snmp/repos/staging-x86_64/snmpd.confd
(from rev 139096, net-snmp/trunk/snmpd.confd)
  net-snmp/repos/staging-x86_64/snmpd.rc
(from rev 139096, net-snmp/trunk/snmpd.rc)

+
 staging-i686/PKGBUILD  |   51 +++
 staging-i686/snmpd.confd   |5 
 staging-i686/snmpd.rc  |   39 
 staging-x86_64/PKGBUILD|   51 +++
 staging-x86_64/snmpd.confd |5 
 staging-x86_64/snmpd.rc|   39 
 6 files changed, 190 insertions(+)

Copied: net-snmp/repos/staging-i686/PKGBUILD (from rev 139096, 
net-snmp/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2011-09-29 04:45:08 UTC (rev 139097)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: 
+# Contributor: Dale Blount d...@archlinux.org
+
+pkgname=net-snmp
+pkgver=5.7.1
+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=('BSD')
+depends=('openssl' 'libnl' 'pciutils')
+makedepends=('python2-distribute')
+optdepends=('perl-term-readkey: for snmpcheck application' 
+'perl-tk: for snmpcheck and tkmib applications'
+'python2: for the python modules')
+provides=('ucd-snmp')
+backup=('etc/conf.d/snmpd')
+options=('!libtool' '!makeflags' '!emptydirs')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
+snmpd.confd snmpd.rc)
+sha1sums=('ddb82ce1112ef0642869d3c8d7c7e585f151849a'
+  '2bdc2839ce09d7daa608cd54687fa8beb47ed907'
+  'cf811da9e57bbca34d8e2a3c358bb3bfc0c2b33b'
+  '90600c0141eed10d6e3ca3ccc97ad8dda15c2112')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  sed -i -e s:\(install --basedir=\$\$dir\):\1 --root='${pkgdir}': 
Makefile.in
+  PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--mandir=/usr/share/man \
+--enable-ucd-snmp-compatibility \
+--enable-ipv6 \
+--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
+  make NETSNMP_DONT_CHECK_VERSION=1
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} INSTALL_PREFIX=${pkgdir} INSTALLDIRS=vendor 
install
+  install -D -m755 ${srcdir}/snmpd.rc ${pkgdir}/etc/rc.d/snmpd
+  install -D -m644 ${srcdir}/snmpd.confd ${pkgdir}/etc/conf.d/snmpd
+  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: net-snmp/repos/staging-i686/snmpd.confd (from rev 139096, 
net-snmp/trunk/snmpd.confd)
===
--- staging-i686/snmpd.confd(rev 0)
+++ staging-i686/snmpd.confd2011-09-29 04:45:08 UTC (rev 139097)
@@ -0,0 +1,5 @@
+#
+# Parameters to be passed to snmpd
+#
+SNMPD_ARGS=
+

Copied: net-snmp/repos/staging-i686/snmpd.rc (from rev 139096, 
net-snmp/trunk/snmpd.rc)
===
--- staging-i686/snmpd.rc   (rev 0)
+++ staging-i686/snmpd.rc   2011-09-29 04:45:08 UTC (rev 139097)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/conf.d/snmpd
+
+PID=`pidof -o %PPID /usr/sbin/snmpd`
+case $1 in
+  start)
+stat_busy Starting Net-SNMP
+[ -z $PID ]  /usr/sbin/snmpd $SNMPD_ARGS
+if [ $? -gt 0 ]; then
+  stat_fail
+else
+  echo $PID  /var/run/snmpd.pid
+  add_daemon snmpd
+  stat_done
+fi
+;;
+  stop)
+stat_busy Stopping Net-SNMP
+[ ! -z $PID ]   kill $PID  /dev/null
+if [ $? -gt 0 ]; then
+  stat_fail
+else
+  rm /var/run/snmpd.pid
+  rm_daemon snmpd
+  stat_done
+fi
+;;
+  restart)
+$0 stop
+sleep 2
+$0 start
+;;
+  *)
+echo usage: $0 {start|stop|restart}  
+esac
+exit 0

Copied: net-snmp/repos/staging-x86_64/PKGBUILD (from rev 139096, 
net-snmp/trunk/PKGBUILD)