extra/net-snmp to 5.7.2-5

This commit is contained in:
Kevin Mihelich 2013-05-13 03:55:44 +00:00
parent 0fb2d549dd
commit bdcf78609a
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
pkgname=net-snmp pkgname=net-snmp
pkgver=5.7.2 pkgver=5.7.2
pkgrel=4 pkgrel=5
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/"
@ -22,7 +22,7 @@ source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{
snmpd.service libnl32.patch) snmpd.service libnl32.patch)
sha1sums=('c493027907f32400648244d81117a126aecd27ee' sha1sums=('c493027907f32400648244d81117a126aecd27ee'
'SKIP' 'SKIP'
'2ad00f89ecb8ec97adfbae7adfbfa3499319e5d7' '84e32c54d32e6b608747054e04a3ddfe6d6638cc'
'74a9848b95f63378eb1753fc309d2b74de5afb0f') '74a9848b95f63378eb1753fc309d2b74de5afb0f')
prepare() { prepare() {
cd "${srcdir}/${pkgname}-${pkgver}" cd "${srcdir}/${pkgname}-${pkgver}"
@ -34,7 +34,7 @@ prepare() {
build() { build() {
cd "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}"
PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \ PYTHONPROG=/usr/bin/python2 ./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc --sbindir=/usr/bin \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--enable-ucd-snmp-compatibility \ --enable-ucd-snmp-compatibility \
--enable-ipv6 \ --enable-ipv6 \

View file

@ -5,7 +5,7 @@ After=syslog.target network.target
[Service] [Service]
Type=forking Type=forking
PIDFile=/run/snmpd.pid PIDFile=/run/snmpd.pid
ExecStart=/usr/sbin/snmpd -p /run/snmpd.pid ExecStart=/usr/bin/snmpd -p /run/snmpd.pid
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
[Install] [Install]