talimat 562 B

12345678910111213141516171819202122232425262728
  1. # Tanım: VPN istemcisi
  2. # URL: http://www.openvpn.net
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: ağ
  6. isim=openvpn
  7. surum=2.4.0
  8. devir=1
  9. kaynak=(http://swupdate.openvpn.net/community/releases/$isim-$surum.tar.gz \
  10. openvpnd)
  11. derle() {
  12. install -D -m 755 openvpnd $PKG/etc/rc.d/init.d/openvpn
  13. cd $isim-$surum
  14. ./configure --prefix=/usr \
  15. --mandir=/usr/man \
  16. --enable-iproute2 \
  17. --disable-plugin-auth-pam
  18. make
  19. make DESTDIR=$PKG install
  20. if [ -d $PKG/usr/share/doc ];then
  21. rm -r $PKG/usr/share/doc
  22. fi
  23. }