This is an old revision of the document!
Warning: This information may, and probably will become rapidly out of date.
Become the 'build' user:
su - build
Set your CVS environment:
export CVS_RSH=ssh CVSROOT=anoncvs@anoncvs.owl.openwall.com:/cvs
(You can save that line into ~build/.profile to save you having to set it manually
Download the sources from CVS for the first time:
mkdir -p ~build/native && cd native && cvs co -P Owl cd native cvs co -P Owl
You then need to correctly set up several symlinks in the home directory of the build user:
cd ~build/ ln -s native/Owl/build/Makefile Makefile make symlinks
Finally, check out the sources.
mkdir sources cd source lftp ftp://ftp.fr.openwall.com/pub/Owl/current/sources/Owl/packages/
Then, from within lftp:
mirror -e -L .
This should download the sources. Once thats complete, you should be simply able to run a 'make buildworld' in the directory to build the new packages.
As of 12/04/11, you will need to upgrade the OpenSSL libraries manually before a full makeworld compilation. This can be achieved by running a primary 'make buildworld', and then manually upgrading the libs. After the build, become root again:
root@dev:/ # rpm -Uvh --replacepkgs --oldpackage --nodeps /usr/src/world/RPMS/openssl-*
Several applications which rely on the installed version of OpenSSL will immediately break however. It is imperative that once the above command has been run, that all packages are rebuilt. Again, become the 'build' user:
su - build
and then run the following:
make clean make buildworld
Finally, become root again, change to the /usr/src/world directory, and run a 'make installworld'
root@dev:/usr/src/world # make instalworld
This should leave you with an up to date system.