Home Recent Changes WikiHelp
Openswan /
HowToBuildRPMs
Login
Last modified: August 04, 2006, at 02:11 PM

Starting with version 2.2.0, we include two spec files for newer 2.6 based RPM distros.

packaging/suse/openswan.spec packaging/redhat/openswan.26spec

You can use those to easily build some RPMs - eg:

tar -xzvf openswan-2.2.0.tar.gz
edit openswan-2.2.0/packaging/redhat/openswan.26spec
 # make your changes, and probably change the version numbers at the top
rpmbuild -ba openswan-2.2.0/packaging/redhat/openswan.26spec

If you create a .spec for another distribution, please let us know so we can include it in the distribution.

You may want to copy the source openswan-2.2.0.tar.gz to /usr/src/redhat/SOURCES/ in order to avoid a second download of the source by the command rpmbuild.

Powered by PmWiki
view edit upload print history