X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=doc%2Fwebserver%2Fuser-manual%2Finstallation.html;h=a384626f8eb1b4e2a68621f934a65c710eda683e;hb=c0a25f49786f337ee14f1825399434c8d446fe07;hp=283ec9a6beaadfda9553ffc2b9e10caa3000eb82;hpb=086d4aacf2fe1d729b4f4a67a7167cb6f19db043;p=privoxy.git diff --git a/doc/webserver/user-manual/installation.html b/doc/webserver/user-manual/installation.html index 283ec9a6..a384626f 100644 --- a/doc/webserver/user-manual/installation.html +++ b/doc/webserver/user-manual/installation.html @@ -4,7 +4,7 @@
Privoxy 3.0.27 User Manual | +Privoxy 3.0.33 User Manual | ||||
---|---|---|---|---|---|
Prev | @@ -68,24 +68,12 @@ files.
- tar xzvf privoxy-3.0.27-beta-src.tar.gz - cd privoxy-3.0.27-beta+ tar xzvf privoxy-3.0.33-beta-src.tar.gz + cd privoxy-3.0.33-beta |
This will create a directory named <root-dir>/privoxy/, which will contain the source tree.
-Note that source code in GIT is development quality, and may not be stable or well tested.
+Note that source code in Git is development quality, and may not be stable or well tested.
It is strongly recommended to not run Privoxy as root. You should configure/install/run Privoxy as an unprivileged user, preferably by creating a "privoxy" user and group just for this purpose. See your local documentation for the @@ -179,17 +167,17 @@
Some binary packages may do this for you.
-Then, to build from either unpacked tarball or CVS source:
+Then, to build from either unpacked tarball or Git checkout:
- autoheader - autoconf - ./configure # (--help to see options) - make # (the make from GNU, sometimes called gmake) - su # Possibly required - make -n install # (to see where all the files will go) - make -s install # (to really install, -s to silence output)+ autoheader + autoconf + ./configure # (--help to see options) + make # (the make from GNU, sometimes called gmake) + su # Possibly required + make -n install # (to see where all the files will go) + make -s install # (to really install, -s to silence output) |
- ./configure --disable-toggle --disable-editor --disable-force+ ./configure --disable-toggle --disable-editor --disable-force |
- make -s install USER=privoxy GROUP=privoxy+ make -s install USER=privoxy GROUP=privoxy |
If you want to be able to make a Windows release package, get the NSIS .zip file from https://sourceforge.net/projects/nsis/files/NSIS%203/ and extract the NSIS directory to privoxy/windows. Then edit the windows/GNUmakefile to set the location of the NSIS executable - - eg:
+ "LITERAL">/<root-dir>/nsis/. Then edit the windows/GNUmakefile to set + the location of the NSIS executable - eg: +
+ # Path to NSIS + MAKENSIS = /<root-dir>/nsis/makensis.exe+ |
+
Get the latest 8.x PCRE code from PCRE + https://ftp.pcre.org/pub/pcre/ and build the static PCRE libraries with
+
+ export CFLAGS="-O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2" + export LDFLAGS="-fstack-protector-strong" + export CPPFLAGS="-DPCRE_STATIC" + + ./configure --host=i686-w64-mingw32 \ + --prefix=/usr/local/i686-w64-mingw32 \ + --enable-utf --enable-unicode-properties \ + --enable-jit \ + --enable-newline-is-anycrlf \ + --enable-pcre16 \ + --enable-pcre32 \ + --disable-pcregrep-libbz2 \ + --disable-pcregrep-libz \ + --disable-pcretest-libreadline \ + --disable-stack-for-recursion \ + --enable-static --disable-shared \ + && make+ |
+
If you want to be able to have Privoxy do TLS Inspection, get the latest 2.16.x MBED-TLS library source + code from https://github.com/ARMmbed/mbedtls/tags, extract the tar file into <root-dir> and build the static libraries with
+
+ export WINDOWS_BUILD=1 + # build for a Windows platform + + unset DEBUG + + export CC=i686-w64-mingw32-gcc + export LD=i686-w64-mingw32-gcc + export CFLAGS="-O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2" + export LDFLAGS="${LDFLAGS} -fstack-protector-strong" + + make lib + # build the libraries+ |
+
Get the brotli library from https://github.com/google/brotli/releases and build the static libraries with
- # Path to NSIS -MAKENSIS = ./nsis/makensis.exe+ ./bootstrap + # to create the GNU autotools files + + autoconf + + export CFLAGS="-O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2" + export LDFLAGS="${LDFLAGS} -fstack-protector-strong" + + ./configure --host=i686-w64-mingw32 \ + --prefix=/usr/local/i686-w64-mingw32 \ + --enable-static \ + --disable-shared \ + --with-gnu-ld \ + --disable-silent-rules \ + && make |
- $ autoheader # creates config.h.in - $ autoconf # uses config.h.in to create the configure shell script - $ ./configure [options] # creates GNUmakefile - $ make [options] # builds the program+ autoheader # creates config.h.in + autoconf # uses config.h.in to create the configure shell script + ./configure [options] # creates GNUmakefile + make [options] # builds the program |
$ export CFLAGS="-O2" # set gcc optimization level $ export LDFLAGS="-Wl,--nxcompat" # Enable DEP $ ./configure --host=i686-w64-mingw32 --enable-mingw32 --enable-zlib \ - > --enable-static-linking --disable-pthread --disable-dynamic-pcre + > --enable-static-linking --disable-pthread $ make # build Privoxy