diff options
author | Roman I Khimov <khimov@altell.ru> | 2010-07-30 12:53:41 +0400 |
---|---|---|
committer | Roman I Khimov <khimov@altell.ru> | 2010-08-05 08:30:46 +0400 |
commit | 2f17293d311dfa426a514bd8178401020f34ec88 (patch) | |
tree | 9d45f43069b3c386d8da9d30267b76bdfe15818c /recipes/snort/files/logrotate | |
parent | 57788916d7a3675260267ac1e043efd367806253 (diff) |
snort: merge Altell packaging fixes
Snort was independently packaged by Altell some time ago, so merge things
we've done into OE.dev:
* fix packaging of snort dynamic libs
* fix DEPENDS, libnet is not needed is not specifically used
* fix RDEPENDS, no need to specify libs expicitly, barnyard is rather a
RRECOMMENDS than RDEPENDS since snort lives just fine without it
* add libprelude support and configure accordingly
* add some useful configure options
* add init/volatile/default setup which is necessary for the package
* add postinst creating snort/snort user/group
* add logrotate script
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/snort/files/logrotate')
-rw-r--r-- | recipes/snort/files/logrotate | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/snort/files/logrotate b/recipes/snort/files/logrotate new file mode 100644 index 0000000000..ef3e4afac8 --- /dev/null +++ b/recipes/snort/files/logrotate @@ -0,0 +1,12 @@ +/var/log/snort/*.log /var/log/snort/alert { + size 1M + missingok + compress + delaycompress + rotate 10 + sharedscripts + postrotate + /etc/init.d/snort restart + endscript +} + |