[19747] trunk/dports/net/hping3
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 26 13:12:12 PDT 2006
Revision: 19747
http://trac.macosforge.org/projects/macports/changeset/19747
Author: pmq at macports.org
Date: 2006-09-26 13:12:11 -0700 (Tue, 26 Sep 2006)
Log Message:
-----------
Version bump to 20051105
TCL is now the default, use no_tcl to get rid of it
Switched to sha1 & ripemd160
Took over from darwinports at opendarwin.org
Modified Paths:
--------------
trunk/dports/net/hping3/Portfile
Added Paths:
-----------
trunk/dports/net/hping3/files/patch-script.c
Property Changed:
----------------
trunk/dports/net/hping3/Portfile
Modified: trunk/dports/net/hping3/Portfile
===================================================================
--- trunk/dports/net/hping3/Portfile 2006-09-26 19:39:52 UTC (rev 19746)
+++ trunk/dports/net/hping3/Portfile 2006-09-26 20:12:11 UTC (rev 19747)
@@ -1,28 +1,50 @@
-# $Id: Portfile,v 1.3 2005/09/13 06:57:50 olegb Exp $
+# $Id$
+
PortSystem 1.0
+
name hping3
-version alpha-2
-categories net
-maintainers darwinports at opendarwin.org
-description a network tool.
-long_description a network tool able to send custom packets.
-homepage http://www.hping.org/
+version 20051105
+categories net security
platforms darwin
-master_sites http://wiki.hping.org/uploadedfiles/101/
-checksums md5 5abc5f4b5ea4ae55e2a4fd91438c8626
-patchfiles patch-Makefile.in patch-libpcap_stuff.c
-configure.args --no-tcl
+maintainers pmq at macports.org
+description hping is a command-line oriented TCP/IP packet assembler/analyzer
+long_description \
+ hping is a command-line oriented TCP/IP packet assembler/analyzer. \
+ The interface is inspired to the ping(8) unix command, but hping \
+ isn't only able to send ICMP echo requests. It supports TCP, UDP, \
+ ICMP and RAW-IP protocols, has a traceroute mode, the ability to send \
+ files between a covered channel, and many other features.
+
+homepage http://www.hping.org
+master_sites ${homepage}
+
+checksums sha1 e13d27e14e7f90c2148a9b00a480781732fd351e \
+ rmd160 e4ec209228b5cb99e2d561c5a7b1c82ff8abe540
+
+depends_lib port:tcl
+
+patchfiles patch-Makefile.in patch-libpcap_stuff.c \
+ patch-script.c
+
+post-configure {
+ reinplace "s#/usr/local#${prefix}#g" ${worksrcpath}/Makefile
+ reinplace "s#MANPATH=#MANPATH=${prefix}/share/man#g" \
+ ${worksrcpath}/Makefile
+ reinplace "s#INSTALL_PATH=#INSTALL_PATH=${destroot}${prefix}#g" \
+ ${worksrcpath}/Makefile
+}
+
post-build {
system "cd ${worksrcpath} && make strip"
- reinplace "s|INSTALL_PATH=|INSTALL_PATH=${destroot}${prefix}|g" Makefile
- reinplace "s|INSTALL_MANPATH=|INSTALL_MANPATH=${destroot}${prefix}/share/man|g" Makefile
}
+
post-destroot {
- file delete ${destroot}${prefix}/sbin/hping
- file delete ${destroot}${prefix}/sbin/hping2
+ file delete ${destroot}${prefix}/sbin/hping
+ file delete ${destroot}${prefix}/sbin/hping2
}
-variant tcl {
- configure.args-delete --no-tcl
+variant no_tcl {
+ depends_lib-delete port:tcl
+ configure.args-append --no-tcl
}
Property changes on: trunk/dports/net/hping3/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Added: trunk/dports/net/hping3/files/patch-script.c
===================================================================
--- trunk/dports/net/hping3/files/patch-script.c (rev 0)
+++ trunk/dports/net/hping3/files/patch-script.c 2006-09-26 20:12:11 UTC (rev 19747)
@@ -0,0 +1,12 @@
+--- script.c.~1.20.~ 2004-05-29 08:48:13.000000000 +0200
++++ script.c 2006-09-26 21:49:11.000000000 +0200
+@@ -23,8 +23,8 @@
+ #include <sched.h>
+
+ #include <sys/ioctl.h>
+-#include <pcap.h>
+ #include <net/bpf.h>
++#include <pcap.h>
+
+ #include "release.h"
+ #include "hping2.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20060926/3be48729/attachment.html
More information about the macports-changes
mailing list