git: 83d457310ed3 - main - devel/dbus: create directory for machine-id
Adriaan de Groot
adridg at FreeBSD.org
Thu Jul 1 22:16:38 UTC 2021
The branch main has been updated by adridg:
URL: https://cgit.FreeBSD.org/ports/commit/?id=83d457310ed3c234b2f4ea5b4d18a00301bc0c09
commit 83d457310ed3c234b2f4ea5b4d18a00301bc0c09
Author: Andrey Zakharchenko <mc at jscc.ru>
AuthorDate: 2021-07-01 21:15:51 +0000
Commit: Adriaan de Groot <adridg at 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
}
More information about the dev-commits-ports-all
mailing list