summaryrefslogtreecommitdiff
path: root/www-servers/pound/pound-4.10.ebuild
blob: ae8cff21ed6fe1cddb99d1def3c4f87a6f13413f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

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"

DEPEND="
	dev-libs/openssl:=
	dev-libs/libpcre2:=
"
RDEPEND="
	${DEPEND}
	virtual/libcrypt:=
"

QA_CONFIG_IMPL_DECL_SKIP=(
	PCRE2regcomp	# Detecting broken Debian patched PCRE2
)

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	local myconf=(
		--with-owner=root
		--with-group=root
	)
	econf ${myconf[@]}
}

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