|
|
@ -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/ |
|
|
|
|
|
|
|