update to unbound 1.2.1; from brad

This commit is contained in:
jakob 2009-02-10 20:05:26 +00:00
parent c452fbb4e0
commit cded14b4ee
4 changed files with 13 additions and 33 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.9 2009/02/02 07:09:37 jakob Exp $
# $OpenBSD: Makefile,v 1.10 2009/02/10 20:05:26 jakob Exp $
COMMENT= validating DNS resolver
DISTNAME= unbound-1.2.0
PKGNAME= ${DISTNAME}p0
DISTNAME= unbound-1.2.1
CATEGORIES= net
MASTER_SITES= http://www.unbound.net/downloads/
@ -23,10 +22,10 @@ USE_LIBTOOL= Yes
USE_GMAKE= Yes
NO_REGRESS= Yes
SHARED_LIBS+= unbound 0.1
SHARED_LIBS+= unbound 1.0
WANTLIB= c crypto event ssl
LIB_DEPENDS+= ldns.>=2.0::net/ldns/libldns
LIB_DEPENDS+= ldns.>=2.2::net/ldns/libldns
CONFIGURE_ARGS+= --with-ssl=/usr \
--with-libevent=/usr \

View File

@ -1,5 +1,5 @@
MD5 (unbound-1.2.0.tar.gz) = JRf4EexJOcDqYCyZpv3qIw==
RMD160 (unbound-1.2.0.tar.gz) = QNdDLCEDCM9weY97vuOY9SXbPfI=
SHA1 (unbound-1.2.0.tar.gz) = LBzvcGadz6E/TbQwbNe47spokqo=
SHA256 (unbound-1.2.0.tar.gz) = iOSAvfsjhVZWpwy4ebIxQU0jIvtsC33VlGKMdII1h4Q=
SIZE (unbound-1.2.0.tar.gz) = 3789663
MD5 (unbound-1.2.1.tar.gz) = VDfyoeaY2KpzuhmmBmKmVA==
RMD160 (unbound-1.2.1.tar.gz) = wm2C2S4zQv6GDTQqBxeCSwfRw40=
SHA1 (unbound-1.2.1.tar.gz) = mWrqIQsk+MS9GqepWEvFtwuYmxs=
SHA256 (unbound-1.2.1.tar.gz) = H5XKKQTfuBO/UvFRVqjHabNl3rkvp7mVNEBi3qlm3Ck=
SIZE (unbound-1.2.1.tar.gz) = 3795258

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Makefile_in,v 1.4 2009/01/14 17:44:51 jakob Exp $
--- Makefile.in.orig Thu Dec 18 05:56:18 2008
+++ Makefile.in Wed Jan 14 03:23:54 2009
@@ -296,7 +296,7 @@ install:
$OpenBSD: patch-Makefile_in,v 1.5 2009/02/10 20:05:26 jakob Exp $
--- Makefile.in.orig Thu Jan 15 11:18:50 2009
+++ Makefile.in Tue Feb 10 21:11:04 2009
@@ -299,7 +299,7 @@ install:
if test ! -e $(DESTDIR)$(configfile); then $(INSTALL) -d `dirname $(DESTDIR)$(configfile)`; $(INSTALL) -c -m 644 doc/example.conf $(DESTDIR)$(configfile); fi
$(LIBTOOL) --mode=install cp $(srcdir)/libunbound/unbound.h $(DESTDIR)$(includedir)/unbound.h
$(LIBTOOL) --mode=install cp libunbound.la $(DESTDIR)$(libdir)

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-util_netevent_c,v 1.1 2009/02/02 07:09:37 jakob Exp $
--- util/netevent.c.orig Tue Jan 20 07:16:51 2009
+++ util/netevent.c Tue Jan 20 07:18:29 2009
@@ -169,12 +169,14 @@ comm_base_create(int sigs)
return NULL;
}
comm_base_now(b);
+ /* avoid event_get_method call which causes crashes even when
+ * not printing, because its result is passed */
verbose(VERB_ALGO, "libevent %s uses %s method.",
event_get_version(),
#ifdef HAVE_EVENT_BASE_GET_METHOD
event_base_get_method(b->eb->base)
#else
- event_get_method()
+ "not_obtainable"
#endif
);
return b;