finish switch to apache module framework, change license for

mod_auth_mysql and remove two maintainers on their own request

feedback & ok steven@
This commit is contained in:
simon 2007-06-26 19:19:45 +00:00
parent a9210862c2
commit 012efb2a57
53 changed files with 191 additions and 437 deletions

View File

@ -1,16 +1,18 @@
# $OpenBSD: Makefile,v 1.5 2007/02/21 20:26:33 naddy Exp $
# $OpenBSD: Makefile,v 1.6 2007/06/26 19:19:45 simon Exp $
COMMENT= "provides HTTP Basic authentication via bsd auth"
VERSION= 0.8.2
DISTNAME= bsdauth-${VERSION}
PKGNAME= mod_auth_bsd-${VERSION}
PKGNAME= mod_auth_bsd-${VERSION}p0
EXTRACT_SUFX= .tgz
CATEGORIES= www
MASTER_SITES= http://www.25thandclement.com/~william/projects/releases/
HOMEPAGE= http://www.25thandclement.com/~william/projects/bsdauth.html
MODULES+= apache-module
# ISC-like
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
@ -18,18 +20,19 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= event
MODAPACHE_NAME= bsd_auth
MODAPACHE_ENABLE= mod_auth_bsd-enable
MODAPACHE_MODULE= mod_auth_bsd.so
NO_REGRESS= Yes
post-build:
@sed 's,_PREFIX_,${PREFIX},' \
< ${FILESDIR}/mod_auth_bsd-enable \
> ${WRKBUILD}/mod_auth_bsd-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_bsd
${INSTALL_DATA} ${WRKSRC}/INSTALL \
${PREFIX}/share/doc/mod_auth_bsd/README
${INSTALL_DATA} ${WRKBUILD}/mod_auth_bsd.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_auth_bsd-enable ${PREFIX}/sbin
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,17 +0,0 @@
#!/bin/sh
# $OpenBSD: mod_auth_bsd-enable,v 1.1.1.1 2004/07/11 06:54:50 jolan Exp $
MODULE=_PREFIX_/lib/mod_auth_bsd.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find auth_bsd module (${MODULE})"
exit 1
else
echo "Enabling BSD Authentication module..."
/usr/sbin/apxs -i -a -n bsd_auth ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install of mod_auth_bsd, you need
to enable the module using the following command:
# ${PREFIX}/sbin/mod_auth_bsd-enable
# ${PREFIX}/sbin/${MODAPACHE_ENABLE}
If you already have Apache running on your machine,
you should not use "apachectl restart" - instead,

View File

@ -1,6 +1,7 @@
@comment $OpenBSD: PLIST,v 1.4 2006/01/11 08:20:26 jolan Exp $
lib/mod_auth_bsd.so
sbin/mod_auth_bsd-enable
@comment $OpenBSD: PLIST,v 1.5 2007/06/26 19:19:45 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
sbin/${MODAPACHE_ENABLE}
share/doc/mod_auth_bsd/
share/doc/mod_auth_bsd/README
@extra /usr/lib/apache/modules/mod_auth_bsd.so
@unexec-delete rm -f ${MODAPACHE_FINAL}

View File

@ -1,39 +1,34 @@
# $OpenBSD: Makefile,v 1.9 2006/11/20 13:07:20 espie Exp $
# $OpenBSD: Makefile,v 1.10 2007/06/26 19:19:46 simon Exp $
COMMENT= "Apache MySQL authentication module"
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
VERSION= 3.2
DISTNAME= mod_auth_mysql-${VERSION}
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= www
MAINTAINER= Sam Smith <S@mSmith.net>
HOMEPAGE= http://sourceforge.net/projects/mod-auth-mysql
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mod-auth-mysql/}
MODULES+= apache-module
PERMIT_PACKAGE_CDROM= "no license"
PERMIT_PACKAGE_FTP= "no license"
PERMIT_DISTFILES_CDROM= "no license"
PERMIT_DISTFILES_FTP= "no license"
# Apache license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODAPACHE_NAME= auth_mysql
LIB_DEPENDS= lib/mysql/mysqlclient.>=10::databases/mysql
NO_REGRESS= Yes
post-build:
sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_auth_mysql-enable \
> ${WRKBUILD}/mod_auth_mysql-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/mod_auth_mysql.so ${PREFIX}/lib/
${INSTALL_SCRIPT} ${WRKBUILD}/mod_auth_mysql-enable ${PREFIX}/sbin/
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/mod_auth_mysql
${INSTALL_MAN} ${WRKSRC}/{README,USAGE} ${PREFIX}/share/doc/mod_auth_mysql
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $OpenBSD: mod_auth_mysql-enable,v 1.1.1.1 2002/09/15 19:28:36 jakob Exp $
MODULE=!!PREFIX!!/lib/mod_auth_mysql.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_auth_mysql module (${MODULE})"
exit 1
else
echo "Enabling MySQL Authentication module..."
/usr/sbin/apxs -i -a -n auth_mysql ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install of mod_auth_mysql, you need
to enable the module using the following command
${PREFIX}/sbin/mod_auth_mysql-enable
${PREFIX}/sbin/${MODAPACHE_ENABLE}
You should also read
${PREFIX}/share/doc/mod_auth_mysql/USAGE

