From 9ed38b2181406a8baccc8af06c5462e3bc39c361 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 17 Mar 2024 00:06:05 -0400 Subject: www-servers/gatling: update EAPI 7 -> 8 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- www-servers/gatling/gatling-0.16-r5.ebuild | 71 ------------------------------ www-servers/gatling/gatling-0.16-r6.ebuild | 71 ++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 71 deletions(-) delete mode 100644 www-servers/gatling/gatling-0.16-r5.ebuild create mode 100644 www-servers/gatling/gatling-0.16-r6.ebuild (limited to 'www-servers') diff --git a/www-servers/gatling/gatling-0.16-r5.ebuild b/www-servers/gatling/gatling-0.16-r5.ebuild deleted file mode 100644 index fbdd4d3032e1..000000000000 --- a/www-servers/gatling/gatling-0.16-r5.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit flag-o-matic 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() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/864133 - # - # Last released in 2016, sources are in cvs so I cannot check for activity. - filter-lto - - 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 - } -} diff --git a/www-servers/gatling/gatling-0.16-r6.ebuild b/www-servers/gatling/gatling-0.16-r6.ebuild new file mode 100644 index 000000000000..1116ae3dbd93 --- /dev/null +++ b/www-servers/gatling/gatling-0.16-r6.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit flag-o-matic 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() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/864133 + # + # Last released in 2016, sources are in cvs so I cannot check for activity. + filter-lto + + 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 + } +} -- cgit v1.2.3-65-gdbad