2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: TCP/IP prokolu icin Ping
|
2016-07-30 20:33:16 +02:00
|
|
|
|
# URL: https://github.com/antirez/hping
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: libpcap
|
2016-07-30 20:33:16 +02:00
|
|
|
|
|
|
|
|
|
name=hping
|
|
|
|
|
version=git
|
|
|
|
|
release=1
|
|
|
|
|
source=(tshzset.patch Makefile.patch)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-07-30 20:33:16 +02:00
|
|
|
|
git clone https://github.com/antirez/hping
|
2017-01-31 02:35:21 +01:00
|
|
|
|
|
2016-07-30 20:33:16 +02:00
|
|
|
|
cd $name
|
|
|
|
|
patch -Np1 -i $SRC/tshzset.patch
|
2017-01-31 02:35:21 +01:00
|
|
|
|
MANPATH=/usr/share/man
|
2016-07-30 20:33:16 +02:00
|
|
|
|
./configure --prefix=/usr --no-tcl
|
|
|
|
|
make
|
|
|
|
|
patch -p1 < $SRC/Makefile.patch
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
}
|