openbsd-ports/x11/dbus/patches/patch-tools_Makefile_in
jasper 51924015e8 - SECURITY UPDATE for dbus to 1.2.6
fixes CVE-2008-4311
The default policy for both sent and received messages was
effectively *allow*, and not deny as stated.

"looks good" todd@
2008-12-09 14:12:08 +00:00

24 lines
1.1 KiB
Plaintext

$OpenBSD: patch-tools_Makefile_in,v 1.3 2008/12/09 14:12:08 jasper Exp $
--- tools/Makefile.in.orig Fri Dec 5 17:53:44 2008
+++ tools/Makefile.in Tue Dec 9 13:23:40 2008
@@ -304,7 +304,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
configdir = $(sysconfdir)/dbus-1
-INCLUDES = -I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) $(DBUS_X_CFLAGS) -DDBUS_LOCALEDIR=\"@EXPANDED_DATADIR@/locale\" -DDBUS_COMPILATION -DDBUS_DAEMONDIR=\"@DBUS_DAEMONDIR@\" -DDBUS_MACHINE_UUID_FILE=\""$(localstatedir)/lib/dbus/machine-id"\"
+INCLUDES = -I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) $(DBUS_X_CFLAGS) -DDBUS_LOCALEDIR=\"@EXPANDED_DATADIR@/locale\" -DDBUS_COMPILATION -DDBUS_DAEMONDIR=\"@DBUS_DAEMONDIR@\" -DDBUS_MACHINE_UUID_FILE=\""$(configdir)/machine-id"\"
dbus_send_SOURCES = \
dbus-print-message.c \
dbus-print-message.h \
@@ -340,8 +340,8 @@ CLEANFILES = \
run-with-tmp-session-bus.conf
-#create the /var/lib/data directory for dbus-uuidgen
-localstatelibdir = $(localstatedir)/lib/dbus
+#create the /var/run/data directory for dbus-uuidgen
+localstatelibdir = $(configdir)
localstatelib_DATA =
all: all-am