diff options
author | knu <knu@FreeBSD.org> | 2000-08-11 23:51:04 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-11 23:51:04 +0800 |
commit | 2f2d3181268cccece7709eadd26040e29e168424 (patch) | |
tree | 88faf7dac30ca1b3cd0ee8a2a4a746e0b1b485b1 /www/mod_roaming | |
parent | 29813ad859814a458d46eae597974fc428a4229e (diff) | |
download | freebsd-ports-gnome-2f2d3181268cccece7709eadd26040e29e168424.tar.gz freebsd-ports-gnome-2f2d3181268cccece7709eadd26040e29e168424.tar.zst freebsd-ports-gnome-2f2d3181268cccece7709eadd26040e29e168424.zip |
Add mod_roaming, an Apache module that works as a Netscape Roaming
Access server.
Diffstat (limited to 'www/mod_roaming')
-rw-r--r-- | www/mod_roaming/Makefile | 35 | ||||
-rw-r--r-- | www/mod_roaming/distinfo | 1 | ||||
-rw-r--r-- | www/mod_roaming/files/patch-aa | 26 | ||||
-rw-r--r-- | www/mod_roaming/pkg-comment | 1 | ||||
-rw-r--r-- | www/mod_roaming/pkg-descr | 9 | ||||
-rw-r--r-- | www/mod_roaming/pkg-message | 16 | ||||
-rw-r--r-- | www/mod_roaming/pkg-plist | 8 |
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 |