View File

@ -1,7 +1,8 @@
@comment $OpenBSD: PLIST,v 1.3 2005/01/26 02:47:01 alek Exp $
lib/mod_auth_mysql.so
sbin/mod_auth_mysql-enable
@comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
sbin/${MODAPACHE_ENABLE}
share/doc/mod_auth_mysql/
share/doc/mod_auth_mysql/README
share/doc/mod_auth_mysql/USAGE
@unexec rm -f /usr/lib/apache/modules/mod_auth_mysql.so
@unexec-delete rm -f ${MODAPACHE_FINAL}

View File

@ -1,12 +1,9 @@
# $OpenBSD: Makefile,v 1.14 2006/11/12 23:28:42 jcs Exp $
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
SHARED_ONLY= Yes
# $OpenBSD: Makefile,v 1.15 2007/06/26 19:19:46 simon Exp $
DISTNAME= mod_auth_radius-1.5.7
PKGNAME= ${DISTNAME}p2
PKGNAME= ${DISTNAME}p3
CATEGORIES= www
MODULES+= apache-module
# Apache
PERMIT_PACKAGE_CDROM= Yes
@ -14,6 +11,10 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODAPACHE_NAME= radius_auth
MODAPACHE_ENABLE= mod_auth_radius-enable
MODAPACHE_MODULE= mod_auth_radius.so
COMMENT= "Apache RADIUS authentication module"
HOMEPAGE= http://www.freeradius.org/mod_auth_radius/
MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/
@ -25,17 +26,14 @@ WRKDIST= ${WRKDIR}/${DISTNAME}
do-build:
@cd ${WRKSRC}; /usr/sbin/apxs -c mod_auth_radius.c
@sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_auth_radius-enable \
> ${WRKBUILD}/mod_auth_radius-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_auth_radius
${INSTALL_DATA} ${WRKSRC}/mod_auth_radius.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_auth_radius-enable ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/httpd.conf \
${PREFIX}/share/examples/mod_auth_radius/httpd.conf-example
${INSTALL_DATA} ${WRKSRC}/htaccess \
${PREFIX}/share/examples/mod_auth_radius/htaccess-example
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $OpenBSD: mod_auth_radius-enable,v 1.1.1.1 2001/09/01 15:26:13 jcs Exp $
MODULE=!!PREFIX!!/lib/mod_auth_radius.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_auth_radius module (${MODULE})"
exit 1
else
echo "Enabling RADIUS Authentication module..."
/usr/sbin/apxs -i -a -n radius_auth ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install of mod_auth_radius, you need
to enable the module using the following command
${PREFIX}/sbin/mod_auth_radius-enable
${PREFIX}/sbin/${MODAPACHE_ENABLE}
Also, copy the following file into your Apache config:
${PREFIX}/share/examples/mod_auth_radius/httpd.conf-example

View File

