From f3dbd65f4442183756eb1e7701ffa2cda2ae8aee Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 20 Jul 2012 09:13:30 +0000 Subject: main/snort: fix paths in default config file --- main/snort/APKBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main/snort/APKBUILD') diff --git a/main/snort/APKBUILD b/main/snort/APKBUILD index 2e59cd3f9e..f1df701741 100644 --- a/main/snort/APKBUILD +++ b/main/snort/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa pkgname=snort pkgver=2.9.3 -pkgrel=1 +pkgrel=2 pkgdesc="An open source network intrusion prevention and detection system" url="http://www.snort.org/" arch="all" @@ -25,6 +25,8 @@ build() { # fix parallel builds sed -i -e 's/^all-local:.*/all-local: $(LTLIBRARIES)/' \ src/dynamic-preprocessors/*/Makefile.am || return 1 + # correct paths in default config file + sed -i -e 's|/usr/local|/usr|' etc/snort.conf || return 1 aclocal -I m4 && autoconf && automake --add-missing && libtoolize || return 1 ./configure --prefix=/usr \ @@ -45,6 +47,7 @@ package() { install -D -m 755 ../snort.initd "$pkgdir"/etc/init.d/snort install -D -m 644 ../snort.confd "$pkgdir"/etc/conf.d/snort install -D -m 644 etc/snort.conf "$pkgdir"/etc/snort/snort.conf + mkdir -p "$pkgdir"/usr/lib/snort_dynamicrules } md5sums="e128f5d5d14dad335dc0c549c7fe2e98 snort-2.9.3.tar.gz -- cgit v1.2.3