Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2003 21:36:18 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject:   ports/58251: [new port] www/mod_vdbh: Allows mass virtual hosting using a MySQL backend with Apache 2.0.x
Message-ID:  <20031019193649.7084243FDD@mx1.FreeBSD.org>
Resent-Message-ID: <200310191940.h9JJe9mp021063@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         58251
>Category:       ports
>Synopsis:       [new port] www/mod_vdbh: Allows mass virtual hosting using a MySQL backend with Apache 2.0.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 19 12:40:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386


	
>Description:

	mod_vdbh is an Apache Web Server module allowing mass virtual hosting without 
	the need for file based configuration. The virtual host paths are translated 
	from a MySQL database at request time, thus the configuration can be changed 
	without having to restart Apache Web Server.

	WWW: http://www.synthemesc.com/mod_vdbh/

>How-To-Repeat:
	N/A.
>Fix:

	

--- mod_vdbh.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mod_vdbh
#	mod_vdbh/Makefile
#	mod_vdbh/distinfo
#	mod_vdbh/pkg-descr
#	mod_vdbh/pkg-plist
#	mod_vdbh/files
#	mod_vdbh/files/patch-mod_vdbh.c
#
echo c - mod_vdbh
mkdir -p mod_vdbh > /dev/null 2>&1
echo x - mod_vdbh/Makefile
sed 's/^X//' >mod_vdbh/Makefile << 'END-of-mod_vdbh/Makefile'
X# New ports collection makefile for:	mod_vdbh
X# Date created:				Sun Oct 19
X# Whom:					Clement Laforet <sheepkiller@cultdeadsheep.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_vdbh
XPORTVERSION=	1.0.3
XCATEGORIES=	www
XMASTER_SITES=	http://www.synthemesc.com/downloads/mod_vdbh/
XDIST_SUBDIR=	apache
X
XMAINTAINER=	sheepkiller@cultdeadsheep.org
XCOMMENT=	Allows mass virtual hosting using a MySQL backend with Apache 2.0.x
X
XBUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XUSE_MYSQL=	YES
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
XAPXS?=		${LOCALBASE}/sbin/apxs
XMYSQL_INC?=	${LOCALBASE}/include/mysql
XMYSQL_LIB?=	${LOCALBASE}/lib/mysql -lmysqlclient
X
XDOC_FILES=	AUTHORS README TODO
X
Xdo-build:
X	@(cd ${WRKSRC} && ${APXS} -I ${MYSQL_INC} -L ${MYSQL_LIB} -c ${PORTNAME}.c)
X
Xdo-install:
X	@(cd ${WRKSRC} && ${APXS} -i -A -n ${PORTNAME:S/mod_//} ${PORTNAME}.la)
X
X.if !defined (NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.   for f in ${DOC_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.   endfor
X.endif
X
X.include <bsd.port.mk>
END-of-mod_vdbh/Makefile
echo x - mod_vdbh/distinfo
sed 's/^X//' >mod_vdbh/distinfo << 'END-of-mod_vdbh/distinfo'
XMD5 (apache/mod_vdbh-1.0.3.tar.gz) = 3bd571f4d35f6b7b9f11b6eacab3947c
END-of-mod_vdbh/distinfo
echo x - mod_vdbh/pkg-descr
sed 's/^X//' >mod_vdbh/pkg-descr << 'END-of-mod_vdbh/pkg-descr'
Xmod_vdbh is an Apache Web Server module allowing mass virtual hosting without 
Xthe need for file based configuration. The virtual host paths are translated 
Xfrom a MySQL database at request time, thus the configuration can be changed 
Xwithout having to restart Apache Web Server.
X
XWWW: http://www.synthemesc.com/mod_vdbh/
END-of-mod_vdbh/pkg-descr
echo x - mod_vdbh/pkg-plist
sed 's/^X//' >mod_vdbh/pkg-plist << 'END-of-mod_vdbh/pkg-plist'
Xlibexec/apache2/mod_vdbh.so
X@exec %D/sbin/apxs -e -A -n vdbh %D/%f
X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@unexec echo "===>  If you do not plan on reinstalling mod_vdbh, you must manually remove"; echo "===>  references to it in httpd.conf."
END-of-mod_vdbh/pkg-plist
echo c - mod_vdbh/files
mkdir -p mod_vdbh/files > /dev/null 2>&1
echo x - mod_vdbh/files/patch-mod_vdbh.c
sed 's/^X//' >mod_vdbh/files/patch-mod_vdbh.c << 'END-of-mod_vdbh/files/patch-mod_vdbh.c'
X--- mod_vdbh.c.orig	Sun Oct 19 16:25:25 2003
X+++ mod_vdbh.c	Sun Oct 19 16:25:35 2003
X@@ -77,9 +77,7 @@
X 
X #include "ap_config_auto.h"
X 
X-#ifdef HAVE_STDDEF_H
X #include <stddef.h>
X-#endif
X 
X #include <stdlib.h>
X #include <stdio.h>
END-of-mod_vdbh/files/patch-mod_vdbh.c
exit
--- mod_vdbh.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031019193649.7084243FDD>