> My question is, how would I extract the source code and patches from
> the Apache RPM supplied on the Redhat cd's into a directory like
> /usr/src/apache-1.3.9?  I was able to install stock apache source
> code, no problem, but I am coming up short trying to find the Redhat
> patches.
> 
> Sorry to sound so ignorant.

You don't. The RPM stuff is more than just a package archive.

rpm --install apache-1.3.9.src.rpm

will unpack the specification file, some patches and some tar files. Then
you can use rpm -ba to build it all, and various other rpm commands to do
stuff like partial builds.

The spec file is basically the build command list, a list of the archives
and the patches. The idea of this is that you can easily swap the base
package (eg when apache 1.3.10 appears), or add patch files to the list
and rebuild a new RPM.

There is a book 'Maximum RPM' which I believe is also online somewhere on 
www.rpm.org for download.

Alan

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to