summaryrefslogtreecommitdiff
path: root/pcr/snort/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 01:20:40 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 01:20:40 -0500
commit61980b527f9a1dba999469d3da1b30d39960d933 (patch)
treec1e5916493f8c8440dad2d5e0135ef1ada6e9984 /pcr/snort/PKGBUILD
parent21f7713881dc864462a2eefcbf3a70861850be5b (diff)
downloadabslibre-61980b527f9a1dba999469d3da1b30d39960d933.tar.gz
abslibre-61980b527f9a1dba999469d3da1b30d39960d933.tar.bz2
abslibre-61980b527f9a1dba999469d3da1b30d39960d933.zip
snort-2.9.7.2-2: rebuild
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')