milis/talimatname/genel/f/fierce/talimat

28 lines
623 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: DNS tarayıcı
2017-07-01 23:11:17 +02:00
# URL: http://ha.ckers.org/fierce/
2017-10-27 20:46:27 +02:00
# Paketçi: yakar (aydin@komutan.org)
# Gerekler: perl-net-dns
2017-07-01 23:11:17 +02:00
2017-10-28 14:10:23 +02:00
isim=fierce
surum=0.9.9
devir=1
kaynak=()
2017-07-01 23:11:17 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
git clone https://github.com/yakar/fierce.git $DERLEME_KAYNAKDIZIN/$isim
2017-07-01 23:11:17 +02:00
else
2017-10-28 14:10:23 +02:00
cd $DERLEME_KAYNAKDIZIN/$isim
2017-07-01 23:11:17 +02:00
git pull
fi
2017-10-28 14:10:23 +02:00
cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC
cd $SRC/$isim
2017-07-01 23:11:17 +02:00
# 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
}