summaryrefslogtreecommitdiff
path: root/pcr/suricata/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/suricata/PKGBUILD')
-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/
}