diff options
author | root <root@rshg054.dnsready.net> | 2013-05-31 06:21:03 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-31 06:21:03 -0700 |
commit | 7e7561a9640d0e1f54288a391239feb6bd691b56 (patch) | |
tree | d3b51b006a1133ace68d149692d9bd9fb3f981a9 /community/hping | |
parent | 94a3b302f520438e919ef8706ce9cf42ad7c2e11 (diff) |
Fri May 31 06:21:01 PDT 2013
Diffstat (limited to 'community/hping')
-rw-r--r-- | community/hping/Makefile.patch | 10 | ||||
-rw-r--r-- | community/hping/PKGBUILD | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/community/hping/Makefile.patch b/community/hping/Makefile.patch index dd53dd0a6..d1d4221f4 100644 --- a/community/hping/Makefile.patch +++ b/community/hping/Makefile.patch @@ -12,11 +12,11 @@ diff -Naur hping3-20051105/Makefile hping3-20051105-new/Makefile - @if [ -d ${INSTALL_MANPATH}/man8 ]; then \ - cp ./docs/hping3.8 ${INSTALL_MANPATH}/man8; \ - chmod 644 ${INSTALL_MANPATH}/man8/hping3.8; \ -+ @[ ! -d ${DESTDIR}/usr/sbin ] && install -d ${DESTDIR}/usr/sbin -+ cp -f hping3 ${DESTDIR}/usr/sbin/ -+ chmod 755 ${DESTDIR}/usr/sbin/hping3 -+ ln -s /usr/sbin/hping3 ${DESTDIR}/usr/sbin/hping -+ ln -s /usr/sbin/hping3 ${DESTDIR}/usr/sbin/hping2 ++ @[ ! -d ${DESTDIR}/usr/bin ] && install -d ${DESTDIR}/usr/bin ++ cp -f hping3 ${DESTDIR}/usr/bin/ ++ chmod 755 ${DESTDIR}/usr/bin/hping3 ++ ln -s hping3 ${DESTDIR}/usr/bin/hping ++ ln -s hping3 ${DESTDIR}/usr/bin/hping2 + @[ ! -d ${DESTDIR}${INSTALL_MANPATH}/man8 ] && install -d ${DESTDIR}${INSTALL_MANPATH}/man8 + @if [ -d ${DESTDIR}${INSTALL_MANPATH}/man8 ]; then \ + cp ./docs/hping3.8 ${DESTDIR}${INSTALL_MANPATH}/man8; \ diff --git a/community/hping/PKGBUILD b/community/hping/PKGBUILD index ee6b4e835..41c30b6a4 100644 --- a/community/hping/PKGBUILD +++ b/community/hping/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 57877 2011-11-04 07:45:07Z lfleischer $ +# $Id: PKGBUILD 92024 2013-05-30 23:36:53Z seblu $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Kevin Piche <kevin@archlinux.org> pkgname=hping pkgver=3.0.0 -pkgrel=2 +pkgrel=3 pkgdesc='A command-line oriented TCP/IP packet assembler/analyzer.' arch=('i686' 'x86_64') url='http://www.hping.org' @@ -14,7 +14,7 @@ source=("http://www.hping.org/hping3-20051105.tar.gz" 'Makefile.patch' 'bytesex.h.patch') md5sums=('ca4ea4e34bcc2162aedf25df8b2d1747' - '3c6f920201fc980d377408917a28df93' + '339a38f86169d1b9344287a85201afbe' '8af8e336819df1447b0c1b879a704be9') build() { |