aboutsummaryrefslogtreecommitdiff
path: root/www/mod_tsunami
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2002-03-13 00:27:30 +0000
committerAde Lovett <ade@FreeBSD.org>2002-03-13 00:27:30 +0000
commite0e39fa1ee90b15351653682e8c6381eecec266e (patch)
treedc50738c9fd09a8370e663ee7af5cdea24d1b3a5 /www/mod_tsunami
parent50812c2c1c2706238a8673ff6fcb043ca3c5d3ff (diff)
downloadports-e0e39fa1ee90b15351653682e8c6381eecec266e.tar.gz
ports-e0e39fa1ee90b15351653682e8c6381eecec266e.zip
Notes
Diffstat (limited to 'www/mod_tsunami')
-rw-r--r--www/mod_tsunami/Makefile19
-rw-r--r--www/mod_tsunami/distinfo2
-rw-r--r--www/mod_tsunami/pkg-descr3
-rw-r--r--www/mod_tsunami/pkg-message13
-rw-r--r--www/mod_tsunami/pkg-plist6
5 files changed, 38 insertions, 5 deletions
diff --git a/www/mod_tsunami/Makefile b/www/mod_tsunami/Makefile
index 24ffcdb854ef..067899d72b96 100644
--- a/www/mod_tsunami/Makefile
+++ b/www/mod_tsunami/Makefile
@@ -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 --git a/www/mod_tsunami/distinfo b/www/mod_tsunami/distinfo
index 6dc0e0a0ed6d..dbb7b65aae5b 100644
--- a/www/mod_tsunami/distinfo
+++ b/www/mod_tsunami/distinfo
@@ -1 +1 @@
-MD5 (mod_tsunami-1.0.tar.gz) = cb37c43cf19db0186abf7870eb9ed335
+MD5 (mod_tsunami-1.1.tar.gz) = b9a969c536ec9eff5bad63045716559a
diff --git a/www/mod_tsunami/pkg-descr b/www/mod_tsunami/pkg-descr
index c6b5b115d40a..f06d7c6c479f 100644
--- a/www/mod_tsunami/pkg-descr
+++ b/www/mod_tsunami/pkg-descr
@@ -4,3 +4,6 @@ It is useful if you provide home pages hosting, and don't
want one site to use all the resources.
WWW: http://mod-tsunami.sourceforge.net/
+
+- Alex Dupre
+sysadmin@alexdupre.com
diff --git a/www/mod_tsunami/pkg-message b/www/mod_tsunami/pkg-message
new file mode 100644
index 000000000000..41eca4428a69
--- /dev/null
+++ b/www/mod_tsunami/pkg-message
@@ -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 --git a/www/mod_tsunami/pkg-plist b/www/mod_tsunami/pkg-plist
index fb97495c59b3..6372157099d5 100644
--- a/www/mod_tsunami/pkg-plist
+++ b/www/mod_tsunami/pkg-plist
@@ -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