From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3D97F13933E for ; Thu, 15 Jul 2021 06:03:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8AD58E0D7A; Thu, 15 Jul 2021 06:03:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 759D1E0D7A for ; Thu, 15 Jul 2021 06:03:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 114DF342A9D for ; Thu, 15 Jul 2021 06:03:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A03057B3 for ; Thu, 15 Jul 2021 06:03:27 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1626329000.fc17a33eae8f0a14c24b494f45d8c1a4fcade4a7.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/siege/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-benchmarks/siege/Manifest app-benchmarks/siege/siege-4.1.0.ebuild X-VCS-Directories: app-benchmarks/siege/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: fc17a33eae8f0a14c24b494f45d8c1a4fcade4a7 X-VCS-Branch: master Date: Thu, 15 Jul 2021 06:03:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5af2c29a-71cf-442e-9f02-57b45745596c X-Archives-Hash: a71e1b24f74150292cf0701d61c9e0df commit: fc17a33eae8f0a14c24b494f45d8c1a4fcade4a7 Author: Marco Scardovi scardovi com> AuthorDate: Thu Jul 8 07:48:47 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Jul 15 06:03:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc17a33e app-benchmarks/siege: bump to 4.1.0 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> Closes: https://github.com/gentoo/gentoo/pull/21562 Signed-off-by: Joonas Niilola gentoo.org> app-benchmarks/siege/Manifest | 1 + app-benchmarks/siege/siege-4.1.0.ebuild | 50 +++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/app-benchmarks/siege/Manifest b/app-benchmarks/siege/Manifest index 4315c4ee157..38d47ae4474 100644 --- a/app-benchmarks/siege/Manifest +++ b/app-benchmarks/siege/Manifest @@ -1 +1,2 @@ DIST siege-4.0.9.tar.gz 525804 BLAKE2B d857df05f40a0ac26a8abdd54e7de374125dde4c114bd1ac3ddd9e9856a30d4fdfefd325980717e59b5876df99a87f971c5b3f91d6478f9638f1860557615169 SHA512 6208b7924162be4dd7ea8cdc297930d28e8a1cb125cf26e8707c2cb67efad741cd090c12081ea80837314d4b5703da152a97b0e8fbf4c64ff64c6714eb4b5fc7 +DIST siege-4.1.0.tar.gz 541331 BLAKE2B c3e8e0f101e27a0902de80478e7c6595f44b4d129cfb265d66c48fcacef4129f587f9ca9ddd0c4d5016513ba19d7635135add1cb02290c4d2bbed5cea501a816 SHA512 15b3b82877153f044524cedc96750a6dab4d21ccbef1be53c0069adade6c3b4204287852a30a57275eea0f51c702857dff59648bd885c28ce65feae141cf6593 diff --git a/app-benchmarks/siege/siege-4.1.0.ebuild b/app-benchmarks/siege/siege-4.1.0.ebuild new file mode 100644 index 00000000000..c30cdda7f06 --- /dev/null +++ b/app-benchmarks/siege/siege-4.1.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools bash-completion-r1 + +DESCRIPTION="A HTTP regression testing and benchmarking utility" +HOMEPAGE="https://www.joedog.org/siege-home https://github.com/JoeDog/siege" +SRC_URI="http://download.joedog.org/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~x86 ~x64-macos" +SLOT="0" +IUSE="ssl" + +RDEPEND="ssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND}" + +src_prepare() { + default + # bundled macros break recent libtool + # remove /usr/lib from LDFLAGS, bug #732886 + sed -i \ + -e '/AC_PROG_SHELL/d' \ + -e 's/SSL_LDFLAGS="-L.*lib"/SSL_LDFLAGS=""/g' \ + -e 's/Z_LDFLAGS="-L.*lib"/Z_LDFLAGS=""/g' \ + configure.ac || die + rm *.m4 || die "failed to remove bundled macros" + eautoreconf +} + +src_configure() { + local myconf=( + $(use_with ssl ssl "${EPREFIX}/usr") + ) + econf "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${ED}" install + dodoc AUTHORS ChangeLog INSTALL README* doc/siegerc doc/urls.txt + + newbashcomp "${FILESDIR}/${PN}".bash-completion "${PN}" +} + +pkg_postinst() { + elog "An example ~/.siegerc file has been installed in" + elog "${EPREFIX}/usr/share/doc/${PF}/" +}