@ -1,7 +1,8 @@
@comment $OpenBSD: PLIST,v 1.3 2005/02/07 12:11:09 alek Exp $
lib/mod_auth_radius.so
sbin/mod_auth_radius-enable
@comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
sbin/${MODAPACHE_ENABLE}
share/examples/mod_auth_radius/
share/examples/mod_auth_radius/htaccess-example
share/examples/mod_auth_radius/httpd.conf-example
@unexec rm -f /usr/lib/apache/modules/mod_auth_radius.so
@unexec-delete rm -f ${MODAPACHE_FINAL}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2004/12/11 13:29:21 alek Exp $
# $OpenBSD: Makefile,v 1.15 2007/06/26 19:19:46 simon Exp $
COMMENT= "Microsoft FrontPage Server extensions for Apache"
@ -6,7 +6,7 @@ ONLY_FOR_ARCHS= i386
VERSION= 1.6.2
DISTNAME= mod_frontpage_mirfak-${VERSION}
PKGNAME= mod_frontpage-${VERSION}
PKGNAME= mod_frontpage-${VERSION}p0
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mirfak/}
@ -14,6 +14,8 @@ HOMEPAGE= http://mirfak.sourceforge.net
MAINTAINER= Dan Harnett <danh@openbsd.org>
MODULES+= apache-module
# Apache
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
@ -23,6 +25,8 @@ WANTLIB= c
SEPARATE_BUILD= concurrent
MODAPACHE_NAME= frontpage
APXS= /usr/sbin/apxs
CC!= ${APXS} -q CC
CFLAGS!= ${APXS} -q CFLAGS
@ -50,14 +54,12 @@ do-build:
${CC} ${CFLAGS} ${DEF2} ${INC} -o ${WRKBUILD}/fpexec ${WRKSRC}/fpexec.c
${CC} ${CFLAGS} ${DEF2} ${INC} \
-o ${WRKBUILD}/fpstatic ${WRKSRC}/fpstatic.c
@sed 's,!!PREFIX!!,${PREFIX},' ${FILESDIR}/mod_frontpage-enable > \
${WRKBUILD}/mod_frontpage-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA} ${WRKBUILD}/mod_frontpage.so ${PREFIX}/lib/
${INSTALL_SCRIPT} ${WRKBUILD}/mod_frontpage-enable ${PREFIX}/sbin/
${INSTALL_PROGRAM} ${WRKBUILD}/fpexec ${PREFIX}/sbin/
${INSTALL_PROGRAM} ${WRKBUILD}/fpstatic ${PREFIX}/sbin/
@chown root:www ${PREFIX}/sbin/fpexec ${PREFIX}/sbin/fpstatic
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $OpenBSD: mod_frontpage-enable,v 1.3 2004/10/13 12:53:06 danh Exp $
MODULE=!!PREFIX!!/lib/mod_frontpage.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_frontpage module (${MODULE})"
exit 1
else
echo "Enabling Frontpage module..."
/usr/sbin/apxs -e -a -n frontpage ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install, you need to enable the module using the following
command
${PREFIX}/sbin/mod_frontpage-enable
${PREFIX}/sbin/${MODAPACHE_ENABLE}
If you already have Apache running on your machine, you should not use
"apachectl restart" - instead, you should fully stop and then restart

View File

@ -1,9 +1,9 @@
@comment $OpenBSD: PLIST,v 1.6 2004/10/13 12:56:25 danh Exp $
lib/mod_frontpage.so
@mode 0444
@sample /usr/lib/apache/modules/mod_frontpage.so
@comment $OpenBSD: PLIST,v 1.7 2007/06/26 19:19:46 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
@mode 4555
sbin/fpexec
@mode
sbin/fpstatic
sbin/mod_frontpage-enable
sbin/${MODAPACHE_ENABLE}
@unexec-delete rm -f ${MODAPACHE_FINAL}

View File

@ -1,24 +1,24 @@
# $OpenBSD: Makefile,v 1.7 2006/11/02 07:03:29 steven Exp $
# $OpenBSD: Makefile,v 1.8 2007/06/26 19:19:46 simon Exp $
COMMENT= "Apache module for finding the country of web requests"
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
SHARED_ONLY= Yes
DISTNAME= mod_geoip_1.2.6
PKGNAME= mod_geoip-1.2.6p0
PKGNAME= mod_geoip-1.2.6p1
CATEGORIES= www geo
HOMEPAGE= http://www.maxmind.com/app/mod_geoip
MASTER_SITES= http://www.maxmind.com/download/geoip/api/mod_geoip/
MODULES+= apache-module
# Apache Software License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODAPACHE_NAME= geoip
LIB_DEPENDS= GeoIP.>=4::net/GeoIP
FLAGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib
@ -30,14 +30,11 @@ APXS= /usr/sbin/apxs
do-build:
cd ${WRKSRC} && \
${APXS} -c -o mod_geoip.so ${FLAGS} -lGeoIP mod_geoip.c
@sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_geoip-enable \
> ${WRKBUILD}/mod_geoip-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA} ${WRKBUILD}/mod_geoip.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_geoip-enable ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_geoip
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mod_geoip
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $OpenBSD: mod_geoip-enable,v 1.1.1.1 2003/06/27 15:06:13 naddy Exp $
MODULE=!!PREFIX!!/lib/mod_geoip.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_geoip module (${MODULE})"
exit 1
else
echo "Enabling GeoIP module..."
/usr/sbin/apxs -i -a -n geoip ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install of mod_geoip, you need
to enable the module using the following command
${PREFIX}/sbin/mod_geoip-enable
${PREFIX}/sbin/${MODAPACHE_ENABLE}
If you already have Apache running on your machine,
you should not use "apachectl restart" - instead,

