summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-02-13 22:59:06 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-02-13 22:59:52 -0200
commit43588952bd97ccf8b90fc1539dd6e6e43c4b5735 (patch)
tree4d71dcfe7a7d5b43258aafa777c1a15a432a176a
parent29bbec56e908a57535ded7f10a21793929574c54 (diff)
snort-2.9.7.0-4: fix daq libraries path
-rw-r--r--pcr/snort/PKGBUILD4
-rw-r--r--pcr/snort/snort.install8
2 files changed, 6 insertions, 6 deletions
diff --git a/pcr/snort/PKGBUILD b/pcr/snort/PKGBUILD
index 8ab0931ee..77ff193b1 100644
--- a/pcr/snort/PKGBUILD
+++ b/pcr/snort/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=snort
pkgver=2.9.7.0
-pkgrel=3
+pkgrel=4
pkgdesc='A lightweight network intrusion detection system.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.snort.org'
@@ -27,7 +27,7 @@ source=("https://www.snort.org/downloads/snort/${pkgname}-${pkgver}.tar.gz"
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc/snort --with-libpcap-includes=/usr/include/pcap \
- --with-daq-includes=/usr/include --with-daq-libraries=/usr/lib/ \
+ --with-daq-includes=/usr/include --with-daq-libraries=/usr/lib/daq/ \
--disable-static-daq
make
}
diff --git a/pcr/snort/snort.install b/pcr/snort/snort.install
index 4320c2fae..673f22c6c 100644
--- a/pcr/snort/snort.install
+++ b/pcr/snort/snort.install
@@ -1,6 +1,6 @@
post_install() {
- getent group snort >/dev/null || usr/bin/groupadd -g 29 snort
- getent passwd snort >/dev/null || usr/bin/useradd -c 'Snort user' -u 29 -g snort -d /var/log/snort -s /bin/false snort
+ getent group snort >/dev/null || usr/sbin/groupadd -g 29 snort
+ getent passwd snort >/dev/null || usr/sbin/useradd -c 'Snort user' -u 29 -g snort -d /var/log/snort -s /bin/false snort
usr/bin/passwd -l snort &>/dev/null
[ -f var/log/snort/alert ] || : >var/log/snort/alert
@@ -19,8 +19,8 @@ post_upgrade() {
}
pre_remove() {
- usr/bin/userdel snort &>/dev/null
- usr/bin/groupdel snort &>/dev/null
+ usr/sbin/userdel snort &>/dev/null
+ usr/sbin/groupdel snort &>/dev/null
}
# vim:set ts=2 sw=2 et: