On Wed, 4 Sep 2002, Peter Van Biesen wrote:
> how do you see this ? A core server with a bunch of .so's or hooks in
> the build process to statically link optional modules ?
Check out FreeBSD ports; basically a set of simple make files like:
ls /usr/ports/wwww/mod_*
mod_access_identd mod_backhand mod_fastcgi
mod_mysqluserdir mod_sed
mod_access_referer mod_bf mod_frontpage mod_pcgi2
mod_sequester
mod_auth_any mod_blowchunks mod_gzip mod_perl
mod_snake
mod_auth_external mod_cgi_debug mod_hosts_access mod_php3
mod_sqlinclude
mod_auth_kerb mod_color mod_index_rss mod_php4
mod_throttle
mod_auth_mysql mod_csacek mod_jk
mod_proxy_add_forward mod_ticket
mod_auth_mysql_another mod_cvs mod_layout mod_put
mod_trigger
mod_auth_pam mod_dav mod_log_mysql mod_python
mod_tsunami
mod_auth_pgsql mod_dtcl mod_mp3 mod_roaming
mod_watch
mod_auth_pwcheck mod_extract_forwarded mod_mylo mod_ruby
mod_zap
And each then has a makefile:
# New ports collection makefile for: mod_mp3
# Date created: 7 April 2001
# Whom: will
#
# $FreeBSD: ports/www/mod_mp3/Makefile,v 1.17 2002/03/18 01:34:24 anders Exp $
#
PORTNAME= mod_mp3
PORTVERSION= 0.35
CATEGORIES= www audio
MASTER_SITES= http://software.tangent.org/download/ \
ftp://ftp.tangent.org/pub/apache/ \
http://atreides.freenix.no/~anders/
MAINTAINER= [EMAIL PROTECTED]
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
HAS_CONFIGURE= yes
MAKE_ARGS+= APXS="${APXS}"
APXS?= ${LOCALBASE}/sbin/apxs
DOCS= ChangeLog README TODO faq.html
do-install:
${APXS} -i -A -n mp3 ${WRKSRC}/src/mod_mp3.so
.if !defined(NOPORTDOCS)
@${INSTALL} -d -m 0755 ${PREFIX}/share/doc/mod_mp3
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_mp3/
.endfor
.endif
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
all you do is cd into the directory and do a make, make install.
If you look at 'fink' you see a more cross-platform sort of approach. Both
work well.
Dw