pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/dnsmasq Support partial FQDN option
details: https://anonhg.NetBSD.org/pkgsrc/rev/063d392edb78
branches: trunk
changeset: 621946:063d392edb78
user: roy <roy%pkgsrc.org@localhost>
date: Sun Jul 21 07:59:26 2013 +0000
description:
Support partial FQDN option
diffstat:
net/dnsmasq/Makefile | 3 ++-
net/dnsmasq/distinfo | 3 ++-
net/dnsmasq/patches/patch-src_rfc2131.c | 15 +++++++++++++++
3 files changed, 19 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r c23452795090 -r 063d392edb78 net/dnsmasq/Makefile
--- a/net/dnsmasq/Makefile Sun Jul 21 07:58:48 2013 +0000
+++ b/net/dnsmasq/Makefile Sun Jul 21 07:59:26 2013 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2013/05/28 09:32:00 fhajny Exp $
+# $NetBSD: Makefile,v 1.23 2013/07/21 07:59:26 roy Exp $
#
DISTNAME= dnsmasq-2.66
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
LICENSE= gnu-gpl-v3
diff -r c23452795090 -r 063d392edb78 net/dnsmasq/distinfo
--- a/net/dnsmasq/distinfo Sun Jul 21 07:58:48 2013 +0000
+++ b/net/dnsmasq/distinfo Sun Jul 21 07:59:26 2013 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.19 2013/05/28 09:32:00 fhajny Exp $
+$NetBSD: distinfo,v 1.20 2013/07/21 07:59:26 roy Exp $
SHA1 (dnsmasq-2.66.tar.gz) = fb6b1690de53014a8e6c8bfa6f1653062b965741
RMD160 (dnsmasq-2.66.tar.gz) = fd5492852a933b54bb38f9e0c531c6c6e4325862
Size (dnsmasq-2.66.tar.gz) = 574715 bytes
+SHA1 (patch-src_rfc2131.c) = c136273e0026452ff9f1a929474663a4b56631de
diff -r c23452795090 -r 063d392edb78 net/dnsmasq/patches/patch-src_rfc2131.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnsmasq/patches/patch-src_rfc2131.c Sun Jul 21 07:59:26 2013 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_rfc2131.c,v 1.1 2013/07/21 07:59:26 roy Exp $
+
+Don't assume a trailing terminator.
+
+--- src/rfc2131.c.orig 2013-04-17 12:52:49.000000000 +0000
++++ src/rfc2131.c
+@@ -534,7 +534,7 @@ size_t dhcp_reply(struct dhcp_context *c
+ }
+
+ if (fqdn_flags & 0x04)
+- while (*op != 0 && ((op + (*op) + 1) - pp) < len)
++ while (*op != 0 && ((op + (*op)) - pp) < len)
+ {
+ memcpy(pq, op+1, *op);
+ pq += *op;
Home |
Main Index |
Thread Index |
Old Index