aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Wagner <stw@bit-strickerei.de>2017-01-30 00:46:33 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-01-30 23:37:31 +0100
commit67d59eab9e2ccc9a63a4ee04cd5c7c62b88666b2 (patch)
treea679ace700635acb6f3c84030f64a1dc6d159f0a
parent77b0b4a1c532858a80cceeb8487139d41e12adc3 (diff)
downloadaports-67d59eab9e2ccc9a63a4ee04cd5c7c62b88666b2.tar.bz2
aports-67d59eab9e2ccc9a63a4ee04cd5c7c62b88666b2.tar.xz
testing/suricata: cleanup APKBUILD
-rw-r--r--testing/suricata/APKBUILD31
1 files changed, 21 insertions, 10 deletions
diff --git a/testing/suricata/APKBUILD b/testing/suricata/APKBUILD
index 159c4b17b8..711836d398 100644
--- a/testing/suricata/APKBUILD
+++ b/testing/suricata/APKBUILD
@@ -2,19 +2,21 @@
# Maintainer: Steve McMaster <code@mcmaster.io>
pkgname=suricata
pkgver=3.2
-pkgrel=1
+pkgrel=2
pkgdesc="High performance Network IDS, IPS and Network Security Monitoring engine"
url="https://suricata-ids.org/"
arch="all"
license="GPL-2"
-depends=""
makedepends="automake autoconf libtool libhtp-dev>=0.5.23 libcap-ng-dev
file-dev luajit-dev geoip-dev pcre-dev yaml-dev libpcap-dev hiredis-dev
libnet-dev libnetfilter_queue-dev libnfnetlink-dev jansson-dev python2
nss-dev nspr-dev"
-install=""
subpackages="$pkgname-doc"
-source="${pkgname}-${pkgver}.tar.gz::http://www.openinfosecfoundation.org/download/${pkgname}-${pkgver}.tar.gz"
+source="http://www.openinfosecfoundation.org/download/$pkgname-$pkgver.tar.gz
+ $pkgname.confd
+ $pkgname.initd
+ $pkgname.logrotate
+ "
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
@@ -49,10 +51,19 @@ package() {
make DESTDIR="$pkgdir" install-full || return 1
cd "$srcdir"
- install -D -m 755 ../suricata.initd "$pkgdir"/etc/init.d/suricata
- install -D -m 644 ../suricata.confd "$pkgdir"/etc/conf.d/suricata
- install -D -m 644 ../suricata.logrotate "$pkgdir"/etc/logrotate.d/snort
+ install -D -m 755 ../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ install -D -m 644 ../$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+ install -D -m 644 ../$pkgname.logrotate "$pkgdir"/etc/logrotate.d/$pkgname
}
-md5sums="05854b3390ea86fabe73bdb5a90db36c suricata-3.2.tar.gz"
-sha256sums="41cbe19c6fd6bd51ebcbc29063f558e2fbba4a2450e5809fee2e461f16a4ed68 suricata-3.2.tar.gz"
-sha512sums="327f5a62449af44f6cb95220e1ff9bf61b51db7bd25f2b1e8def3e8650ba754304cf9d02fc30b46b6cbaa6b5f94fa3d4be90edb8a293ff3b6c0927b596a2976e suricata-3.2.tar.gz"
+md5sums="05854b3390ea86fabe73bdb5a90db36c suricata-3.2.tar.gz
+e8711b63c89d6f7c8f59b7e44bd84624 suricata.confd
+2cd92e075f83b187f12c2f24b82cd9ac suricata.initd
+93b03aeb4def37007b1c9c340a825973 suricata.logrotate"
+sha256sums="41cbe19c6fd6bd51ebcbc29063f558e2fbba4a2450e5809fee2e461f16a4ed68 suricata-3.2.tar.gz
+2c40da834633205798cad878e10b7e25ee0fe8c971082893df7d9a46795a4810 suricata.confd
+9356d30cdac8fff44266df95b9c1bf64737d02eb1ae2aafa94029c3b5a733ec6 suricata.initd
+8c1139929923d14a020cd919ecce90134b7d502cdd40ceb76056baf66738584d suricata.logrotate"
+sha512sums="327f5a62449af44f6cb95220e1ff9bf61b51db7bd25f2b1e8def3e8650ba754304cf9d02fc30b46b6cbaa6b5f94fa3d4be90edb8a293ff3b6c0927b596a2976e suricata-3.2.tar.gz
+ed7c78a80192f3f3ed433330df323beccb6079b5413289b9e9faa3fceea2c536de93de7372968d8605abd1618d73c9319ee39d86b16eed22e7313c8667252f5d suricata.confd
+67770d953095c22bdf2786641c7f4ec402fa1093a743090278811d223fa5ff3e5987680c84e1117df8fd59306c100256b45cc3b2807a1c2296e31a7485d14b07 suricata.initd
+4f76a35bcde78c9860701897fe19bb84cc46bbc429124c4cb2e94cf3330f00ebe8067c0d7f3f83478e9b95323adb947e5081658f455657c4d03c682abe707534 suricata.logrotate"