diff options
author | Arch3y <arch3y@arch3y.com> | 2017-04-25 08:45:12 -0400 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-29 07:30:37 +0000 |
commit | c6304787520dad7650a8e16b4f87e083415561c2 (patch) | |
tree | 9e5756df37b96ebf88f1ea40c8b6c03053b9e4e1 /testing/hexinject/APKBUILD | |
parent | ce9cd352283a024dabbc671fb5028757575e831b (diff) | |
download | aports-c6304787520dad7650a8e16b4f87e083415561c2.tar.bz2 aports-c6304787520dad7650a8e16b4f87e083415561c2.tar.xz |
testing/hexinject: new aport
A very versatile packet injector and sniffer
http://hexinject.sourceforge.net/
[TT: modernize, fix-build.patch]
Diffstat (limited to 'testing/hexinject/APKBUILD')
-rw-r--r-- | testing/hexinject/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/hexinject/APKBUILD b/testing/hexinject/APKBUILD new file mode 100644 index 0000000000..7572fa9056 --- /dev/null +++ b/testing/hexinject/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Arch3y <arch3y@riseup.net> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=hexinject +pkgver=1.6 +pkgrel=0 +pkgdesc="A very versatile packet injector and sniffer" +url="http://hexinject.sourceforge.net/" +arch="all" +license="BSD" +depends="" +makedepends="libpcap-dev" +source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + fix-build.patch" +options="!check" +builddir="$srcdir/$pkgname" + +build() { + cd "$builddir" + make +} + +package() { + cd "$builddir" + install -Dm755 hexinject $pkgdir/usr/bin/hexinject + install -Dm755 prettypacket $pkgdir/usr/bin/prettypacket + install -Dm755 hex2raw $pkgdir/usr/bin/hex2raw +} + +sha512sums="7432122a7ca42b7ac066cc55daec2d4a656b08e0f390db1a49f626181080d07687026d04a150573e3341e4e76f87a20b6466deddcc9d022e7d66fadcb8dac1ad hexinject-1.6.tar.gz +7ab2e5a576e23bb5bfdefc8d9b9a432008d3e75bf4693cab6b0f20661cdf9286487b9c3294b9dfe207d134b8631e2083ac638f0821edc16be1510b8cc4a206aa fix-build.patch" |