diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-02-15 10:38:10 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-02-15 10:38:32 +0000 |
commit | 4dc7a9fe46de3a6345035ea8239007bea91f423e (patch) | |
tree | 82ebd218de28088052f50001c5574ef1da7609c3 /main/snmptt/APKBUILD | |
parent | 02c89f5659ffff9ad39cd9737919a1c87caeb6d6 (diff) | |
download | aports-4dc7a9fe46de3a6345035ea8239007bea91f423e.tar.bz2 aports-4dc7a9fe46de3a6345035ea8239007bea91f423e.tar.xz |
main/snmptt: add logrotate support. Create user
Diffstat (limited to 'main/snmptt/APKBUILD')
-rw-r--r-- | main/snmptt/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/snmptt/APKBUILD b/main/snmptt/APKBUILD index 24ea766919..fb9eed050f 100644 --- a/main/snmptt/APKBUILD +++ b/main/snmptt/APKBUILD @@ -2,14 +2,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=snmptt pkgver=1.3 -pkgrel=2 +pkgrel=3 pkgdesc="Translates traps received from snmptrapd into easy to understand messages" url="http://www.snmptt.org" arch="noarch" license="GPL" depends="perl perl-config-inifiles perl-list-moreutils" makedepends= -install= +install="$pkgname.pre-install" source="http://downloads.sourceforge.net/$pkgname/${pkgname}_$pkgver.tgz snmptt.initd snmptt.confd @@ -28,6 +28,7 @@ package() { install -D -m755 snmpttconvert "$pkgdir"/usr/bin/snmpttconvert install -D -m755 snmpttconvertmib "$pkgdir"/usr/bin/snmpttconvertmib install -D -m644 snmptt.ini "$pkgdir"/etc/snmptt/snmptt.ini + install -D -m644 snmptt.logrotate "$pkgdir"/etc/logrotate.d/snmptt install -D -m755 ../snmptt.initd "$pkgdir"/etc/init.d/snmptt install -D -m644 ../snmptt.confd "$pkgdir"/etc/conf.d/snmptt } |