pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/dnsmasq



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Oct 30 11:16:07 UTC 2018

Modified Files:
        pkgsrc/net/dnsmasq: distinfo
Added Files:
        pkgsrc/net/dnsmasq/patches: patch-src_dump.c

Log Message:
dnsmasq: Add compat IPDEFTTL define.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/net/dnsmasq/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/dnsmasq/patches/patch-src_dump.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/dnsmasq/distinfo
diff -u pkgsrc/net/dnsmasq/distinfo:1.36 pkgsrc/net/dnsmasq/distinfo:1.37
--- pkgsrc/net/dnsmasq/distinfo:1.36    Sat Oct 27 07:57:10 2018
+++ pkgsrc/net/dnsmasq/distinfo Tue Oct 30 11:16:06 2018
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.36 2018/10/27 07:57:10 maya Exp $
+$NetBSD: distinfo,v 1.37 2018/10/30 11:16:06 jperkin Exp $
 
 SHA1 (dnsmasq-2.80.tar.xz) = 45317f3ce129c670c812428f97b92273b5286df0
 RMD160 (dnsmasq-2.80.tar.xz) = 5a26def1ae9a47a2debe08845dfc41d14f3bfa2e
 SHA512 (dnsmasq-2.80.tar.xz) = 58e56beb553fc41311e5dc16d8b0eb3b6801e2bdfbcd0e7a6659703f08960b6ad10d48b0b14a4d727636faf35483e01597cff2ae49e7fe9fa9e214f437b1c068
 Size (dnsmasq-2.80.tar.xz) = 501072 bytes
 SHA1 (patch-src_bpf.c) = 05dc64c016c608e6b963ce9ee80c28e872a88f9e
+SHA1 (patch-src_dump.c) = 3e7553e8ed2444536ba94187f7a100a9abdbb353

Added files:

Index: pkgsrc/net/dnsmasq/patches/patch-src_dump.c
diff -u /dev/null pkgsrc/net/dnsmasq/patches/patch-src_dump.c:1.1
--- /dev/null   Tue Oct 30 11:16:07 2018
+++ pkgsrc/net/dnsmasq/patches/patch-src_dump.c Tue Oct 30 11:16:06 2018
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_dump.c,v 1.1 2018/10/30 11:16:06 jperkin Exp $
+
+Add IPDEFTTL compat.
+
+--- src/dump.c.orig    2018-10-18 18:21:55.000000000 +0000
++++ src/dump.c
+@@ -148,6 +148,9 @@ void dump_packet(int mask, void *packet,
+       ip.ip_v = IPVERSION;
+       ip.ip_hl = sizeof(struct ip) / 4;
+       ip.ip_len = htons(sizeof(struct ip) + sizeof(struct udphdr) + len); 
++#ifndef IPDEFTTL
++#define IPDEFTTL      64
++#endif
+       ip.ip_ttl = IPDEFTTL;
+       ip.ip_p = IPPROTO_UDP;
+       



Home | Main Index | Thread Index | Old Index