mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
44 lines
1.6 KiB
Bash
44 lines
1.6 KiB
Bash
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
|
|
# Contributor: Kevin Piche <kevin@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - added ARM and AArch64 to bytesex.h.patch
|
|
|
|
pkgname=hping
|
|
pkgver=3.0.0
|
|
pkgrel=5
|
|
pkgdesc='A command-line oriented TCP/IP packet assembler/analyzer.'
|
|
arch=('x86_64')
|
|
url='http://www.hping.org'
|
|
license=('GPL2' 'BSD')
|
|
depends=('libpcap')
|
|
source=("http://www.hping.org/hping3-20051105.tar.gz"
|
|
'Makefile.patch'
|
|
'bytesex.h.patch')
|
|
md5sums=('ca4ea4e34bcc2162aedf25df8b2d1747'
|
|
'339a38f86169d1b9344287a85201afbe'
|
|
'27f390e387b95bc6e7316e4e6616a9a6')
|
|
sha256sums=('f5a671a62a11dc8114fa98eade19542ed1c3aa3c832b0e572ca0eb1a5a4faee8'
|
|
'd50891759baca0e7934a11f77a15e1b7694f7ac0445151408221e43ba0a2097e'
|
|
'2eb2c9c3a08000017242c2f42506912ff668bc27aef2075fa2b98ed99ec9bcb7')
|
|
b2sums=('b99b7d2310e1706926ec5c649cd03a8889e3cff36f2a8e1f899799ddb1f4e6e432ab2b83c82b741ab827f715dbf8649a94831e75ef22793c7730e80d49c576c1'
|
|
'af5a102935f09ceb3bc81e21172872440ed3df65e90bb7b3078c979c7a865ac388572ea01ce7d09af068b74825bf8c821cbbdb5f083590077d8fecaf9169b14d'
|
|
'bf18bf90b8921a2898d9fdabf099b33f27ddf01728458fb58b8969fd35bd78d4dfebdc74b984c510be35249c4c3993e25163218b4266d66f6bdeecc45851071a')
|
|
|
|
build() {
|
|
cd "${srcdir}/hping3-20051105"
|
|
|
|
patch -Np1 -i ../bytesex.h.patch
|
|
|
|
MANPATH=/usr/share/man ./configure --no-tcl
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/hping3-20051105"
|
|
|
|
patch -p1 < ../Makefile.patch
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|