diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-08-17 20:51:18 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-08-17 20:51:18 +0000 |
commit | c577f9e38689af77f529e2a1469ddfac6a5f7379 (patch) | |
tree | 9f0678d8e12c52ebbb134a5bf25d5c31c81e448e /app-benchmarks | |
parent | New vim7 snapshot, should fix the compile problems on some archs. (diff) | |
download | gentoo-2-c577f9e38689af77f529e2a1469ddfac6a5f7379.tar.gz gentoo-2-c577f9e38689af77f529e2a1469ddfac6a5f7379.tar.bz2 gentoo-2-c577f9e38689af77f529e2a1469ddfac6a5f7379.zip |
Initial commit; ebuild by me.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/httperf/ChangeLog | 12 | ||||
-rw-r--r-- | app-benchmarks/httperf/Manifest | 5 | ||||
-rw-r--r-- | app-benchmarks/httperf/files/digest-httperf-0.8 | 1 | ||||
-rw-r--r-- | app-benchmarks/httperf/files/httperf-0.8-optional-ssl.diff | 20 | ||||
-rw-r--r-- | app-benchmarks/httperf/files/httperf-0.8-respect-DESTDIR.diff | 17 | ||||
-rw-r--r-- | app-benchmarks/httperf/httperf-0.8.ebuild | 41 | ||||
-rw-r--r-- | app-benchmarks/httperf/metadata.xml | 20 |
7 files changed, 116 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..2ea05c2ae9db --- /dev/null +++ b/app-benchmarks/httperf/Manifest @@ -0,0 +1,5 @@ +MD5 18ead5d66bf5b9604a8b636ddbea61a7 httperf-0.8.ebuild 879 +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 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> |