blob: 4b0ee5165cee3b537176e965c6d9b0094ef0c9d0 (
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.32
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="60462f97b62e745288541089e8c0877c stunnel-5.32.tar.gz
d01c6571ff4c1fdc7b9a489a084a6894 stunnel.initd
9193cc027bed086a3852dc7189602f0b stunnel.conf"
sha256sums="0ee64774d7a720f3ffd129b08557ee0882704c7f65b859c40e315a175b68a6fd stunnel-5.32.tar.gz
76cbaa1c4fed680d502f1953c3057c5f40737c30ba6d82d1d539b5d7943e2331 stunnel.initd
be8deb0e051f594e14c898c2ec8a4a6879adcd48a56286093653346d12c3f105 stunnel.conf"
sha512sums="aad3b718a727ae23bc88bda027017a5e4e19d2d08c1d4e95087dae20d4ed994d0ce29e9ae4b4d40456a7d7aaeb10c30a4283c6be2965d7183982204a347781bc stunnel-5.32.tar.gz
ec0922fdea646fec2a31b4a0ffc4d5f6efefb1ee2411e0a9bed5b431e997c50a8cfb09e990ac14adaac73cfba9ee19a161e4bd1fd396969acc8ef80cdee00903 stunnel.initd
bbdd8d88f7dbadb7de1ebfc85e936e12b70ea5aae27c204e005b998246d834c367742f2d2b85de7e100cf245260f65acd17e1b6cb7a383651401e6304fc05a84 stunnel.conf"
|