Rebuild for 3.0.17 stable
[privoxy.git] / doc / webserver / developer-manual / newrelease.html
index a188843..1787950 100644 (file)
@@ -1,11 +1,11 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
 <HTML
 ><HEAD
 ><TITLE
 >Releasing a New Version</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.64
-"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
 REL="HOME"
 TITLE="Privoxy Developer Manual"
 HREF="index.html"><LINK
@@ -17,7 +17,10 @@ TITLE="Update the Webserver"
 HREF="webserver-update.html"><LINK
 REL="STYLESHEET"
 TYPE="text/css"
-HREF="../p_doc.css"></HEAD
+HREF="../p_doc.css"><META
+HTTP-EQUIV="Content-Type"
+CONTENT="text/html;
+charset=ISO-8859-1"></HEAD
 ><BODY
 CLASS="SECT1"
 BGCOLOR="#EEEEEE"
@@ -28,6 +31,7 @@ ALINK="#0000FF"
 ><DIV
 CLASS="NAVHEADER"
 ><TABLE
+SUMMARY="Header navigation table"
 WIDTH="100%"
 BORDER="0"
 CELLPADDING="0"
@@ -45,6 +49,7 @@ ALIGN="left"
 VALIGN="bottom"
 ><A
 HREF="testing.html"
+ACCESSKEY="P"
 >Prev</A
 ></TD
 ><TD
@@ -58,6 +63,7 @@ ALIGN="right"
 VALIGN="bottom"
 ><A
 HREF="webserver-update.html"
+ACCESSKEY="N"
 >Next</A
 ></TD
 ></TR
@@ -71,7 +77,7 @@ CLASS="SECT1"
 CLASS="SECT1"
 ><A
 NAME="NEWRELEASE"
->8. Releasing a New Version</A
+>6. Releasing a New Version</A
 ></H1
 ><P
 >        When we release versions of <SPAN
