27 lines
550 B
Plaintext
27 lines
550 B
Plaintext
|
# Tanım: VPN istemcisi
|
|||
|
# URL: http://www.openvpn.net
|
|||
|
# Paketçi: milisarge
|
|||
|
# Gerekler:
|
|||
|
|
|||
|
isim=openvpn
|
|||
|
surum=2.4.0
|
|||
|
devir=1
|
|||
|
kaynak=(http://swupdate.openvpn.net/community/releases/$isim-$surum.tar.gz \
|
|||
|
openvpnd)
|
|||
|
|
|||
|
derle() {
|
|||
|
install -D -m 755 openvpnd $PKG/etc/rc.d/init.d/openvpn
|
|||
|
cd $isim-$surum
|
|||
|
|
|||
|
./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
|
|||
|
|
|||
|
}
|