talimat 717 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Tanım: DNS tarayıcı
  2. # URL: http://ha.ckers.org/fierce/
  3. # Paketçi: yakar
  4. # Gerekler: perl-net-dns
  5. # Grup: güvenlik
  6. isim=fierce
  7. surum=0.9.9
  8. devir=2
  9. kaynak=()
  10. derle() {
  11. git_indir https://github.com/yakar/fierce.git $isim
  12. cd $SRC/$isim
  13. # Conform to our install location.
  14. sed -i 's|hosts\.txt|/etc/fierce/hosts.txt|' "fierce.pl"
  15. install -D -m755 fierce.pl "$PKG"/usr/bin/fierce
  16. install -D -m644 hosts.txt "$PKG"/etc/fierce/hosts.txt
  17. # desktop
  18. mkdir -p "$PKG/usr/share/applications/"
  19. cat > $PKG/usr/share/applications/$isim.desktop << BASLA
  20. [Desktop Entry]
  21. Name=Fierce
  22. Exec=sh -c "fierce;${SHELL:-bash}"
  23. Terminal=true
  24. Icon=fierce
  25. Type=Application
  26. Categories=Network;X-Komutan;
  27. Version=1.0
  28. BASLA
  29. }