X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=doc%2Fsource%2Fbuildsource.sgml;h=81013cd258c89a79baf8bb8fc1d915033ffb8f47;hp=5a4f62293079ee722213b7fc2fe2d06f3a21c295;hb=2f84790ebbdce45364ef2bde8e42fcf3372b22c2;hpb=ec4a051cd6a42c47dd9cf2fec9a1ab179649c6d5 diff --git a/doc/source/buildsource.sgml b/doc/source/buildsource.sgml index 5a4f6229..81013cd2 100644 --- a/doc/source/buildsource.sgml +++ b/doc/source/buildsource.sgml @@ -1,11 +1,9 @@ first unpack the source: + first unpack the source: - - + tar xzvf privoxy-&p-version;-src.tar.gz cd privoxy-&p-version; - - For retrieving the current CVS sources, you'll need a CVS client installed. - Note that sources from CVS are typically development quality, and may not be - stable, or well tested. To download CVS source, check the Sourceforge - documentation, which might give commands like: + To build the development version, you can get the source code by doing: - - - cvs -d:pserver:anonymous@ijbswa.cvs.sourceforge.net:/cvsroot/ijbswa login - cvs -z3 -d:pserver:anonymous@ijbswa.cvs.sourceforge.net:/cvsroot/ijbswa co current - cd current + + cd <root-dir> + git clone https://www.privoxy.org/git/privoxy.git - - This will create a directory named current/, which will - contain the source tree. + 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. + + + - It is also strongly recommended to not run Privoxy + 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 + an unprivileged user, preferably by creating a privoxy user and group just for this purpose. See your local documentation for the correct command line to do add new users and groups (something like adduser, but the command syntax may vary from platform @@ -88,27 +77,22 @@ /etc/passwd might then look like: - privoxy:*:7777:7777:privoxy proxy:/no/home:/no/shell - And then /etc/group, like: - privoxy:*:7777: - 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 @@ -117,18 +101,15 @@ su # Possibly required make -n install # (to see where all the files will go) make -s install # (to really install, -s to silence output) - Using GNU make, you can have the first four steps automatically done for you by just typing: - make - in the freshly downloaded or unpacked source directory. @@ -139,10 +120,8 @@ users cannot easily bypass the proxy (e.g. Go There Anyway), or alter their own configurations, configure like this: - ./configure --disable-toggle --disable-editor --disable-force - Note that all of these options can also be disabled through the configuration file. @@ -170,10 +149,8 @@ on the make command line, but be sure both already exist: - make -s install USER=privoxy GROUP=privoxy - The default installation path for make install is