www-servers/pound - 4.22 (gentoo)

Search

Install

Install this version:

emerge -a =www-servers/pound-4.22

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =www-servers/pound-4.22

Or alternatively:

emerge --autounmask-write -a =www-servers/pound-4.22

Package Information

Description:
A http/https reverse-proxy and load-balancer
Homepage:
https://github.com/graygnuorg/pound
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
4.22 8 ~amd64 ~hppa ~ppc ~x86 0
View Raw Ebuild
# Copyright 1999-2026 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
# TODO: Install/support GNU Emacs major mode file src/pound-mode.el

LUA_COMPAT=( lua5-{3..4} )

inherit lua-single

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="lua tcmalloc test"

RESTRICT="!test? ( test )"

REQUIRED_USE="
	lua? ( ${LUA_REQUIRED_USE} )
"
DEPEND="
	dev-libs/libpcre2:=
	dev-libs/openssl:=
	lua? ( ${LUA_DEPS} )
	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
	)
"

pkg_setup() {
	use lua && lua-single_pkg_setup
}

src_configure() {
	local myconf=(
		--disable-dynamic-backends
		--disable-hoard
		--enable-pcre
		$(use_enable lua)
		$(use_enable tcmalloc)
	)
	econf "${myconf[@]}"
}

src_install() {
	default
	newinitd "${FILESDIR}/pound.init" pound
	insinto /etc
	newins "${FILESDIR}/pound-2.2.cfg" pound.cfg
}

USE Flags

Manage flags for this package: euse -i <flag> -p www-servers/pound | euse -E <flag> -p www-servers/pound | euse -D <flag> -p www-servers/pound

Global/Standard Flags

lua

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/libpcre2:=
	dev-libs/openssl:=
	lua? (  )
	tcmalloc? ( dev-util/google-perftools )

RDEPEND

	
	dev-libs/libpcre2:=
	dev-libs/openssl:=
	lua? (  )
	tcmalloc? ( dev-util/google-perftools )

	virtual/libcrypt:=

BDEPEND

	test? (
		dev-lang/perl
		dev-perl/IO-FDPass
		dev-perl/IO-Socket-SSL
		dev-perl/JSON
		dev-perl/Net-SSLeay
	)

Manifest for 4.22

Type File Size Source URLs
DIST pound-4.22.tar.gz 1141023 bytes https://github.com/graygnuorg/pound/releases/download/v4.22/pound-4.22.tar.gz