milis/talimatname/genel/s/stunnel/talimat

38 lines
938 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Güvenli kanallar üzerinden iletişim kurabilmeniz için SSL içindeki keyfi TCP bağlantılarını şifreleyin
2017-04-18 10:05:42 +02:00
# URL: http://www.stunnel.org
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=stunnel
surum=5.26
devir=2
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(ftp://ftp.stunnel.org/stunnel/archive/5.x/$isim-$surum.tar.gz cert-openssl.patch stunnel.conf)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
patch -p1 -i $SRC/cert-openssl.patch
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-systemd
make
make DESTDIR=$PKG install
make DESTDIR=$PKG cert
cd $scripts-$scriptsversion
make DESTDIR=$PKG install-stunnel
install -v -m750 -d $PKG/etc/stunnel
cp -v $SRC/stunnel.conf $PKG/etc/stunnel/stunnel.conf
}