summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-08-17 20:51:18 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-08-17 20:51:18 +0000
commitc748014b716455308eef3e75f871171e174d39ce (patch)
treeec41bfa2bbb88c42b682f28278ea156a2567e6c4 /app-benchmarks
parentNew vim7 snapshot, should fix the compile problems on some archs. (diff)
downloadhistorical-c748014b716455308eef3e75f871171e174d39ce.tar.gz
historical-c748014b716455308eef3e75f871171e174d39ce.tar.bz2
historical-c748014b716455308eef3e75f871171e174d39ce.zip
Initial commit; ebuild by me.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/httperf/ChangeLog12
-rw-r--r--app-benchmarks/httperf/Manifest16
-rw-r--r--app-benchmarks/httperf/files/digest-httperf-0.81
-rw-r--r--app-benchmarks/httperf/files/httperf-0.8-optional-ssl.diff20
-rw-r--r--app-benchmarks/httperf/files/httperf-0.8-respect-DESTDIR.diff17
-rw-r--r--app-benchmarks/httperf/httperf-0.8.ebuild41
-rw-r--r--app-benchmarks/httperf/metadata.xml20
7 files changed, 127 insertions, 0 deletions
diff --git a/app-benchmarks/httperf/ChangeLog b/app-benchmarks/httperf/ChangeLog
new file mode 100644
index 000000000000..fbdecb1f3903
--- /dev/null
+++ b/app-benchmarks/httperf/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for app-benchmarks/httperf
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/httperf/ChangeLog,v 1.1 2005/08/17 20:51:18 ka0ttic Exp $
+
+*httperf-0.8 (17 Aug 2005)
+
+ 17 Aug 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +files/httperf-0.8-optional-ssl.diff,
+ +files/httperf-0.8-respect-DESTDIR.diff, +metadata.xml,
+ +httperf-0.8.ebuild:
+ Initial commit; ebuild by me.
+
diff --git a/app-benchmarks/httperf/Manifest b/app-benchmarks/httperf/Manifest
new file mode 100644
index 000000000000..94b4a16690cd
--- /dev/null
+++ b/app-benchmarks/httperf/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 c57055bf03358d09277997c948df939b httperf-0.8.ebuild 983
+MD5 7578510b87df3b116bb063a08c17b4cf ChangeLog 449
+MD5 895c658c1644917118d147978f7d1147 metadata.xml 945
+MD5 81630570d60ade0eaf6caad7ee4a1c4a files/httperf-0.8-optional-ssl.diff 694
+MD5 a719ff22f9a66c55067ea922e45d13a0 files/httperf-0.8-respect-DESTDIR.diff 712
+MD5 44858ef0273b02f6bb71ec6aca26c0a7 files/digest-httperf-0.8 63
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDA6NnEZCkKN40op4RAj1KAKCza0sxrdbPG0S6r6yc6/U5PfvJJwCbBOj1
+l+h1W015kXPqrdu+mtghWwM=
+=huBh
+-----END PGP SIGNATURE-----
diff --git a/app-benchmarks/httperf/files/digest-httperf-0.8 b/app-benchmarks/httperf/files/digest-httperf-0.8
new file mode 100644
index 000000000000..37d77b22319c
--- /dev/null
+++ b/app-benchmarks/httperf/files/digest-httperf-0.8
@@ -0,0 +1 @@
+MD5 2971956d4846349f9e8d3c54acd591a5 httperf-0.8.tar.gz 146107
diff --git a/app-benchmarks/httperf/files/httperf-0.8-optional-ssl.diff b/app-benchmarks/httperf/files/httperf-0.8-optional-ssl.diff
new file mode 100644
index 000000000000..018fa03cabe4
--- /dev/null
+++ b/app-benchmarks/httperf/files/httperf-0.8-optional-ssl.diff
@@ -0,0 +1,20 @@
+diff --exclude='*~' --exclude='.*' -I '$Id:' -urN httperf-0.8.orig/configure.in httperf-0.8/configure.in
+--- httperf-0.8.orig/configure.in 2005-08-17 15:51:17.000000000 -0400
++++ httperf-0.8/configure.in 2005-08-17 16:06:20.000000000 -0400
+@@ -39,8 +39,14 @@
+ dnl Checks for libraries.
+ dnl Replace `main' with a function in -lm:
+ AC_CHECK_LIB(m, main)
+-AC_CHECK_LIB(crypto, main)
+-AC_CHECK_LIB(ssl, SSL_version)
++
++AC_MSG_CHECKING([whether to enable SSL support])
++AC_ARG_ENABLE(ssl, [ --enable-ssl Enable SSL support])
++AC_MSG_RESULT([$enable_ssl])
++if test "$enable_ssl" = yes; then
++ AC_CHECK_LIB(crypto, main)
++ AC_CHECK_LIB(ssl, SSL_version)
++fi
+
+
+ dnl Checks for header files.
diff --git a/app-benchmarks/httperf/files/httperf-0.8-respect-DESTDIR.diff b/app-benchmarks/httperf/files/httperf-0.8-respect-DESTDIR.diff
new file mode 100644
index 000000000000..f905224e2de3
--- /dev/null
+++ b/app-benchmarks/httperf/files/httperf-0.8-respect-DESTDIR.diff
@@ -0,0 +1,17 @@
+diff --exclude='*~' --exclude='.*' -I '$Id:' -urN httperf-0.8.orig/Makefile.in httperf-0.8/Makefile.in
+--- httperf-0.8.orig/Makefile.in 2005-08-17 16:07:21.000000000 -0400
++++ httperf-0.8/Makefile.in 2005-08-17 16:34:50.000000000 -0400
+@@ -51,9 +51,10 @@
+ $(LINK) idleconn.o $(LIBS)
+
+ install: install-recursive httperf
+- $(MKDIR) $(bindir) $(mandir)/man1
+- $(INSTALL_PROGRAM) httperf $(bindir)/httperf
+- $(INSTALL_DATA) $(srcdir)/httperf.man $(mandir)/man1/httperf.1
++ $(MKDIR) $(DESTDIR)$(bindir) $(mandir)/man1
++ $(INSTALL_PROGRAM) httperf $(DESTDIR)$(bindir)/httperf
++ $(MKDIR) $(DESTDIR)$(mandir)/man1
++ $(INSTALL_DATA) $(srcdir)/httperf.man $(DESTDIR)$(mandir)/man1/httperf.1
+
+ ttest: ttest.o timer.o
+
diff --git a/app-benchmarks/httperf/httperf-0.8.ebuild b/app-benchmarks/httperf/httperf-0.8.ebuild
new file mode 100644
index 000000000000..7b30738808d0
--- /dev/null
+++ b/app-benchmarks/httperf/httperf-0.8.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/httperf/httperf-0.8.ebuild,v 1.1 2005/08/17 20:51:18 ka0ttic Exp $
+
+inherit eutils
+
+DESCRIPTION="A tool from HP for measuring web server performance."
+HOMEPAGE="http://www.hpl.hp.com/research/linux/httperf/index.php"
+SRC_URI="ftp://ftp.hpl.hp.com/pub/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~mips ~sparc ~x86"
+IUSE="debug ssl"
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-optional-ssl.diff
+ epatch ${FILESDIR}/${P}-respect-DESTDIR.diff
+}
+
+src_compile() {
+ einfo "Regenerating configure"
+ autoconf || die "autoconf failed"
+
+ econf --bindir=/usr/bin \
+ $(use_enable debug) \
+ $(use_enable ssl) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/app-benchmarks/httperf/metadata.xml b/app-benchmarks/httperf/metadata.xml
new file mode 100644
index 000000000000..168c65c8c138
--- /dev/null
+++ b/app-benchmarks/httperf/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>benchmarks</herd>
+ <maintainer>
+ <email>ka0ttic@gentoo.org</email>
+ <name>Aaron Walker</name>
+ </maintainer>
+ <longdescription lang="en">Httperf is a tool for measuring web server
+ performance. It provides a flexible facility for generating various HTTP
+ workloads and for measuring server performance. The focus of httperf is
+ not on implementing one particular benchmark but on providing a robust,
+ high-performance tool that facilitates the construction of both micro-
+ and macro-level benchmarks. The three distinguishing characteristics of
+ httperf are its robustness, which includes the ability to generate and
+ sustain server overload, support for the HTTP/1.1 and SSL protocols, and
+ its extensibility to new workload generators and performance
+ measurements.
+ </longdescription>
+</pkgmetadata>