Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2011 04:28:32 GMT
From:      Xin LI <delphij@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@freebsd.org, marcus@freebsd.org
Subject:   [PATCH] devel/dbus: use /tmp for socket files
Message-ID:  <201112280428.pBS4SWl1044469@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Xin LI
>Organization:	iXsystems, Inc.
>Confidential:	no
>Synopsis:	[PATCH] devel/dbus: use /tmp for socket files
>Severity:	non-critical
>Priority:	medium
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 8.2-STABLE i386
>Environment:
System: FreeBSD freefall.freebsd.org 8.2-STABLE FreeBSD 8.2-STABLE #5 r227907: Wed Nov 23 21:55:50 UTC 2011 simon@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


>Description:
	Currently dbus uses /var/tmp as socket directory, which is not
cleaned up upon reboots by defination.

	The proposed patch changes the default place back to the default
/tmp.

>How-To-Repeat:
	Just see /var/tmp accumulating several dbus-* files over time.
>Fix:

--- dbus.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/dbus/Makefile,v
retrieving revision 1.86
diff -u -p -u -r1.86 Makefile
--- Makefile	23 Sep 2011 22:21:53 -0000	1.86
+++ Makefile	26 Dec 2011 12:14:06 -0000
@@ -8,7 +8,7 @@
 
 PORTNAME=	dbus
 PORTVERSION=	1.4.14
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel gnome
 MASTER_SITES=	http://dbus.freedesktop.org/releases/dbus/
 
@@ -25,7 +25,7 @@ CONFIGURE_ARGS=--localstatedir=/var \
 	        --with-test-socket-dir=${WRKDIR} \
 		--with-system-pid-file=/var/run/dbus/dbus.pid \
 		--with-system-socket=/var/run/dbus/system_bus_socket \
-		--with-session-socket-dir=/var/tmp \
+		--with-session-socket-dir=/tmp \
 		--disable-doxygen-docs \
 		--disable-xml-docs
 CONFIGURE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"
--- dbus.diff ends here ---





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112280428.pBS4SWl1044469>