Openbsd /
INN
INCOMPLETE how-to.
1) Download Berkeley DB 4.8 at http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz 2) Verify sha256 checksum: e0491a07cdb21fb9aa82773bbbedaeb7639cbd0e7f96147ab46141e0045db72a 3) Get patch for Berkeley DB at https://gist.github.com/danieldk/5700533 . 4) Extract Berkeley DB source from archive. 5) Without a patch Berkeley DB won't build on OpenBSD. Execute command "patch -p1 < gistfile1.txt", your target is "dbinc/atomic.h" file. 6) Create directory for installation: /home/deb3f6/bdb 7) Change dir to "build_unix", type there "../dist/configure --prefix=/home/deb3f6/bdb". 8) When complete previous step, type "make". 9) When complete previous step, type "make install clean". Libraries have been installed in: /home/deb3f6/bdb/lib 1) Dowoad Inn and pgp signature at ftp://ftp.isc.org/isc/inn/inn-2.6.3.tar.gz , ftp://ftp.isc.org/isc/inn/inn-2.6.3.tar.gz.asc 2) Verify PGP signature. 3) Extract Inn source from archive. 4) Change dir to "inn-2.6.3". 5) Execute "./autogen". 6) Execute "./configure --prefix=/home/deb3f6/inn --with-news-user=nobody --with-news-group=nobody --with-bdb=/home/deb3f6/bdb --without-openssl". 7) You may need to set variable "AUTOCONF_VERSION". Type ' AUTOCONF_VERSION="2.69" ; export AUTOCONF_VERSION '. 8) You may need to set variable ' LD_LIBRARY_PATH="/home/deb3f6/bdb/lib" ; export LD_LIBRARY_PATH ' 9) Repeat step 6 if needed. 10) Execute "make install clean" command. Libraries have been installed in: /home/deb3f6/inn/lib cd /home/deb3f6/inn/db touch history ../bin/makedbz -i mv history.n.dir history.dir mv history.n.hash history.hash mv history.n.index history.index chmod 644 *
Troubleshooting
■
CPAN issue: perl libraries may become unavailable due to custom umask value.