blob: 8b03bbb7c772e15f3b17fd96a7f869667cdca95e (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pound
pkgver=2.8
pkgrel=0
pkgdesc="A reverse proxy, load balancer, and SSL wrapper"
url="http://www.apsis.ch/pound/index_html"
arch="all"
license="GPL"
depends=
makedepends="pcre-dev openssl-dev"
subpackages="$pkgname-doc"
source="http://www.apsis.ch/$pkgname/Pound-$pkgver.tgz
openssl-1.1.patch
pound.cfg
$pkgname.initd"
builddir="$srcdir"/Pound-$pkgver
prepare() {
default_prepare
update_config_sub
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc/pound \
--with-owner=root \
--with-group=root
make
}
package() {
cd "$builddir"
install -d "$pkgdir"/usr/sbin
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir"/pound.initd "$pkgdir"/etc/init.d/pound
install -Dm644 "$srcdir"/pound.cfg "$pkgdir"/etc/pound.cfg
}
sha512sums="cf0b865b17d3628e273626e07733f1320e4768702c0f64c8ef0f78d46667f770b223bdc7dca88016a95e5ebd23ae646f95a9b2f4a54a5a80001a10047f07eacc Pound-2.8.tgz
bc1ba9b6cca1e0cddc95ba519fb2ef11c8252e6585582d0ee26d083d360edc8e8baf52c2708c77895aa2c1453297180f80b9e2aa2a9f8c3c2cafd188447603b1 openssl-1.1.patch
9471e5abe3e0ee83165ed01a7081a4d14075c6c21b9f9d7c3fb239aa78c38eae74394a7c7e7e7753d218a7ce5cae388823570d19b702a829baa93e949a8946b8 pound.cfg
cd014677ef7e724d5bd0a101436d0269d2fc18b4cd90ff71eaa690967754d3e4bfe5d0a439099967487b6256121ccc734b01880d96dff50d28242829715e7776 pound.initd"
|