|
|||||||||
Friday the 3rd of September, 2010 |
|||||||||
privoxy most recent diffversion 3.0.12
Scroll down toward the bottom of the page to get installation instructions for privoxy. The raw portfile for privoxy 3.0.12 is located here: http://privoxy.darwinports.com/dports/www/privoxy/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/privoxy The privoxy Portfile 55577 2009-08-13 20:37:25Z macsforever2000 PortSystem 1.0 Name: privoxy Version: 3.0.12 Category: www security net Maintainers: nomaintainer Description: Advanced filtering web proxy Long Description: Privoxy is a web proxy with advanced filtering capabilities for protecting privacy, modifying web page content, managing cookies, controlling access, and removing ads, banners, pop-ups and other obnoxious Internet junk. Privoxy has a very flexible configuration and can be customized to suit individual needs and tastes. Privoxy has application for both stand-alone systems and multi-user networks. Platform: darwin Homepage: http://www.privoxy.org/ Master Sites: sourceforge:ijbswa distname ${name}-${version}-stable-src Checksums: md5 c973e608d27b248ef567b47664308da1 sha1 1118d6a7b4980f26c9ad0902c0e6af5aaaf1a640 rmd160 32509b897e073f1cc100b8a4a157d19a219b51cd worksrcdir ${name}-${version}-stable depends_lib port:pcre port:zlib set privoxyGroup privoxy set privoxyUser privoxy pre-configure { addgroup ${privoxyGroup} adduser ${privoxyUser} gid=[existsgroup ${privoxyGroup}] system "cd ${worksrcpath} && autoheader" } use_autoconf yes configure.args --with-user=${privoxyUser} --with-group=${privoxyGroup} --sysconfdir=${prefix}/etc/${name} --mandir=${prefix}/share/man --enable-dynamic-pcre --enable-zlib destroot.keepdirs ${destroot}${prefix}/var/log/privoxy ${destroot}${prefix}/var/run post-destroot { xinstall -m 755 -d ${destroot}${prefix}/var/run # Install and fixup startup script (if non-Darwin) if {![variant_isset darwin]} { xinstall -m 755 -d ${destroot}${prefix}/etc/rc.d xinstall -m 755 -W ${worksrcpath} privoxy-generic.init ${destroot}${prefix}/etc/rc.d/privoxy.sh system "cd ${destroot}${prefix}/etc/rc.d && patch -p0 < ${filespath}/patch-privoxy.sh.diff" reinplace "s| reinplace "s| } # Rename these so local modifications are not removed on uninstall foreach privoxyConf {config.new trust.new user.action.new user.filter.new} { if [file exists ${destroot}${prefix}/etc/privoxy/${privoxyConf}] { file rename ${destroot}${prefix}/etc/privoxy/${privoxyConf} ${destroot}${prefix}/etc/privoxy/${privoxyConf}-dist } } # Remove the preinstalled log files as, otherwise, a rotation script # will fail when trying to rename and compress due to gzip not liking # multi-linked files (the one in ${prefix} and the one in # ${prefix}/var/db/dports/software/...) eval file delete [glob ${destroot}${prefix}/var/log/privoxy/*] # Make sure log directory owned by privoxy user/group file attributes ${destroot}${prefix}/var/log/privoxy -group ${privoxyGroup} -owner ${privoxyUser} } post-activate { # Make sure initial log files are present and setup correctly foreach privoxyLog {jarfile logfile} { touch ${prefix}/var/log/privoxy/${privoxyLog} file attributes ${prefix}/var/log/privoxy/${privoxyLog} -group ${privoxyGroup} -owner ${privoxyUser} -permissions 0660 } foreach privoxyConf {config trust user.action} { if ![file exists ${prefix}/etc/privoxy/${privoxyConf}] { file copy ${prefix}/etc/privoxy/${privoxyConf}.new ${prefix}/etc/privoxy/${privoxyConf} file attributes ${prefix}/etc/privoxy/${privoxyConf} -group ${privoxyGroup} -owner ${privoxyUser} -permissions 0660 } } } platform darwin { startupitem.create yes startupitem.name Privoxy startupitem.start "\[ -f \"${prefix}/etc/privoxy/config\" \] \\" startupitem.start-append "\t&& ${prefix}/sbin/privoxy \\" startupitem.start-append "\t\t--pidfile ${prefix}/var/run/privoxy.pid \\" startupitem.start-append "\t\t--user ${privoxyUser} \\" startupitem.start-append "\t\t${prefix}/etc/privoxy/config 2>/dev/null" startupitem.stop "if \[ -f \"${prefix}/var/run/privoxy.pid\" \]; then" startupitem.stop-append "\tkill `cat ${prefix}/var/run/privoxy.pid` \\" startupitem.stop-append "\t\t&& rm -f ${prefix}/var/run/privoxy.pid" startupitem.stop-append "else" startupitem.stop-append "\t/usr/bin/killall -SIGUSR1 privoxy 2>/dev/null" startupitem.stop-append "fi" } livecheck.regex If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/privoxyYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using privoxy with these commands: % man privoxy Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current : |




