diff options
author | pho <pho@pkgsrc.org> | 2015-01-21 05:38:59 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2015-01-21 05:38:59 +0000 |
commit | 57661030426dd5b720c16cdc75c401cd1e855d7b (patch) | |
tree | 15e905b0780f0ca4fda8ebd3410d54a7d7fbaa63 /sysutils | |
parent | 5e19ad150c780d72205b6efcb6277949f7bb60af (diff) | |
download | pkgsrc-57661030426dd5b720c16cdc75c401cd1e855d7b.tar.gz |
PR 49591: Add MESSAGE.launchd to let Darwin users know about the launchd agent configuration file.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/dbus/MESSAGE.launchd | 20 | ||||
-rw-r--r-- | sysutils/dbus/Makefile | 7 |
2 files changed, 25 insertions, 2 deletions
diff --git a/sysutils/dbus/MESSAGE.launchd b/sysutils/dbus/MESSAGE.launchd new file mode 100644 index 00000000000..12285e3510f --- /dev/null +++ b/sysutils/dbus/MESSAGE.launchd @@ -0,0 +1,20 @@ +=========================================================================== +$NetBSD: MESSAGE.launchd,v 1.1 2015/01/21 05:38:59 pho Exp $ + +A launchd agent configuration file has been installed at: + ${PREFIX}/Library/LaunchAgents/org.freedesktop.dbus-session.plist + +You need to manually load it to auto-start a session bus. Without +loading it, no applications can start a bus nor find an existing one: + % sudo launchctl load \ + ${PREFIX}/Library/LaunchAgents/org.freedesktop.dbus-session.plist + +Or alternatively, you can copy it under the system default path to +automatically load it on system boot: + % sudo cp \ + ${PREFIX}/Library/LaunchAgents/org.freedesktop.dbus-session.plist \ + /Library/LaunchAgents/ + % sudo launchctl load \ + /Library/LaunchAgents/org.freedesktop.dbus-session.plist + +=========================================================================== diff --git a/sysutils/dbus/Makefile b/sysutils/dbus/Makefile index 3cc810188a5..5bd73353e18 100644 --- a/sysutils/dbus/Makefile +++ b/sysutils/dbus/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.78 2015/01/20 23:45:35 wiz Exp $ +# $NetBSD: Makefile,v 1.79 2015/01/21 05:38:59 pho Exp $ DISTNAME= dbus-1.8.14 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/ @@ -28,6 +28,8 @@ SPECIAL_PERMS+= libexec/dbus-daemon-launch-helper ${REAL_ROOT_USER} ${DBUS_GROU SMF_METHODS= dbus SMF_NAME= dbus +MESSAGE_SRC+= MESSAGE + .include "../../mk/bsd.prefs.mk" CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} @@ -36,6 +38,7 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} CONFIGURE_ARGS_GROUPS= enable disable with without .if ${OPSYS} == "Darwin" +MESSAGE_SRC+= MESSAGE.launchd CONFIGURE_ARGS+= --with-launchd-agent-dir=${PREFIX}/Library/LaunchAgents CONFIGURE_ARGS+= --with-session-socket-dir=/tmp .endif |