update to bind-9.11.3

This commit is contained in:
sthen 2018-03-15 00:59:18 +00:00
parent 88bb1238aa
commit 91f0e035f4
8 changed files with 26 additions and 27 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.77 2018/02/18 11:52:03 sthen Exp $
# $OpenBSD: Makefile,v 1.78 2018/03/15 00:59:18 sthen Exp $
COMMENT= Berkeley Internet Name Daemon: DNS server and tools
V= 9.11.2-P1
REVISION= 0
V= 9.11.3
DISTNAME= bind-$V
PKGNAME= isc-bind-${V:S/-P/pl/}

View File

@ -1,2 +1,2 @@
SHA256 (bind-9.11.2-P1.tar.gz) = zsMVSIMvyj+F2VF41AGbfXAgOehZXUyTkU/rozffEhI=
SIZE (bind-9.11.2-P1.tar.gz) = 9783329
SHA256 (bind-9.11.3.tar.gz) = DZ3eFLLsf5zcO2nxlUDHouTu57bHJ5Zd+uSIEJZYdvU=
SIZE (bind-9.11.3.tar.gz) = 9523375

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-bin_dig_dig_c,v 1.4 2018/01/12 17:08:01 sthen Exp $
$OpenBSD: patch-bin_dig_dig_c,v 1.5 2018/03/15 00:59:18 sthen Exp $
Index: bin/dig/dig.c
--- bin/dig/dig.c.orig
+++ bin/dig/dig.c
@@ -2183,6 +2183,11 @@ main(int argc, char **argv) {
@@ -2182,6 +2182,11 @@ void dig_setup(int argc, char **argv)
ISC_LIST_INIT(server_list);
ISC_LIST_INIT(search_list);
@ -11,13 +11,13 @@ Index: bin/dig/dig.c
+ exit(1);
+ }
+
debug("main()");
progname = argv[0];
preparse_args(argc, argv);
@@ -2191,6 +2196,13 @@ main(int argc, char **argv) {
setup_libs();
setup_system(ipv4only, ipv6only);
parse_args(ISC_FALSE, ISC_FALSE, argc, argv);
debug("dig_setup()");
/* setup dighost callbacks */
@@ -2209,6 +2214,13 @@ void dig_query_setup(isc_boolean_t is_batchfile, isc_b
debug("dig_query_setup");
parse_args(is_batchfile, config_only, argc, argv);
+
+ /* inet for network connections, dns for resolv.conf */
+ if (pledge("stdio inet dns", NULL) == -1) {

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-bin_dig_host_c,v 1.2 2018/01/12 17:08:01 sthen Exp $
$OpenBSD: patch-bin_dig_host_c,v 1.3 2018/03/15 00:59:18 sthen Exp $
Index: bin/dig/host.c
--- bin/dig/host.c.orig
+++ bin/dig/host.c
@@ -889,6 +889,11 @@ main(int argc, char **argv) {
idnoptions = IDN_ASCCHECK;
#endif
@@ -894,6 +894,11 @@ main(int argc, char **argv) {
dighost_trying = trying;
dighost_shutdown = host_shutdown;
+ if (pledge("stdio rpath inet unix dns", NULL) == -1) {
+ perror("pledge");
@ -14,7 +14,7 @@ Index: bin/dig/host.c
debug("main()");
progname = argv[0];
pre_parse_args(argc, argv);
@@ -897,6 +902,13 @@ main(int argc, char **argv) {
@@ -902,6 +907,13 @@ main(int argc, char **argv) {
setup_libs();
setup_system(ipv4only, ipv6only);
parse_args(ISC_FALSE, argc, argv);

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-bin_dig_nslookup_c,v 1.3 2018/01/12 17:08:01 sthen Exp $
$OpenBSD: patch-bin_dig_nslookup_c,v 1.4 2018/03/15 00:59:18 sthen Exp $
Index: bin/dig/nslookup.c
--- bin/dig/nslookup.c.orig
+++ bin/dig/nslookup.c
@@ -988,8 +988,19 @@ main(int argc, char **argv) {
@@ -1000,8 +1000,19 @@ main(int argc, char **argv) {
result = isc_app_start();
check_result(result, "isc_app_start");

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-lib_dns_openssldh_link_c,v 1.7 2018/03/04 21:12:03 sthen Exp $
$OpenBSD: patch-lib_dns_openssldh_link_c,v 1.8 2018/03/15 00:59:18 sthen Exp $
Index: lib/dns/openssldh_link.c
--- lib/dns/openssldh_link.c.orig
+++ lib/dns/openssldh_link.c
@@ -68,7 +68,8 @@ static isc_result_t openssldh_todns(const dst_key_t *k
@@ -69,7 +69,8 @@ static isc_result_t openssldh_todns(const dst_key_t *k
static BIGNUM *bn2, *bn768, *bn1024, *bn1536;

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-lib_dns_openssldsa_link_c,v 1.6 2018/02/20 21:02:13 sthen Exp $
$OpenBSD: patch-lib_dns_openssldsa_link_c,v 1.7 2018/03/15 00:59:18 sthen Exp $
Index: lib/dns/openssldsa_link.c
--- lib/dns/openssldsa_link.c.orig
+++ lib/dns/openssldsa_link.c
@@ -48,7 +48,8 @@
@@ -49,7 +49,8 @@
static isc_result_t openssldsa_todns(const dst_key_t *key, isc_buffer_t *data);

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-lib_isc_unix_socket_c,v 1.6 2018/01/12 17:08:01 sthen Exp $
$OpenBSD: patch-lib_isc_unix_socket_c,v 1.7 2018/03/15 00:59:18 sthen Exp $
Index: lib/isc/unix/socket.c
--- lib/isc/unix/socket.c.orig
+++ lib/isc/unix/socket.c
@@ -2910,7 +2910,7 @@ opensocket(isc__socketmgr_t *manager, isc__socket_t *s
@@ -2917,7 +2917,7 @@ opensocket(isc__socketmgr_t *manager, isc__socket_t *s
}
#endif
}