milis/talimatname/genel/s/stunnel/talimat

38 lines
938 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Güvenli kanallar üzerinden iletişim kurabilmeniz için SSL içindeki keyfi TCP bağlantılarını şifreleyin
# URL: http://www.stunnel.org
# Paketçi: milisarge
# Gerekler:
isim=stunnel
surum=5.26
devir=2
kaynak=(ftp://ftp.stunnel.org/stunnel/archive/5.x/$isim-$surum.tar.gz cert-openssl.patch stunnel.conf)
derle() {
cd $isim-$surum
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
}