aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-12-19 14:20:45 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-12-19 14:20:45 +0000
commit29023ed7b95591160b4fc4e4649f1608fd7c2065 (patch)
tree4a3652098b2f0972dc249b833c77477bcf934b05
parent5ed2297a0b4af3d843c8232dca8df3d121223e67 (diff)
downloadaports-29023ed7b95591160b4fc4e4649f1608fd7c2065.tar.gz
aports-29023ed7b95591160b4fc4e4649f1608fd7c2065.tar.bz2
aports-29023ed7b95591160b4fc4e4649f1608fd7c2065.tar.xz
main/snort: upgrade to 2.9.12
Update license, add openrc subpkg
-rw-r--r--main/snort/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/main/snort/APKBUILD b/main/snort/APKBUILD
index d4415160c1..3aec483ef8 100644
--- a/main/snort/APKBUILD
+++ b/main/snort/APKBUILD
@@ -2,16 +2,16 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=snort
-pkgver=2.9.11.1
+pkgver=2.9.12
pkgrel=0
pkgdesc="An open source network intrusion prevention and detection system"
url="https://www.snort.org/"
arch="all"
-license="GPL"
+license="GPL-2.0-only"
makedepends="pcre-dev libpcap-dev libnet-dev libdnet-dev daq-dev
bison flex zlib-dev libtirpc-dev"
install="$pkgname.pre-install"
-subpackages="$pkgname-doc $pkgname-dev"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-openrc"
source="https://www.snort.org/downloads/snort/snort-$pkgver.tar.gz
snort.initd
snort.confd
@@ -27,8 +27,8 @@ prepare() {
# sed -i -e 's/^all-local:.*/all-local: $(LTLIBRARIES)/' \
# src/dynamic-preprocessors/*/Makefile.am || return 1
# correct paths in default config file
- sed -i -e 's|/usr/local|/usr|' etc/snort.conf || return 1
- sed -i -e 's|\.\./|/var/lib/snort/|' etc/snort.conf || return 1
+ sed -i -e 's|/usr/local|/usr|' etc/snort.conf
+ sed -i -e 's|\.\./|/var/lib/snort/|' etc/snort.conf
}
build() {
@@ -44,7 +44,8 @@ build() {
--infodir=/usr/share/info \
--enable-ipv6 \
--enable-gre \
- --enable-non-ether-decoders
+ --enable-non-ether-decoders \
+ --disable-open-appid
make
}
@@ -73,6 +74,6 @@ package() {
touch "$pkgdir"/var/lib/snort/rules/black_list.rules
}
-sha512sums="7d3b7690694556512a6a43463529626f4ace4f85259ac7f50c6aa095bc3d65eca2270ded98b10a9a7dffc730c0e5b4ea0d42f6a3b16b437a3155262ba3394e10 snort-2.9.11.1.tar.gz
+sha512sums="6f759b321ca5496abf27c9e4f4fa003cd5167f8c8a160bf5f0b1aee1a93aa8d27de89b84bdf993a0bfb3a93c6315cb2bdbdc3fdb3b09b8d4d1d3c22b69c6783f snort-2.9.12.tar.gz
c71d11f4cde4aba432641d3915faec8070e9fea5b33c71f6b2872b2208871180b3c7dbbadd2ddaebe5f3280adf7c5c9daf1585afd331fe552486a675ff676e52 snort.initd
abc0846ea6e08029c772f24e213f211a39219701e6e2c8b3aa112632318479db7b21014c5f2c4987cb2981cafce0ea744549c3ce754e9145cba9ec5604ae66f3 snort.confd"