aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Zakharchenko <mc@jscc.ru>2021-07-01 21:15:51 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2021-07-01 22:16:26 +0000
commit83d457310ed3c234b2f4ea5b4d18a00301bc0c09 (patch)
treecc631a0d04e4015de3ce5c7c2f4fe2f36b42d43a
parent2a40da7011b3545ea4d9c3ec48eed369cc3b1aa3 (diff)
downloadports-83d457310ed3c234b2f4ea5b4d18a00301bc0c09.tar.gz
ports-83d457310ed3c234b2f4ea5b4d18a00301bc0c09.zip
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
-rw-r--r--devel/dbus/Makefile2
-rw-r--r--devel/dbus/files/dbus.in1
2 files changed, 2 insertions, 1 deletions
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
}