commit:     1b7581678c44262be0a8ecb8d735b3204603f30a
Author:     Philipp Rösner <rndxelement <AT> protonmail <DOT> com>
AuthorDate: Tue Jun  3 17:27:53 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  5 16:06:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b758167

www-servers/pound: add 4.16

- Add ebuild for pound-4.16, see
  https://github.com/graygnuorg/pound/releases
  for changes
- Fix tests by adding required perl deps
- Remove QA_CONFIG_IMPL_DECL_SKIP section, as it isn't
  required anymore
- Remove all keywords except for amd64, because
  dev-perl/IO-FDPass is a new package added for testing
  pound.

Bug: https://bugs.gentoo.org/930679
Closes: https://bugs.gentoo.org/956482
Signed-off-by: Philipp Rösner <rndxelement <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42427
Closes: https://github.com/gentoo/gentoo/pull/42427
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-servers/pound/Manifest          |  1 +
 www-servers/pound/pound-4.16.ebuild | 56 +++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest
index 0fe772636e47..e9cb0fbe5c05 100644
--- a/www-servers/pound/Manifest
+++ b/www-servers/pound/Manifest
@@ -1 +1,2 @@
 DIST pound-4.10.tar.gz 554678 BLAKE2B 
895ee69bcbac680062af270655af3433daffd60ea7a90875dd1fb867447a9be6b28d18444db758fa9c034002ab256fc76d932b893a426d77b6069e03a63a7e74
 SHA512 
2e0fadbcdeb87fb8357c14467b7b31e598881e7db7bde725f81fb4668370cad993e00a9c7617ff4343a444393f05521cda6c8e1b3d663af6b5053b7c7fd7c874
+DIST pound-4.16.tar.gz 990967 BLAKE2B 
f1acd2f7bf4d3b548ef7fb71735783d5c440f7b6a0018e18dff4828803cff0366ea0251b4f23d490b58df2e4fbb1836dfe7046ee342cf67919854b00dac00912
 SHA512 
8bc8ff8daf003a9aada82b0cc348f595f98513fc21606986877422e1ecf3ece873e355ee21b1edeeafa1de08f6ac9f60e0546c8c710398ae6b902b0a95698a5f

diff --git a/www-servers/pound/pound-4.16.ebuild 
b/www-servers/pound/pound-4.16.ebuild
new file mode 100644
index 000000000000..d61a1ebb5fca
--- /dev/null
+++ b/www-servers/pound/pound-4.16.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Add adns as a dependency in order to allow building with support for
+#       dynamic backends
+# TODO: Add hoard as a dependency in order to support the --enable-hoard 
configure
+#       argument
+
+DESCRIPTION="A http/https reverse-proxy and load-balancer"
+HOMEPAGE="https://github.com/graygnuorg/pound";
+SRC_URI="https://github.com/graygnuorg/pound/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="tcmalloc test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="
+       dev-libs/libpcre2:=
+       dev-libs/openssl:=
+       tcmalloc? ( dev-util/google-perftools )
+"
+RDEPEND="
+       ${DEPEND}
+       virtual/libcrypt:=
+"
+BDEPEND="
+       test? (
+               dev-lang/perl
+               dev-perl/IO-FDPass
+               dev-perl/IO-Socket-SSL
+               dev-perl/JSON
+               dev-perl/Net-SSLeay
+       )
+"
+
+src_configure() {
+       local myconf=(
+               --disable-dynamic-backends
+               --disable-hoard
+               --enable-pcre
+               $(use_enable tcmalloc)
+       )
+       econf "${myconf[@]}"
+}
+
+src_install() {
+       default
+       newinitd "${FILESDIR}/pound.init" pound
+       insinto /etc
+       newins "${FILESDIR}/pound-2.2.cfg" pound.cfg
+}

Reply via email to