@@ -102,23 +108,155 @@ CLASS="FILENAME"
 >gmake</TT
 > (GNU's version of make), autoconf, cvs.
     </P
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="VERSIONNUMBERS"
+>6.1. Version numbers</A
+></H2
+><P
+>      First you need to determine which version number the release will have. 
+      <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> version numbers consist of three numbers,
+      separated by dots, like in X.Y.Z (e.g. 3.0.0), where:
+        <P
+></P
+><UL
+><LI
+><P
+>              X, the version major, is rarely ever changed. It is increased by one if
+              turning a development branch into stable substantially changes the functionality,
+              user interface or configuration syntax. Majors 1 and 2 were 
+              <SPAN
+CLASS="APPLICATION"
+>Junkbuster</SPAN
+>, and 3 will be the first stable
+              <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> release.
+            </P
+></LI
+><LI
+><P
+>              Y, the version minor, represents the branch within the major version.
+              At any point in time, there are two branches being maintained:
+              The stable branch, with an even minor, say, 2N, in which no functionality is
+              being added and only bug-fixes are made, and 2N+1, the development branch, in
+              which the further development of <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> takes
+              place.
+              This enables us to turn the code upside down and inside out, while at the same time
+              providing and maintaining a stable version.
+              The minor is reset to zero (and one) when the major is incremented. When a development
+              branch has matured to the point where it can be turned into stable, the old stable branch
+              2N is given up (i.e. no longer maintained), the former development branch 2N+1 becomes the
+              new stable branch 2N+2, and a new development branch 2N+3 is opened.
+            </P
+></LI
+><LI
+><P
+>              Z, the point or sub version, represents a release of the software within a branch.
+              It is therefore incremented immediately before each code freeze. 
+              In development branches, only the even point versions correspond to actual releases,
+              while the odd ones denote the evolving state of the sources on CVS in between.
+              It follows that Z is odd on CVS in development branches most of the time. There, it gets
+              increased to an even number immediately before a code freeze, and is increased to an odd
+              number again immediately thereafter.
+              This ensures that builds from CVS snapshots are easily distinguished from released versions.
+              The point version is reset to zero when the minor changes.
+            </P
+><P
+>              Stable branches work a little differently, since there should be
+              little to no development happening in such branches. Remember,
+              only bugfixes, which presumably should have had some testing
+              before being committed. Stable branches will then have their 
+              version reported as <TT
+CLASS="LITERAL"
+>0.0.0</TT
+>, during that period 
+              between releases when changes are being added. This is to denote 
+              that this code is <SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>not for release</I
+></SPAN
+>. Then 
+              as the release nears, the version is bumped according: e.g. 
+              <TT
+CLASS="LITERAL"
+>3.0.1 -&#62; 0.0.0 -&#62; 3.0.2</TT
+>.
+            </P
+></LI
+></UL
+>
+    </P
+><P
+>     In summary, the main CVS trunk is the development branch where new
+     features are being worked on for the next stable series. This should
+     almost always be where the most activity takes place. There is always at
+     least one stable branch from the trunk, e.g now it is
+     <TT
+CLASS="LITERAL"
+>3.0</TT
+>, which is only used to release stable versions.
+     Once the initial *.0 release of the stable branch has been done, then as a
+     rule, only bugfixes that have had prior testing should be committed to
+     the stable branch. Once there are enough bugfixes to justify a new
+     release, the version of this branch is again incremented Example: 3.0.0
+     -&#62; 3.0.1 -&#62; 3.0.2, etc are all stable releases from within the stable
+     branch. 3.1.x is currently the main trunk, and where work on 3.2.x is
+     taking place. If any questions, please post to the devel list
+     <SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>before</I
+></SPAN
+> committing to a stable branch!
+    </P
 ><P
->        In the following text, replace X, Y and Z with the actual version number
-        (X = major, Y = minor, Z = point):
+>     Developers should remember too that if they commit a bugfix to the stable 
+     branch, this will more than likely require a separate submission to the 
+     main trunk, since these are separate development trees within CVS. If you 
+     are working on both, then this would require at least two separate check
+     outs (i.e main trunk, <SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>and</I
+></SPAN
+> the stable release branch,
+     which is <TT
+CLASS="LITERAL"
+>v_3_0_branch</TT
+> at the moment).
     </P
+></DIV
 ><DIV
 CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
 NAME="BEFORERELEASE"
->8.1. Before the Release</A
+>6.2. Before the Release: Freeze</A
 ></H2
 ><P
->       The following <I
+>       The following <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >must be done by one of the
        developers</I
+></SPAN
 > prior to each new release.
      </P
 ><P
@@ -132,25 +270,28 @@ CLASS="EMPHASIS"
 CLASS="QUOTE"
 >"no!"</SPAN
 > in case
-         they have pending changes/fixes in their pipelines.
+         they have pending changes/fixes in their pipelines. Announce the
+         freeze so that nobody will interfere with last minute changes.
         </P
 ></LI
 ><LI
 ><P
->         Increment the version number and increase or reset the RPM release number
-         in <TT
+>         Increment the version number (point from odd to even in development
+         branches!) in <TT
 CLASS="FILENAME"
 >configure.in</TT
-> as appropriate. 
+>. (RPM spec files 
+         will need to be incremented as well.)
        </P
 ></LI
 ><LI
 ><P
->        If the default <TT
+>        If <TT
 CLASS="FILENAME"
->actionsfile</TT
+>default.action</TT
 > has changed since last
-        release, bump up its version info in this line:
+        release (i.e. software release or standalone actions file release),
+        bump up its version info to A.B in this line:
        </P
 ><P
 > 
@@ -162,8 +303,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  {+add-header{X-Actions-File-Version: A.B} -filter -no-popups}
-        </PRE
+>  {+add-header{X-Actions-File-Version: A.B} -filter -no-popups}</PRE
 ></TD
 ></TR
 ></TABLE
@@ -177,16 +317,60 @@ CLASS="PROGRAMLISTING"
 ></LI
 ><LI
 ><P
->        If the HTML documentation is not in sync with the SGML sources
-        you need to regenerate it. (If in doubt, just do it.) See the
+>        All documentation should be rebuild after the version bump.
+        Finished docs should be then be committed to CVS (for those 
+        without the ability to build these). Some docs may require 
+        rather obscure processing tools. <TT
+CLASS="FILENAME"
+>config</TT
+>,
+        the man page (and the html version of the man page), and the PDF docs
+        fall in this category. REAMDE, the man page, AUTHORS, and config
+        should all also be committed to CVS for other packagers. The 
+        formal docs should be uploaded to the webserver. See the
         Section "Updating the webserver" in this manual for details.
        </P
 ></LI
 ><LI
 ><P
->        <I
+>         The <I
+CLASS="CITETITLE"
+>User Manual</I
+> is also used for context 
+         sensitive help for the CGI editor. This is version sensitive, so that
+         the user will get appropriate help for his/her release. So with 
+         each release a fresh version should be uploaded to the webserver
+         (this is in addition to the main <I
+CLASS="CITETITLE"
+>User Manual</I
+>
+         link from the main page since we need to keep manuals for various 
+         versions available). The CGI pages will link to something like 
+         <TT
+CLASS="LITERAL"
+>http://privoxy.org/$(VERSION)/user-manual/</TT
+>. This
+         will need to be updated for each new release. There is no Makefile
+         target for this at this time!!! It needs to be done manually.
+       </P
+></LI
+><LI
+><P
+>        All developers should look at the <TT
+CLASS="FILENAME"
+>ChangeLog</TT
+> and
+        make sure noteworthy changes are referenced.
+       </P
+></LI
+><LI
+><P
+>        <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >Commit all files that were changed in the above steps!</I
+></SPAN
 >
        </P
 ></LI
@@ -203,6 +387,41 @@ CLASS="COMMAND"
         Don't use vX_Y_Z, ver_X_Y_Z, v_X.Y.Z (won't work) etc.
        </P
 ></LI
