diff -ru snort.orig/PKGBUILD snort/PKGBUILD --- snort.orig/PKGBUILD 2008-06-28 14:07:56.000000000 +1000 +++ snort/PKGBUILD 2008-06-28 22:25:58.000000000 +1000 @@ -4,7 +4,7 @@ # Contributor: Gregor Ibic pkgname=snort pkgver=2.8.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="A lightweight network intrusion detection system" arch=('i686' 'x86_64') license=('GPL') @@ -18,11 +18,12 @@ options=('!makeflags' '!libtool') md5sums=('b39e784dd8a5cf180aae20e94a7b52dd' '53284a7996ee41c4c58d13c65d46d776' - 'e861a59739151ee12798f31e029d43c5' + 'a8795ee906d48ee41370375461eff198' 'f236b8a4ac12e99d3e7bd81bf3b5a482') build() { cd $startdir/src/$pkgname-$pkgver + sed -i 's#/usr/local/#/usr/#g' etc/snort.conf ./configure --prefix=/usr --sysconfdir=/etc/snort --with-libpcap-includes=/usr/include/pcap \ --without-mysql --without-postgresql --without-oracle --without-odbc make || return 1 diff -ru snort.orig/snort.conf.d snort/snort.conf.d --- snort.orig/snort.conf.d 2008-06-28 14:07:56.000000000 +1000 +++ snort/snort.conf.d 2008-06-28 22:24:27.000000000 +1000 @@ -2,17 +2,5 @@ # Parameters to be passed to snort # -# options taken from Fedora -# http://cvs.fedoraproject.org/viewcvs/devel/snort/sysconfig.snort?rev=1.2&view=markup - -# What user account should we run under. -USER="root" - -# What group account should we run under. -GROUP="root" - -# define the interface we listen on -INTERFACE="eth0" - # If you are using prelude, delete the '-A fast' option -SNORT_OPTIONS="-A fast -b -l /var/log/snort -D -p" \ No newline at end of file +SNORT_ARGS="-A fast -b -c /etc/snort/snort.conf -D -p"