blob: bd273b0c3b0a345176dfe1c18a6149c7d94e8424 (
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
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
MY_P="${P/p/P}"
DESCRIPTION="A http/https reverse-proxy and load-balancer"
HOMEPAGE="https://www.apsis.ch/pound.html"
SRC_URI="https://www.apsis.ch/pound/${MY_P}.tgz"
LICENSE="BSD GPL-3"
SLOT="0"
KEYWORDS="amd64 ~hppa ~ppc x86"
DEPEND="
dev-libs/libpcre:=
dev-libs/libyaml:=
dev-libs/nanomsg:=
dev-libs/openssl:=
net-libs/mbedtls:=
elibc_musl? ( sys-libs/queue-standalone )
"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
DOCS=( README.md )
PATCHES=(
"${FILESDIR}"/${P}-hpack.patch
)
src_install() {
rm GPL.txt || die
dosbin "${BUILD_DIR}"/pound
doman "${S}"/man/pound.8
einstalldocs
dodir /etc/init.d
newinitd "${FILESDIR}"/pound.init-1.9 pound
insinto /etc
newins "${FILESDIR}"/pound-2.2.cfg pound.cfg
}
pkg_postinst() {
elog "No demo-/sample-configfile is included in the distribution;"
elog "read the man-page for more info."
elog "A sample (localhost:8888 -> localhost:80)"
elog "for gentoo is given in \"/etc/pound.cfg\"."
}
|