Skip to content

Configuring Apache 2.X to work in BSD/OS 4.3.X

CC=/usr/bin/gcc CFLAGS="-Wall -g -O3 -mcpu=i686 " ./configure \

--enable-layout=BSDI\

--enable-v4-mapped \

--enable-maintainer-mode\

--enable-modules=most\

--enable-mods-shared=all\

--disable-optional-hook-export\

--disable-optional-hook-import\

--disable-optional-fn-export\

--disable-optional-fn-import\

--disable-ldap\

--disable-auth-ldap\

--disable-proxy\

--disable-proxy-connect\

--disable-proxy-ftp\

--disable-proxy-http\

--enable-auth-anon=shared\

--enable-auth-dbmi=shared\

--enable-auth-digest=shared\

--enable-file-cache=shared\

--enable-echo=shared\

--enable-charset-lite=shared\

--enable-cache=shared\

--enable-disk-cache=shared\

--enable-mem-cache=shared\

--enable-ext-filter=shared\

--enable-deflate=shared\

--enable-logio=shared\

--enable-mime-magic=shared\

--enable-cern-meta=shared\

--enable-expires=shared\

--enable-headers=shared\

--enable-usertrack=shared\

--enable-unique-id=shared\

--enable-ssl=shared\

--enable-bucketeer=shared\

--enable-static-support\

--enable-static-htpasswd\

--enable-static-htdigest\

--enable-static-rotatelogs\

--enable-static-logresolve\

--enable-static-htdbm\

--enable-static-ab\

--enable-static-checkgid\

--enable-http\

--enable-dav=shared\

--enable-info=shared\

--enable-suexec=shared\

--enable-cgi=shared\

--enable-cgid=shared\

--enable-dav-fs=shared\

--enable-vhost-alias=shared\

--enable-speling=shared\

--enable-rewrite=shared\

--enable-so\

--with-z=/usr\

--with-ssl=/usr/contrib\

--with-mpm=prefork\

--enable-nonportable-atomics=yes\

--with-suexec-bin=/usr/contrib/bin\

--with-suexec-caller=www\

--with-suexec-userdir=html\

--with-suexec-docroot=html\

--with-suexec-uidmin=100\

--with-suexec-gidmin=100\

--with-suexec-logfile=/var/log/httpd/suexec_log\

--with-suexec-safepath=/bin:/usr/bin://usr/contrib/bin\

--with-suexec-umask=022



This is using all .so's

Configuring programmes for /usr/contrib

Here is a script I use to configure dor programmes that need /usr/contrib:



CC=/usr/bin/gcc CFLAGS="-g -O3 -Wall -mcpu=i686" M4=/usr/contrib/bin/m4 ./configure --prefix=/usr/contrib --localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man --with-x --with-curses --with-low-memory --with-elf --with-dynamic --with-ssl-dir=/usr/contrib/ --with-openssl=/usr/contrib/ --with-ssl=/usr/contrib/ --with-dblib=berkeley --with-bz2 --disable-krb4 --enable-passwd --enable-shell --enable-readline --with-bsd-auth --with-sasl=/usr/contrib/sasl2 --with-apache=/usr/source/httpd-2.0.52 --with-sendmail-include=/usr/include --with-sendmail-libraries=/usr/lib --enable-compat185 --enable-debug --enable-debug_rop --enable-debug_wop --enable-diagnostic --enable-posixmutexes

--enable-rpc --enable-umrw --with-apxs=/usr/contrib/bin/apxs --enable-pop --with-sasl=/usr/contrib --with-freetype=/usr/X11R6 --with-gdlib=/usr/contrib/lib --with-gd=/usr/contrib/include --enable-geoip --enable-plain --enable-login --without-pam --with-sqlite-include=/usr/contrib/include --with-sqlite-libraries=/usr/contrib/lib --without-krb4 --without-krb5



I use sasl version 2 and I also keep current with Apache version 2 . I also use SQLite.

Configuring programmes for /usr

This is the script I use to compile programmes for BSD/OS that needs /usr as its root base:



CC=/usr/bin/gcc CFLAGS="-g -Wall -O3 -march=i686" ./configure --prefix=/usr --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man --with-curses --enable-compat185 --enable-debugging --enable-standalone --enable-shy --enable-debug --enable-debug_rop --enable-debug_wop --enable-diagnostic --enable-posixmutexes --enable-rpc --enable-umrw --with-openssl=/usr/contrib --disable-libunwind-exceptions --disable-libunwind --without-pam --enable-obsolete --without-guile



1) I am using gcc 3.2.2 for the time being.



2) Such programmes such as bind 9.X, findutils and coreutils will have noted improvement

GCC 3.2 for BSD/OS 4.3.1

Did it!!



To get GCC 3 to work on BSD/OS 4.3.1



1) Insert Disk 1 of BSD/OS 5.1 and install core contrib.



2) cd /usr/src/core_contrib/gcc



3) make depend



4) make



5) If compilation stops in the middle saying on -lgcc_s cd compile/gcc then cp libgcc_s* to /shlib, /usr/shlib and/or /usr/lib .



6) cd ../.. and type make



7) Type make install

damn phreaking hackers

REcently Passive FTP is no longer the case. Today one of my customer's tried to teach a new customer how to FTP. Unfortunately, she had to abandon the teaching session and sounded annoyed an fustrated. If I had know in advance, I would have told her that you cannot use Passive FTP mode and that might have solved the problem. The reason for turning off passive FTP is to prevent hackers from getting passwords.



I phreaking hate hackers.

English Premiership football 2004/2005 Round 14 predictions

Round 14 predictions:



20 November 2004

Arsenal v West Brom, 15:00



4 - 0



Chelsea v Bolton, 15:00



2 - 2



Crystal Palace v Newcastle, 15:00



0 - 3



Everton v Fulham, 15:00



0 - 3



Man Utd v Charlton, 12:45



1 - 3



Middlesbrough v Liverpool, 15:00



2 - 2 and 24 red cards served up.



Norwich v Southampton, 15:00



1 - 3



Portsmouth v Man City, 17:15



2 - 1



21 November 2004

Blackburn v Birmingham, 16:05



2 - 1

22 November 2004

Aston Villa v Tottenham, 20:00



1 - 2

Configuring INN 2.X to work in BSD/OS

For BSD/OS 4.X , you can use:



CC=/usr/bin/cc CFLAGS="-g -O3 -Wall" ./configure --prefix=/var/news --libexecdir=/var/news/libexec --datadir=/usr/share --sysconfdir=/var/news/etc --localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man --with-db-dir=/var/news/etc --with-run-dir=/var/news/run --with-etc-dir=/var/news/etc --with-spool-dir=/var/news/spool --with-log-dir=/var/log/news --with-news-user=bin --with-news-group=news --with-low-memory --with-openssl=/usr/contrib --with-berkeleydb=/usr/contrib --with-sendmail=/usr/sbin/sendmail --enable-ipv6 --enable-largefiles --without-pam --with-sasl=/usr/contrib --without-kerberos --with-innd-port=119



For 5.X Please use --with-openssl=/usr



NOte that the file structure compilation is based on the old BSD/OS pre 4.X .



I am using ovdb and cnfs. Lovely pair.

Openssl 0.9.7

Thank you http://www.openssl.org for making a correction.



to configure OpenSSL for BSD/OS you need to use the following configuation command:



./Configure threads shared zlib-dynamic debug --prefix=/usr/contrib --openssldir=/usr/contrib bsdi-elf-gcc "-g -O3 -Wall -march=i686"

1st entry

1st entry into a blog.



I still prefer newsgroups, but oh well.



Test 1.