Diff pound-4.16 with a pound-4.22

/usr/portage/www-servers/pound/pound-4.22.ebuild 2026-04-10 12:17:39.994065199 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
7 7
#       dynamic backends
8 8
# TODO: Add hoard as a dependency in order to support the --enable-hoard configure
9 9
#       argument
10
# TODO: Install/support GNU Emacs major mode file src/pound-mode.el
11

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

  
14
inherit lua-single
10 15

  
11 16
DESCRIPTION="A http/https reverse-proxy and load-balancer"
12 17
HOMEPAGE="https://github.com/graygnuorg/pound"
......
14 19

  
15 20
LICENSE="GPL-3+"
16 21
SLOT="0"
17
KEYWORDS="amd64 ~hppa ~ppc x86"
18
IUSE="tcmalloc test"
22
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
23
IUSE="lua tcmalloc test"
19 24

  
20 25
RESTRICT="!test? ( test )"
21 26

  
27
REQUIRED_USE="
28
	lua? ( ${LUA_REQUIRED_USE} )
29
"
22 30
DEPEND="
23 31
	dev-libs/libpcre2:=
24 32
	dev-libs/openssl:=
33
	lua? ( ${LUA_DEPS} )
25 34
	tcmalloc? ( dev-util/google-perftools )
26 35
"
27 36
RDEPEND="
......
38 47
	)
39 48
"
40 49

  
41
PATCHES=(
42
	"${FILESDIR}"/${P}-test-threads.patch
43
)
50
pkg_setup() {
51
	use lua && lua-single_pkg_setup
52
}
44 53

  
45 54
src_configure() {
46 55
	local myconf=(
47 56
		--disable-dynamic-backends
48 57
		--disable-hoard
49 58
		--enable-pcre
59
		$(use_enable lua)
50 60
		$(use_enable tcmalloc)
51 61
	)
52 62
	econf "${myconf[@]}"
Thank you!