<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre, #msg p { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[32376] trunk/dports/net/hping3</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.macosforge.org/projects/macports/changeset/32376">32376</a></dd>
<dt>Author</dt> <dd>pmq@macports.org</dd>
<dt>Date</dt> <dd>2007-12-28 11:48:18 -0800 (Fri, 28 Dec 2007)</dd>
</dl>
<h3>Log Message</h3>
<pre>Linted.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsnethping3Portfile">trunk/dports/net/hping3/Portfile</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportsnethping3filespatchMakefileindiff">trunk/dports/net/hping3/files/patch-Makefile.in.diff</a></li>
<li><a href="#trunkdportsnethping3filespatcharscdiff">trunk/dports/net/hping3/files/patch-ars.c.diff</a></li>
<li><a href="#trunkdportsnethping3filespatchlibpcap_stuffcdiff">trunk/dports/net/hping3/files/patch-libpcap_stuff.c.diff</a></li>
<li><a href="#trunkdportsnethping3filespatchscriptcdiff">trunk/dports/net/hping3/files/patch-script.c.diff</a></li>
<li><a href="#trunkdportsnethping3filespatchsendipcdiff">trunk/dports/net/hping3/files/patch-sendip.c.diff</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportsnethping3filespatchMakefilein">trunk/dports/net/hping3/files/patch-Makefile.in</a></li>
<li><a href="#trunkdportsnethping3filespatcharsc">trunk/dports/net/hping3/files/patch-ars.c</a></li>
<li><a href="#trunkdportsnethping3filespatchlibpcap_stuffc">trunk/dports/net/hping3/files/patch-libpcap_stuff.c</a></li>
<li><a href="#trunkdportsnethping3filespatchscriptc">trunk/dports/net/hping3/files/patch-script.c</a></li>
<li><a href="#trunkdportsnethping3filespatchsendipc">trunk/dports/net/hping3/files/patch-sendip.c</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsnethping3Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/net/hping3/Portfile (32375 => 32376)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/hping3/Portfile        2007-12-28 19:46:06 UTC (rev 32375)
+++ trunk/dports/net/hping3/Portfile        2007-12-28 19:48:18 UTC (rev 32376)
</span><span class="lines">@@ -28,8 +28,8 @@
</span><span class="cx">
</span><span class="cx"> depends_lib        port:tcl
</span><span class="cx">
</span><del>-patchfiles        patch-Makefile.in patch-libpcap_stuff.c \
-                patch-script.c patch-sendip.c patch-ars.c
</del><ins>+patchfiles        patch-Makefile.in.diff patch-libpcap_stuff.c.diff \
+                patch-script.c.diff patch-sendip.c.diff patch-ars.c.diff
</ins><span class="cx">
</span><span class="cx"> post-configure {
</span><span class="cx"> reinplace "s#/usr/local#${prefix}#g" ${worksrcpath}/Makefile
</span><span class="lines">@@ -39,8 +39,8 @@
</span><span class="cx">          ${worksrcpath}/Makefile
</span><span class="cx"> }
</span><span class="cx">
</span><del>-post-build {
-        system "cd ${worksrcpath} && make strip"
</del><ins>+post-build {
+ system "cd ${worksrcpath} && make strip"
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> post-destroot {
</span></span></pre></div>
<a id="trunkdportsnethping3filespatchMakefilein"></a>
<div class="delfile"><h4>Deleted: trunk/dports/net/hping3/files/patch-Makefile.in (32375 => 32376)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/hping3/files/patch-Makefile.in        2007-12-28 19:46:06 UTC (rev 32375)
+++ trunk/dports/net/hping3/files/patch-Makefile.in        2007-12-28 19:48:18 UTC (rev 32376)
</span><span class="lines">@@ -1,27 +0,0 @@
</span><del>---- Makefile.in.org        Fri Nov 19 14:11:38 2004
-+++ Makefile.in        Fri Nov 19 14:12:33 2004
-@@ -14,7 +14,8 @@
- #uncomment the following if you need libpcap based build under linux
- #(not raccomanded)
- COMPILE_TIME=
--INSTALL_MANPATH=@MANPATH@
-+INSTALL_PATH=
-+INSTALL_MANPATH=
- @PCAP@
-
- ARSOBJ = ars.o apd.o split.o rapd.o
-@@ -72,10 +73,10 @@
-         rm -rf hping3 *.o byteorder byteorder.h systype.h Makefile libars.a .depend
-
- install: hping3
--        cp -f hping3 /usr/sbin/
--        chmod 755 /usr/sbin/hping3
--        ln -s /usr/sbin/hping3 /usr/sbin/hping
--        ln -s /usr/sbin/hping3 /usr/sbin/hping2
-+        cp -f hping3 ${INSTALL_PATH}/sbin/
-+        chmod 755 ${INSTALL_PATH}/sbin/hping3
-+        ln -s ${INSTALL_PATH}/sbin/hping3 ${INSTALL_PATH}/sbin/hping
-+        ln -s ${INSTALL_PATH}/sbin/hping3 ${INSTALL_PATH}/sbin/hping2
-         @if [ -d ${INSTALL_MANPATH}/man8 ]; then \
-                 cp ./docs/hping3.8 ${INSTALL_MANPATH}/man8; \
-                 chmod 644 ${INSTALL_MANPATH}/man8/hping3.8; \
</del></span></pre></div>
<a id="trunkdportsnethping3filespatchMakefileindifffromrev32372trunkdportsnethping3filespatchMakefilein"></a>
<div class="copfile"><h4>Copied: trunk/dports/net/hping3/files/patch-Makefile.in.diff (from rev 32372, trunk/dports/net/hping3/files/patch-Makefile.in) (0 => 32376)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/hping3/files/patch-Makefile.in.diff         (rev 0)
+++ trunk/dports/net/hping3/files/patch-Makefile.in.diff        2007-12-28 19:48:18 UTC (rev 32376)
</span><span class="lines">@@ -0,0 +1,27 @@
</span><ins>+--- Makefile.in.org        Fri Nov 19 14:11:38 2004
++++ Makefile.in        Fri Nov 19 14:12:33 2004
+@@ -14,7 +14,8 @@
+ #uncomment the following if you need libpcap based build under linux
+ #(not raccomanded)
+ COMPILE_TIME=
+-INSTALL_MANPATH=@MANPATH@
++INSTALL_PATH=
++INSTALL_MANPATH=
+ @PCAP@
+
+ ARSOBJ = ars.o apd.o split.o rapd.o
+@@ -72,10 +73,10 @@
+         rm -rf hping3 *.o byteorder byteorder.h systype.h Makefile libars.a .depend
+
+ install: hping3
+-        cp -f hping3 /usr/sbin/
+-        chmod 755 /usr/sbin/hping3
+-        ln -s /usr/sbin/hping3 /usr/sbin/hping
+-        ln -s /usr/sbin/hping3 /usr/sbin/hping2
++        cp -f hping3 ${INSTALL_PATH}/sbin/
++        chmod 755 ${INSTALL_PATH}/sbin/hping3
++        ln -s ${INSTALL_PATH}/sbin/hping3 ${INSTALL_PATH}/sbin/hping
++        ln -s ${INSTALL_PATH}/sbin/hping3 ${INSTALL_PATH}/sbin/hping2
+         @if [ -d ${INSTALL_MANPATH}/man8 ]; then \
+                 cp ./docs/hping3.8 ${INSTALL_MANPATH}/man8; \
+                 chmod 644 ${INSTALL_MANPATH}/man8/hping3.8; \
</ins></span></pre></div>
<a id="trunkdportsnethping3filespatcharsc"></a>
<div class="delfile"><h4>Deleted: trunk/dports/net/hping3/files/patch-ars.c (32375 => 32376)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/hping3/files/patch-ars.c        2007-12-28 19:46:06 UTC (rev 32375)
+++ trunk/dports/net/hping3/files/patch-ars.c        2007-12-28 19:48:18 UTC (rev 32376)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>---- ars.c.orig        2004-04-14 14:30:18.000000000 +0200
-+++ ars.c        2007-04-05 21:05:19.000000000 +0200
-@@ -914,7 +914,7 @@
-                 return -ARS_INVALID;
-         }
-         ip = (struct ars_iphdr*) packet;
--#if defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI
-+#if defined OSTYPE_DARWIN || OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI
-         ip->tot_len = ntohs(ip->tot_len);
-         ip->frag_off = ntohs(ip->frag_off);
- #endif
</del></span></pre></div>
<a id="trunkdportsnethping3filespatcharscdifffromrev32372trunkdportsnethping3filespatcharsc"></a>
<div class="copfile"><h4>Copied: trunk/dports/net/hping3/files/patch-ars.c.diff (from rev 32372, trunk/dports/net/hping3/files/patch-ars.c) (0 => 32376)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/hping3/files/patch-ars.c.diff         (rev 0)
+++ trunk/dports/net/hping3/files/patch-ars.c.diff        2007-12-28 19:48:18 UTC (rev 32376)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+--- ars.c.orig        2004-04-14 14:30:18.000000000 +0200
++++ ars.c        2007-04-05 21:05:19.000000000 +0200
+@@ -914,7 +914,7 @@
+                 return -ARS_INVALID;
+         }
+         ip = (struct ars_iphdr*) packet;
+-#if defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI
++#if defined OSTYPE_DARWIN || OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI
+         ip->tot_len = ntohs(ip->tot_len);
+         ip->frag_off = ntohs(ip->frag_off);
+ #endif
</ins></span></pre></div>
<a id="trunkdportsnethping3filespatchlibpcap_stuffc"></a>
<div class="delfile"><h4>Deleted: trunk/dports/net/hping3/files/patch-libpcap_stuff.c (32375 => 32376)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/hping3/files/patch-libpcap_stuff.c        2007-12-28 19:46:06 UTC (rev 32375)
+++ trunk/dports/net/hping3/files/patch-libpcap_stuff.c        2007-12-28 19:48:18 UTC (rev 32376)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>---- libpcap_stuff.c.orig        Sat Apr 10 06:38:56 2004
-+++ libpcap_stuff.c        Tue Apr 12 20:21:56 2005
-@@ -16,8 +16,8 @@
- #include <string.h>
- #include <stdlib.h>
- #include <sys/ioctl.h>
--#include <pcap.h>
- #include <net/bpf.h>
-+#include <pcap.h>
-
- #include "globals.h"
-
-
</del></span></pre></div>
<a id="trunkdportsnethping3filespatchlibpcap_stuffcdifffromrev32372trunkdportsnethping3filespatchlibpcap_stuffc"></a>
<div class="copfile"><h4>Copied: trunk/dports/net/hping3/files/patch-libpcap_stuff.c.diff (from rev 32372, trunk/dports/net/hping3/files/patch-libpcap_stuff.c) (0 => 32376)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/hping3/files/patch-libpcap_stuff.c.diff         (rev 0)
+++ trunk/dports/net/hping3/files/patch-libpcap_stuff.c.diff        2007-12-28 19:48:18 UTC (rev 32376)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+--- libpcap_stuff.c.orig        Sat Apr 10 06:38:56 2004
++++ libpcap_stuff.c        Tue Apr 12 20:21:56 2005
+@@ -16,8 +16,8 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <sys/ioctl.h>
+-#include <pcap.h>
+ #include <net/bpf.h>
++#include <pcap.h>
+
+ #include "globals.h"
+
+
</ins></span></pre></div>
<a id="trunkdportsnethping3filespatchscriptc"></a>
<div class="delfile"><h4>Deleted: trunk/dports/net/hping3/files/patch-script.c (32375 => 32376)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/hping3/files/patch-script.c        2007-12-28 19:46:06 UTC (rev 32375)
+++ trunk/dports/net/hping3/files/patch-script.c        2007-12-28 19:48:18 UTC (rev 32376)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>---- 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"
</del></span></pre></div>
<a id="trunkdportsnethping3filespatchscriptcdifffromrev32372trunkdportsnethping3filespatchscriptc"></a>
<div class="copfile"><h4>Copied: trunk/dports/net/hping3/files/patch-script.c.diff (from rev 32372, trunk/dports/net/hping3/files/patch-script.c) (0 => 32376)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/hping3/files/patch-script.c.diff         (rev 0)
+++ trunk/dports/net/hping3/files/patch-script.c.diff        2007-12-28 19:48:18 UTC (rev 32376)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+--- 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"
</ins></span></pre></div>
<a id="trunkdportsnethping3filespatchsendipc"></a>
<div class="delfile"><h4>Deleted: trunk/dports/net/hping3/files/patch-sendip.c (32375 => 32376)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/hping3/files/patch-sendip.c        2007-12-28 19:46:06 UTC (rev 32375)
+++ trunk/dports/net/hping3/files/patch-sendip.c        2007-12-28 19:48:18 UTC (rev 32376)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>---- sendip.c.orig        2004-04-10 01:38:56.000000000 +0200
-+++ sendip.c        2007-04-05 21:05:10.000000000 +0200
-@@ -48,7 +48,7 @@
-         ip->ihl                = (IPHDR_SIZE + optlen + 3) >> 2;
-         ip->tos                = ip_tos;
-
--#if defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI
-+#if defined OSTYPE_DARWIN || OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI
- /* FreeBSD */
- /* NetBSD */
-         ip->tot_len        = packetsize;
-@@ -73,7 +73,7 @@
-                         htons((unsigned short) src_id);
-         }
-
--#if defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD | defined OSTYPE_BSDI
-+#if defined OSTYPE_DARWIN || OSTYPE_FREEBSD || defined OSTYPE_NETBSD | defined OSTYPE_BSDI
- /* FreeBSD */
- /* NetBSD */
-         ip->frag_off        |= more_fragments;
</del></span></pre></div>
<a id="trunkdportsnethping3filespatchsendipcdifffromrev32372trunkdportsnethping3filespatchsendipc"></a>
<div class="copfile"><h4>Copied: trunk/dports/net/hping3/files/patch-sendip.c.diff (from rev 32372, trunk/dports/net/hping3/files/patch-sendip.c) (0 => 32376)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/hping3/files/patch-sendip.c.diff         (rev 0)
+++ trunk/dports/net/hping3/files/patch-sendip.c.diff        2007-12-28 19:48:18 UTC (rev 32376)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+--- sendip.c.orig        2004-04-10 01:38:56.000000000 +0200
++++ sendip.c        2007-04-05 21:05:10.000000000 +0200
+@@ -48,7 +48,7 @@
+         ip->ihl                = (IPHDR_SIZE + optlen + 3) >> 2;
+         ip->tos                = ip_tos;
+
+-#if defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI
++#if defined OSTYPE_DARWIN || OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI
+ /* FreeBSD */
+ /* NetBSD */
+         ip->tot_len        = packetsize;
+@@ -73,7 +73,7 @@
+                         htons((unsigned short) src_id);
+         }
+
+-#if defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD | defined OSTYPE_BSDI
++#if defined OSTYPE_DARWIN || OSTYPE_FREEBSD || defined OSTYPE_NETBSD | defined OSTYPE_BSDI
+ /* FreeBSD */
+ /* NetBSD */
+         ip->frag_off        |= more_fragments;
</ins></span></pre>
</div>
</div>
</body>
</html>