milis/talimatname/genel/f/fierce/talimat

29 lines
641 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: DNS tarayıcı
# URL: http://ha.ckers.org/fierce/
# Paketçi: yakar_(aydin@komutan.org)
# Gerekler: perl-net-dns
# Grup: güvenlik
isim=fierce
surum=0.9.9
devir=1
kaynak=()
derle() {
if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
git clone https://github.com/yakar/fierce.git $DERLEME_KAYNAKDIZIN/$isim
else
cd $DERLEME_KAYNAKDIZIN/$isim
git pull
fi
cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC
cd $SRC/$isim
# Conform to our install location.
sed -i 's|hosts\.txt|/etc/fierce/hosts.txt|' "fierce.pl"
install -D -m755 fierce.pl "$PKG"/usr/bin/fierce.pl
install -D -m644 hosts.txt "$PKG"/etc/fierce/hosts.txt
}