+><LI
+><P
+>        If the release was in a development branch, increase the point version
+        from even to odd (X.Y.(Z+1)) again in <TT
+CLASS="FILENAME"
+>configure.in</TT
+> and
+        commit your change.
+       </P
+></LI
+><LI
+><P
+>        On the webserver, copy the user manual to a new top-level directory
+        called <TT
+CLASS="FILENAME"
+>X.Y.Z</TT
+>. This ensures that help links from the CGI
+        pages, which have the version as a prefix, will go into the right version of the manual.
+        If this is a development branch release, also symlink <TT
+CLASS="FILENAME"
+>X.Y.(Z-1)</TT
+>
+        to <TT
+CLASS="FILENAME"
+>X.Y.Z</TT
+> and <TT
+CLASS="FILENAME"
+>X.Y.(Z+1)</TT
+> to
+        <TT
+CLASS="FILENAME"
+>.</TT
+> (i.e. dot). 
+       </P
+></LI
 ></UL
 >
      </P
@@ -213,22 +432,29 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="THERELEASE"
->8.2. Building and Releasing the Packages</A
+>6.3. Building and Releasing the Packages</A
 ></H2
 ><P
 >      Now the individual packages can be built and released. Note that for
       GPL reasons the first package to be released is always the source tarball.
      </P
 ><P
->      For <I
+>      For <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >all</I
+></SPAN
 > types of packages, including the source tarball,
-      <I
+      <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >you must make sure that you build from clean sources by exporting
-      the right version from CVS into an empty directory:</I
->.
+      the right version from CVS into an empty directory</I
+></SPAN
+> (just press return when
+      asked for a password):
      </P
 ><P
 >      <TABLE
@@ -241,40 +467,345 @@ WIDTH="100%"
 CLASS="PROGRAMLISTING"
 >  mkdir dist # delete or choose different name if it already exists
   cd dist
-  cvs -d:pserver:anonymous@cvs.ijbswa.sourceforge.net:/cvsroot/ijbswa login
-  cvs -z3 -d:pserver:anonymous@cvs.ijbswa.sourceforge.net:/cvsroot/ijbswa export -r v_X_Y_Z current
-     </PRE
+  cvs -d:pserver:anonymous@ijbswa.cvs.sourceforge.net:/cvsroot/ijbswa login
+  cvs -z3 -d:pserver:anonymous@ijbswa.cvs.sourceforge.net:/cvsroot/ijbswa export -r v_X_Y_Z current</PRE
 ></TD
 ></TR
 ></TABLE
 >
     </P
 ><P
->     <I
+>     <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >Do NOT change</I
+></SPAN
 > a single bit, including, but not limited to
      version information after export from CVS. This is to make sure that
      all release packages, and with them, all future bug reports, are based
      on exactly the same code.
     </P
+><DIV
+CLASS="WARNING"
+><P
+></P
+><TABLE
+CLASS="WARNING"
+BORDER="1"
+WIDTH="100%"
+><TR
+><TD
+ALIGN="CENTER"
+><B
+>Warning</B
+></TD
+></TR
+><TR
+><TD
+ALIGN="LEFT"
+><P
+>      Every significant release of Privoxy has included at least one 
+      package that either had incorrect versions of files, missing files, 
+      or incidental leftovers from a previous build process that gave 
+      unknown numbers of users headaches to try to figure out what was 
+      wrong. PLEASE, make sure you are using pristene sources, and are
+      following the prescribed process!
+     </P
+></TD
+></TR
+></TABLE
+></DIV
 ><P
 >     Please find additional instructions for the source tarball and the
-     individual platform dependent binary packages below.
+     individual platform dependent binary packages below. And details 
+     on the Sourceforge release process below that.
     </P
 ><DIV
 CLASS="SECT3"
 ><H3
 CLASS="SECT3"
 ><A
