summaryrefslogtreecommitdiff
path: root/extra/net-snmp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/net-snmp/PKGBUILD')
-rw-r--r--extra/net-snmp/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/net-snmp/PKGBUILD b/extra/net-snmp/PKGBUILD
index 9a137e580..3f5ea1f1f 100644
--- a/extra/net-snmp/PKGBUILD
+++ b/extra/net-snmp/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 160499 2012-06-02 10:26:47Z bluewind $
+# $Id: PKGBUILD 168300 2012-10-08 05:33:09Z eric $
# Maintainer:
# Contributor: Dale Blount <dale@archlinux.org>
pkgname=net-snmp
pkgver=5.7.1
-pkgrel=3
+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' 'mips64el')
url="http://www.net-snmp.org/"
@@ -18,11 +18,12 @@ 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)
+ snmpd.confd snmpd.rc snmpd.service libnl32.patch)
sha1sums=('ddb82ce1112ef0642869d3c8d7c7e585f151849a'
'2bdc2839ce09d7daa608cd54687fa8beb47ed907'
'cf811da9e57bbca34d8e2a3c358bb3bfc0c2b33b'
'90600c0141eed10d6e3ca3ccc97ad8dda15c2112'
+ 'f59ddc049c1c689f04e68c3c7cd8b8e301df3158'
'74a9848b95f63378eb1753fc309d2b74de5afb0f')
build() {
@@ -54,5 +55,6 @@ package() {
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 "${srcdir}/snmpd.service" "${pkgdir}/usr/lib/systemd/system/snmpd.service"
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}