pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/dbus dbus: Simplify MESSAGE, make it only app...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae566506adb5
branches:  trunk
changeset: 448756:ae566506adb5
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Mar 14 08:31:17 2021 +0000

description:
dbus: Simplify MESSAGE, make it only appear for INIT_SYSTEM=rc.d

diffstat:

 sysutils/dbus/MESSAGE     |  14 --------------
 sysutils/dbus/MESSAGE.rcd |  10 ++++++++++
 sysutils/dbus/Makefile    |   8 +++++---
 3 files changed, 15 insertions(+), 17 deletions(-)

diffs (55 lines):

diff -r 416a739f379c -r ae566506adb5 sysutils/dbus/MESSAGE
--- a/sysutils/dbus/MESSAGE     Sun Mar 14 08:25:51 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.3 2020/12/17 20:18:52 maya Exp $
-
-You should enable the dbus system-wide daemon for correct operation.  You
-can do this by using one of the three start-up scripts installed by the
-package.  Use:
-
-* ${PREFIX}/share/examples/rc.d/dbus:
-  if you are using NetBSD's and pkgsrc's rc.subr start-up framework.
-
-* ${PREFIX}/share/examples/rc.d/rc.messagebus.slackware:
-  if you are using a Slackware-like system.
-
-===========================================================================
diff -r 416a739f379c -r ae566506adb5 sysutils/dbus/MESSAGE.rcd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dbus/MESSAGE.rcd Sun Mar 14 08:31:17 2021 +0000
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE.rcd,v 1.1 2021/03/14 08:31:17 nia Exp $
+
+You should enable the dbus system-wide daemon for correct operation. Use:
+
+$ cp ${PREFIX}/share/examples/rc.d/dbus /etc/rc.d/dbus
+
+Edit /etc/rc.conf to set dbus=YES.
+
+===========================================================================
diff -r 416a739f379c -r ae566506adb5 sysutils/dbus/Makefile
--- a/sysutils/dbus/Makefile    Sun Mar 14 08:25:51 2021 +0000
+++ b/sysutils/dbus/Makefile    Sun Mar 14 08:31:17 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.122 2020/07/17 23:38:56 wiz Exp $
+# $NetBSD: Makefile,v 1.123 2021/03/14 08:31:17 nia Exp $
 
 DISTNAME=      dbus-1.12.20
 CATEGORIES=    sysutils
@@ -28,9 +28,11 @@
 SMF_METHODS=   dbus
 SMF_NAME=      dbus
 
-MESSAGE_SRC+=  MESSAGE
+.include "../../mk/bsd.prefs.mk"
 
-.include "../../mk/bsd.prefs.mk"
+.if ${INIT_SYSTEM} == "rc.d"
+MESSAGE_SRC+=  MESSAGE.rcd
+.endif
 
 CONFIGURE_ARGS+=       --localstatedir=${VARBASE:Q}
 



Home | Main Index | Thread Index | Old Index