ports/163653: [PATCH] devel/dbus: use /tmp for socket files
Xin LI
delphij at FreeBSD.org
Wed Dec 28 04:30:11 UTC 2011
>Number: 163653
>Category: ports
>Synopsis: [PATCH] devel/dbus: use /tmp for socket files
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 28 04:30:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Xin LI
>Release: FreeBSD 8.2-STABLE i386
>Organization:
iXsystems, Inc.
>Environment:
System: FreeBSD freefall.freebsd.org 8.2-STABLE FreeBSD 8.2-STABLE #5 r227907: Wed Nov 23 21:55:50 UTC 2011 simon at 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 ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list