| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.17 | 8 | ~amd64 ~hppa ~ppc ~x86 | 0 |
# 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 ~hppa ~ppc ~x86"
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
)
"
PATCHES=(
"${FILESDIR}"/${P}-test-threads.patch
)
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
}
dev-libs/libpcre2:= dev-libs/openssl:= tcmalloc? ( dev-util/google-perftools )
dev-libs/libpcre2:= dev-libs/openssl:= tcmalloc? ( dev-util/google-perftools ) virtual/libcrypt:=
test? ( dev-lang/perl dev-perl/IO-FDPass dev-perl/IO-Socket-SSL dev-perl/JSON dev-perl/Net-SSLeay )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | pound-4.17.tar.gz | 1028579 bytes | https://github.com/graygnuorg/pound/releases/download/v4.17/pound-4.17.tar.gz |