blob: c4864dc71546eb23883e4ec774347df5ad9e774c (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pound
pkgver=2.7
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
pound.cfg
$pkgname.initd"
_builddir="$srcdir"/Pound-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc/pound \
--with-owner=root \
--with-group=root \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
install -d "$pkgdir"/usr/sbin
make DESTDIR="$pkgdir" install || return 1
install -Dm755 "$srcdir"/pound.initd "$pkgdir"/etc/init.d/pound
install -Dm644 "$srcdir"/pound.cfg "$pkgdir"/etc/pound.cfg
}
md5sums="ec8298aa3e4aee3ffbecdc0639d7f14a Pound-2.7.tgz
736b12a47acbb7fc2802ed7f51e959d0 pound.cfg
074fc58c89bb70e8fcd767ee70ebd0f0 pound.initd"
sha256sums="cdfbf5a7e8dc8fbbe0d6c1e83cd3bd3f2472160aac65684bb01ef661c626a8e4 Pound-2.7.tgz
e13a68731464472f4fc1f86c688b3697fe304e77811f01a0c9fa9fe186cc047c pound.cfg
a6d05705d9aa3518508aaf904708f287c01fd13cbf3d98aee04af40e3dceba0f pound.initd"
sha512sums="3edfb948715ff7e38b7665cc083eb5619daf4c2ddda4efcffffa2bcf5d8c1ee158fa5275b16bbaea4cf51bf3f8c022ba2197d5f67d57732404a448ae00e62aa1 Pound-2.7.tgz
9471e5abe3e0ee83165ed01a7081a4d14075c6c21b9f9d7c3fb239aa78c38eae74394a7c7e7e7753d218a7ce5cae388823570d19b702a829baa93e949a8946b8 pound.cfg
86e10d9ed7a1749820c7bb0c97939aea133e1bcf29fed848f7df48e7e995922091e52ef8e079580c6d95f1eaf3cb56abd47bca64a2d92abf4d925cef11421e4c pound.initd"
|