summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-23 14:16:49 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-23 14:16:49 +0100
commitfc33dc87b348838416ec7f68cc8751f7a8567946 (patch)
tree35e85a57c102d4ad5bf903da2305f060cab0e934 /pcr
parent3826d884e5c9077644ed3a293baf535d5bb48e44 (diff)
downloadabslibre-fc33dc87b348838416ec7f68cc8751f7a8567946.tar.gz
abslibre-fc33dc87b348838416ec7f68cc8751f7a8567946.tar.bz2
abslibre-fc33dc87b348838416ec7f68cc8751f7a8567946.zip
pcr/suricata: updated to 4.0.3
Diffstat (limited to 'pcr')
-rw-r--r--pcr/suricata/PKGBUILD31
1 files changed, 15 insertions, 16 deletions
diff --git a/pcr/suricata/PKGBUILD b/pcr/suricata/PKGBUILD
index 9b447e40b..5eac1dce4 100644
--- a/pcr/suricata/PKGBUILD
+++ b/pcr/suricata/PKGBUILD
@@ -1,26 +1,25 @@
-# Maintainer (Arch): Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-# Maintainer: André Silva <emulatorman@hyperbola.info>
+# Maintainer (AUR): Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: André Silva <emulatorman@hyperbola.info>
+
+# parabola changes and rationale:
+# - removed "open source" term from pkgdesc
pkgname=suricata
-pkgver=3.0
+pkgver=4.0.3
pkgrel=1
-pkgdesc="A Free Software Next Generation Intrusion Detection and Prevention Engine"
+pkgdesc="A libre Next Generation Intrusion Detection and Prevention Engine"
arch=('i686' 'x86_64' 'armv7h')
url="http://suricata-ids.org/"
license=('GPL2')
depends=('libcap-ng' 'libnet' 'libpcap' 'libyaml' 'pcre')
optdepends=('snort: suricata can use rulesets provided by snort')
-backup=('etc/suricata/suricata.yaml')
-source=(http://openinfosecfoundation.org/download/$pkgname-$pkgver.tar.gz)
-sha256sums=('4b8feb398a0800c955fe24aa31ca446c539e79492155717e826473f902c8e65a')
-
-prepare() {
- cd "${srcdir}"/$pkgname-$pkgver
-
- # remove Open Source term
- sed -i 's|Open Source|Free Software|;
- ' $(grep -ril 'open source')
-}
+backup=('etc/suricata/suricata.yaml'
+ 'etc/suricata/classification.config'
+ 'etc/suricata/reference.config')
+source=(http://openinfosecfoundation.org/download/$pkgname-$pkgver.tar.gz{,.sig})
+validpgpkeys=('801C7171DAC74A6D3A61ED81F7F9B0A300C1B70D') # Open Information Security Foundation
+sha256sums=('81a0bcb10b5c0b00efeafb4aac3ef70bf0e36b060ac6300d867f15f3dbe0e437'
+ 'SKIP')
build() {
cd "${srcdir}"/$pkgname-$pkgver
@@ -39,7 +38,7 @@ package() {
install -Dm644 $pkgname.yaml "${pkgdir}"/etc/$pkgname/$pkgname.yaml
install -Dm644 classification.config "${pkgdir}"/etc/$pkgname/classification.config
install -Dm644 reference.config "${pkgdir}"/etc/$pkgname/reference.config
-
+
install -d "${pkgdir}"/etc/$pkgname/rules
install -Dm644 rules/*.rules "${pkgdir}"/etc/$pkgname/rules/
}