+NAME="PACK-GUIDELINES"
+>6.3.1. Note on Privoxy Packaging</A
+></H3
+><P
+>      Please keep these general guidelines in mind when putting together 
+      your package. These apply to <SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>all</I
+></SPAN
+> platforms!
+     </P
+><P
+>      <P
+></P
+><UL
+><LI
+><P
+>          <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> <SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>requires</I
+></SPAN
+>
+          write access to: all <TT
+CLASS="FILENAME"
+>*.action</TT
+> files, all 
+          logfiles, and the <TT
+CLASS="FILENAME"
+>trust</TT
+> file. You will 
+          need to determine the best way to do this for your platform.
+        </P
+></LI
+><LI
+><P
+>          Please include up to date documentation. At a bare minimum:
+        </P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>          <TT
+CLASS="FILENAME"
+>LICENSE</TT
+> (top-level directory)
+         </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>          <TT
+CLASS="FILENAME"
+>README</TT
+> (top-level directory)
+         </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>          <TT
+CLASS="FILENAME"
+>AUTHORS</TT
+> (top-level directory)
+         </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>          <TT
+CLASS="FILENAME"
+>man page</TT
+> (top-level directory, Unix-like
+          platforms only)
+         </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>          <TT
+CLASS="FILENAME"
+>The User Manual</TT
+> (doc/webserver/user-manual/)
+         </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>          <TT
+CLASS="FILENAME"
+>FAQ</TT
+> (doc/webserver/faq/)
+         </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+>          Also suggested: <TT
+CLASS="FILENAME"
+>Developer Manual</TT
+>
+          (doc/webserver/developer-manual) and <TT
+CLASS="FILENAME"
+>ChangeLog</TT
+>
+          (top-level directory). <TT
+CLASS="FILENAME"
+>FAQ</TT
+> and the manuals are
+          HTML docs. There are also text versions in
+          <TT
+CLASS="FILENAME"
+>doc/text/</TT
+> which could conceivably also be
+          included.
+        </P
+><P
+>         The documentation has been designed such that the manuals are linked
+         to each other from parallel directories, and should be packaged 
+         that way. <TT
+CLASS="FILENAME"
+>privoxy-index.html</TT
+> can also be
+         included and can serve as a focal point for docs and other links of
+         interest (and possibly renamed to <TT
+CLASS="FILENAME"
+>index.html</TT
+>).
+         This should be one level up from the manuals. There is a link also 
+         on this page to an HTMLized version of the man page. To avoid 404 for
+         this, it is in CVS as
+         <TT
+CLASS="FILENAME"
+>doc/webserver/man-page/privoxy-man-page.html</TT
+>,
+         and should be included along with the manuals. There is also a
+         css stylesheets that can be included for better presentation:
+         <TT
+CLASS="FILENAME"
+>p_doc.css</TT
+>. This should be in the same directory
+         with <TT
+CLASS="FILENAME"
+>privoxy-index.html</TT
+>, (i.e. one level up from
+         the manual directories).
+        </P
+></LI
+><LI
+><P
+>        <TT
+CLASS="FILENAME"
+>user.action</TT
+> and <TT
+CLASS="FILENAME"
+>user.filter</TT
+>
+        are designed for local preferences. Make sure these do not get overwritten!
+        <TT
+CLASS="FILENAME"
+>config</TT
+> should not be overwritten either. This 
+        has especially important configuration data in it.
+        <TT
+CLASS="FILENAME"
+>trust</TT
+> should be left in tact as well.
+       </P
+></LI
+><LI
+><P
+>        Other configuration files (<TT
+CLASS="FILENAME"
+>default.action</TT
+> and
+        <TT
+CLASS="FILENAME"
+>default.filter</TT
+>) should be installed as the new
+        defaults, but all previously installed configuration files should be
+        preserved as backups. This is just good manners :-) These files are
+        likely to change between releases and contain important new features
+        and bug fixes.
+       </P
+></LI
+><LI
+><P
+>       Please check platform specific notes in this doc, if you haven't 
+       done <SPAN
+CLASS="QUOTE"
+>"Privoxy"</SPAN
+> packaging before for other platform 
+       specific issues. Conversely, please add any notes that you know 
+       are important for your platform (or contact one of the doc 
+       maintainers to do this if you can't).
+      </P
+></LI
+><LI
+><P
+>       Packagers should do a <SPAN
+CLASS="QUOTE"
+>"clean"</SPAN
+> install of their 
+       package after building it. So any previous installs should be 
+       removed first to ensure the integrity of the newly built package. 
+       Then run the package for a while to make sure there are no 
+       obvious problems, before uploading.
+     </P
+></LI
+></UL
+>
+     </P
+></DIV
+><DIV
+CLASS="SECT3"
+><H3
+CLASS="SECT3"
+><A
 NAME="NEWRELEASE-TARBALL"
->8.2.1. Source Tarball</A
+>6.3.2. Source Tarball</A
 ></H3
 ><P
->      First, <I
+>      First, <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >make sure that you have freshly exported the right
         version into an empty directory</I
+></SPAN
 >. (See "Building and releasing
         packages" above). Then run:
        </P
@@ -288,8 +819,7 @@ WIDTH="100%"
 ><PRE
 CLASS="PROGRAMLISTING"
 >  cd current
-  autoheader &#38;&#38; autoconf &#38;&#38; ./configure
-       </PRE
+  autoheader &#38;&#38; autoconf &#38;&#38; ./configure</PRE
 ></TD
 ></TR
 ></TABLE
@@ -307,8 +837,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  make tarball-dist
-       </PRE
+>  make tarball-dist</PRE
 ></TD
 ></TR
 ></TABLE
@@ -326,8 +855,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  make tarball-upload
-       </PRE
+>  make tarball-upload</PRE
 ></TD
 ></TR
 ></TABLE
@@ -348,15 +876,68 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="NEWRELEASE-RPM"
->8.2.2. SuSE or Red Hat</A
+>6.3.3. SuSE, Conectiva or Red Hat RPM</A
 ></H3
 ><P
->      First, <I
+>        In following text, replace <TT
+CLASS="REPLACEABLE"
+><I
+>dist</I
+></TT
+>
+        with either <SPAN
+CLASS="QUOTE"
+>"rh"</SPAN
+> for Red Hat or <SPAN
+CLASS="QUOTE"
+>"suse"</SPAN
+> for SuSE.
+        </P
+><P
+>      First, <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >make sure that you have freshly exported the right
         version into an empty directory</I
+></SPAN
 >. (See "Building and releasing
-        packages" above). Then run:
+        packages" above). 
+       </P
+><P
+>        As the only exception to not changing anything after export from CVS,
+        now examine the file <TT
+CLASS="FILENAME"
+>privoxy-</TT
+><TT
+CLASS="REPLACEABLE"
+><I
+>dist</I
+></TT
+><TT
+CLASS="FILENAME"
+>.spec</TT
+>
+        and make sure that the version information and the RPM release number are
+        correct. The RPM release numbers for each version start at one. Hence it must
+        be reset to one if this is the first RPM for
+        <TT
+CLASS="REPLACEABLE"
+><I
+>dist</I
+></TT
+> which is built from version
+        X.Y.Z. Check the
+        <A
+HREF="http://sourceforge.net/project/showfiles.php?group_id=11118"
+TARGET="_top"
+>file
+        list</A
+> if unsure. Else, it must be set to the highest already available RPM
+        release number for that version plus one.
+       </P
+><P
+>        Then run:
        </P
 ><P
 >      <TABLE
@@ -368,8 +949,7 @@ WIDTH="100%"
 ><PRE
 CLASS="PROGRAMLISTING"
 >  cd current
-  autoheader &#38;&#38; autoconf &#38;&#38; ./configure
-       </PRE
+  autoheader &#38;&#38; autoconf &#38;&#38; ./configure</PRE
 ></TD
 ></TR
 ></TABLE
@@ -387,8 +967,12 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  make suse-dist (or make redhat-dist)
-       </PRE
+>  make <TT
+CLASS="REPLACEABLE"
+><I
+>dist</I
+></TT
+>-dist</PRE
 ></TD
 ></TR
 ></TABLE
@@ -406,16 +990,32 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  make suse-upload (or make redhat-upload)
-       </PRE
+>  make <TT
+CLASS="REPLACEABLE"
+><I
+>dist</I
+></TT
+>-upload <TT
+CLASS="REPLACEABLE"
+><I
+>rpm_packagerev</I
+></TT
+></PRE
 ></TD
 ></TR
 ></TABLE
 >
        </P
 ><P
->      Go to the displayed URL and release the file publicly on Sourceforge.
-        Use the release notes and Ã§hange log from the source tarball package.
+>        where <TT
+CLASS="REPLACEABLE"
+><I
+>rpm_packagerev</I
+></TT
+> is the
+        RPM release number as determined above.
+       Go to the displayed URL and release the file publicly on Sourceforge.
+        Use the release notes and change log from the source tarball package.
       </P
 ></DIV
 ><DIV
@@ -424,13 +1024,16 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="NEWRELEASE-OS2"
->8.2.3. OS/2</A
+>6.3.4. OS/2</A
 ></H3
 ><P
->      First, <I
+>      First, <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >make sure that you have freshly exported the right
         version into an empty directory</I
+></SPAN
 >. (See "Building and releasing
         packages" above). Then get the OS/2 Setup module:
        </P
@@ -443,8 +1046,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  cvs -z3 -d:pserver:anonymous@cvs.ijbswa.sourceforge.net:/cvsroot/ijbswa co os2setup
-       </PRE
+>  cvs -z3 -d:pserver:anonymous@ijbswa.cvs.sourceforge.net:/cvsroot/ijbswa co os2setup</PRE
 ></TD
 ></TR
 ></TABLE
@@ -490,8 +1092,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  installExeName='privoxyos2_setup_X.Y.Z.exe'
-       </PRE
+>  installExeName='privoxyos2_setup_X.Y.Z.exe'</PRE
 ></TD
 ></TR
 ></TABLE
@@ -516,8 +1117,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  PACKAGEID="Privoxy Team\Privoxy\Privoxy Package\X\Y\Z"
-       </PRE
+>  PACKAGEID="Privoxy Team\Privoxy\Privoxy Package\X\Y\Z"</PRE
 ></TD
 ></TR
 ></TABLE
@@ -535,8 +1135,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  os2build
-       </PRE
+>  os2build</PRE
 ></TD
 ></TR
 ></TABLE
@@ -562,7 +1161,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="NEWRELEASE-SOLARIS"
->8.2.4. Solaris</A
+>6.3.5. Solaris</A
 ></H3
 ><P
 >      Login to Sourceforge's compilefarm via ssh:
@@ -576,8 +1175,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  ssh cf.sourceforge.net
-       </PRE
+>  ssh cf.sourceforge.net</PRE
 ></TD
 ></TR
 ></TABLE
@@ -585,10 +1183,13 @@ CLASS="PROGRAMLISTING"
        </P
 ><P
 >      Choose the right operating system (not the Debian one).
-        When logged in, <I
+        When logged in, <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >make sure that you have freshly exported the right
         version into an empty directory</I
+></SPAN
 >. (See "Building and releasing
         packages" above). Then run:
        </P
@@ -602,8 +1203,7 @@ WIDTH="100%"
 ><PRE
 CLASS="PROGRAMLISTING"
 >  cd current
-  autoheader &#38;&#38; autoconf &#38;&#38; ./configure
-       </PRE
+  autoheader &#38;&#38; autoconf &#38;&#38; ./configure</PRE
 ></TD
 ></TR
 ></TABLE
@@ -621,8 +1221,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  gmake solaris-dist
-       </PRE
+>  gmake solaris-dist</PRE
 ></TD
 ></TR
 ></TABLE
@@ -645,7 +1244,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="NEWRELEASE-WINDOWS"
->8.2.5. Windows</A
+>6.3.6. Windows</A
 ></H3
 ><P
 >        You should ensure you have the latest version of Cygwin (from
@@ -657,10 +1256,13 @@ TARGET="_top"
         Run the following commands from within a Cygwin bash shell.
       </P
 ><P
->      First, <I
+>      First, <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >make sure that you have freshly exported the right
         version into an empty directory</I
+></SPAN
 >. (See "Building and releasing
         packages" above). Then get the Windows setup module:
       </P
@@ -673,8 +1275,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->        cvs -z3  -d:pserver:anonymous@cvs.ijbswa.sourceforge.net:/cvsroot/ijbswa co winsetup
-      </PRE
+>  cvs -z3  -d:pserver:anonymous@ijbswa.cvs.sourceforge.net:/cvsroot/ijbswa co winsetup</PRE
 ></TD
 ></TR
 ></TABLE
@@ -697,9 +1298,8 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->        cd winsetup
-        make
-      </PRE
+>  cd winsetup
+  make</PRE
 ></TD
 ></TR
 ></TABLE
@@ -724,18 +1324,26 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="NEWRELEASE-DEBIAN"
->8.2.6. Debian</A
+>6.3.7. Debian</A
 ></H3
 ><P
->      First, <I
+>        First, <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
->make sure that you have freshly exported the right
-        version into an empty directory</I
->. (See "Building and releasing
-        packages" above). Then, run:
-       </P
+>make sure that you have freshly exported the
+        right version into an empty directory</I
+></SPAN
+>. (See
+        "Building and releasing packages" above).  Then add a log
+        entry to <TT
+CLASS="FILENAME"
+>debian/changelog</TT
+>, if it is not
+        already there, for example by running:
+      </P
 ><P
->      <TABLE
+>        <TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="100%"
@@ -743,17 +1351,54 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  cd current
-  autoheader &#38;&#38; autoconf &#38;&#38; ./configure
-       </PRE
+>  debchange -v 3.0.17-stable-1 "New upstream version"</PRE
 ></TD
 ></TR
 ></TABLE
 >
-       </P
+      </P
 ><P
->      Then do FIXME.
-       </P
+>        Then, run: 
+      </P
+><P
+>        <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>  dpkg-buildpackage -rfakeroot -us -uc -b</PRE
+></TD
+></TR
+></TABLE
+>
+      </P
+><P
+>        This will create
+        <TT
+CLASS="FILENAME"
+>../privoxy_3.0.17-stable-1_i386.deb</TT
+>
+        which can be uploaded.  To upload the package to Sourceforge, simply
+       issue
+      </P
+><P
+>        <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>  make debian-upload</PRE
+></TD
+></TR
+></TABLE
+>
+      </P
 ></DIV
 ><DIV
 CLASS="SECT3"
@@ -761,15 +1406,18 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="NEWRELEASE-MACOSX"
->8.2.7. Mac OSX</A
+>6.3.8. Mac OS X</A
 ></H3
 ><P
->      First, <I
+>      First, <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >make sure that you have freshly exported the right
         version into an empty directory</I
+></SPAN
 >. (See "Building and releasing
-        packages" above). Then get the Mac OSX setup module:
+        packages" above). Then get the Mac OS X setup module:
        </P
 ><P
 >      <TABLE
@@ -780,8 +1428,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  cvs -z3 -d:pserver:anonymous@cvs.ijbswa.sourceforge.net:/cvsroot/ijbswa co osxsetup
-       </PRE
+>  cvs -z3 -d:pserver:anonymous@ijbswa.cvs.sourceforge.net:/cvsroot/ijbswa co osxsetup</PRE
 ></TD
 ></TR
 ></TABLE
@@ -800,8 +1447,7 @@ WIDTH="100%"
 ><PRE
 CLASS="PROGRAMLISTING"
 >  cd osxsetup
-  build
-       </PRE
+  build</PRE
 ></TD
 ></TR
 ></TABLE
@@ -843,8 +1489,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->zip -r privoxyosx_setup_x.y.z.zip Privoxy.pkg
-       </PRE
+>  zip -r privoxyosx_setup_x.y.z.zip Privoxy.pkg</PRE
 ></TD
 ></TR
 ></TABLE
@@ -869,10 +1514,10 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="NEWRELEASE-FREEBSD"
->8.2.8. FreeBSD</A
+>6.3.9. FreeBSD</A
 ></H3
 ><P
->      Login to Sourceforge's compilefarm via ssh:
+>      Login to Sourceforge's compile-farm via ssh:
        </P
 ><P
 >      <TABLE
@@ -883,8 +1528,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  ssh cf.sourceforge.net
-       </PRE
+>  ssh cf.sourceforge.net</PRE
 ></TD
 ></TR
 ></TABLE
@@ -892,10 +1536,13 @@ CLASS="PROGRAMLISTING"
        </P
 ><P
 >      Choose the right operating system.
-        When logged in, <I
+        When logged in, <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >make sure that you have freshly exported the right
         version into an empty directory</I
+></SPAN
 >. (See "Building and releasing
         packages" above). Then run:
        </P
@@ -909,8 +1556,7 @@ WIDTH="100%"
 ><PRE
 CLASS="PROGRAMLISTING"
 >  cd current
-  autoheader &#38;&#38; autoconf &#38;&#38; ./configure
-       </PRE
+  autoheader &#38;&#38; autoconf &#38;&#38; ./configure</PRE
 ></TD
 ></TR
 ></TABLE
@@ -928,8 +1574,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  gmake freebsd-dist
-       </PRE
+>  gmake freebsd-dist</PRE
 ></TD
 ></TR
 ></TABLE
@@ -952,13 +1597,16 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="NEWRELEASE-HPUX"
->8.2.9. HP-UX 11</A
+>6.3.10. HP-UX 11</A
 ></H3
 ><P
->      First, <I
+>      First, <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >make sure that you have freshly exported the right
         version into an empty directory</I
+></SPAN
 >. (See "Building and releasing
         packages" above). Then run:
        </P
@@ -972,8 +1620,7 @@ WIDTH="100%"
 ><PRE
 CLASS="PROGRAMLISTING"
 >  cd current
-  autoheader &#38;&#38; autoconf &#38;&#38; ./configure
-       </PRE
+  autoheader &#38;&#38; autoconf &#38;&#38; ./configure</PRE
 ></TD
 ></TR
 ></TABLE
@@ -989,13 +1636,16 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="NEWRELEASE-AMIGA"
->8.2.10. Amiga OS</A
+>6.3.11. Amiga OS</A
 ></H3
 ><P
->      First, <I
+>      First, <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >make sure that you have freshly exported the right
         version into an empty directory</I
+></SPAN
 >. (See "Building and releasing
         packages" above). Then run:
        </P
@@ -1009,8 +1659,7 @@ WIDTH="100%"
 ><PRE
 CLASS="PROGRAMLISTING"
 >  cd current
-  autoheader &#38;&#38; autoconf &#38;&#38; ./configure
-       </PRE
+  autoheader &#38;&#38; autoconf &#38;&#38; ./configure</PRE
 ></TD
 ></TR
 ></TABLE
@@ -1026,7 +1675,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="NEWRELEASE-AIX"
->8.2.11. AIX</A
+>6.3.12. AIX</A
 ></H3
 ><P
 >      Login to Sourceforge's compilefarm via ssh:
@@ -1040,8 +1689,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  ssh cf.sourceforge.net
-       </PRE
+>  ssh cf.sourceforge.net</PRE
 ></TD
 ></TR
 ></TABLE
@@ -1049,10 +1697,13 @@ CLASS="PROGRAMLISTING"
        </P
 ><P
 >      Choose the right operating system.
-        When logged in, <I
+        When logged in, <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >make sure that you have freshly exported the right
         version into an empty directory</I
+></SPAN
 >. (See "Building and releasing
         packages" above). Then run:
        </P
@@ -1066,8 +1717,7 @@ WIDTH="100%"
 ><PRE
 CLASS="PROGRAMLISTING"
 >  cd current
-  autoheader &#38;&#38; autoconf &#38;&#38; ./configure
-       </PRE
+  autoheader &#38;&#38; autoconf &#38;&#38; ./configure</PRE
 ></TD
 ></TR
 ></TABLE
@@ -1085,8 +1735,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="PROGRAMLISTING"
->  make aix-dist
-       </PRE
+>  make aix-dist</PRE
 ></TD
 ></TR
 ></TABLE
@@ -1109,8 +1758,119 @@ CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
+NAME="RELEASING"
+>6.4. Uploading and Releasing Your Package</A
+></H2
+><P
+>      After the package is ready, it is time to upload it 
+      to SourceForge, and go through the release steps. The upload
+      is done via FTP:
+    </P
+><P
+>      <P
+></P
+><UL
+><LI
+><P
+>          Upload to: <A
+HREF="ftp://upload.sourceforge.net/incoming"
+TARGET="_top"
+>ftp://upload.sourceforge.net/incoming</A
+>
+        </P
+></LI
+><LI
+><P
+>         user: <TT
+CLASS="LITERAL"
+>anonymous</TT
+>
+       </P
+></LI
+><LI
+><P
+>         password: <TT
+CLASS="LITERAL"
+>ijbswa-developers@lists.sourceforge.net</TT
+>
+       </P
+></LI
+></UL
+>
+    </P
+><P
+>     Or use the <B
+CLASS="COMMAND"
+>make</B
+> targets as described above.
+    </P
+><P
+>     Once this done go to <A
+HREF="https://sourceforge.net/project/admin/editpackages.php?group_id=11118"
+TARGET="_top"
+>https://sourceforge.net/project/admin/editpackages.php?group_id=11118</A
+>, 
+     making sure you are logged in. Find your target platform in the 
+     second column, and click <TT
+CLASS="LITERAL"
+>Add Release</TT
+>. You will 
+     then need to create a new release for your package, using the format 
+     of <TT
+CLASS="LITERAL"
+>$VERSION ($CODE_STATUS)</TT
+>, e.g. <SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>3.0.17
+     (beta)</I
+></SPAN
+>.
+    </P
+><P
+>     Now just follow the prompts. Be sure to add any appropriate Release
+     notes. You should see your freshly uploaded packages in 
+     <SPAN
+CLASS="QUOTE"
+>"Step 2. Add Files To This Release"</SPAN
+>. Check the 
+     appropriate box(es). Remember at each step to hit the 
+     <SPAN
+CLASS="QUOTE"
+>"Refresh/Submit"</SPAN
+> buttons! You should now see your 
+     file(s) listed in Step 3. Fill out the forms with the appropriate 
+     information for your platform, being sure to hit <SPAN
+CLASS="QUOTE"
+>"Update"</SPAN
+>
+     for each file. If anyone is monitoring your platform, check the 
+     <SPAN
+CLASS="QUOTE"
+>"email"</SPAN
+> box at the very bottom to notify them of 
+     the new package. This should do it!
+    </P
+><P
+>     If you have made errors, or need to make changes, you can go through 
+     essentially the same steps, but select <TT
+CLASS="LITERAL"
+>Edit Release</TT
+>, 
+     instead of <TT
+CLASS="LITERAL"
+>Add Release</TT
+>.
+    </P
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
 NAME="AFTERRELEASE"
->8.3. After the Release</A
+>6.5. After the Release</A
 ></H2
 ><P
 >      When all (or: most of the) packages have been uploaded and made available,
@@ -1126,7 +1886,10 @@ HREF="http://sourceforge.net/project/showfiles.php?group_id=11118"
 TARGET="_top"
 >download
       location</A
->, the release notes and the change log.
+>, the release notes and the Changelog. Also, post an
+      updated News item on the project page Sourceforge, and update the Home 
+      page and docs linked from the Home page (see below). Other news sites
+      and release oriented sites, such as Freshmeat, should also be notified.
      </P
 ></DIV
 ></DIV
@@ -1135,6 +1898,7 @@ CLASS="NAVFOOTER"
 ><HR
 ALIGN="LEFT"
 WIDTH="100%"><TABLE
+SUMMARY="Footer navigation table"
 WIDTH="100%"
 BORDER="0"
 CELLPADDING="0"
@@ -1146,6 +1910,7 @@ ALIGN="left"
 VALIGN="top"
 ><A
 HREF="testing.html"
+ACCESSKEY="P"
 >Prev</A
 ></TD
 ><TD
@@ -1154,6 +1919,7 @@ ALIGN="center"
 VALIGN="top"
 ><A
 HREF="index.html"
+ACCESSKEY="H"
 >Home</A
 ></TD
 ><TD
@@ -1162,6 +1928,7 @@ ALIGN="right"
 VALIGN="top"
 ><A
 HREF="webserver-update.html"
+ACCESSKEY="N"
 >Next</A
 ></TD
 ></TR
@@ -1186,4 +1953,4 @@ VALIGN="top"
 ></DIV
 ></BODY
 ></HTML
->
\ No newline at end of file
+>