components/privoxy/patches/solaris.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 02 May 2017 17:33:26 -0700
changeset 7964 d9801318ed3d
parent 4511 dd483456146f
permissions -rw-r--r--
25981468 Build ilmbase and openexr with the GNU compilers

Changes directories where various files (i.e. logfiles, templates, config files)
are stored from the privoxy defaults. 
Solaris-specific patch; not suitable for upstream

diff -rupN privoxy-3.0.23-stable-orig/GNUmakefile.in privoxy-3.0.23-stable/GNUmakefile.in
--- privoxy-3.0.23-stable-orig/GNUmakefile.in   2015-06-02 13:26:57.665811110 -0700
+++ privoxy-3.0.23-stable/GNUmakefile.in        2015-06-02 13:27:47.124881014 -0700
@@ -241,7 +241,7 @@ SPECIAL_CFLAGS = @SPECIAL_CFLAGS@
 # Add your flags here
 OTHER_CFLAGS =

-CFLAGS = @CFLAGS@ @CPPFLAGS@ $(OTHER_CFLAGS) $(SPECIAL_CFLAGS) -Wall \
+CFLAGS = @CFLAGS@ @CPPFLAGS@ $(OTHER_CFLAGS) $(SPECIAL_CFLAGS) \
          @STATIC_PCRE_ONLY@ -Ipcre

 LDFLAGS = @LDFLAGS@ $(DEBUG_CFLAGS) $(SPECIAL_CFLAGS)
diff -rupN privoxy-3.0.23-stable-orig/config privoxy-3.0.23-stable/config
--- privoxy-3.0.23-stable-orig/config	2015-06-02 13:27:15.297393314 -0700
+++ privoxy-3.0.23-stable/config	2015-06-02 13:29:14.468549370 -0700
@@ -260,7 +260,7 @@
 #
 #      No trailing "/", please.
 #
-confdir .
+confdir /etc/privoxy 
 #
 #  2.2. templdir
 #  ==============
@@ -345,7 +345,7 @@ confdir .
 #
 #      No trailing "/", please.
 #
-logdir .
+logdir /var/log/privoxy 
 #
 #  2.5. actionsfile
 #  =================
@@ -478,7 +478,7 @@ filterfile user.filter      # User custo
 #      require additional software to do it. For details, please
 #      refer to the documentation for your operating system.
 #
-logfile logfile
+logfile privoxy.log 
 #
 #  2.8. trustfile
 #  ===============