Ticket #46085: patch-hping3-Portfile.diff
File patch-hping3-Portfile.diff, 3.4 KB (added by jul_bsd@…, 10 years ago) |
---|
-
net/hping3/Portfile
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 120992 2014-06-13 19:32:24Z mf2k@macports.org $2 # $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $ 3 3 4 4 PortSystem 1.0 5 5 6 name 7 version 8 revision 9 categories 10 platforms 11 maintainers wohner.eu:normen12 13 description 6 name hping3 7 version 20051105 8 revision 2 9 categories net security 10 platforms darwin 11 maintainers pmq 12 license GPL-2 13 description hping is a command-line oriented TCP/IP packet assembler/analyzer 14 14 long_description \ 15 15 hping is a command-line oriented TCP/IP packet assembler/analyzer. \ 16 16 The interface is inspired to the ping(8) unix command, but hping \ 17 is not only able to send ICMP echo requests. It supports TCP, UDP, \17 isn't only able to send ICMP echo requests. It supports TCP, UDP, \ 18 18 ICMP and RAW-IP protocols, has a traceroute mode, the ability to send \ 19 19 files between a covered channel, and many other features. 20 20 21 homepage 22 master_sites 21 homepage http://www.hping.org 22 master_sites ${homepage} 23 23 24 checksums sha1 e13d27e14e7f90c2148a9b00a480781732fd351e\25 rmd160 e4ec209228b5cb99e2d561c5a7b1c82ff8abe540 24 checksums rmd160 e4ec209228b5cb99e2d561c5a7b1c82ff8abe540 \ 25 sha256 f5a671a62a11dc8114fa98eade19542ed1c3aa3c832b0e572ca0eb1a5a4faee8 26 26 27 patchfiles 28 29 27 patchfiles patch-Makefile.in.diff patch-libpcap_stuff.c.diff \ 28 patch-script.c.diff patch-sendip.c.diff patch-ars.c.diff \ 29 patch-bytesex.h.diff patch-gethostname.c.diff 30 30 31 31 configure.args --no-tcl 32 32 33 33 post-configure { 34 34 reinplace "s#/usr/local#${prefix}#g" ${worksrcpath}/Makefile 35 35 reinplace "s#MANPATH=#MANPATH=${prefix}/share/man#g" \ 36 36 ${worksrcpath}/Makefile 37 37 reinplace "s#INSTALL_PATH=#INSTALL_PATH=${destroot}${prefix}#g" \ 38 38 ${worksrcpath}/Makefile 39 39 reinplace "s#INSTALL_MANPATH=#INSTALL_MANPATH=${destroot}#g" \ 40 40 ${worksrcpath}/Makefile 41 41 } 42 42 43 43 variant universal {} … … 46 46 CCOPT="${configure.cflags} [get_canonical_archflags cc]" 47 47 48 48 post-build { 49 system "cd ${worksrcpath} &&make strip"49 system -W ${worksrcpath} "make strip" 50 50 } 51 51 52 52 post-destroot { … … 57 57 default_variants +tcl 58 58 59 59 variant tcl description "Add the Tcl scripting support" { 60 depends_lib-append 61 configure.args-delete 60 depends_lib-append port:tcl 61 configure.args-delete --no-tcl 62 62 } 63 63 64 livecheck.type regex 65 livecheck.url ${homepage}/download.php 66 livecheck.regex ${name}-(\[0-9a-z.\]+)${extract.suffix} 64 notes " 65 This tool has not been updated since 2005. It's recommended to evaluate alternatives. 66 " 67 68 livecheck.type regex 69 livecheck.url ${homepage}/download.php 70 livecheck.regex ${name}-(\[0-9a-z.\]+)${extract.suffix} 71