phobos ca5e41afd7 update the README instructions and OS X makefiles %!s(int64=15) %!d(string=hai) anos
..
Makefile.mingw 7549ac8d71 Update polipo nsi and makefile for win32. %!s(int64=17) %!d(string=hai) anos
Makefile.osx ca5e41afd7 update the README instructions and OS X makefiles %!s(int64=15) %!d(string=hai) anos
Makefile.osx-panther 6ee5328ac5 Update makefile for panther, update polipo version where needed. %!s(int64=17) %!d(string=hai) anos
Polipo 2aa0cfd5ee Add my polipo hacks to the tor repo to keep track of them. %!s(int64=17) %!d(string=hai) anos
PolipoDesc.plist 6ee5328ac5 Update makefile for panther, update polipo version where needed. %!s(int64=17) %!d(string=hai) anos
PolipoInfo.plist 6ee5328ac5 Update makefile for panther, update polipo version where needed. %!s(int64=17) %!d(string=hai) anos
PolipoPostflight 9140866287 Force the target path, since the user can't install it anywhere else %!s(int64=16) %!d(string=hai) anos
README ca5e41afd7 update the README instructions and OS X makefiles %!s(int64=15) %!d(string=hai) anos
StartupParameters.plist 2aa0cfd5ee Add my polipo hacks to the tor repo to keep track of them. %!s(int64=17) %!d(string=hai) anos
addsysuser f12748d8e9 Update osx addsysuser for leopard. %!s(int64=17) %!d(string=hai) anos
package.sh 33093c0f1a Convert to ARCH. Add in a compatibility CFLAG for osx 10.5 %!s(int64=16) %!d(string=hai) anos
polipo-mingw.nsi 2ee191e267 Update directions, copyrights, and clarify licenses of polipo %!s(int64=17) %!d(string=hai) anos
uninstall_polipo_bundle.sh 2ee191e267 Update directions, copyrights, and clarify licenses of polipo %!s(int64=17) %!d(string=hai) anos

README

Copyright 2007-2008 Andrew Lewman
Copyright 2009 The Tor Project

----------------
General Comments
----------------

These are some hacks for making polipo work and install a package native
to OSX or Windows.

They need some work before they can be committed upstream:
- Merge the three makefiles into one with specific builds such as "make
dist-osx" or "make dist-win32"
- Configure the options for tor in polipo config, just leave them
commented out for easy activation.
- Work out better polipo config options for Tor.

As always, I'm happy to accept patches.

--------------------------
Pre-requisites for Windows
--------------------------

Polipo for Win32 requires the mingw gnu regex library and dlls at
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=73286&release_id=140957

You'll need to download the -bin and -dev tarballs. And extract them
into your MinGW directory.

Instructions for building polipo under mingw32 for Windows:
1) Copy Makefile.mingw over Makefile.
2) Run 'make'.

You should have a polipo.exe in the current directory.

-------------------------------------------
Creating an installation package in Windows
-------------------------------------------

If you want to build an installer using the Nullsoft Installer, install
the NSI Compiler. In Windows Explorer, navigate to the directory in
which you placed polipo-mingw.nsi. Right click on polipo-mingw.nsi and
choose Compile NSIS Script. You'll then create a polipo installer.

The Polipo NSI installer assumes libgnurx-0.dll is in the same directory as polipo.exe.
You'll need to copy libgnurx-0.dll into "./" in order to make the
installation package.

---------------------------------------------
OSX Universal Binary and Installation package
---------------------------------------------
1) Copy Makefile.osx over Makefile.
2) Run 'make'.
3) Copy the contents of this directory into a directory named "contrib".
4) Run './contrib/package.sh'
5) You should have a Polipo-version.dmg ready for installation.