From b94dd039e57b4e7e38555f308dbb286417827f7a Mon Sep 17 00:00:00 2001 From: Jan Veninga Date: Thu, 18 Sep 2003 05:52:08 +0000 Subject: [PATCH] Jan Veninga : There are 2 little errors in snort.conf. This fixes it. git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1442 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- Documentation/Developers/CHANGELOG-RENE | 1 + package/misc/snort/snort.conf | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/Developers/CHANGELOG-RENE b/Documentation/Developers/CHANGELOG-RENE index 690157899..089036701 100644 --- a/Documentation/Developers/CHANGELOG-RENE +++ b/Documentation/Developers/CHANGELOG-RENE @@ -5,6 +5,7 @@ properly - bootdisk size reductions (a couple MB) - Clifford Wolf: no broken deps config option (#99) + - Jan Veninga: fixed snort *) 2003-09-16 (2.0.0-rc1 - 2.0.0-rc2) diff --git a/package/misc/snort/snort.conf b/package/misc/snort/snort.conf index 6fcd4c921..f9986c062 100644 --- a/package/misc/snort/snort.conf +++ b/package/misc/snort/snort.conf @@ -61,8 +61,8 @@ snort_premake() { # Comply with FHS for /var/opt/ sed 's/\/var\/log\/snort/\/var\/opt\/snort\/log/' src/snort.h > \ - src/snort.new - mv -f snort.h{.new,} + src/snort.h.new + mv -f src/snort.h{.new,} } snort_postmake() @@ -79,6 +79,7 @@ snort_postmake() # places them in etc. # For security reasons this directory should not be world-readable mkdir -p $root/$prefix/var + mkdir -p $root/$prefix/etc cp -r etc/* $root/$prefix/etc/ cp -r rules $root/$prefix/etc/