View File

@ -1,6 +1,7 @@
@comment $OpenBSD: PLIST,v 1.3 2005/02/05 10:56:29 alek Exp $
lib/mod_geoip.so
sbin/mod_geoip-enable
@comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
sbin/${MODAPACHE_ENABLE}
share/doc/mod_geoip/
share/doc/mod_geoip/README
@unexec rm -f /usr/lib/apache/modules/mod_geoip.so
@unexec-delete rm -f ${MODAPACHE_FINAL}

View File

@ -1,21 +1,18 @@
# $OpenBSD: Makefile,v 1.9 2005/01/26 02:24:06 alek Exp $
# $OpenBSD: Makefile,v 1.10 2007/06/26 19:19:46 simon Exp $
COMMENT= "transparently compress Apache output"
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
V= 1.3.26.1a
DISTNAME= mod_gzip-${V}
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mod-gzip/}
EXTRACT_SUFX= .tgz
HOMEPAGE= http://www.schroepl.net/projekte/mod_gzip/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
MODULES+= apache-module
# Apache
PERMIT_PACKAGE_CDROM= Yes
@ -23,6 +20,8 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODAPACHE_NAME= gzip
SUBST_VARS= PKGNAME
NO_REGRESS= Yes
@ -34,13 +33,10 @@ HTML_DOCS= browser.htm cache.htm config.htm encoding.htm \
do-build:
cd ${WRKSRC} && /usr/sbin/apxs -Wc,"${CFLAGS}" -c mod_gzip.c \
mod_gzip_debug.c mod_gzip_compress.c -o ${WRKBUILD}/mod_gzip.so
sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_gzip-enable > ${WRKBUILD}/mod_gzip-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_gzip
${INSTALL_DATA} ${WRKBUILD}/mod_gzip.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_gzip-enable ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/docs/mod_gzip.conf.sample \
${PREFIX}/share/examples/mod_gzip
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_gzip
@ -48,5 +44,6 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/docs/manual/english/${i} \
${PREFIX}/share/doc/mod_gzip
.endfor
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $OpenBSD: mod_gzip-enable,v 1.2 2001/08/13 17:16:00 brad Exp $
MODULE=!!PREFIX!!/lib/mod_gzip.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_gzip module (${MODULE})"
exit 1
else
echo "Enabling GZip module..."
/usr/sbin/apxs -i -a -n gzip ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install of ${PKGNAME}, you need
to enable the module using the following command
${PREFIX}/sbin/mod_gzip-enable
${PREFIX}/sbin/${MODAPACHE_ENABLE}
Also, copy the following file into your Apache config:
${PREFIX}/share/examples/mod_gzip/mod_gzip.conf.sample

View File

@ -1,6 +1,7 @@
@comment $OpenBSD: PLIST,v 1.5 2005/01/26 02:24:06 alek Exp $
lib/mod_gzip.so
sbin/mod_gzip-enable
@comment $OpenBSD: PLIST,v 1.6 2007/06/26 19:19:46 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
sbin/${MODAPACHE_ENABLE}
share/doc/mod_gzip/
share/doc/mod_gzip/browser.htm
share/doc/mod_gzip/cache.htm
@ -18,4 +19,4 @@ share/doc/mod_gzip/valid-xhtml11.png
share/doc/mod_gzip/versions.htm
share/examples/mod_gzip/
share/examples/mod_gzip/mod_gzip.conf.sample
@unexec rm -f /usr/lib/apache/modules/mod_gzip.so
@unexec-delete rm -f ${MODAPACHE_FINAL}

View File

