From 3f9a144d38a57497a44a583d11a6e3dfbe8319d5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 20 Sep 2022 23:24:40 +0100 Subject: gentoo auto-resync : 20:09:2022 - 23:24:40 --- www-servers/Manifest.gz | Bin 4875 -> 4868 bytes www-servers/gatling/Manifest | 2 + ...-0001-try-alloca-socket-fix-Wimplicit-int.patch | 41 +++++++++++++ www-servers/gatling/gatling-0.16-r4.ebuild | 64 +++++++++++++++++++++ 4 files changed, 107 insertions(+) create mode 100644 www-servers/gatling/files/gatling-0.16-r4-0001-try-alloca-socket-fix-Wimplicit-int.patch create mode 100644 www-servers/gatling/gatling-0.16-r4.ebuild (limited to 'www-servers') diff --git a/www-servers/Manifest.gz b/www-servers/Manifest.gz index 6e3f6ad7e396..e879f2b6ee4d 100644 Binary files a/www-servers/Manifest.gz and b/www-servers/Manifest.gz differ diff --git a/www-servers/gatling/Manifest b/www-servers/gatling/Manifest index 4743a13ceba8..ec4b0191aaca 100644 --- a/www-servers/gatling/Manifest +++ b/www-servers/gatling/Manifest @@ -1,7 +1,9 @@ AUX gatling-0.13-compile.patch 255 BLAKE2B 08de101796184625542dd339b96e246477a0cb8aaa40bac8640f0d442b9fba09389ada09bd4f852736487bfda30915f0ca562e1ea6aed0bee8d0104cb65a9c63 SHA512 77e35689b80a4d1b9598bf31cc14c3572a7b92d49ffeb98442552f58eeb04a196ce5c8215941d07e197191c349548d23baadac3b84854d6eb93d26632555c699 AUX gatling-0.15-ar.patch 754 BLAKE2B 08ebd3714234ced36751d0ddcb0d3391aa8cbc0f91b215c87d1539f738b9aa7da53495e9171d24554a4a8e3afbfc6553a333228f5867efa18e387deb9f1293a3 SHA512 050bf557c8bbeed9245046d3f938a40c2b2a2d544c0c422deca5ecdea6683dd342a8cca6fcff2419af128c8c0caece33e4848cf2f3e754ebf225ca800f70820c +AUX gatling-0.16-r4-0001-try-alloca-socket-fix-Wimplicit-int.patch 878 BLAKE2B aad25693d84d95af54451d8da488111cf41c033a18940e5ada0ce6ba6a6c8e0c3c16f79d253477339cf8edb6b6b9f2d3461b4c3612522140699487273d818552 SHA512 30173735639a8fc01e196805a9a9ce328bd78c2353e94a1ad2eda97fcedb883373366873784eaf35c2b4493f657df2acf8cc485e7ec5e3068ad9130977c38057 AUX gatling.confd 659 BLAKE2B ac3a2bc798e8ee9172f7c807c7e80f5bc7ad12e1830f296f097078887e609facfcb6087c6d5cdaa162fd747d7f03d208a28ec30e12fb67e7dc938ed0e65f766b SHA512 e903cd9afbb575226c6de0da8ad673d4650a53cac7442505422c98c32a00457f3d48f2853355cd76ea0f83671cb973ddf90df900d86a15172291317109481fb3 AUX gatling.initd-3 1970 BLAKE2B ba48e796b4fca2cd165756b3ef781feb47be18e43043d834e028d80b522f1fe6482db79bb89a7a7e57c1fdd80f6cdbb525ec0153af8600daf848d7408aa4ff6e SHA512 3b198ed6728add5f30e8ec16171cc7086d315448821b3a5487be1cf7b318735a77f0881d9aca0a5af179a2b8aff75fd0c0ce80836172a26c439cba2859c6ab1f DIST gatling-0.16.tar.xz 126844 BLAKE2B 33dd2e93833b216ffadae4dbd5650af87b23ed5d62caf181d8005acb4dce889b86d1afb711676377ba2b7c4fe08b8f2350a32965cf6292a268281b28c4310c27 SHA512 9446ea0ae862509b1a892e5bdef14d3a2320c3c3e846362b4679c0834aa906ab5b16ef54e4a7c8e7ee839d30317436dd411e891e3105035a9ee31b0facc0b8c1 EBUILD gatling-0.16-r3.ebuild 1216 BLAKE2B ea0aba72dca0263f120aeb368738c37d2346606c799de4e43d5c6e278577b05ca60525743171cabdfd60e6e1fb600ee0119cde207838b2c9063b5b22c51ec8e3 SHA512 1620007437c598b6ad2255b3e1cc5101343e074091032486889e8c4834825523adaa670d608a84a390d72eb3baa8e66ba8c932d0410409419985185b9f8fe6e1 +EBUILD gatling-0.16-r4.ebuild 1292 BLAKE2B 2225cd826ed76ea4b81166e0d4370d7506862fbd87dd56ed87fc8e2f63f7bc16291e30f0a3a903d4274c7befd3670e5ec6a730f63ce0e3389f4d2e76bfe2a6aa SHA512 dfc21f2dab94206d4e92a050cf2d1058036232dc8a45d13998c8f390483da64924db935c88472194a46d64002ac7dfc8cd75683bc699ac159535c98f24359694 MISC metadata.xml 445 BLAKE2B 66d2b1d256580432d05780ee9fa5cf06cf625328d8ab27dde762ea751e9bfd05072e7cf4741e63f40e9a5ffa2ecbcc8df7d30ca028113228d6639e1f408727cd SHA512 aad21bae4417b07c1313ec31d903dbf6d190704aa3f41f363320d97b67da81b4062195213cb4591059b679b2579a1d2a0c34c4c6befa0549a5eec1f7ea798f07 diff --git a/www-servers/gatling/files/gatling-0.16-r4-0001-try-alloca-socket-fix-Wimplicit-int.patch b/www-servers/gatling/files/gatling-0.16-r4-0001-try-alloca-socket-fix-Wimplicit-int.patch new file mode 100644 index 000000000000..4b22b7a5c13d --- /dev/null +++ b/www-servers/gatling/files/gatling-0.16-r4-0001-try-alloca-socket-fix-Wimplicit-int.patch @@ -0,0 +1,41 @@ +From d1a28da112988112a37feb9050733717bfc176df Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= +Date: Sun, 18 Sep 2022 19:48:16 +0200 +Subject: [PATCH] try{alloca,socket}: fix -Wimplicit-int + +This warning becomes fatal with Clang 16. +--- +https://bugs.gentoo.org/871495 + tryalloca.c | 2 +- + trysocket.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tryalloca.c b/tryalloca.c +index c8927ab..b6e4f71 100644 +--- a/tryalloca.c ++++ b/tryalloca.c +@@ -5,7 +5,7 @@ + #include + #endif + +-main() { ++int main() { + char* c=alloca(23); + return c!=NULL; + } +diff --git a/trysocket.c b/trysocket.c +index a01f395..381b794 100644 +--- a/trysocket.c ++++ b/trysocket.c +@@ -6,7 +6,7 @@ + #include + #endif + +-main() { ++int main() { + int fd=socket(PF_INET,SOCK_STREAM,IPPROTO_TCP); + return fd!=-1; + } +-- +2.35.1 + diff --git a/www-servers/gatling/gatling-0.16-r4.ebuild b/www-servers/gatling/gatling-0.16-r4.ebuild new file mode 100644 index 000000000000..5562859bec4a --- /dev/null +++ b/www-servers/gatling/gatling-0.16-r4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 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=] + 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 + } +} -- cgit v1.2.3