Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 10:31:44 +0100 (CET)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35627: Update Port: mod_tsunami to 1.1 (take maintainership)
Message-ID:  <200203070931.g279Viw02923@vaio.alexdupre.com>

next in thread | raw e-mail | index | archive | help

>Number:         35627
>Category:       ports
>Synopsis:       Update Port: mod_tsunami to 1.1 (take maintainership)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 07 01:40:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alex Dupre
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD vaio.alexdupre.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Feb 3 15:53:42 CET 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO2002 i386


	
>Description:
Updated www/mod_tsunami port, an apache module which dynamically
limits a site's slot usage.
	
>How-To-Repeat:
	
>Fix:

	

--- mod_tsunami.diff begins here ---
diff -ruN mod_tsunami.orig/Makefile mod_tsunami/Makefile
--- mod_tsunami.orig/Makefile	Thu Mar  7 09:43:50 2002
+++ mod_tsunami/Makefile	Thu Mar  7 10:24:45 2002
@@ -6,22 +6,33 @@
 #
 
 PORTNAME=	mod_tsunami
-PORTVERSION=	1.0
+PORTVERSION=	1.1
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	mod-tsunami
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sysadmin@alexdupre.com
 
 BUILD_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13
 RUN_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13
 
 APXS?=		${LOCALBASE}/sbin/apxs
 
+DOCS=		AUTHORS Changelog INSTALL LICENSE README
+
 do-build:
-	@cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
+	@cd ${WRKSRC} && ${APXS} -c mod_tsunami.c
 
 do-install:
-	${APXS} -i -A -n ${PORTNAME:S/_//g} ${WRKSRC}/${PORTNAME}.so
+	${APXS} -i -A -n tsunami ${WRKSRC}/mod_tsunami.so
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for f in ${DOCS}
+	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+post-install:
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -ruN mod_tsunami.orig/distinfo mod_tsunami/distinfo
--- mod_tsunami.orig/distinfo	Thu Mar  7 09:43:50 2002
+++ mod_tsunami/distinfo	Thu Mar  7 09:44:20 2002
@@ -1 +1 @@
-MD5 (mod_tsunami-1.0.tar.gz) = cb37c43cf19db0186abf7870eb9ed335
+MD5 (mod_tsunami-1.1.tar.gz) = b9a969c536ec9eff5bad63045716559a
diff -ruN mod_tsunami.orig/pkg-descr mod_tsunami/pkg-descr
--- mod_tsunami.orig/pkg-descr	Thu Mar  7 09:43:50 2002
+++ mod_tsunami/pkg-descr	Thu Mar  7 10:10:39 2002
@@ -4,3 +4,6 @@
 want one site to use all the resources.
 
 WWW: http://mod-tsunami.sourceforge.net/
+
+- Alex Dupre
+sysadmin@alexdupre.com
diff -ruN mod_tsunami.orig/pkg-message mod_tsunami/pkg-message
--- mod_tsunami.orig/pkg-message	Thu Jan  1 01:00:00 1970
+++ mod_tsunami/pkg-message	Thu Mar  7 10:23:33 2002
@@ -0,0 +1,13 @@
+*****************************************************************************
+
+You have installed mod_tsunami.
+
+Use these directives in your httpd.conf:
+
+TsunamiActive		On/Off
+TsunamiMaxConnections	number_of_maximum_slots_per_web_directory
+
+When the value of TsunamiMaxConnections is set to '0' (default behaviour),
+mod_tsunami doesn't reject any request.
+
+*****************************************************************************
diff -ruN mod_tsunami.orig/pkg-plist mod_tsunami/pkg-plist
--- mod_tsunami.orig/pkg-plist	Thu Mar  7 09:43:50 2002
+++ mod_tsunami/pkg-plist	Thu Mar  7 10:16:22 2002
@@ -1,3 +1,9 @@
 libexec/apache/mod_tsunami.so
 @exec %D/sbin/apxs -e -A -n tsunami %D/%F
 @unexec %D/sbin/apxs -e -A -n tsunami %D/%F
+%%PORTDOCS%%share/doc/mod_tsunami/AUTHORS
+%%PORTDOCS%%share/doc/mod_tsunami/Changelog
+%%PORTDOCS%%share/doc/mod_tsunami/INSTALL
+%%PORTDOCS%%share/doc/mod_tsunami/LICENSE
+%%PORTDOCS%%share/doc/mod_tsunami/README
+%%PORTDOCS%%@dirrm share/doc/mod_tsunami
--- mod_tsunami.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203070931.g279Viw02923>