From owner-dev-commits-ports-main@freebsd.org Thu Jul 1 22:16:38 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 19AD165404C; Thu, 1 Jul 2021 22:16:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GGCHB01nfz3LS3; Thu, 1 Jul 2021 22:16:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D8172892; Thu, 1 Jul 2021 22:16:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 161MGb6f003418; Thu, 1 Jul 2021 22:16:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 161MGbQg003417; Thu, 1 Jul 2021 22:16:37 GMT (envelope-from git) Date: Thu, 1 Jul 2021 22:16:37 GMT Message-Id: <202107012216.161MGbQg003417@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Adriaan de Groot Subject: git: 83d457310ed3 - main - devel/dbus: create directory for machine-id MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adridg X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 83d457310ed3c234b2f4ea5b4d18a00301bc0c09 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2021 22:16:38 -0000 The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=83d457310ed3c234b2f4ea5b4d18a00301bc0c09 commit 83d457310ed3c234b2f4ea5b4d18a00301bc0c09 Author: Andrey Zakharchenko AuthorDate: 2021-07-01 21:15:51 +0000 Commit: Adriaan de Groot CommitDate: 2021-07-01 22:16:26 +0000 devel/dbus: create directory for machine-id Create the directory where dbus-uuidgen is *going* to write the machine-id, just in case -- might affect only older FreeBSD versions. dbus-uuidgen doesn't create intermediate directories when given an explicit path either, so it does need to be done by the environment. (I'm purposely **not** also tackling other dbus-uuidgen issues, those are in different PRs with different assignees) PR: 225098 Reported by: Andrey Zakharchenko --- devel/dbus/Makefile | 2 +- devel/dbus/files/dbus.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile index c2558176d6d5..a97638062264 100644 --- a/devel/dbus/Makefile +++ b/devel/dbus/Makefile @@ -2,7 +2,7 @@ PORTNAME= dbus DISTVERSION= 1.12.20 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel gnome MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/ diff --git a/devel/dbus/files/dbus.in b/devel/dbus/files/dbus.in index 7fb087e2bdfc..97635949eba1 100644 --- a/devel/dbus/files/dbus.in +++ b/devel/dbus/files/dbus.in @@ -23,6 +23,7 @@ stop_postcmd="dbus_poststop" dbus_prestart() { + mkdir -p /var/lib/dbus %%PREFIX%%/bin/dbus-uuidgen --ensure mkdir -p /var/run/dbus }