pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/djbdns Modernize patch filenames. No functional ch...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dd63ec627337
branches: trunk
changeset: 362824:dd63ec627337
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Fri May 26 15:16:45 2017 +0000
description:
Modernize patch filenames. No functional change intended.
diffstat:
net/djbdns/distinfo | 10 +++---
net/djbdns/patches/patch-Makefile | 42 ++++++++++++++++++++++++++++++++
net/djbdns/patches/patch-aa | 24 ------------------
net/djbdns/patches/patch-ab | 20 ---------------
net/djbdns/patches/patch-ac | 15 -----------
net/djbdns/patches/patch-ad | 42 --------------------------------
net/djbdns/patches/patch-dnscache-conf.c | 24 ++++++++++++++++++
net/djbdns/patches/patch-hier.c | 20 +++++++++++++++
net/djbdns/patches/patch-response.c | 15 +++++++++++
9 files changed, 106 insertions(+), 106 deletions(-)
diffs (255 lines):
diff -r b44c93bcdddb -r dd63ec627337 net/djbdns/distinfo
--- a/net/djbdns/distinfo Fri May 26 14:34:43 2017 +0000
+++ b/net/djbdns/distinfo Fri May 26 15:16:45 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2016/12/15 12:04:20 schmonz Exp $
+$NetBSD: distinfo,v 1.23 2017/05/26 15:16:45 schmonz Exp $
SHA1 (djbdns-1.05.tar.gz) = 2efdb3a039d0c548f40936aa9cb30829e0ce8c3d
RMD160 (djbdns-1.05.tar.gz) = a832cbfd93e4ccec6a565492a4ee0b3c1b4b68ed
@@ -28,7 +28,7 @@
RMD160 (0002-dnscache-cache-soa-records.patch) = 0b58e57bc11b36113c5fef73a64c869895f83889
SHA512 (0002-dnscache-cache-soa-records.patch) = f65ca7dfc8e85f469f22d72a1c79126c35243dc077abf4b688eb7d057f19456dc8a3665f558a8a3c1908f96fa1838792aa1bc317d2e89f4953020828c05926e6
Size (0002-dnscache-cache-soa-records.patch) = 2944 bytes
-SHA1 (patch-aa) = 873897ad6b97baff363874a6a79c8da44383c283
-SHA1 (patch-ab) = 874af27489ad4597e213cfe05a7f2f919081db20
-SHA1 (patch-ac) = 4f089b63664b7e4685b77fc55b287860c8c68229
-SHA1 (patch-ad) = 0dffb59090ccb4977c65885f062eb37255ccd0d9
+SHA1 (patch-Makefile) = 0dffb59090ccb4977c65885f062eb37255ccd0d9
+SHA1 (patch-dnscache-conf.c) = 873897ad6b97baff363874a6a79c8da44383c283
+SHA1 (patch-hier.c) = 874af27489ad4597e213cfe05a7f2f919081db20
+SHA1 (patch-response.c) = 4f089b63664b7e4685b77fc55b287860c8c68229
diff -r b44c93bcdddb -r dd63ec627337 net/djbdns/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/djbdns/patches/patch-Makefile Fri May 26 15:16:45 2017 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-Makefile,v 1.1 2017/05/26 15:16:45 schmonz Exp $
+
+DESTDIR support.
+
+--- Makefile.orig 2001-02-11 21:11:45.000000000 +0000
++++ Makefile
+@@ -29,6 +29,14 @@ auto-str.o: \
+ compile auto-str.c buffer.h exit.h
+ ./compile auto-str.c
+
++auto_destdir.c: \
++auto-str conf-destdir
++ ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c
++
++auto_destdir.o: \
++compile auto_destdir.c
++ ./compile auto_destdir.c
++
+ auto_home.c: \
+ auto-str conf-home
+ ./auto-str auto_home `head -1 conf-home` > auto_home.c
+@@ -519,16 +527,16 @@ compile hier.c auto_home.h
+ ./compile hier.c
+
+ install: \
+-load install.o hier.o auto_home.o buffer.a unix.a byte.a
+- ./load install hier.o auto_home.o buffer.a unix.a byte.a
++load install.o hier.o auto_destdir.o buffer.a unix.a byte.a
++ ./load install hier.o auto_destdir.o buffer.a unix.a byte.a
+
+ install.o: \
+ compile install.c buffer.h strerr.h error.h open.h exit.h
+ ./compile install.c
+
+ instcheck: \
+-load instcheck.o hier.o auto_home.o buffer.a unix.a byte.a
+- ./load instcheck hier.o auto_home.o buffer.a unix.a byte.a
++load instcheck.o hier.o auto_destdir.o buffer.a unix.a byte.a
++ ./load instcheck hier.o auto_destdir.o buffer.a unix.a byte.a
+
+ instcheck.o: \
+ compile instcheck.c strerr.h error.h exit.h
diff -r b44c93bcdddb -r dd63ec627337 net/djbdns/patches/patch-aa
--- a/net/djbdns/patches/patch-aa Fri May 26 14:34:43 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2011/06/09 00:55:41 schmonz Exp $
-
-PKG_SYSCONFDIR support.
-
---- dnscache-conf.c.orig 2001-02-11 16:11:45.000000000 -0500
-+++ dnscache-conf.c
-@@ -89,13 +89,13 @@ int main(int argc,char **argv)
- if (chdir(auto_home) == -1)
- strerr_die4sys(111,FATAL,"unable to switch to ",auto_home,": ");
-
-- fdrootservers = open_read("/etc/dnsroots.local");
-+ fdrootservers = open_read(PKG_SYSCONFDIR"/dnsroots.local");
- if (fdrootservers == -1) {
- if (errno != error_noent)
-- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.local: ");
-- fdrootservers = open_read("/etc/dnsroots.global");
-+ strerr_die4sys(111,FATAL,"unable to open ",auto_home,PKG_SYSCONFDIR"/dnsroots.local: ");
-+ fdrootservers = open_read(PKG_SYSCONFDIR"/dnsroots.global");
- if (fdrootservers == -1)
-- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.global: ");
-+ strerr_die4sys(111,FATAL,"unable to open ",auto_home,PKG_SYSCONFDIR"/dnsroots.global: ");
- }
-
- init(dir,FATAL);
diff -r b44c93bcdddb -r dd63ec627337 net/djbdns/patches/patch-ab
--- a/net/djbdns/patches/patch-ab Fri May 26 14:34:43 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2011/06/09 00:55:41 schmonz Exp $
-
-PKG_SYSCONFDIR support.
-
---- hier.c.orig 2004-07-23 17:55:45.000000000 -0400
-+++ hier.c
-@@ -2,10 +2,10 @@
-
- void hier()
- {
-- c("/","etc","dnsroots.global",-1,-1,0644);
-+ c(auto_home,"share/examples/djbdns","dnsroots.global",-1,-1,0644);
-
-- h(auto_home,-1,-1,02755);
-- d(auto_home,"bin",-1,-1,02755);
-+ h(auto_home,-1,-1,0755);
-+ d(auto_home,"bin",-1,-1,0755);
-
- c(auto_home,"bin","dnscache-conf",-1,-1,0755);
- c(auto_home,"bin","tinydns-conf",-1,-1,0755);
diff -r b44c93bcdddb -r dd63ec627337 net/djbdns/patches/patch-ac
--- a/net/djbdns/patches/patch-ac Fri May 26 14:34:43 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.6 2011/06/09 00:55:41 schmonz Exp $
-
-Fix the security hole found by Matthew Dempsky.
-
---- response.c.orig 2001-02-11 16:11:45.000000000 -0500
-+++ response.c
-@@ -34,7 +34,7 @@ int response_addname(const char *d)
- uint16_pack_big(buf,49152 + name_ptr[i]);
- return response_addbytes(buf,2);
- }
-- if (dlen <= 128)
-+ if ((dlen <= 128) && (response_len < 16384))
- if (name_num < NAMES) {
- byte_copy(name[name_num],dlen,d);
- name_ptr[name_num] = response_len;
diff -r b44c93bcdddb -r dd63ec627337 net/djbdns/patches/patch-ad
--- a/net/djbdns/patches/patch-ad Fri May 26 14:34:43 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-$NetBSD: patch-ad,v 1.4 2011/06/09 00:55:41 schmonz Exp $
-
-DESTDIR support.
-
---- Makefile.orig 2001-02-11 21:11:45.000000000 +0000
-+++ Makefile
-@@ -29,6 +29,14 @@ auto-str.o: \
- compile auto-str.c buffer.h exit.h
- ./compile auto-str.c
-
-+auto_destdir.c: \
-+auto-str conf-destdir
-+ ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c
-+
-+auto_destdir.o: \
-+compile auto_destdir.c
-+ ./compile auto_destdir.c
-+
- auto_home.c: \
- auto-str conf-home
- ./auto-str auto_home `head -1 conf-home` > auto_home.c
-@@ -519,16 +527,16 @@ compile hier.c auto_home.h
- ./compile hier.c
-
- install: \
--load install.o hier.o auto_home.o buffer.a unix.a byte.a
-- ./load install hier.o auto_home.o buffer.a unix.a byte.a
-+load install.o hier.o auto_destdir.o buffer.a unix.a byte.a
-+ ./load install hier.o auto_destdir.o buffer.a unix.a byte.a
-
- install.o: \
- compile install.c buffer.h strerr.h error.h open.h exit.h
- ./compile install.c
-
- instcheck: \
--load instcheck.o hier.o auto_home.o buffer.a unix.a byte.a
-- ./load instcheck hier.o auto_home.o buffer.a unix.a byte.a
-+load instcheck.o hier.o auto_destdir.o buffer.a unix.a byte.a
-+ ./load instcheck hier.o auto_destdir.o buffer.a unix.a byte.a
-
- instcheck.o: \
- compile instcheck.c strerr.h error.h exit.h
diff -r b44c93bcdddb -r dd63ec627337 net/djbdns/patches/patch-dnscache-conf.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/djbdns/patches/patch-dnscache-conf.c Fri May 26 15:16:45 2017 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-dnscache-conf.c,v 1.1 2017/05/26 15:16:45 schmonz Exp $
+
+PKG_SYSCONFDIR support.
+
+--- dnscache-conf.c.orig 2001-02-11 16:11:45.000000000 -0500
++++ dnscache-conf.c
+@@ -89,13 +89,13 @@ int main(int argc,char **argv)
+ if (chdir(auto_home) == -1)
+ strerr_die4sys(111,FATAL,"unable to switch to ",auto_home,": ");
+
+- fdrootservers = open_read("/etc/dnsroots.local");
++ fdrootservers = open_read(PKG_SYSCONFDIR"/dnsroots.local");
+ if (fdrootservers == -1) {
+ if (errno != error_noent)
+- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.local: ");
+- fdrootservers = open_read("/etc/dnsroots.global");
++ strerr_die4sys(111,FATAL,"unable to open ",auto_home,PKG_SYSCONFDIR"/dnsroots.local: ");
++ fdrootservers = open_read(PKG_SYSCONFDIR"/dnsroots.global");
+ if (fdrootservers == -1)
+- strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.global: ");
++ strerr_die4sys(111,FATAL,"unable to open ",auto_home,PKG_SYSCONFDIR"/dnsroots.global: ");
+ }
+
+ init(dir,FATAL);
diff -r b44c93bcdddb -r dd63ec627337 net/djbdns/patches/patch-hier.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/djbdns/patches/patch-hier.c Fri May 26 15:16:45 2017 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-hier.c,v 1.1 2017/05/26 15:16:45 schmonz Exp $
+
+PKG_SYSCONFDIR support.
+
+--- hier.c.orig 2004-07-23 17:55:45.000000000 -0400
++++ hier.c
+@@ -2,10 +2,10 @@
+
+ void hier()
+ {
+- c("/","etc","dnsroots.global",-1,-1,0644);
++ c(auto_home,"share/examples/djbdns","dnsroots.global",-1,-1,0644);
+
+- h(auto_home,-1,-1,02755);
+- d(auto_home,"bin",-1,-1,02755);
++ h(auto_home,-1,-1,0755);
++ d(auto_home,"bin",-1,-1,0755);
+
+ c(auto_home,"bin","dnscache-conf",-1,-1,0755);
+ c(auto_home,"bin","tinydns-conf",-1,-1,0755);
diff -r b44c93bcdddb -r dd63ec627337 net/djbdns/patches/patch-response.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/djbdns/patches/patch-response.c Fri May 26 15:16:45 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-response.c,v 1.1 2017/05/26 15:16:45 schmonz Exp $
+
+Fix the security hole found by Matthew Dempsky.
+
+--- response.c.orig 2001-02-11 16:11:45.000000000 -0500
++++ response.c
+@@ -34,7 +34,7 @@ int response_addname(const char *d)
+ uint16_pack_big(buf,49152 + name_ptr[i]);
+ return response_addbytes(buf,2);
+ }
+- if (dlen <= 128)
++ if ((dlen <= 128) && (response_len < 16384))
+ if (name_num < NAMES) {
+ byte_copy(name[name_num],dlen,d);
+ name_ptr[name_num] = response_len;
Home |
Main Index |
Thread Index |
Old Index