@ -1,18 +1,15 @@
# $OpenBSD: Makefile,v 1.4 2005/08/17 16:10:05 espie Exp $
# $OpenBSD: Makefile,v 1.5 2007/06/26 19:19:46 simon Exp $
COMMENT= "Apache module for implementing a framework for doing design"
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
DISTNAME= mod_layout-3.2
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= www
HOMEPAGE= http://software.tangent.org/projects.pl?view=mod_layout
MASTER_SITES= http://software.tangent.org/download/ \
ftp://ftp.tangent.org/pub/apache/
MODULES+= apache-module
# Apache Software License
PERMIT_PACKAGE_CDROM= Yes
@ -20,20 +17,19 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODAPACHE_NAME= layout
NO_REGRESS= Yes
post-build:
@sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_layout-enable \
> ${WRKBUILD}/mod_layout-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA} ${WRKBUILD}/mod_layout.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_layout-enable ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_layout
${INSTALL_DATA} ${WRKSRC}/faq.html ${PREFIX}/share/doc/mod_layout
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_layout/directives
${INSTALL_DATA} ${WRKSRC}/directives/* \
${PREFIX}/share/doc/mod_layout/directives
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $OpenBSD: mod_layout-enable,v 1.1.1.1 2003/05/25 19:57:56 naddy Exp $
MODULE=!!PREFIX!!/lib/mod_layout.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_layout module (${MODULE})"
exit 1
else
echo "Enabling Layout module..."
/usr/sbin/apxs -i -a -n layout ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install of mod_layout, you need
to enable the module using the following command
${PREFIX}/sbin/mod_layout-enable
${PREFIX}/sbin/${MODAPACHE_ENABLE}
If you already have Apache running on your machine,
you should not use "apachectl restart" - instead,

View File

@ -1,6 +1,7 @@
@comment $OpenBSD: PLIST,v 1.3 2004/10/13 10:16:31 xsa Exp $
lib/mod_layout.so
sbin/mod_layout-enable
@comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
sbin/${MODAPACHE_ENABLE}
share/doc/mod_layout/
share/doc/mod_layout/directives/
share/doc/mod_layout/directives/Layout.html
@ -38,4 +39,4 @@ share/doc/mod_layout/directives/LayoutProxy.html
share/doc/mod_layout/directives/LayoutReplaceTags.html
share/doc/mod_layout/directives/LayoutTimeFormat.html
share/doc/mod_layout/faq.html
@extra /usr/lib/apache/modules/mod_layout.so
@unexec-delete rm -f ${MODAPACHE_FINAL}

View File

@ -1,17 +1,15 @@
# $OpenBSD: Makefile,v 1.8 2006/08/04 00:10:42 espie Exp $
# $OpenBSD: Makefile,v 1.9 2007/06/26 19:19:46 simon Exp $
COMMENT= "Apache module for logging to an SQL database"
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
SHARED_ONLY= Yes
DISTNAME= mod_log_sql-1.18
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= www
HOMEPAGE= http://www.outoforder.cc/projects/apache/mod_log_sql/
MODULES+= apache-module
# Artistic
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
@ -19,6 +17,10 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= z
MODAPACHE_NAME= sql_log
MODAPACHE_ENABLE= mod_log_sql-enable
MODAPACHE_MODULE= mod_log_sql.so
MASTER_SITES= http://www.outoforder.cc/downloads/mod_log_sql/
EXTRACT_SUFX= .tar.bz2
@ -36,13 +38,9 @@ FLAGS= -I${LOCALBASE}/include/mysql -L${LOCALBASE}/lib \
do-build:
cd ${WRKBUILD} && \
${APXS} -c -o mod_log_sql.so ${FLAGS} mod_log_sql.c
@sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_log_sql-enable \
> ${WRKBUILD}/mod_log_sql-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA} ${WRKBUILD}/mod_log_sql.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_log_sql-enable ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_log_sql
for p in ${EXAMPLES}; do \
${INSTALL_DATA} ${WRKSRC}/$$p \
@ -51,5 +49,6 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_log_sql
${INSTALL_DATA} ${WRKSRC}/Documentation/HTML/* \
${PREFIX}/share/doc/mod_log_sql
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $OpenBSD: mod_log_sql-enable,v 1.1.1.1 2003/05/26 15:19:32 naddy Exp $
MODULE=!!PREFIX!!/lib/mod_log_sql.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_log_sql module (${MODULE})"
exit 1
else
echo "Enabling Log SQL module..."
/usr/sbin/apxs -i -a -n sql_log ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install of mod_log_sql, you need
to enable the module using the following command
${PREFIX}/sbin/mod_log_sql-enable
${PREFIX}/sbin/${MODAPACHE_ENABLE}
If you already have Apache running on your machine,
you should not use "apachectl restart" - instead,

View File

@ -1,6 +1,7 @@
@comment $OpenBSD: PLIST,v 1.3 2005/02/05 10:49:49 alek Exp $
lib/mod_log_sql.so
sbin/mod_log_sql-enable
@comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
sbin/${MODAPACHE_ENABLE}
share/doc/mod_log_sql/
share/doc/mod_log_sql/contents.png
share/doc/mod_log_sql/documentation.css
@ -24,4 +25,4 @@ share/doc/mod_log_sql/up_g.png
share/examples/mod_log_sql/
share/examples/mod_log_sql/create_tables.sql
share/examples/mod_log_sql/make_combined_log.pl
@unexec rm -f /usr/lib/apache/modules/mod_log_sql.so
@unexec-delete rm -f ${MODAPACHE_FINAL}

View File

@ -1,19 +1,17 @@
# $OpenBSD: Makefile,v 1.8 2006/08/04 00:10:42 espie Exp $
# $OpenBSD: Makefile,v 1.9 2007/06/26 19:19:46 simon Exp $
COMMENT= "turns Apache into an MP3 or Ogg streaming server"
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
DISTNAME= mod_mp3-0.39
PKGNAME= ${DISTNAME}p1
PKGNAME= ${DISTNAME}p2
CATEGORIES= www audio
MASTER_SITES= http://download.tangent.org/ \
ftp://ftp.tangent.org/pub/apache/
HOMEPAGE= http://tangent.org/
MODULES+= apache-module
# Apache
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
@ -23,6 +21,9 @@ PERMIT_DISTFILES_FTP= Yes
FLAVORS= mysql postgresql
FLAVOR?=
MODAPACHE_NAME= mp3
MODAPACHE_LOCATION= ${WRKBUILD}/src
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-apxs=/usr/sbin/apxs \
--with-perl=/usr/bin/perl
@ -52,13 +53,9 @@ EXAMPLES+= ${EXAMPLESRC}/pgsql_schema
.endif
post-build:
@sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_mp3-enable \
> ${WRKBUILD}/mod_mp3-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA} ${WRKBUILD}/src/mod_mp3.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_mp3-enable ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_mp3
${INSTALL_DATA} ${WRKSRC}/faq.html ${PREFIX}/share/doc/mod_mp3
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_mp3
@ -66,5 +63,6 @@ do-install:
.if defined(EXAMPLES)
${INSTALL_DATA} ${EXAMPLES} ${PREFIX}/share/examples/mod_mp3
.endif
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $OpenBSD: mod_mp3-enable,v 1.1.1.1 2003/05/20 01:57:18 naddy Exp $
MODULE=!!PREFIX!!/lib/mod_mp3.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_mp3 module (${MODULE})"
exit 1
else
echo "Enabling MP3 module..."
/usr/sbin/apxs -i -a -n mp3 ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install of mod_mp3, you need
to enable the module by using the following command
${PREFIX}/sbin/mod_mp3-enable
${PREFIX}/sbin/${MODAPACHE_ENABLE}
Also, copy the following file into your Apache config
directory:

View File

@ -1,10 +1,11 @@
@comment $OpenBSD: PLIST,v 1.3 2005/01/26 00:08:45 alek Exp $
lib/mod_mp3.so
sbin/mod_mp3-enable
@comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
sbin/${MODAPACHE_ENABLE}
share/doc/mod_mp3/
share/doc/mod_mp3/faq.html
share/examples/mod_mp3/
share/examples/mod_mp3/mp3.conf
%%mysql%%
%%postgresql%%
@unexec rm -f /usr/lib/apache/modules/mod_mp3.so
@unexec-delete rm -f ${MODAPACHE_FINAL}

View File

@ -1,18 +1,21 @@
# $OpenBSD: Makefile,v 1.19 2007/05/04 08:43:05 bernd Exp $
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
SHARED_ONLY= Yes
# $OpenBSD: Makefile,v 1.20 2007/06/26 19:19:46 simon Exp $
COMMENT= "module that embeds a Perl interpreter into Apache"
DISTNAME= mod_perl-1.30
PKGNAME= ${DISTNAME}p0
CATEGORIES= www perl5
MASTER_SITES= http://perl.apache.org/dist/ \
${MASTER_SITE_PERL_CPAN:=Apache/}
HOMEPAGE= http://perl.apache.org/
MODULES= apache-module
MODAPACHE_NAME= perl
MODAPACHE_LOCATION= ${WRKBUILD}/apaci
MODAPACHE_FILE= ${MODAPACHE_LOCATION}/libperl.so
# Apache
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
@ -30,14 +33,12 @@ CONFIGURE_ARGS= USE_APXS="1" EVERYTHING="1" WITH_APXS="/usr/sbin/apxs"
INSTALL_TARGET= pure_install doc_install
post-build:
@sed -e s#!!PREFIX!!#${PREFIX}#g \
< ${FILESDIR}/mod_perl-enable > ${WRKBUILD}/mod_perl-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_perl
${INSTALL_DATA} ${WRKBUILD}/apaci/libperl.so ${PREFIX}/lib/mod_perl.so
${INSTALL_DATA} ${WRKSRC}/htdocs/manual/mod/* \
${PREFIX}/share/doc/mod_perl
${INSTALL_SCRIPT} ${WRKBUILD}/mod_perl-enable ${PREFIX}/sbin
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $OpenBSD: mod_perl-enable,v 1.4 2001/08/13 17:16:00 brad Exp $
MODULE=!!PREFIX!!/lib/mod_perl.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_perl module (${MODULE})"
exit 1
else
echo "Enabling Perl module..."
/usr/sbin/apxs -i -a -n perl ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install of ${PKGNAME}, you need
to enable the module using the following command
${PREFIX}/sbin/mod_perl-enable
${PREFIX}/sbin/${MODAPACHE_ENABLE}
If you already have Apache running on your machine,
you should not use "apachectl restart" - instead,

View File

@ -1,5 +1,6 @@
@comment $OpenBSD: PLIST,v 1.18 2007/05/04 08:43:05 bernd Exp $
lib/mod_perl.so
@comment $OpenBSD: PLIST,v 1.19 2007/06/26 19:19:46 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
${P5ARCH}/
${P5ARCH}/Apache/
${P5ARCH}/Apache.pm
@ -109,7 +110,7 @@ ${P5ARCH}/mod_perl_tuning.pod
@man man/man3p/mod_perl_method_handlers.3p
@man man/man3p/mod_perl_traps.3p
@man man/man3p/mod_perl_tuning.3p
sbin/mod_perl-enable
sbin/${MODAPACHE_ENABLE}
share/doc/mod_perl/
share/doc/mod_perl/mod_perl.html
@unexec rm -f /usr/lib/apache/modules/mod_perl.so
@unexec-delete rm -f ${MODAPACHE_FINAL}

View File

@ -1,18 +1,15 @@
# $OpenBSD: Makefile,v 1.4 2005/08/17 16:10:05 espie Exp $
# $OpenBSD: Makefile,v 1.5 2007/06/26 19:19:46 simon Exp $
COMMENT= "Apache module that provides randomized services"
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
DISTNAME= mod_random-1.4
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= www
HOMEPAGE= http://software.tangent.org/projects.pl?view=mod_random
MASTER_SITES= http://software.tangent.org/download/ \
ftp://ftp.tangent.org/pub/apache/
MODULES+= apache-module
# BSD
PERMIT_PACKAGE_CDROM= Yes
@ -20,20 +17,19 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODAPACHE_NAME= random
NO_REGRESS= Yes
APXS= /usr/sbin/apxs
do-build:
cd ${WRKSRC} && \
${APXS} -c -o mod_random.so mod_random.c
@sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_random-enable \
> ${WRKBUILD}/mod_random-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA} ${WRKBUILD}/mod_random.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_random-enable ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_random
${INSTALL_DATA} ${WRKSRC}/faq.html ${PREFIX}/share/doc/mod_random
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $OpenBSD: mod_random-enable,v 1.1.1.1 2003/05/26 14:24:11 naddy Exp $
MODULE=!!PREFIX!!/lib/mod_random.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_random module (${MODULE})"
exit 1
else
echo "Enabling Random module..."
/usr/sbin/apxs -i -a -n random ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install of mod_random, you need
to enable the module using the following command
${PREFIX}/sbin/mod_random-enable
${PREFIX}/sbin/${MODAPACHE_ENABLE}
If you already have Apache running on your machine,
you should not use "apachectl restart" - instead,

View File

@ -1,6 +1,7 @@
@comment $OpenBSD: PLIST,v 1.3 2004/10/13 10:08:56 xsa Exp $
lib/mod_random.so
sbin/mod_random-enable
@comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
sbin/${MODAPACHE_ENABLE}
share/doc/mod_random/
share/doc/mod_random/faq.html
@extra /usr/lib/apache/modules/mod_random.so
@unexec-delete rm -f ${MODAPACHE_FINAL}

View File

@ -1,14 +1,10 @@
# $OpenBSD: Makefile,v 1.14 2006/04/17 14:58:02 sturm Exp $
# $OpenBSD: Makefile,v 1.15 2007/06/26 19:19:46 simon Exp $
COMMENT= "Web intrusion detection and prevention engine"
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
SHARED_ONLY= Yes
VER= 1.9.3
DISTNAME= modsecurity-apache_${VER}
PKGNAME= modsecurity-apache-${VER}
PKGNAME= modsecurity-apache-${VER}p0
CATEGORIES= www
@ -17,12 +13,16 @@ MASTER_SITES0= ${MASTER_SITE_SOURCEFORGE:=mod-security/}
HOMEPAGE= http://www.modsecurity.org/
MODULES+= apache-module
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODAPACHE_NAME= security
NO_REGRESS= Yes
DOCS= CHANGES INSTALL LICENSE README doc/modsecurity-manual.pdf
@ -31,18 +31,16 @@ SUBST_VARS= PKGNAME
do-build:
cd ${WRKSRC}/apache1 && /usr/sbin/apxs -Wc,"${CFLAGS}" -c \
mod_security.c -o ${WRKBUILD}/mod_security.so
sed 's,!!PREFIX!!,${PREFIX},' < ${FILESDIR}/mod_security-enable \
> ${WRKBUILD}/mod_security-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_security
${INSTALL_DATA} ${WRKBUILD}/mod_security.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_security-enable ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/httpd.conf.example-* \
${PREFIX}/share/examples/mod_security
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_security
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/mod_security
.endfor
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $OpenBSD: mod_security-enable,v 1.1.1.1 2003/11/19 01:33:26 david Exp $
MODULE=!!PREFIX!!/lib/mod_security.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_security module (${MODULE})"
exit 1
else
echo "Enabling security module..."
/usr/sbin/apxs -i -a -n security ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install of ${PKGNAME}, you need
to enable the module using the following command
${PREFIX}/sbin/mod_security-enable
${PREFIX}/sbin/${MODAPACHE_ENABLE}
The manual is found at ${PREFIX}/share/doc/mod_security.

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2004/09/15 18:49:50 espie Exp $
lib/mod_security.so

View File

@ -1,5 +1,7 @@
@comment $OpenBSD: PLIST,v 1.11 2006/04/17 14:58:02 sturm Exp $
sbin/mod_security-enable
@comment $OpenBSD: PLIST,v 1.12 2007/06/26 19:19:46 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
sbin/${MODAPACHE_ENABLE}
share/doc/mod_security/
share/doc/mod_security/CHANGES
share/doc/mod_security/INSTALL
@ -9,4 +11,4 @@ share/doc/mod_security/modsecurity-manual.pdf
share/examples/mod_security/
share/examples/mod_security/httpd.conf.example-minimal
%%SHARED%%
@unexec rm -f /usr/lib/apache/modules/mod_security.so
@unexec-delete rm -f ${MODAPACHE_FINAL}

View File

@ -1,18 +1,15 @@
# $OpenBSD: Makefile,v 1.4 2005/08/17 16:10:05 espie Exp $
# $OpenBSD: Makefile,v 1.5 2007/06/26 19:19:46 simon Exp $
COMMENT= "Apache module designed to replace text/plain handler"
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
DISTNAME= mod_text2html-1.0
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= www
HOMEPAGE= http://software.tangent.org/projects.pl?view=mod_text2html
MASTER_SITES= http://software.tangent.org/download/ \
ftp://ftp.tangent.org/pub/apache/
MODULES+= apache-module
# Apache Software License
PERMIT_PACKAGE_CDROM= Yes
@ -20,6 +17,8 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODAPACHE_NAME= text2html
NO_REGRESS= Yes
APXS= /usr/sbin/apxs
@ -27,12 +26,9 @@ APXS= /usr/sbin/apxs
do-build:
cd ${WRKBUILD} && \
${APXS} -c -o mod_text2html.so mod_text2html.c
@sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_text2html-enable \
> ${WRKBUILD}/mod_text2html-enable
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA} ${WRKBUILD}/mod_text2html.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_text2html-enable ${PREFIX}/sbin
${MODAPACHE_INSTALL}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
#!/bin/sh
#
# $OpenBSD: mod_text2html-enable,v 1.1.1.1 2003/05/29 22:45:38 naddy Exp $
MODULE=!!PREFIX!!/lib/mod_text2html.so
if [ `id -u` -ne 0 ]; then
echo "You must be root to run this script."
exit
fi
if [ ! -f ${MODULE} ]; then
echo "Cannot find mod_text2html module (${MODULE})"
exit 1
else
echo "Enabling Layout module..."
/usr/sbin/apxs -i -a -n text2html ${MODULE}
fi

View File

@ -1,7 +1,7 @@
To finish the install of mod_text2html, you need
to enable the module using the following command
${PREFIX}/sbin/mod_text2html-enable
${PREFIX}/sbin/${MODAPACHE_ENABLE}
If you already have Apache running on your machine,
you should not use "apachectl restart" - instead,

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.2 2004/10/13 10:22:50 xsa Exp $
lib/mod_text2html.so
sbin/mod_text2html-enable
@extra /usr/lib/apache/modules/mod_text2html.so
@comment $OpenBSD: PLIST,v 1.3 2007/06/26 19:19:46 simon Exp $
lib/${MODAPACHE_MODULE}
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
sbin/${MODAPACHE_ENABLE}
@unexec-delete rm -f ${MODAPACHE_FINAL}