mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
new port: mod_roaming2
mod_roaming has been updated for Apache2. This is a new port to add this new version of mod_roaming depending on Apache2. The existing mod_roaming is still necessary for Apache 1.3.x. PR: ports/38155 Submitted by: Vivek Khera <vivek@kciLink.com>
This commit is contained in:
parent
6f21bbfd7d
commit
79868225b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73317
@ -198,6 +198,7 @@
|
||||
SUBDIR += mod_python
|
||||
SUBDIR += mod_python3
|
||||
SUBDIR += mod_roaming
|
||||
SUBDIR += mod_roaming2
|
||||
SUBDIR += mod_ruby
|
||||
SUBDIR += mod_scgi
|
||||
SUBDIR += mod_sed
|
||||
|
40
www/mod_roaming2/Makefile
Normal file
40
www/mod_roaming2/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: mod_roaming2
|
||||
# Date created: 15 May 2002
|
||||
# Whom: Vivek Khera <vivek@khera.org>
|
||||
#
|
||||
# based on mod_roaming port
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mod_roaming2
|
||||
PORTVERSION= 2.0.0
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.klomp.org/mod_roaming/
|
||||
DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= vivek@kciLink.com
|
||||
|
||||
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache2
|
||||
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache2
|
||||
|
||||
APXS= ${LOCALBASE}/sbin/apxs
|
||||
|
||||
DOCS= CHANGES INSTALL LICENSE README
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && \
|
||||
${APXS} -c mod_roaming.c
|
||||
|
||||
do-install:
|
||||
${APXS} -i -n roaming ${WRKSRC}/mod_roaming.la
|
||||
${INSTALL_DATA} ${FILESDIR}/httpd.conf.${PORTNAME:S/2$//} ${PREFIX}/etc/apache2/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/${PORTNAME:S/2$//}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME:S/2$//}/
|
||||
.endfor
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/mod_roaming2/distinfo
Normal file
1
www/mod_roaming2/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (mod_roaming-2.0.0.tar.gz) = ad2d720d7ffd08c4e7f2e6979795237e
|
20
www/mod_roaming2/files/httpd.conf.mod_roaming
Normal file
20
www/mod_roaming2/files/httpd.conf.mod_roaming
Normal file
@ -0,0 +1,20 @@
|
||||
#
|
||||
# Example configuration for the mod_roaming module
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/mod_roaming2/files/Attic/httpd.conf.mod_roaming,v 1.1 2003-01-17 07:52:32 edwin Exp $
|
||||
#
|
||||
|
||||
LoadModule roaming_module libexec/apache/mod_roaming.so
|
||||
|
||||
AddModule mod_roaming.c
|
||||
|
||||
<IfModule mod_roaming.c>
|
||||
RoamingAlias /roaming /usr/local/etc/apache/roaming
|
||||
|
||||
<Location /roaming>
|
||||
AuthUserFile /usr/local/etc/apache/roaming-htpasswd
|
||||
AuthType Basic
|
||||
AuthName "Roaming Access"
|
||||
require valid-user
|
||||
</Location>
|
||||
</IfModule>
|
1
www/mod_roaming2/pkg-comment
Normal file
1
www/mod_roaming2/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
An Apache module that works as a Netscape Roaming Access server
|
9
www/mod_roaming2/pkg-descr
Normal file
9
www/mod_roaming2/pkg-descr
Normal 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/
|
18
www/mod_roaming2/pkg-message
Normal file
18
www/mod_roaming2/pkg-message
Normal file
@ -0,0 +1,18 @@
|
||||
************************************************************
|
||||
Please edit your Apache configuration file to enable and set
|
||||
up this module. You may also need to create an htpasswd
|
||||
file if you are going to use basic authentication.
|
||||
|
||||
Look at the file ${PREFIX}/etc/apache/httpd.conf.mod_roaming
|
||||
and the documents held in ${PREFIX}/share/doc/mod_roaming/
|
||||
for indications on what to do.
|
||||
|
||||
(${PREFIX} is typically /usr/local)
|
||||
|
||||
When it's all set up, do the following to take effect:
|
||||
|
||||
apachectl configtest (and correct any errors reported)
|
||||
apachectl restart
|
||||
|
||||
Enjoy!
|
||||
************************************************************
|
7
www/mod_roaming2/pkg-plist
Normal file
7
www/mod_roaming2/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
etc/apache2/httpd.conf.mod_roaming
|
||||
libexec/apache2/mod_roaming.so
|
||||
%%PORTDOCS%%share/doc/mod_roaming/CHANGES
|
||||
%%PORTDOCS%%share/doc/mod_roaming/INSTALL
|
||||
%%PORTDOCS%%share/doc/mod_roaming/LICENSE
|
||||
%%PORTDOCS%%share/doc/mod_roaming/README
|
||||
%%PORTDOCS%%@dirrm share/doc/mod_roaming
|
Loading…
Reference in New Issue
Block a user