blob: 929b2e4b18fc790812eda608f6b0a088b36e9165 (
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
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Dean Takemori <deant@hawaii.rr.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=stunnel
pkgver=5.31
pkgrel=0
pkgdesc="SSL encryption wrapper between network client and server."
url="http://www.stunnel.org/"
arch="all"
license="GPL2+ with OpenSSL exception"
depends="openssl"
makedepends="openssl-dev"
subpackages="$pkgname-doc"
install="$pkgname.pre-install"
source="ftp://ftp.stunnel.org/stunnel/$pkgname-$pkgver.tar.gz
stunnel.initd
stunnel.conf"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-fips \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 "$pkgdir"/etc/stunnel/stunnel.conf-sample \
"$pkgdir"/usr/share/doc/$pkgname/examples/stunnel.conf || return 1
install -Dm755 "$srcdir"/stunnel.initd \
"$pkgdir"/etc/init.d/stunnel || return 1
install -m644 "$srcdir"/stunnel.conf \
"$pkgdir"/etc/stunnel/stunnel.conf || return 1
}
md5sums="a39b89624984cefc6d229a54f34b33ec stunnel-5.31.tar.gz
d01c6571ff4c1fdc7b9a489a084a6894 stunnel.initd
9193cc027bed086a3852dc7189602f0b stunnel.conf"
sha256sums="a746b71ab3dc6c23eacb0daf7342467870e43ac933430905eb1b1d050bbae0b7 stunnel-5.31.tar.gz
76cbaa1c4fed680d502f1953c3057c5f40737c30ba6d82d1d539b5d7943e2331 stunnel.initd
be8deb0e051f594e14c898c2ec8a4a6879adcd48a56286093653346d12c3f105 stunnel.conf"
sha512sums="250d55e684311ed79d43f25f7980e67627d8d58cfe8c13d4f90a8e0b00f13819adc1732bbc94ebba7dccc183384ea75c8ff3171f697d147f204b62fa60f63b67 stunnel-5.31.tar.gz
ec0922fdea646fec2a31b4a0ffc4d5f6efefb1ee2411e0a9bed5b431e997c50a8cfb09e990ac14adaac73cfba9ee19a161e4bd1fd396969acc8ef80cdee00903 stunnel.initd
bbdd8d88f7dbadb7de1ebfc85e936e12b70ea5aae27c204e005b998246d834c367742f2d2b85de7e100cf245260f65acd17e1b6cb7a383651401e6304fc05a84 stunnel.conf"
|