From dcb875e7e34f8dad04abc658ddea44a3f5895ab2 Mon Sep 17 00:00:00 2001 From: Christian Schmidt Date: Mon, 7 Dec 2009 20:27:52 +0100 Subject: [PATCH] Added a patch to change oinkmaster tmp to /var/tmp. --- config/rootfiles/core/34/filelists/files | 3 ++- lfs/oinkmaster | 1 + src/patches/oinkmaster-tmp.patch | 12 ++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 src/patches/oinkmaster-tmp.patch diff --git a/config/rootfiles/core/34/filelists/files b/config/rootfiles/core/34/filelists/files index c59b8d8863..5f0acf885a 100644 --- a/config/rootfiles/core/34/filelists/files +++ b/config/rootfiles/core/34/filelists/files @@ -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 \ No newline at end of file +var/ipfire/snort/oinkmaster.conf +usr/local/sbin/setup diff --git a/lfs/oinkmaster b/lfs/oinkmaster index 768b6fdff0..449a89f84b 100644 --- a/lfs/oinkmaster +++ b/lfs/oinkmaster @@ -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) diff --git a/src/patches/oinkmaster-tmp.patch b/src/patches/oinkmaster-tmp.patch new file mode 100644 index 0000000000..59fb79d50d --- /dev/null +++ b/src/patches/oinkmaster-tmp.patch @@ -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 -- 2.39.2