Date: Thu, 1 Jul 2021 22:16:37 GMT From: Adriaan de Groot <adridg@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 83d457310ed3 - main - devel/dbus: create directory for machine-id Message-ID: <202107012216.161MGbQg003417@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=83d457310ed3c234b2f4ea5b4d18a00301bc0c09 commit 83d457310ed3c234b2f4ea5b4d18a00301bc0c09 Author: Andrey Zakharchenko <mc@jscc.ru> AuthorDate: 2021-07-01 21:15:51 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> 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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107012216.161MGbQg003417>