diff options
author | knu <knu@FreeBSD.org> | 2000-08-11 15:51:04 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-11 15:51:04 +0000 |
commit | 2f2d3181268cccece7709eadd26040e29e168424 (patch) | |
tree | 88faf7dac30ca1b3cd0ee8a2a4a746e0b1b485b1 /www | |
parent | 29813ad859814a458d46eae597974fc428a4229e (diff) | |
download | FreeBSD-ports-2f2d3181268cccece7709eadd26040e29e168424.zip FreeBSD-ports-2f2d3181268cccece7709eadd26040e29e168424.tar.gz |
Add mod_roaming, an Apache module that works as a Netscape Roaming
Access server.
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-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 |
8 files changed, 97 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index c940748..c4af542 100644 --- a/www/Makefile +++ b/www/Makefile @@ -94,6 +94,7 @@ SUBDIR += mod_perl SUBDIR += mod_php3 SUBDIR += mod_php4 + SUBDIR += mod_roaming SUBDIR += momspider SUBDIR += mozilla SUBDIR += netscape-remote diff --git a/www/mod_roaming/Makefile b/www/mod_roaming/Makefile new file mode 100644 index 0000000..ea37e43 --- /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 0000000..403e9da --- /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 0000000..9f84207 --- /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 0000000..17d3be0 --- /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 0000000..b3a3323 --- /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 0000000..c1d3bf2 --- /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 0000000..f086b12 --- /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 |