opt/stunnel/Pkgfile

33 lines
867 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Stunnel wraps normal socket connections with SSL/TLS
2021-02-24 11:50:01 +01:00
# URL: https://www.stunnel.org
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: openssl zlib
2006-02-23 16:26:10 +01:00
name=stunnel
2023-03-07 09:08:08 +01:00
version=5.69
2019-04-09 14:29:26 +02:00
release=1
2015-03-20 13:47:19 +01:00
source=(https://www.stunnel.org/downloads/$name-$version.tar.gz \
2021-02-24 11:50:01 +01:00
$name.conf $name)
2006-02-23 16:26:10 +01:00
build () {
2021-02-24 11:50:01 +01:00
cd $name-$version
2008-04-09 09:45:31 +02:00
2021-02-24 11:50:01 +01:00
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-ssl=/usr \
--disable-{fips,systemd,libwrap} \
--enable-ipv6
make
2008-04-09 09:45:31 +02:00
2021-02-24 11:50:01 +01:00
install -D -m 0755 src/stunnel $PKG/usr/sbin/stunnel
install -D -m 0644 doc/stunnel.8 $PKG/usr/share/man/man8/stunnel.8
2022-03-16 11:43:23 +01:00
install -D -m 0755 $SRC/stunnel $PKG/etc/rc.d/stunnel
2021-02-24 11:50:01 +01:00
install -D -m 0644 $SRC/stunnel.conf $PKG/etc/stunnel.conf
2014-03-07 11:16:28 +01:00
2021-02-24 11:50:01 +01:00
install -d $PKG/etc/ssl/{certs,keys}
touch $PKG/etc/ssl/{certs/stunnel.crt,keys/stunnel.key}
chmod 0600 $PKG/etc/ssl/keys/stunnel.key
2006-02-23 16:26:10 +01:00
}