diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-07-13 14:26:28 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-07-13 14:26:28 +0000 |
commit | e2234712acb3c0e00d14ccada2f576b2c746393c (patch) | |
tree | fde515336eeeb63b32cf5d5ee62b9bc1fa05fc6e /testing/hping3 | |
parent | b3035afd9af9784996e38362dd5ded3c6c4e0cab (diff) | |
download | aports-e2234712acb3c0e00d14ccada2f576b2c746393c.tar.bz2 aports-e2234712acb3c0e00d14ccada2f576b2c746393c.tar.xz |
testing/hping3: enabled tcl
Diffstat (limited to 'testing/hping3')
-rw-r--r-- | testing/hping3/APKBUILD | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/testing/hping3/APKBUILD b/testing/hping3/APKBUILD index d20141d2dd..6f688cd2dd 100644 --- a/testing/hping3/APKBUILD +++ b/testing/hping3/APKBUILD @@ -2,24 +2,23 @@ # Maintainer: Michael Mason <ms13sp@gmail.com> pkgname=hping3 pkgver=20051105 -pkgrel=3 +pkgrel=4 pkgdesc="A ping-like TCP/IP packet assembler/analyzer" url="http://www.hping.org" arch="all" license="GPL2" -depends="" -makedepends="libpcap-dev" -install="" +options="!check" +makedepends="libpcap-dev tcl-dev" subpackages="$pkgname-doc" source="http://www.hping.org/$pkgname-$pkgver.tar.gz - hping3-bytesex.patch - " + hping3-bytesex.patch" builddir="$srcdir/$pkgname-$pkgver" + prepare() { default_prepare cd "$builddir" - sed -i -e 's:net/bpf.h:pcap/bpf.h:' libpcap_stuff.c script.c || return 1 + sed -i -e 's:net/bpf.h:pcap/bpf.h:' libpcap_stuff.c script.c } build() { @@ -28,9 +27,8 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --no-tcl || return 1 - make || return 1 + --infodir=/usr/share/info + make } package() { @@ -42,9 +40,5 @@ package() { install -m644 -D docs/hping3.8 "$pkgdir"/usr/share/man/man8/hping3.8 } -md5sums="ca4ea4e34bcc2162aedf25df8b2d1747 hping3-20051105.tar.gz -19a8f855570a5c0b27bfeb81da768030 hping3-bytesex.patch" -sha256sums="f5a671a62a11dc8114fa98eade19542ed1c3aa3c832b0e572ca0eb1a5a4faee8 hping3-20051105.tar.gz -d0d0f6b59a5b2e095da03a41abb3c9259339bc668fced824cd521782047ca57b hping3-bytesex.patch" sha512sums="3b3faa836e70054c8f9f004d876b7eb5f668b64826a6aaf8ca3685619111d9df4eb494a7d38b83cea6cb5f0bd164956461039bf4f73f7c7e90d80cede639b2b3 hping3-20051105.tar.gz 036391326f3b1edff46e4deea9c10f21347d507c3979e21225b91915f12376b535ab696174bdc68119cec19e43108d9790b49091ce483ec78f84e520561c643e hping3-bytesex.patch" |