talimat 696 B

12345678910111213141516171819202122232425
  1. # Tanım: Bir vpn uygulaması
  2. # URL: http://www.tinc-vpn.org
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: ağ
  6. isim=tinc
  7. surum=1.0.31
  8. devir=1
  9. kaynak=(https://github.com/gsliepen/tinc/archive/release-$surum.tar.gz)
  10. derle() {
  11. cd $isim-release-$surum
  12. autoreconf -fsi
  13. ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
  14. make
  15. make DESTDIR=$PKG install
  16. install -d "$PKG"/etc/tinc/
  17. install -dm755 "$PKG"/usr/share/tinc/examples
  18. cp -r doc/sample-config $PKG/usr/share/tinc/examples
  19. cp doc/sample-config/tinc.conf "$PKG"/etc/tinc/
  20. find "$PKG"/usr/share/tinc/examples -type f -exec chmod 644 {} +
  21. find "$PKG"/usr/share/tinc/examples -type d -exec chmod 755 {} +
  22. }