]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/oinkmaster
firewall: Fix outgoing OpenVPN N2N tunnel packets.
[people/teissler/ipfire-2.x.git] / lfs / oinkmaster
index 768b6fdff00095a08090122d607843921364c1ae..6cc075fa402a329cb2988f6ad485058c593c7bf9 100644 (file)
@@ -69,8 +69,10 @@ $(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
        cd $(DIR_APP) && install -m 0755 oinkmaster.pl /usr/local/bin/
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)