1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Add mod_roaming, an Apache module that works as a Netscape Roaming

Access server.
This commit is contained in:
Akinori MUSHA 2000-08-11 15:51:04 +00:00
parent b417a4fddb
commit 99dc918189
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31534
8 changed files with 97 additions and 0 deletions

View File

@ -94,6 +94,7 @@
SUBDIR += mod_perl
SUBDIR += mod_php3
SUBDIR += mod_php4
SUBDIR += mod_roaming
SUBDIR += momspider
SUBDIR += mozilla
SUBDIR += netscape-remote

35
www/mod_roaming/Makefile Normal file
View File

@ -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>

1
www/mod_roaming/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (mod_roaming-1.0.2.tar.gz) = 226c0ce2daf276072079590b5560f022

View File

@ -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,

View File

@ -0,0 +1 @@
An Apache module that works as a Netscape Roaming Access server

View File

@ -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/

View File

@ -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!
************************************************************

View File

@ -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