summaryrefslogtreecommitdiffstats
path: root/www/mod_roaming2
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-17 07:52:32 +0000
committeredwin <edwin@FreeBSD.org>2003-01-17 07:52:32 +0000
commit6f1d1e7dea28b1a132368acf7add8284c3229599 (patch)
tree2de576ed87254b9438db3cc8409d85ea6db1b03c /www/mod_roaming2
parent3b2c2d745f46ebede98283ce3c67c8714961fd9d (diff)
downloadFreeBSD-ports-6f1d1e7dea28b1a132368acf7add8284c3229599.zip
FreeBSD-ports-6f1d1e7dea28b1a132368acf7add8284c3229599.tar.gz
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>
Diffstat (limited to 'www/mod_roaming2')
-rw-r--r--www/mod_roaming2/Makefile40
-rw-r--r--www/mod_roaming2/distinfo1
-rw-r--r--www/mod_roaming2/files/httpd.conf.mod_roaming20
-rw-r--r--www/mod_roaming2/pkg-comment1
-rw-r--r--www/mod_roaming2/pkg-descr9
-rw-r--r--www/mod_roaming2/pkg-message18
-rw-r--r--www/mod_roaming2/pkg-plist7
7 files changed, 96 insertions, 0 deletions
diff --git a/www/mod_roaming2/Makefile b/www/mod_roaming2/Makefile
new file mode 100644
index 0000000..347f6ca
--- /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 0000000..a913f2f
--- /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 0000000..9c23164
--- /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 0000000..17d3be0
--- /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 0000000..b3a3323
--- /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 0000000..c700b77
--- /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 0000000..c7fd6b1
--- /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
OpenPOWER on IntegriCloud