From owner-freebsd-gnome@FreeBSD.ORG Wed Dec 28 04:28:32 2011 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E06E3106564A; Wed, 28 Dec 2011 04:28:32 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CB0798FC0C; Wed, 28 Dec 2011 04:28:32 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBS4SWpK044470; Wed, 28 Dec 2011 04:28:32 GMT (envelope-from delphij@freefall.freebsd.org) Received: (from delphij@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBS4SWl1044469; Wed, 28 Dec 2011 04:28:32 GMT (envelope-from delphij) Date: Wed, 28 Dec 2011 04:28:32 GMT Message-Id: <201112280428.pBS4SWl1044469@freefall.freebsd.org> To: FreeBSD-gnats-submit@freebsd.org From: Xin LI X-send-pr-version: 3.113 X-GNATS-Notify: d@delphij.net Cc: gnome@freebsd.org, marcus@freebsd.org Subject: [PATCH] devel/dbus: use /tmp for socket files X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Xin LI List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 04:28:33 -0000 >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 ---