diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-10-04 23:56:55 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-10-04 23:56:55 +0000 |
commit | 4d6092c4a2ca8733495c2172eed642681fb0edbb (patch) | |
tree | 26774d92f10469855630bf138113665f811c101e /www/flood | |
parent | Oops, clean up examples directory. (diff) |
Update to recent CVS snapshot.
Submitted by: max
Notes
Notes:
svn path=/head/; revision=90270
Diffstat (limited to 'www/flood')
-rw-r--r-- | www/flood/Makefile | 24 | ||||
-rw-r--r-- | www/flood/distinfo | 2 | ||||
-rw-r--r-- | www/flood/files/patch-flood_net.c | 11 | ||||
-rw-r--r-- | www/flood/pkg-plist | 6 |
4 files changed, 38 insertions, 5 deletions
diff --git a/www/flood/Makefile b/www/flood/Makefile index 22fa44dc9780..0c5e249a688c 100644 --- a/www/flood/Makefile +++ b/www/flood/Makefile @@ -6,11 +6,11 @@ # PORTNAME= flood -PORTVERSION= 0.20030108 +PORTVERSION= 0.20031002 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= kuriyama -DISTNAME= ${PORTNAME}-20030108 +DISTNAME= ${PORTNAME}-20031002 MAINTAINER= kuriyama@FreeBSD.org COMMENT= Profile-driven HTTP load tester @@ -20,13 +20,29 @@ LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 \ apr-0.9:${PORTSDIR}/devel/apr USE_AUTOCONF= yes +WANT_AUTOCONF_VER= 253 CONFIGURE_ARGS= --disable-shared CONFIGURE_ENV= LDFLAGS="-L${PREFIX}/lib" USE_GMAKE= yes +EX_SCRIPTS= analyze-relative analyze-relative-ramp +EX_DATA= flood.dtd relative-averages-time.awk round-robin-dynamic.xml \ + round-robin-example.xml round-robin-keepalive.xml \ + round-robin-relative-reports.xml round-robin-ssl.xml \ + round-robin-timed.xml round-robin.xml + post-install: @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_SCRIPT} ${WRKSRC}/examples/analyze-* ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/examples/r* ${EXAMPLESDIR} +.for f in ${EX_SCRIPTS} + @${INSTALL_SCRIPT} ${WRKSRC}/examples/$f ${EXAMPLESDIR} +.endfor +.for f in ${EX_DATA} + @${INSTALL_DATA} ${WRKSRC}/examples/$f ${EXAMPLESDIR} +.endfor +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR}/docbook + @${INSTALL_DATA} ${WRKSRC}/docs/README ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/docbook/* ${DOCSDIR}/docbook +.endif .include <bsd.port.mk> diff --git a/www/flood/distinfo b/www/flood/distinfo index 22db278f4e3b..d8b633cefa96 100644 --- a/www/flood/distinfo +++ b/www/flood/distinfo @@ -1 +1 @@ -MD5 (flood-20030108.tar.gz) = 5bde0c8e0cb7a37f9a7c33f8da66f8a9 +MD5 (flood-20031002.tar.gz) = ee174fe0e14da3f58f10ac80ea6b547a diff --git a/www/flood/files/patch-flood_net.c b/www/flood/files/patch-flood_net.c new file mode 100644 index 000000000000..b9d3e1014061 --- /dev/null +++ b/www/flood/files/patch-flood_net.c @@ -0,0 +1,11 @@ +--- flood_net.c.orig Tue Sep 9 18:49:50 2003 ++++ flood_net.c Thu Oct 2 16:45:13 2003 +@@ -78,7 +78,7 @@ + } + + if ((rv = apr_socket_create(&fs->socket, APR_INET, SOCK_STREAM, +- APR_PROTO_TCP, pool)) != APR_SUCCESS) { ++ pool)) != APR_SUCCESS) { + if (status) { + *status = rv; + } diff --git a/www/flood/pkg-plist b/www/flood/pkg-plist index 6a7139badb62..12d2a77c39b3 100644 --- a/www/flood/pkg-plist +++ b/www/flood/pkg-plist @@ -1,6 +1,7 @@ bin/flood %%EXAMPLESDIR%%/analyze-relative %%EXAMPLESDIR%%/analyze-relative-ramp +%%EXAMPLESDIR%%/flood.dtd %%EXAMPLESDIR%%/relative-averages-time.awk %%EXAMPLESDIR%%/round-robin-dynamic.xml %%EXAMPLESDIR%%/round-robin-example.xml @@ -9,4 +10,9 @@ bin/flood %%EXAMPLESDIR%%/round-robin-ssl.xml %%EXAMPLESDIR%%/round-robin-timed.xml %%EXAMPLESDIR%%/round-robin.xml +%%PORTDOCS%%%%DOCSDIR%%/docbook/Makefile +%%PORTDOCS%%%%DOCSDIR%%/docbook/flood.xml +%%PORTDOCS%%%%DOCSDIR%%/README @dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%%/docbook +%%PORTDOCS%%@dirrm %%DOCSDIR%% |