Added a patch to change oinkmaster tmp to /var/tmp.

This commit is contained in:
Christian Schmidt
2009-12-07 20:27:52 +01:00
parent a5754e932b
commit dcb875e7e3
3 changed files with 15 additions and 1 deletions

View File

@@ -12,4 +12,5 @@ var/ipfire/langs/de.pl
var/ipfire/langs/fr.pl
var/ipfire/langs/list
var/ipfire/outgoing/bin/outgoingfw.pl
usr/local/sbin/setup
var/ipfire/snort/oinkmaster.conf
usr/local/sbin/setup

View File

@@ -71,6 +71,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && chown nobody:nobody oinkmaster.pl
cd $(DIR_APP) && cp -f oinkmaster.conf /var/ipfire/snort/
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-tmp.patch
cd $(DIR_APP) && install -m 0755 oinkmaster.pl /usr/local/bin/
@rm -rf $(DIR_APP)
@$(POSTBUILD)

View File

@@ -0,0 +1,12 @@
diff -Naur /var/ipfire/snort/oinkmaster.new /var/ipfire/snort/oinkmaster.conf
--- /var/ipfire/snort/oinkmaster.new 2008-10-25 18:53:30.000000000 +0200
+++ /var/ipfire/snort/oinkmaster.conf 2009-12-07 20:21:15.000000000 +0100
@@ -117,7 +117,7 @@
# TMPDIR or TEMPDIR, or otherwise use "/tmp" if none of them was set.
# Example for UNIX.
-# tmpdir = /home/oinkmaster/tmp/
+tmpdir = /var/tmp/
# Example if running native Win32 or Cygwin.
# tmpdir = c:\tmp