summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2002-05-05 22:07:10 +0000
committerrh <rh@pkgsrc.org>2002-05-05 22:07:10 +0000
commitc9cfb743d42ecbf8d14414e130b711a3bdba2cb2 (patch)
tree7b7ab82968c6bb75c0f6aaf9a0dbcc496ea9136c /www
parentce73fca5d04c29337cae877ef05fb85a276ed4b6 (diff)
downloadpkgsrc-c9cfb743d42ecbf8d14414e130b711a3bdba2cb2.tar.gz
Initial import of http_load-20020104, a tool that runs multiple http
fetches in parallel, to test the throughput of a web server. Provided by <xs.kittenz.org>, thanks! This closes PR pkg/16665.
Diffstat (limited to 'www')
-rw-r--r--www/http_load/DESCR4
-rw-r--r--www/http_load/Makefile12
-rw-r--r--www/http_load/PLIST3
-rw-r--r--www/http_load/distinfo5
-rw-r--r--www/http_load/patches/patch-aa39
5 files changed, 63 insertions, 0 deletions
diff --git a/www/http_load/DESCR b/www/http_load/DESCR
new file mode 100644
index 00000000000..f1c735f5c96
--- /dev/null
+++ b/www/http_load/DESCR
@@ -0,0 +1,4 @@
+http_load runs multiple http fetches in parallel, to test the
+throughput of a web server. However unlike most such test clients, it
+runs in a single process, so it doesn't bog down the client machine.
+It can be configured to do https fetches as well.
diff --git a/www/http_load/Makefile b/www/http_load/Makefile
new file mode 100644
index 00000000000..483e9b8c4d4
--- /dev/null
+++ b/www/http_load/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/05 22:07:10 rh Exp $
+
+DISTNAME= http_load-04jan2002
+PKGNAME= http_load-20020104
+CATEGORIES= www
+MASTER_SITES= http://www.acme.com/software/http_load/
+
+MAINTAINER= xs@nitric.net
+HOMEPAGE= http://www.acme.com/software/http_load/
+COMMENT= multiprocessing http test client
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/http_load/PLIST b/www/http_load/PLIST
new file mode 100644
index 00000000000..cedcc3a4dba
--- /dev/null
+++ b/www/http_load/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/05 22:07:10 rh Exp $
+bin/http_load
+man/man1/http_load.1
diff --git a/www/http_load/distinfo b/www/http_load/distinfo
new file mode 100644
index 00000000000..31cbb61eb2b
--- /dev/null
+++ b/www/http_load/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/05 22:07:10 rh Exp $
+
+SHA1 (http_load-04jan2002.tar.gz) = 7b21fd2cfeb4bf6705ef6bd3f194a6a2f01ff976
+Size (http_load-04jan2002.tar.gz) = 16710 bytes
+SHA1 (patch-aa) = 600cc971a1d7c748c02322b8717f7718276a6599
diff --git a/www/http_load/patches/patch-aa b/www/http_load/patches/patch-aa
new file mode 100644
index 00000000000..f182b47fe50
--- /dev/null
+++ b/www/http_load/patches/patch-aa
@@ -0,0 +1,39 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/05 22:07:10 rh Exp $
+
+--- Makefile.orig Fri Jan 4 05:54:43 2002
++++ Makefile
+@@ -9,14 +9,14 @@
+ # http://www.openssl.org/ Make sure the SSL_TREE definition points to the
+ # tree with your OpenSSL installation - depending on how you installed it,
+ # it may be in /usr/local instead of /usr/local/ssl.
+-#SSL_TREE = /usr/local/ssl
+-#SSL_DEFS = -DUSE_SSL
+-#SSL_INC = -I$(SSL_TREE)/include
+-#SSL_LIBS = -L$(SSL_TREE)/lib -lssl -lcrypto
++SSL_TREE = /usr
++SSL_DEFS = -DUSE_SSL
++SSL_INC = -I$(SSL_TREE)/include
++SSL_LIBS = -L$(SSL_TREE)/lib -lssl -lcrypto
+
+
+-BINDIR = /usr/local/bin
+-MANDIR = /usr/local/man/man1
++BINDIR = $(PREFIX)/bin
++MANDIR = $(PREFIX)/man/man1
+ CC = gcc -Wall
+ CFLAGS = -O $(SRANDOM_DEFS) $(SSL_DEFS) $(SSL_INC)
+ #CFLAGS = -g $(SRANDOM_DEFS) $(SSL_DEFS) $(SSL_INC)
+@@ -35,10 +35,9 @@
+ $(CC) $(CFLAGS) -c timers.c
+
+ install: all
+- rm -f $(BINDIR)/http_load
+- cp http_load $(BINDIR)
+- rm -f $(MANDIR)/http_load.1
+- cp http_load.1 $(MANDIR)
++ $(INSTALL) -d $(BINDIR) $(MANDIR)
++ $(INSTALL) -c -o root -m 555 http_load $(BINDIR)/http_load
++ $(INSTALL) -c -o root -m 444 http_load.1 $(MANDIR)/http_load.1
+
+ clean:
+ rm -f http_load *.o core core.* *.core