diff options
author | edwin <edwin@FreeBSD.org> | 2003-01-17 15:52:32 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-01-17 15:52:32 +0800 |
commit | 6f1d1e7dea28b1a132368acf7add8284c3229599 (patch) | |
tree | 2de576ed87254b9438db3cc8409d85ea6db1b03c | |
parent | 3b2c2d745f46ebede98283ce3c67c8714961fd9d (diff) | |
download | freebsd-ports-gnome-6f1d1e7dea28b1a132368acf7add8284c3229599.tar.gz freebsd-ports-gnome-6f1d1e7dea28b1a132368acf7add8284c3229599.tar.zst freebsd-ports-gnome-6f1d1e7dea28b1a132368acf7add8284c3229599.zip |
new port: mod_roaming2
mod_roaming has been updated for Apache2. This is a new
port to add this new version of mod_roaming depending on
Apache2. The existing mod_roaming is still necessary for
Apache 1.3.x.
PR: ports/38155
Submitted by: Vivek Khera <vivek@kciLink.com>
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mod_roaming2/Makefile | 40 | ||||
-rw-r--r-- | www/mod_roaming2/distinfo | 1 | ||||
-rw-r--r-- | www/mod_roaming2/files/httpd.conf.mod_roaming | 20 | ||||
-rw-r--r-- | www/mod_roaming2/pkg-comment | 1 | ||||
-rw-r--r-- | www/mod_roaming2/pkg-descr | 9 | ||||
-rw-r--r-- | www/mod_roaming2/pkg-message | 18 | ||||
-rw-r--r-- | www/mod_roaming2/pkg-plist | 7 |
8 files changed, 97 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 682d7030e4c4..0719973acf96 100644 --- a/www/Makefile +++ b/www/Makefile @@ -198,6 +198,7 @@ SUBDIR += mod_python SUBDIR += mod_python3 SUBDIR += mod_roaming + SUBDIR += mod_roaming2 SUBDIR += mod_ruby SUBDIR += mod_scgi SUBDIR += mod_sed diff --git a/www/mod_roaming2/Makefile b/www/mod_roaming2/Makefile new file mode 100644 index 000000000000..347f6cac47bf --- /dev/null +++ b/www/mod_roaming2/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: mod_roaming2 +# Date created: 15 May 2002 +# Whom: Vivek Khera <vivek@khera.org> +# +# based on mod_roaming port +# +# $FreeBSD$ +# + +PORTNAME= mod_roaming2 +PORTVERSION= 2.0.0 +CATEGORIES= www +MASTER_SITES= http://www.klomp.org/mod_roaming/ +DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION} + +MAINTAINER= vivek@kciLink.com + +BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache2 +RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache2 + +APXS= ${LOCALBASE}/sbin/apxs + +DOCS= CHANGES INSTALL LICENSE README + +do-build: + @cd ${WRKSRC} && \ + ${APXS} -c mod_roaming.c + +do-install: + ${APXS} -i -n roaming ${WRKSRC}/mod_roaming.la + ${INSTALL_DATA} ${FILESDIR}/httpd.conf.${PORTNAME:S/2$//} ${PREFIX}/etc/apache2/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/${PORTNAME:S/2$//} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME:S/2$//}/ +.endfor +.endif + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/mod_roaming2/distinfo b/www/mod_roaming2/distinfo new file mode 100644 index 000000000000..a913f2ffbc32 --- /dev/null +++ b/www/mod_roaming2/distinfo @@ -0,0 +1 @@ +MD5 (mod_roaming-2.0.0.tar.gz) = ad2d720d7ffd08c4e7f2e6979795237e diff --git a/www/mod_roaming2/files/httpd.conf.mod_roaming b/www/mod_roaming2/files/httpd.conf.mod_roaming new file mode 100644 index 000000000000..9c23164c0070 --- /dev/null +++ b/www/mod_roaming2/files/httpd.conf.mod_roaming @@ -0,0 +1,20 @@ +# +# Example configuration for the mod_roaming module +# +# $FreeBSD: /tmp/pcvs/ports/www/mod_roaming2/files/Attic/httpd.conf.mod_roaming,v 1.1 2003-01-17 07:52:32 edwin Exp $ +# + +LoadModule roaming_module libexec/apache/mod_roaming.so + +AddModule mod_roaming.c + +<IfModule mod_roaming.c> + RoamingAlias /roaming /usr/local/etc/apache/roaming + + <Location /roaming> + AuthUserFile /usr/local/etc/apache/roaming-htpasswd + AuthType Basic + AuthName "Roaming Access" + require valid-user + </Location> +</IfModule> diff --git a/www/mod_roaming2/pkg-comment b/www/mod_roaming2/pkg-comment new file mode 100644 index 000000000000..17d3be0c71c7 --- /dev/null +++ b/www/mod_roaming2/pkg-comment @@ -0,0 +1 @@ +An Apache module that works as a Netscape Roaming Access server diff --git a/www/mod_roaming2/pkg-descr b/www/mod_roaming2/pkg-descr new file mode 100644 index 000000000000..b3a33239fabd --- /dev/null +++ b/www/mod_roaming2/pkg-descr @@ -0,0 +1,9 @@ +mod_roaming is an Apache module that works as a Netscape Roaming +Access server for Netscape Communicator 4.5 or later. + +This allows you to store your Netscape Communicator 4.5 preferences, +bookmarks, address books, cookies etc. on the server so that you can +use (and update) the same settings from any Netscape Communicator 4.5 +that can access the server. + +WWW: http://www.klomp.org/mod_roaming/ diff --git a/www/mod_roaming2/pkg-message b/www/mod_roaming2/pkg-message new file mode 100644 index 000000000000..c700b771f874 --- /dev/null +++ b/www/mod_roaming2/pkg-message @@ -0,0 +1,18 @@ +************************************************************ +Please edit your Apache configuration file to enable and set +up this module. You may also need to create an htpasswd +file if you are going to use basic authentication. + +Look at the file ${PREFIX}/etc/apache/httpd.conf.mod_roaming +and the documents held in ${PREFIX}/share/doc/mod_roaming/ +for indications on what to do. + +(${PREFIX} is typically /usr/local) + +When it's all set up, do the following to take effect: + + apachectl configtest (and correct any errors reported) + apachectl restart + +Enjoy! +************************************************************ diff --git a/www/mod_roaming2/pkg-plist b/www/mod_roaming2/pkg-plist new file mode 100644 index 000000000000..c7fd6b1dc460 --- /dev/null +++ b/www/mod_roaming2/pkg-plist @@ -0,0 +1,7 @@ +etc/apache2/httpd.conf.mod_roaming +libexec/apache2/mod_roaming.so +%%PORTDOCS%%share/doc/mod_roaming/CHANGES +%%PORTDOCS%%share/doc/mod_roaming/INSTALL +%%PORTDOCS%%share/doc/mod_roaming/LICENSE +%%PORTDOCS%%share/doc/mod_roaming/README +%%PORTDOCS%%@dirrm share/doc/mod_roaming |