From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- www-servers/pound/Manifest | 7 +++- www-servers/pound/files/pound-3.0.2-hpack.patch | 21 ++++++++++ www-servers/pound/metadata.xml | 9 +++- www-servers/pound/pound-3.0.2.ebuild | 56 +++++++++++++++++++++++++ www-servers/pound/pound-3.0.ebuild | 3 +- 5 files changed, 92 insertions(+), 4 deletions(-) create mode 100644 www-servers/pound/files/pound-3.0.2-hpack.patch create mode 100644 www-servers/pound/pound-3.0.2.ebuild (limited to 'www-servers/pound') diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest index 235f5325cf6a..56ca13e1896c 100644 --- a/www-servers/pound/Manifest +++ b/www-servers/pound/Manifest @@ -1,5 +1,8 @@ AUX pound-2.2.cfg 905 BLAKE2B 3d9315ded29dbdc7981227341d552a8673f4e943555b0a00ec020613d87c84486ae0d2ad9d47ac7aa75c5db5aefc2c480c471f199e037f91ba7e0052466896fa SHA512 f96bcbb977768fb2ff90228bdf106cbd056331b6a494dafb36762d8d0d4db6d6603dcdc7d4d2eed96f807df6f02aeb50f4bf9e8d28bb98188d10147bdf7927ca +AUX pound-3.0.2-hpack.patch 358 BLAKE2B 3a28391df1a611c9b3d99803d9851e3bd8d290e778625e1641a1faa335e7ebbf310667b76a404f4df8217c7cf583444bade7c810a036245a86adb551dc5e4f2d SHA512 4351578ae9bba52af2a4bb2428126c6082e5a2a53aa1a8fa0375772677575595a2172e60439e7d28447085f3e5afff95c5ef563ba21977b878cf2cf003275786 AUX pound.init-1.9 495 BLAKE2B 9489ff9c18d6524dfb5b3b9af1f67898ac32b5e8ff2432b430dd91ea02f37d0e8c3447e0788e781438a93fbb0420d9d079bf7f68d36b092d4c0be56f0f19b853 SHA512 fab1936ce907bdb5b215eada2c05025bd4dd158d0dfb0cdeb9f32ec4284bcdc75625ed7933913d080c3c26edbd8dcbbd197a729fa9c130fbff12d7bfdfd8d41f +DIST Pound-3.0.2.tgz 76000 BLAKE2B 0e3f2dc69771a1d1f3de00a721f02cdc4ff31f4d17ab81f64c368668f03c0c1f12484e2d40e7c1d2d203b033488f2bad57cafd8da5022dfe680a09cdc6b73bec SHA512 4c96a93df2b340049778ed7782377e521fbdd7b6ccaa157748b05941ac7a825b2688f37f3081a7e577b2fa1ec4f64d68a25d27af2210f59da5be0dc10d1391e9 DIST Pound-3.0.tgz 75905 BLAKE2B 8834d2d57c81bf792d803bc2aef7ad5d17243539ea3fddab777ab3dbd7f903a2f771762ee8d4818c63b7c6380c253dc7c7465e10225f884c2bb968af3dfab831 SHA512 28426fa2d66efa310fce43fc57b87b6cd9d646573161ab880b139feec856710306002af623f023907bb77f8b37979cf2332dc3e16cde48c6d349d813c6ac47e2 -EBUILD pound-3.0.ebuild 999 BLAKE2B ff36810dd873caf72f17abcf4e3e071f8ecfa61bfd3065bdd1a6e0661530c0ed3a2b050d533a355b05802fa619770fb5c77f065b14219d31eb3e288d1280d407 SHA512 60c18211a955ed374f48df80ec0ac0705c842357cfb5379ec61c46dc1edde8a1a47da36cc738a1912a48ef89456c8fd5cc7ed1111edac88f66d6c77201373a86 -MISC metadata.xml 579 BLAKE2B 82c0d6da5c300caa0518c4b8581a24196a580b91350bda0b2e5ccdfb17ee356cb0343f64801fe8a61eefd8567caa927a7277ef686b9357c2b6815a98ba4ba1c3 SHA512 72b2f4922dded7944ae71f492a10759ef6344adb659dc2f48376045be54c814bf6aaeb61a101e65df455318acbbdbda24e549a33452a902ab18b43257d12036e +EBUILD pound-3.0.2.ebuild 1089 BLAKE2B 98c445ec1e5fcd19040d8c2835ff0f5fbfb064dbcc09fe499e6326af614f07079e4c1cce6caabd6bf325db1643058dc0a89a14824ed4f0a9dcbb265bf23b632c SHA512 d1078a2ee60491f443dc290d53384cb2d88df495c689adf865bf9e216c5bf9700af5eb7eb6b53400b187b2db2a35d8bd62dbd0c5b86a9e3b4999dffd3b7bb2c8 +EBUILD pound-3.0.ebuild 1042 BLAKE2B 0f16de11fd87cdd6e5d6b4280888ad23e7d40e5fa11e41a09e41f6a56e59767045ca8e9a69eccf414908c0726d5db5b28e6214e3b25d3b28d1a364a66f31ac38 SHA512 a4fe8aab9c7cddc53e36b9beda232faa2e6855e90dcb19dcb038050aea1834ac768f0212e8ccca150989971513a0ec69078d10bc086c88ae882fe2a20ec0820d +MISC metadata.xml 816 BLAKE2B 951e83e80f130aa451566aa9c8eb7e49e8828e76373bba1e26e2b813825d5e04f84919cc0a7359aa3a865855b1e3d91808073e9711c77c4ad20ff58f423f4dc2 SHA512 09c53a06739a089acd749c3e10813874660afaf296bc0bf8e9a74bc23059053a94cc32dfe4eee502e3d506383578abac1e227907db85bd4aeaf8452aeb900b09 diff --git a/www-servers/pound/files/pound-3.0.2-hpack.patch b/www-servers/pound/files/pound-3.0.2-hpack.patch new file mode 100644 index 000000000000..d413082216ab --- /dev/null +++ b/www-servers/pound/files/pound-3.0.2-hpack.patch @@ -0,0 +1,21 @@ +--- a/src/hpack.c ++++ b/src/hpack.c +@@ -69,9 +69,6 @@ static size_t hbuf_left(struct hbuf *); + + static struct hpack hpack_global; + +-#ifdef __GLIBC__ +-/* these functions are available on BSD, but not on Linux */ +- + #include + + void * +@@ -100,8 +97,6 @@ freezero(void *ptr, size_t size) + return; + } + +-#endif +- + int + hpack_init(void) + { diff --git a/www-servers/pound/metadata.xml b/www-servers/pound/metadata.xml index 863eae94ad72..0a0f6e053ff8 100644 --- a/www-servers/pound/metadata.xml +++ b/www-servers/pound/metadata.xml @@ -1,7 +1,14 @@ - + + rndxelement@protonmail.com + Philipp Rösner + + + proxy-maint@gentoo.org + Proxy Maintainers + The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable diff --git a/www-servers/pound/pound-3.0.2.ebuild b/www-servers/pound/pound-3.0.2.ebuild new file mode 100644 index 000000000000..f6667638c642 --- /dev/null +++ b/www-servers/pound/pound-3.0.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_P="${P/p/P}" + +DESCRIPTION="A http/https reverse-proxy and load-balancer" +HOMEPAGE="https://www.apsis.ch/pound.html" +SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz" + +LICENSE="BSD GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" + +DEPEND=" + dev-libs/libpcre:= + dev-libs/libyaml:= + dev-libs/nanomsg:= + dev-libs/openssl:= + net-libs/mbedtls:= + elibc_musl? ( sys-libs/queue-standalone ) +" + +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +DOCS=( README.md ) + +PATCHES=( + "${FILESDIR}"/${P}-hpack.patch +) + +src_install() { + rm GPL.txt || die + + dosbin "${BUILD_DIR}"/pound + doman "${S}"/man/pound.8 + einstalldocs + + dodir /etc/init.d + newinitd "${FILESDIR}"/pound.init-1.9 pound + + insinto /etc + newins "${FILESDIR}"/pound-2.2.cfg pound.cfg +} + +pkg_postinst() { + elog "No demo-/sample-configfile is included in the distribution;" + elog "read the man-page for more info." + elog "A sample (localhost:8888 -> localhost:80)" + elog "for gentoo is given in \"/etc/pound.cfg\"." +} diff --git a/www-servers/pound/pound-3.0.ebuild b/www-servers/pound/pound-3.0.ebuild index 449b52b0ebae..0279aa5ca978 100644 --- a/www-servers/pound/pound-3.0.ebuild +++ b/www-servers/pound/pound-3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,6 +21,7 @@ DEPEND=" dev-libs/nanomsg:= dev-libs/openssl:= net-libs/mbedtls:= + elibc_musl? ( sys-libs/queue-standalone ) " RDEPEND="${DEPEND}" -- cgit v1.2.3