milis/talimatname/genel/o/openvpn/talimat

27 lines
550 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: VPN istemcisi
2017-04-06 13:23:00 +02:00
# URL: http://www.openvpn.net
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-05-10 03:28:37 +02:00
2017-10-28 14:10:23 +02:00
isim=openvpn
surum=2.4.0
devir=1
kaynak=(http://swupdate.openvpn.net/community/releases/$isim-$surum.tar.gz \
2016-05-10 03:28:37 +02:00
openvpnd)
2017-10-27 23:59:41 +02:00
derle() {
2016-05-10 03:28:37 +02:00
install -D -m 755 openvpnd $PKG/etc/rc.d/init.d/openvpn
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-05-10 03:28:37 +02:00
./configure --prefix=/usr \
--mandir=/usr/man \
--enable-iproute2 \
--disable-plugin-auth-pam
make
make DESTDIR=$PKG install
if [ -d $PKG/usr/share/doc ];then
rm -r $PKG/usr/share/doc
fi
}