rse 97/08/06 00:19:47
Modified: . how-to-release.html Log: Overhauled the step-by-step instruction for releasing Apache. Revision Changes Path 1.2 +85 -15 apache-devsite/how-to-release.html Index: how-to-release.html =================================================================== RCS file: /export/home/cvs/apache-devsite/how-to-release.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- how-to-release.html 1997/06/17 10:43:29 1.1 +++ how-to-release.html 1997/08/06 07:19:46 1.2 @@ -1,20 +1,90 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> + <HEAD> + <TITLE>How to build a release of Apache</TITLE> + </HEAD> +<!-- Background white, links blue (unvisited), navy (visited), red (active) --> + <BODY + BGCOLOR="#FFFFFF" + TEXT="#000000" + LINK="#0000FF" + VLINK="#000080" + ALINK="#FF0000" + > +<!--#include virtual="header.html" --> + +<BLOCKQUOTE> <H1>How to build a release of Apache</H1> -<address>Originally from Alexei Kosut</address> +Written by Ralf S. Engelschall <a href="mailto:[EMAIL PROTECTED]"><[EMAIL PROTECTED]></a>,<br> +based on original work by Alexei Kosut <a href="mailto:[EMAIL PROTECTED]"><[EMAIL PROTECTED]></a>,<br> + +<P> +<OL> +<HR> +<b>[ Only for final releases, not for internal pre-releases ]</b><br> +<P> +<LI> Change <code>SERVER_VERSION</code> in <tt>src/httpd.h</tt><br> + from ``<code>Apache/1.X.Y-dev</code>'' to ``<code>Apache/1.X.Y</code>'' and commit.<br> + <code><b>$ vi src/httpd.h</b></code><br> + <code><b>$ cvs ci src/httpd.h</b></code> +<P> +<LI> Tag the sources for this release:<br> + (<i>note: be sure to tag the whole thing, not just <code>src</code></i>!)<br> + <code><b>$ cvs tag APACHE_1_X_Y .</b></code> +<P> +<HR> +<b>[ For all releases ]</b><br> +<P> +<P> +<LI> Make an export version of the distribution:<br> + <code><b>$ cd /tmp</b></code><br> + <code><b>$ cvs export -r APACHE_1_X_Y -d apache_1.X.Y apache</b></code><br> + <code><b>$ cd apache_1.X.Y</b></code> +<P> +<LI> Create <code>src/Configuration</code> file:<br> + <code><b>$ cp src/Configuration.tmpl src/Configuration</b></code> +<P> +<LI> Remove <code>RULES.CVS</code> file and various <code>.cvsignore</code> files:<br> + <code><b>$ rm RULES.CVS</b></code><br> + <code><b>$ find . -name ".cvsignore" -print | xargs rm</b></code> +<P> +<LI> Add an empty <code>logs/</code> directory:<br> + <code><b>$ mkdir logs</b></code> +<P> +<LI> Expand the Service-Side-Include directives in the manual:<br> + <code><b>$ cd htdocs/manual</b></code><br> + <code><b>$ ./expand.pl</b></code><br> + <code><b>$ rm ./expand.pl</b></code><br> + <code><b>$ cd ../..</b></code> +<P> +<LI> Roll the tarball (with sorted files!):<br> + <code><b>$ cd ..</b></code><br> + <code><b>$ tar cvf apache_1.2.2.tar \</b></code><br> + <code><b> `find apache_1.2.2 -depth -print | sort |\</b></code><br> + <code><b> perl -nle 'print $_ if -f $_;'`</b></code> +<P> +<LI> Make the final packed distribution files:<br> + <code><b>$ gzip -9 apache_1.2.2.tar</b></code><br> + <code><b>$ compress apache_1.2.2.tar</b></code><br> +<P> +<LI> Sign the distribution files:<br> + (<i>note: be sure your PGP key is already in the <code>KEYS</code> file</i>!)<br> + <code><b>$ pgp -sba apache_1.2.2.tar.gz</b></code><br> + <code><b>$ pgp -sba apache_1.2.2.tar.Z</b></code><br> +<P> +<HR> +<b>[ Only for final releases, not for internal pre-releases ]</b><br> <P> +<LI> Change <code>SERVER_VERSION</code> in <code>src/httpd.h</code>:<br> + from ``<code>Apache/1.X.Y</code>'' to + ``<code>Apache/1.X.(Y+1)-dev</code>'' and commit.<br> + <code><b>$ vi src/httpd.h</b></code><br> + <code><b>$ cvs ci src/httpd.h</b></code> +</OL> +</BLOCKQUOTE> -<UL> -<LI> change SERVER_VERSION in httpd.h (and commit) -<LI> tag it: e.g. <code>cvs tag APACHE_1_1b3</code> - (note: be sure to tag the whole thing, not just src) -<LI> make an export version of the distribution, e.g.:<br> - <code>cvs export -r APACHE_1_1b3 -d apache_1.1b3 apache</code> -<LI> Copy Configuration.tmpl to Configuration -<LI> Remove RULES.CVS file and various .cvsignore files (in src/ and - support/) -<LI> Add an empty "logs" directory -<LI> cd to the htdocs/manual directory. Run expand.pl, then delete it. -<LI> Tar, compress/gzip and release. -<LI> change SERVER_VERSION to next-version-dev (and commit) -</UL> +<!--#include virtual="footer.html" --> + </BODY> +</HTML>