mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
Added a patch to change oinkmaster tmp to /var/tmp.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
12
src/patches/oinkmaster-tmp.patch
Normal file
12
src/patches/oinkmaster-tmp.patch
Normal 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
|
||||
Reference in New Issue
Block a user