28 lines
627 B
Plaintext
28 lines
627 B
Plaintext
# Tanım: DNS tarayıcı
|
||
# URL: http://ha.ckers.org/fierce/
|
||
# Paketçi: yakar (aydin@komutan.org)
|
||
# Gerekler: perl-net-dns
|
||
|
||
name=fierce
|
||
version=0.9.9
|
||
release=1
|
||
source=()
|
||
|
||
derle() {
|
||
if [ ! -d $DERLEME_KAYNAKDIZIN/$name ];then
|
||
git clone https://github.com/yakar/fierce.git $DERLEME_KAYNAKDIZIN/$name
|
||
else
|
||
cd $DERLEME_KAYNAKDIZIN/$name
|
||
git pull
|
||
fi
|
||
|
||
cp -r $DERLEME_KAYNAKDIZIN/$name $SRC
|
||
cd $SRC/$name
|
||
|
||
# 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
|
||
}
|