oinkmaster: add vrt community-rules support.

This commit is contained in:
Arne Fitzenreiter
2013-07-15 17:03:53 +02:00
parent d2266224f7
commit 1043cb0ae9
3 changed files with 16 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/oinkmaster-2.0-add_community_rules.patch
cd $(DIR_APP) && chown nobody:nobody oinkmaster.pl
cd $(DIR_APP) && cp -f oinkmaster.conf /var/ipfire/snort/
cd /var/ipfire/snort && patch -Np1 < $(DIR_SRC)/src/patches/oinkmaster-tmp.patch