summaryrefslogtreecommitdiff
path: root/www/mod_roaming
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-08-11 15:51:04 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-08-11 15:51:04 +0000
commit99dc91818964372315487c2cb9c1f7739ed538a1 (patch)
tree99c8216e8f2b710170e558739c495bf2484d2d26 /www/mod_roaming
parentFix up 'extra' directories (diff)
Add mod_roaming, an Apache module that works as a Netscape Roaming
Access server.
Notes
Notes: svn path=/head/; revision=31534
Diffstat (limited to 'www/mod_roaming')
-rw-r--r--www/mod_roaming/Makefile35
-rw-r--r--www/mod_roaming/distinfo1
-rw-r--r--www/mod_roaming/files/patch-aa26
-rw-r--r--www/mod_roaming/pkg-comment1
-rw-r--r--www/mod_roaming/pkg-descr9
-rw-r--r--www/mod_roaming/pkg-message16
-rw-r--r--www/mod_roaming/pkg-plist8
7 files changed, 96 insertions, 0 deletions
diff --git a/www/mod_roaming/Makefile b/www/mod_roaming/Makefile
new file mode 100644
index 000000000000..ea37e431240b
--- /dev/null
+++ b/www/mod_roaming/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: mod_roaming
+# Date created: 11 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_roaming
+PORTVERSION= 1.0.2
+CATEGORIES= www
+MASTER_SITES= http://www.klomp.org/mod_roaming/
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
+
+APXS= ${LOCALBASE}/sbin/apxs
+
+DOCS= CHANGES INSTALL LICENSE README
+
+do-build:
+ @cd ${WRKSRC} && \
+ ${APXS} -c mod_roaming.c
+
+do-install:
+ ${APXS} -i -A -n roaming ${WRKSRC}/mod_roaming.so
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/mod_roaming
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_roaming/
+.endfor
+.endif
+ ${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/mod_roaming/distinfo b/www/mod_roaming/distinfo
new file mode 100644
index 000000000000..403e9da34c19
--- /dev/null
+++ b/www/mod_roaming/distinfo
@@ -0,0 +1 @@
+MD5 (mod_roaming-1.0.2.tar.gz) = 226c0ce2daf276072079590b5560f022
diff --git a/www/mod_roaming/files/patch-aa b/www/mod_roaming/files/patch-aa
new file mode 100644
index 000000000000..9f842075a9d6
--- /dev/null
+++ b/www/mod_roaming/files/patch-aa
@@ -0,0 +1,26 @@
+--- mod_roaming.c.orig Sun Jul 23 02:02:33 2000
++++ mod_roaming.c Fri Aug 11 21:55:18 2000
+@@ -275,11 +275,12 @@
+ FILE *f;
+ struct stat file_info;
+ int i, ret;
+- roaming_config_t *rc;
+ array_header *hdr_arr;
+ table_entry *headers;
+ size_t chars_read;
+
++ new_uri = NULL;
++
+ /* Checks whether the correct user has logged on */
+ /* to access these roaming files. */
+ user = ap_table_get(r->notes, "roaming-user");
+@@ -292,8 +293,7 @@
+ "Unauthenticated user has no access to roaming files for %s",
+ user);
+ ap_log_rerror(APLOG_MARK, APLOG_WARNING|APLOG_NOERRNO, r,
+- "Have you put a .htaccess file in the roaming directory?",
+- user);
++ "Have you put a .htaccess file in the roaming directory?");
+ return HTTP_FORBIDDEN;
+ } else if(strcmp(r->connection->user, user) != 0) {
+ ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, r,
diff --git a/www/mod_roaming/pkg-comment b/www/mod_roaming/pkg-comment
new file mode 100644
index 000000000000..17d3be0c71c7
--- /dev/null
+++ b/www/mod_roaming/pkg-comment
@@ -0,0 +1 @@
+An Apache module that works as a Netscape Roaming Access server
diff --git a/www/mod_roaming/pkg-descr b/www/mod_roaming/pkg-descr
new file mode 100644
index 000000000000..b3a33239fabd
--- /dev/null
+++ b/www/mod_roaming/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_roaming/pkg-message b/www/mod_roaming/pkg-message
new file mode 100644
index 000000000000..c1d3bf270a09
--- /dev/null
+++ b/www/mod_roaming/pkg-message
@@ -0,0 +1,16 @@
+************************************************************
+Please edit your apache.conf or httpd.conf to enable and
+setup this module, and you might also need to create an
+htpasswd file, if you introduce basic authentication.
+
+You can always refer to the useful documents held in
+${PREFIX}/share/doc/mod_roaming/, where ${PREFIX} is
+typically /usr/local.
+
+When it's done, do the following to take effect:
+
+ apachectl configtest (and correct any errors reported)
+ apachectl restart
+
+Enjoy!
+************************************************************
diff --git a/www/mod_roaming/pkg-plist b/www/mod_roaming/pkg-plist
new file mode 100644
index 000000000000..f086b12b6475
--- /dev/null
+++ b/www/mod_roaming/pkg-plist
@@ -0,0 +1,8 @@
+libexec/apache/mod_roaming.so
+@exec %D/sbin/apxs -e -A -n roaming %D/%F
+@unexec %D/sbin/apxs -e -A -n roaming %D/%F
+share/doc/mod_roaming/CHANGES
+share/doc/mod_roaming/INSTALL
+share/doc/mod_roaming/LICENSE
+share/doc/mod_roaming/README
+@dirrm share/doc/mod_roaming