blob: a876179b004dcdabe771d14849a654c2946e60a0 (
plain)
1 # Description: Stunnel wraps normal socket connections with SSL/TLS
2 # URL: https://www.stunnel.org
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: openssl zlib
5
6 name=stunnel
7 version=5.67
8 release=1
9 source=(https://www.stunnel.org/downloads/$name-$version.tar.gz \
10 $name.conf $name)
11
12 build () {
13 cd $name-$version
14
15 ./configure \
16 --prefix=/usr \
17 --sysconfdir=/etc \
18 --localstatedir=/var \
19 --with-ssl=/usr \
20 --disable-{fips,systemd,libwrap} \
21 --enable-ipv6
22 make
23
24 install -D -m 0755 src/stunnel $PKG/usr/sbin/stunnel
25 install -D -m 0644 doc/stunnel.8 $PKG/usr/share/man/man8/stunnel.8
26 install -D -m 0755 $SRC/stunnel $PKG/etc/rc.d/stunnel
27 install -D -m 0644 $SRC/stunnel.conf $PKG/etc/stunnel.conf
28
29 install -d $PKG/etc/ssl/{certs,keys}
30 touch $PKG/etc/ssl/{certs/stunnel.crt,keys/stunnel.key}
31 chmod 0600 $PKG/etc/ssl/keys/stunnel.key
32 }
|