From 99dc91818964372315487c2cb9c1f7739ed538a1 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 11 Aug 2000 15:51:04 +0000 Subject: Add mod_roaming, an Apache module that works as a Netscape Roaming Access server. --- www/mod_roaming/Makefile | 35 +++++++++++++++++++++++++++++++++++ www/mod_roaming/distinfo | 1 + www/mod_roaming/files/patch-aa | 26 ++++++++++++++++++++++++++ www/mod_roaming/pkg-comment | 1 + www/mod_roaming/pkg-descr | 9 +++++++++ www/mod_roaming/pkg-message | 16 ++++++++++++++++ www/mod_roaming/pkg-plist | 8 ++++++++ 7 files changed, 96 insertions(+) create mode 100644 www/mod_roaming/Makefile create mode 100644 www/mod_roaming/distinfo create mode 100644 www/mod_roaming/files/patch-aa create mode 100644 www/mod_roaming/pkg-comment create mode 100644 www/mod_roaming/pkg-descr create mode 100644 www/mod_roaming/pkg-message create mode 100644 www/mod_roaming/pkg-plist (limited to 'www/mod_roaming') 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 +# +# $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 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 -- cgit v1.2.3