diff options
Diffstat (limited to 'app-benchmarks/siege')
-rw-r--r-- | app-benchmarks/siege/ChangeLog | 7 | ||||
-rw-r--r-- | app-benchmarks/siege/siege-3.0.2.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/app-benchmarks/siege/ChangeLog b/app-benchmarks/siege/ChangeLog index 6c17546e5f6f..ef647eff14a5 100644 --- a/app-benchmarks/siege/ChangeLog +++ b/app-benchmarks/siege/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-benchmarks/siege # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/siege/ChangeLog,v 1.58 2013/05/23 05:55:50 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/siege/ChangeLog,v 1.59 2013/07/25 06:34:02 patrick Exp $ + +*siege-3.0.2 (25 Jul 2013) + + 25 Jul 2013; Patrick Lauer <patrick@gentoo.org> +siege-3.0.2.ebuild: + Bump *siege-3.0.1 (23 May 2013) diff --git a/app-benchmarks/siege/siege-3.0.2.ebuild b/app-benchmarks/siege/siege-3.0.2.ebuild new file mode 100644 index 000000000000..36b520c383ad --- /dev/null +++ b/app-benchmarks/siege/siege-3.0.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/siege/siege-3.0.2.ebuild,v 1.1 2013/07/25 06:34:02 patrick Exp $ + +EAPI=4 + +#WANT_AUTOMAKE=1.9 + +inherit eutils bash-completion-r1 libtool autotools + +DESCRIPTION="A HTTP regression testing and benchmarking utility" +HOMEPAGE="http://www.joedog.org/JoeDog/Siege" +SRC_URI="http://www.joedog.org/pub/siege/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~x86" +SLOT="0" +IUSE="ssl" + +RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6d )" +DEPEND="${RDEPEND} + sys-devel/libtool" + +src_prepare() { + # bundled macros break recent libtool + sed -i -e 's/AC_PROG_SHELL//' configure.ac || die + rm *.m4 || die "failed to remove bundled macros" + eautoreconf +} + +src_configure() { + local myconf + use ssl && myconf="--with-ssl=/usr" || myconf="--without-ssl" + econf ${myconf} +} + +src_install() { + make DESTDIR="${D}" install + + dodoc AUTHORS ChangeLog INSTALL MACHINES README* KNOWNBUGS \ + doc/siegerc doc/urls.txt + + newbashcomp "${FILESDIR}"/${PN}.bash-completion ${PN} +} + +pkg_postinst() { + echo + elog "An example ~/.siegerc file has been installed in" + elog "/usr/share/doc/${PF}/" +} |