diff options
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 } |