summaryrefslogtreecommitdiff
path: root/pcr/snort/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/snort/PKGBUILD')
-rw-r--r--pcr/snort/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/pcr/snort/PKGBUILD b/pcr/snort/PKGBUILD
index a275d6730..8231cbeb8 100644
--- a/pcr/snort/PKGBUILD
+++ b/pcr/snort/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer (Arch) : M0Rf30
+# Maintainer (Arch) : M0Rf30
# Contributor (Arch) : Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor (Arch) : Hugo Doria <hugo@archlinux.org>
# Contributor (Arch) : Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
@@ -8,25 +8,22 @@
pkgname=snort
pkgver=2.9.7.2
-pkgrel=1
+pkgrel=2
pkgdesc='A lightweight network intrusion detection system.'
-arch=('i686' 'x86_64' 'mips64el')
+arch=('i686' 'x86_64')
url='http://www.snort.org'
license=('GPL')
depends=('libdaq' 'libdnet' 'libpcap' 'openssl' 'pcre' 'zlib')
backup=('etc/snort/snort.conf'
'etc/snort/threshold.conf'
'etc/snort/reference.config'
- 'etc/snort/rules/emerging.conf'
- 'etc/snort/classification.config')
+ 'etc/snort/classification.config'
+ 'etc/snort/rules/emerging.conf')
options=('!makeflags' '!libtool')
install='snort.install'
source=("https://www.snort.org/downloads/snort/${pkgname}-${pkgver}.tar.gz"
"http://rules.emergingthreats.net/open/${pkgname}-2.9.0/emerging.rules.tar.gz"
'snort@.service')
-md5sums=('b01e9964827394c39194a0147bc15705'
- 'SKIP'
- '49c7e8dbde680322ff5c4e0883f2b908')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -41,7 +38,7 @@ package() {
make DESTDIR="${pkgdir}" install
- mkdir -p "${pkgdir}/etc/snort/rules"
+ mkdir -p "${pkgdir}/"{etc/rc.d,etc/snort/rules}
install -d -m755 "${pkgdir}/var/log/snort"
install -D -m644 etc/{*.conf*,*.map} "${pkgdir}/etc/snort/"
@@ -55,3 +52,7 @@ package() {
echo 'include $RULE_PATH/emerging.conf' >> "${pkgdir}/etc/snort/snort.conf"
cp ${srcdir}/rules/* "${pkgdir}/etc/snort/rules"
}
+
+md5sums=('b01e9964827394c39194a0147bc15705'
+ 'SKIP'
+ '49c7e8dbde680322ff5c4e0883f2b908')