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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D110B158041 for ; Fri, 8 Mar 2024 13:23:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EBEEE29DB; Fri, 8 Mar 2024 13:23:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3BA5E29DB for ; Fri, 8 Mar 2024 13:23:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1596433BDC5 for ; Fri, 8 Mar 2024 13:23:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6ACD7119 for ; Fri, 8 Mar 2024 13:23:21 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1709904120.34e6f15897ea966807a8ecd21a728ef0b887503d.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/gatling/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/gatling/gatling-0.16-r5.ebuild X-VCS-Directories: www-servers/gatling/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 34e6f15897ea966807a8ecd21a728ef0b887503d X-VCS-Branch: master Date: Fri, 8 Mar 2024 13:23:21 +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: b43854bc-7b0c-4f6a-93f1-a732afc9a8fc X-Archives-Hash: 41e4923b13ee56dc152c9779404edb80 commit: 34e6f15897ea966807a8ecd21a728ef0b887503d Author: Sebastian Pipping gentoo org> AuthorDate: Fri Mar 8 13:22:00 2024 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Fri Mar 8 13:22:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e6f158 www-servers/gatling: Add missing dependency on sys-libs/zlib Closes: https://bugs.gentoo.org/914347 Signed-off-by: Sebastian Pipping gentoo.org> www-servers/gatling/gatling-0.16-r5.ebuild | 65 ++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/www-servers/gatling/gatling-0.16-r5.ebuild b/www-servers/gatling/gatling-0.16-r5.ebuild new file mode 100644 index 000000000000..795c4d890c67 --- /dev/null +++ b/www-servers/gatling/gatling-0.16-r5.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit toolchain-funcs + +DESCRIPTION="High performance web server" +HOMEPAGE="https://www.fefe.de/gatling/" +SRC_URI="https://www.fefe.de/gatling/${P}.tar.xz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="ssl diet" +REQUIRED_USE="ssl? ( !diet )" + +DEPEND=">=dev-libs/libowfat-0.32-r2[diet=] + sys-libs/zlib + virtual/libcrypt:= + diet? ( dev-libs/dietlibc ) + ssl? ( + dev-libs/openssl:0= + )" +RDEPEND="${DEPEND} + acct-group/gatling + acct-user/gatling + " + +PATCHES=( + "${FILESDIR}/${PN}-0.13-compile.patch" + "${FILESDIR}/${PN}-0.15-ar.patch" + "${FILESDIR}/${PN}-0.16-r4-0001-try-alloca-socket-fix-Wimplicit-int.patch" +) + +src_prepare() { + default + rm Makefile # leaves us with GNUmakefile +} + +src_compile() { + local DIET= + use diet && DIET='/usr/bin/diet' + + local targets='gatling' + use ssl && targets+=' tlsgatling' + + emake DIET="${DIET}" CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS} -I${ESYSROOT}/usr/include/libowfat" \ + LDFLAGS="${LDFLAGS}" prefix=/usr ${targets} +} + +src_install() { + doman gatling.1 + + newconfd "${FILESDIR}/gatling.confd" gatling + newinitd "${FILESDIR}/gatling.initd-3" gatling + dodoc README.{ftp,http} + + dobin gatling + use ssl && { + dodoc README.tls + dobin tlsgatling + } +}