SECURITY update to avahi-0.6.27.

This is a bugfix release and fixes a minor security issue.
This commit is contained in:
ajacoutot 2010-07-31 14:33:20 +00:00
parent 37757ea393
commit 81b72c2d88
4 changed files with 18 additions and 28 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.29 2010/07/17 14:12:38 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.30 2010/07/31 14:33:20 ajacoutot Exp $
COMMENT-main= framework for Multicast DNS Service Discovery
COMMENT-gtk= GUI client utilities for avahi
@ -6,7 +6,7 @@ COMMENT-mono= mono (.NET) bindings for avahi
COMMENT-qt3= qt3 bindings for avahi
COMMENT-qt4= qt4 bindings for avahi
V= 0.6.26
V= 0.6.27
DISTNAME= avahi-${V}
CATEGORIES= net devel
@ -176,8 +176,8 @@ CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--disable-introspection \
--disable-gtk3
# don't link with libssp from gcc4; __guard and __stack_smash_handler
# are part of libc (see LIBS in CONFIGURE_ENV)
# don't link with libssp from the gcc4 port
# __guard and __stack_smash_handler are part of libc
CONFIGURE_ARGS+=--disable-stack-protector
# XXX
@ -190,9 +190,8 @@ PC_FILES= avahi-ui.pc avahi-client.pc avahi-compat-howl.pc \
avahi-gobject.pc avahi-qt3.pc avahi-qt4.pc
post-extract:
find ${WRKSRC} -type d -name PaxHeaders.24570 | \
find ${WRKDIR} -type d -name PaxHeaders.\* | \
xargs rm -r
rm ${WRKSRC}/configure
pre-configure:
find ${WRKSRC} -name Makefile.in -exec \

View File

@ -1,5 +1,5 @@
MD5 (avahi-0.6.26.tar.gz) = KysYmfzsWudOkvERWYkToQ==
RMD160 (avahi-0.6.26.tar.gz) = m52iHoYHHiKoTBlBMzgdxa+KYaw=
SHA1 (avahi-0.6.26.tar.gz) = JI/p1NyaaCp8DKSR67fe9vgqAGs=
SHA256 (avahi-0.6.26.tar.gz) = aZtFD1xjBxl4myYaRCPHcxED7ZbS4zOQFieVbWAWZg8=
SIZE (avahi-0.6.26.tar.gz) = 1205318
MD5 (avahi-0.6.27.tar.gz) = dLQPh66rB/x3ryX3JbMvBA==
RMD160 (avahi-0.6.27.tar.gz) = NuaiQvDJJjUeMYcdik+KUqUB/cM=
SHA1 (avahi-0.6.27.tar.gz) = 52O766kv1bO6Pir1/IWq+ZtAbIs=
SHA256 (avahi-0.6.27.tar.gz) = wi314LDWlb/jzFJUW/Cv/BxSBggYpaZdcAVeMgvEXoQ=
SIZE (avahi-0.6.27.tar.gz) = 1217974

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-avahi-daemon_main_c,v 1.3 2010/07/17 14:12:38 ajacoutot Exp $
--- avahi-daemon/main.c.orig Tue Jun 29 02:15:59 2010
+++ avahi-daemon/main.c Mon Jul 5 12:02:37 2010
$OpenBSD: patch-avahi-daemon_main_c,v 1.4 2010/07/31 14:33:20 ajacoutot Exp $
--- avahi-daemon/main.c.orig Tue Jul 13 02:57:19 2010
+++ avahi-daemon/main.c Sat Jul 31 16:06:23 2010
@@ -320,6 +320,11 @@ static void update_browse_domains(void) {
return;
}
@ -13,9 +13,9 @@ $OpenBSD: patch-avahi-daemon_main_c,v 1.3 2010/07/17 14:12:38 ajacoutot Exp $
l = avahi_string_list_copy(config.server_config.browse_domains);
for (p = resolv_conf_search_domains, n = 0; *p && n < BROWSE_DOMAINS_MAX; p++, n++) {
@@ -1086,8 +1091,10 @@ static int run_server(DaemonConfig *c) {
@@ -1103,8 +1108,10 @@ static int run_server(DaemonConfig *c) {
assert(c);
ignore_signal(SIGPIPE);
+#ifndef __OpenBSD__ // no NSS in OpenBSD
if (!(nss_support = avahi_nss_support()))

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure_ac,v 1.2 2010/07/17 14:12:38 ajacoutot Exp $
--- configure.ac.orig Tue Jun 29 02:30:32 2010
+++ configure.ac Wed Jul 14 16:57:21 2010
$OpenBSD: patch-configure_ac,v 1.3 2010/07/31 14:33:20 ajacoutot Exp $
--- configure.ac.orig Tue Jul 13 05:05:05 2010
+++ configure.ac Sat Jul 31 16:06:23 2010
@@ -250,7 +250,7 @@ AC_TRY_COMPILE([#include <netinet/in.h>], [
#
# Detecting the linux distribution for specific things like init scripts.
@ -36,12 +36,3 @@ $OpenBSD: patch-configure_ac,v 1.2 2010/07/17 14:12:38 ajacoutot Exp $
# Checks for library functions.
AC_FUNC_MEMCMP
@@ -564,7 +565,7 @@ if test "x$HAVE_GTK3" = "xyes" ; then
fi
AM_CONDITIONAL(HAVE_GTK3, test "x$HAVE_GTK3" = "xyes")
-AM_CONDITIONAL(HAVE_GTK2OR3, test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK2" = "xyes" )
+AM_CONDITIONAL(HAVE_GTK2OR3, test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes" )
#
# D-Bus