FreeBSD Bugzilla – Attachment 100552 Details for
Bug 139850
[PATCH] net-mgmt/pixilate: update to 0.4.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pixilate-0.4.2.patch
pixilate-0.4.2.patch (text/plain), 8.62 KB, created by
Sylvio César Teixeira Amorim
on 2009-10-22 23:20:00 UTC
(
hide
)
Description:
pixilate-0.4.2.patch
Filename:
MIME Type:
Creator:
Sylvio César Teixeira Amorim
Created:
2009-10-22 23:20:00 UTC
Size:
8.62 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/net-mgmt/pixilate/Makefile,v >retrieving revision 1.21 >diff -u -u -r1.21 Makefile >--- Makefile 22 Aug 2009 00:32:05 -0000 1.21 >+++ Makefile 22 Oct 2009 22:13:01 -0000 >@@ -5,8 +5,7 @@ > # $FreeBSD: ports/net-mgmt/pixilate/Makefile,v 1.21 2009/08/22 00:32:05 amdmi3 Exp $ > > PORTNAME= pixilate >-PORTVERSION= 0.4.1 >-PORTREVISION= 4 >+PORTVERSION= 0.4.2 > CATEGORIES= net-mgmt > MASTER_SITES= SF/winfingerprint/${PORTNAME}/${PORTVERSION} > >@@ -17,11 +16,9 @@ > > WRKSRC= ${WRKDIR}/pixilate > >-USE_AUTOTOOLS= automake:15 autoconf:262 >+USE_AUTOTOOLS= autoconf:262 automake:110 aclocal:110 libtool:22 > AUTOMAKE_ARGS= --add-missing > >-#CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${LIBS}" CPPFLAGS="-I${LOCALBASE}/include" >- > MAN1= pixilate.1 > > PORTDOCS= README >Index: distinfo >=================================================================== >RCS file: /home/ncvs/ports/net-mgmt/pixilate/distinfo,v >retrieving revision 1.4 >diff -u -u -r1.4 distinfo >--- distinfo 25 Nov 2005 16:56:05 -0000 1.4 >+++ distinfo 22 Oct 2009 22:13:01 -0000 >@@ -1,3 +1,3 @@ >-MD5 (pixilate-0.4.1.tar.gz) = 407b70eae1b54944c94a8b5937de5d03 >-SHA256 (pixilate-0.4.1.tar.gz) = b0e2a7abf3dfb18576284b6b57ee930fa4ed79c0f94d5d569e53552495b09967 >-SIZE (pixilate-0.4.1.tar.gz) = 128153 >+MD5 (pixilate-0.4.2.tar.gz) = cd24a06aa82a15e2dcbe27962540428c >+SHA256 (pixilate-0.4.2.tar.gz) = 7c55a7556d5ff05a66aa0fcceaec726c95c6fc155d568d74a691ea459ba1b1a2 >+SIZE (pixilate-0.4.2.tar.gz) = 122293 >Index: files/patch-packetize.c >=================================================================== >RCS file: files/patch-packetize.c >diff -N files/patch-packetize.c >--- files/patch-packetize.c 15 Apr 2004 07:37:05 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,123 +0,0 @@ >---- /home/krion/packetize.c Thu Apr 15 09:32:58 2004 >-+++ packetize.c Fri Mar 26 03:29:20 2004 >-@@ -1,6 +1,7 @@ >- /* packetize.c >-- * Copyright 2002-2003 Kirby Kuehl (vacuum@users.sourceforge.net) >-- * This file is part of pixilate http://winfingerprint.sourceforge.net/pixilate.php >-+ * Copyright 2002-2004 Kirby Kuehl (vacuum@users.sourceforge.net) >-+ * This file is part of pixilate >-+ * http://winfingerprint.sourceforge.net/pixilate.php >- * >- * pixilate is free software; you can redistribute it and/or modify >- * it under the terms of the GNU General Public License as published by >-@@ -66,24 +67,15 @@ >- >- icmp_header_len = LIBNET_ICMPV4_ECHO_H; >- break; >-- case 3: // icmp type 3 literal unreachable >-+ case 3: /* icmp type 3 literal unreachable */ >- icmp = libnet_build_icmpv4_unreach( >-- ICMP_UNREACH, //type >-- ICMP_UNREACH_PORT, // code >-- 0, // 0 libnet calculate checksum >-- LIBNET_IPV4_H + LIBNET_UDP_H, // original ip header id >-- IPTOS_LOWDELAY | IPTOS_THROUGHPUT, // original ip header frag info >-- pacl->id, // o IP ID >-- 0, // o frag >-- 64, // o TTL >-- IPPROTO_UDP, // o protocol >-- 0x7012, // o checksum >-- pacl->source_addr, // o source IP >-- pacl->destination_addr, // o destination IP >-- pacl->payload, // payload >-- pacl->payload_s, // payload size >-- l, // libnet handle >-- 0); //create new ptag >-+ ICMP_UNREACH, /* type */ >-+ ICMP_UNREACH_PORT, /* code */ >-+ 0, /* 0 libnet calculate checksum */ >-+ pacl->payload, /* payload */ >-+ pacl->payload_s, /* payload size */ >-+ l, /* libnet handle */ >-+ 0); /* 0 create new ptag */ >- if(icmp == -1) >- fprintf(stderr,"Unable to build icmp unreach packet :%s\n", >- libnet_geterror(l)); >-@@ -92,25 +84,16 @@ >- >- icmp_header_len = LIBNET_ICMPV4_UNREACH_H; >- break; >-- case 5: // icmp type 5 literal redirect >-+ case 5: /* icmp type 5 literal redirect */ >- icmp = libnet_build_icmpv4_redirect( >-- ICMP_REDIRECT, //type >-- ICMP_UNREACH_HOST, //code >-- 0, //0 lets libnet calculate checksum >-- pacl->gateway_addr, // gateway >-- LIBNET_TCP_H, // orig_len >-- IPTOS_LOWDELAY | IPTOS_THROUGHPUT, //original TOS >-- 111, // orig_id >-- 0, // orig_frag >-- 64, // orig_ttl >-- IPPROTO_TCP, // original protocol >-- 0, // orig_checksum shouldnt be 0 >-- pacl->source_addr, // orig_src >-- pacl->destination_addr, // orig_dst >-- pacl->payload, // payload >-- pacl->payload_s, // payload size >-- l, // libnet handle >-- 0); // create new ptag >-+ ICMP_REDIRECT, /* type */ >-+ ICMP_UNREACH_HOST, /* code */ >-+ 0, /*0 lets libnet calculate checksum */ >-+ pacl->gateway_addr, /* gateway */ >-+ pacl->payload, /* payload */ >-+ pacl->payload_s, /* payload size */ >-+ l, /* libnet handle */ >-+ 0); /* 0 create new ptag */ >- icmp_header_len = LIBNET_ICMPV4_REDIRECT_H; >- break; >- case 8: // icmp type 8 literal echo >-@@ -132,24 +115,15 @@ >- >- icmp_header_len = LIBNET_ICMPV4_ECHO_H; >- break; >-- case 11: // icmp type 11 literal time-exceeded >-+ case 11: /* icmp type 11 literal time-exceeded */ >- icmp = libnet_build_icmpv4_timeexceed( >-- ICMP_TIMXCEED, //type >-- ICMP_TIMXCEED_INTRANS, //code >-- 0, // 0 lets libnet calculate checksum >-- LIBNET_TCP_H, // original length >-- IPTOS_LOWDELAY | IPTOS_THROUGHPUT, //original TOS >-- 111, // original header id >-- 0, // original header fragmentation >-- 64, // original TTL >-- IPPROTO_TCP, // original protocol >-- 0, // original checksum (shouldnt be 0) >-- pacl->source_addr, // original source address >-- pacl->destination_addr, // original destination address >-- pacl->payload, // payload >-- pacl->payload_s, // payload size >-- l, // libnet handle >-- 0); // create new ptag >-+ ICMP_TIMXCEED, /* type */ >-+ ICMP_TIMXCEED_INTRANS, /* code */ >-+ 0, /* 0 lets libnet calculate checksum */ >-+ pacl->payload, /* payload */ >-+ pacl->payload_s, /* payload size */ >-+ l, /* libnet handle */ >-+ 0); /* create new ptag */ >- icmp_header_len = LIBNET_ICMPV4_TIMXCEED_H; >- break; >- case 13: // icmp type 13 literal timestamp-reply >-@@ -433,7 +407,8 @@ >- 0 // packet id >- ); >- >-- break; */ >-+ break; >-+*/ >- default: // try our best to generate "other" protocols automatically >- if(pacl->protocol == 41) >- {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 139850
: 100552