--- a/components/privoxy/Makefile Fri Jun 19 09:04:36 2015 -0700
+++ b/components/privoxy/Makefile Fri Jun 19 09:25:22 2015 -0700
@@ -26,16 +26,16 @@
include ../../make-rules/shared-macros.mk
COMPONENT_NAME= privoxy
-COMPONENT_VERSION= 3.0.17
+COMPONENT_VERSION= 3.0.23
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable
COMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.gz
COMPONENT_PROJECT_URL= http://www.privoxy.org/
COMPONENT_ARCHIVE_HASH= \
- sha256:d1de36dc141180a5ab5e910507551564e958cc23a7d8daaa411e1564c208cd77
+ sha256:b75f6b8b8409ed7ac6c3a00dcd608a45180f07bfa46658c836d5c6ffc4dc25c4
COMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/ijbswa/$(COMPONENT_ARCHIVE)
COMPONENT_BUGDB= utility/privoxy
-TPNO= 9002
+TPNO= 22977
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/configure.mk
@@ -66,7 +66,20 @@
install: $(INSTALL_64)
$(CP) $(BUILD_DIR_64)/templates/* $(PROTOETCDIR)/templates
-test: $(NO_TESTS)
+# Regression tests exist for privoxy in tools/privoxy-regression-test.pl,
+# however these are not applicable to us since they violate the company policy
+# of not allowing third-party programs to communicate outside the company.
+#
+# To test privoxy, follow the instructions in the privoxy quick start guide:
+# http://www.privoxy.org/user-manual/quickstart.html
+#
+# Privoxy is disabled by default, so make sure to enable it if necessary:
+# # svcs privoxy
+# # svcadm enable privoxy
+# You may need to set the forward address in /etc/privoxy/config to the
+# Oracle proxy to access pages in your web browser with privoxy running.
+
+test: $(NO_TESTS)
system-test: $(NO_TESTS)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/privoxy/patches/manpage.patch Fri Jun 19 09:25:22 2015 -0700
@@ -0,0 +1,43 @@
+Solaris specific patch for man-page information. Not suitable for upstream.
+
+diff -rupN privoxy-3.0.23-stable-orig/privoxy.1 privoxy-3.0.23-stable/privoxy.1
+--- privoxy-3.0.23-stable-orig/privoxy.1 2015-06-15 15:36:06.491090350 -0700
++++ privoxy-3.0.23-stable/privoxy.1 2015-06-15 15:45:25.081367798 -0700
+@@ -147,7 +147,7 @@ features and notes on upgrading.
+ .SH "FILES"
+
+ .nf
+- \fI/usr/sbin/privoxy\fR
++ \fI/usr/lib/privoxy\fR
+ \fI/etc/privoxy/config\fR
+ \fI/etc/privoxy/match-all.action\fR
+ \fI/etc/privoxy/default.action\fR
+@@ -211,6 +211,28 @@ configuration related suggestions to the
+ Roland Rosenfeld
+ Ian Silvester
+ .fi
++.RE
++.SH "AUTOMATIC SERVICE MANAGEMENT (SMF)"
++.PP
++The Privoxy service is disabled by default. You can
++check the status of the service by issuing the following
++command:
++.PP
++\fB example% svcs privoxy\fR
++\fB STATE STIME FMRI
++\fB disabled 10:47:39 svc:/network/http:privoxy
++.PP
++Enable the Privoxy service by issuing the following
++command :
++.PP
++\fBexample%svcadm enable privoxy\fR
++.PP
++The state of the service instance should change to "online".
++.PP
++\fB example% svcs privoxy\fR
++\fB STATE STIME FMRI\fR
++\fB online 10:50:27 svc:/network/http:privoxy\fR
++.fi
+ .SH "COPYRIGHT AND LICENSE"
+ .SS "COPYRIGHT"
+ .PP
--- a/components/privoxy/patches/solaris.patch Fri Jun 19 09:04:36 2015 -0700
+++ b/components/privoxy/patches/solaris.patch Fri Jun 19 09:25:22 2015 -0700
@@ -1,42 +1,46 @@
-diff -ru privoxy-3.0.8-stable-orig/GNUmakefile.in privoxy-3.0.8-stable/GNUmakefile.in
---- privoxy-3.0.8-stable-orig/GNUmakefile.in Fri Aug 1 14:32:02 2008
-+++ privoxy-3.0.8-stable/GNUmakefile.in Fri Aug 1 14:33:36 2008
-@@ -243,7 +243,7 @@
- # Add your flags here
- OTHER_CFLAGS =
-
+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
-
+ @STATIC_PCRE_ONLY@ -Ipcre
+
LDFLAGS = @LDFLAGS@ $(DEBUG_CFLAGS) $(SPECIAL_CFLAGS)
-diff -ru privoxy-3.0.8-stable-orig/config privoxy-3.0.8-stable/config
---- privoxy-3.0.8-stable-orig/config Fri Aug 1 14:32:01 2008
-+++ privoxy-3.0.8-stable/config Fri Aug 1 14:37:51 2008
+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
- #
++confdir /etc/privoxy
#
# 2.2. templdir
-@@ -315,7 +315,7 @@
+ # ==============
+@@ -345,7 +345,7 @@ confdir .
#
# No trailing "/", please.
#
-logdir .
-+logdir /var/log/privoxy
- #
++logdir /var/log/privoxy
#
- # 2.4. actionsfile
-@@ -452,7 +452,7 @@
- # Any log files must be writable by whatever user Privoxy is
- # being run as (on Unix, default user id is "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
++logfile privoxy.log
#
- #
- # 2.7. jarfile
+ # 2.8. trustfile
+ # ===============
--- a/components/privoxy/privoxy.p5m Fri Jun 19 09:04:36 2015 -0700
+++ b/components/privoxy/privoxy.p5m Fri Jun 19 09:25:22 2015 -0700
@@ -97,14 +97,11 @@
file path=usr/share/doc/privoxy/LICENSE
file path=usr/share/doc/privoxy/README
file path=usr/share/doc/privoxy/developer-manual/coding.html
-file path=usr/share/doc/privoxy/developer-manual/contact.html
-file path=usr/share/doc/privoxy/developer-manual/copyright.html
file path=usr/share/doc/privoxy/developer-manual/cvs.html
file path=usr/share/doc/privoxy/developer-manual/documentation.html
file path=usr/share/doc/privoxy/developer-manual/index.html
file path=usr/share/doc/privoxy/developer-manual/introduction.html
file path=usr/share/doc/privoxy/developer-manual/newrelease.html
-file path=usr/share/doc/privoxy/developer-manual/seealso.html
file path=usr/share/doc/privoxy/developer-manual/testing.html
file path=usr/share/doc/privoxy/developer-manual/webserver-update.html
file path=usr/share/doc/privoxy/faq/configuration.html