pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/dbus Fix installation under RedHat and Slackw...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bbd797a9964e
branches:  trunk
changeset: 522667:bbd797a9964e
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sun Dec 17 15:39:33 2006 +0000

description:
Fix installation under RedHat and Slackware by always installing all possible
start-up scripts.  This also makes all installations consistent regardless of
the underlying OS.

Bump PKGREVISION to 1.

diffstat:

 sysutils/dbus/MESSAGE          |  17 +++++++++++++++++
 sysutils/dbus/Makefile         |   3 ++-
 sysutils/dbus/PLIST            |   4 +++-
 sysutils/dbus/distinfo         |   4 ++--
 sysutils/dbus/patches/patch-aa |  22 ++++++++++++++++++----
 5 files changed, 42 insertions(+), 8 deletions(-)

diffs (104 lines):

diff -r 8b3a9587552d -r bbd797a9964e sysutils/dbus/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dbus/MESSAGE     Sun Dec 17 15:39:33 2006 +0000
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2006/12/17 15:39:33 jmmv 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/messagebus.redhat:
+  if you are using a Red-Hat based system (such as Fedora Core).
+
+* ${PREFIX}/share/examples/rc.d/rc.messagebus.slackware:
+  if you are using a Slackware-like system.
+
+===========================================================================
diff -r 8b3a9587552d -r bbd797a9964e sysutils/dbus/Makefile
--- a/sysutils/dbus/Makefile    Sun Dec 17 11:45:42 2006 +0000
+++ b/sysutils/dbus/Makefile    Sun Dec 17 15:39:33 2006 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2006/12/15 19:06:00 drochner Exp $
+# $NetBSD: Makefile,v 1.21 2006/12/17 15:39:33 jmmv Exp $
 #
 
 DISTNAME=      dbus-1.0.2
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  http://dbus.freedesktop.org/releases/dbus/
 
diff -r 8b3a9587552d -r bbd797a9964e sysutils/dbus/PLIST
--- a/sysutils/dbus/PLIST       Sun Dec 17 11:45:42 2006 +0000
+++ b/sysutils/dbus/PLIST       Sun Dec 17 15:39:33 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2006/12/15 19:06:00 drochner Exp $
+@comment $NetBSD: PLIST,v 1.9 2006/12/17 15:39:33 jmmv Exp $
 bin/dbus-cleanup-sockets
 bin/dbus-daemon
 bin/dbus-launch
@@ -33,6 +33,8 @@
 share/examples/dbus/session.conf
 share/examples/dbus/system.conf
 share/examples/rc.d/dbus
+share/examples/rc.d/messagebus.redhat
+share/examples/rc.d/rc.messagebus.slackware
 @dirrm share/examples/dbus
 @exec ${MKDIR} %D/share/dbus-1/services
 @dirrm share/dbus-1/services
diff -r 8b3a9587552d -r bbd797a9964e sysutils/dbus/distinfo
--- a/sysutils/dbus/distinfo    Sun Dec 17 11:45:42 2006 +0000
+++ b/sysutils/dbus/distinfo    Sun Dec 17 15:39:33 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.15 2006/12/15 19:06:00 drochner Exp $
+$NetBSD: distinfo,v 1.16 2006/12/17 15:39:33 jmmv Exp $
 
 SHA1 (dbus-1.0.2.tar.gz) = 2870efd6ea0b5b0d14e52195f560238a74bb1e0e
 RMD160 (dbus-1.0.2.tar.gz) = d5eddfb058c4c026d4a9f091ad90abcc6e54861a
 Size (dbus-1.0.2.tar.gz) = 1400278 bytes
-SHA1 (patch-aa) = 4d66a0083384448dc89fefe00eb82eeb3aaf13b1
+SHA1 (patch-aa) = 71c903a268e8ece66c39f48937c9544b7c82d1b3
 SHA1 (patch-ac) = eae0564535d36cb0082dd2e66d74fea808800d4e
 SHA1 (patch-ag) = 469993db97a74da50c61449454c02c8a7c69e7bd
diff -r 8b3a9587552d -r bbd797a9964e sysutils/dbus/patches/patch-aa
--- a/sysutils/dbus/patches/patch-aa    Sun Dec 17 11:45:42 2006 +0000
+++ b/sysutils/dbus/patches/patch-aa    Sun Dec 17 15:39:33 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.5 2006/11/13 15:16:20 drochner Exp $
+$NetBSD: patch-aa,v 1.6 2006/12/17 15:39:33 jmmv Exp $
 
---- bus/Makefile.in.orig       2006-10-14 19:27:58.000000000 +0200
+--- bus/Makefile.in.orig       2006-12-12 20:41:47.000000000 +0100
 +++ bus/Makefile.in
-@@ -303,11 +303,11 @@ target_alias = @target_alias@
+@@ -305,11 +305,11 @@ target_alias = @target_alias@
  target_cpu = @target_cpu@
  target_os = @target_os@
  target_vendor = @target_vendor@
@@ -17,7 +17,21 @@
  
  EFENCE = 
  CONFIG_IN_FILES = \
-@@ -856,8 +856,6 @@ install-data-hook:
+@@ -390,6 +390,13 @@ SCRIPT_IN_FILES = messagebus.in \
+ @DBUS_INIT_SCRIPTS_SLACKWARE_TRUE@initd_SCRIPTS = \
+ @DBUS_INIT_SCRIPTS_SLACKWARE_TRUE@    rc.messagebus
+ 
++initddir = $(datadir)/examples/rc.d
++initd_SCRIPTS = messagebus.redhat rc.messagebus.slackware
++messagebus.redhat: messagebus
++      cp messagebus messagebus.redhat
++rc.messagebus.slackware: rc.messagebus
++      cp rc.messagebus rc.messagebus.slackware
++
+ MAN_IN_FILES = dbus-daemon.1.in
+ man_MANS = dbus-daemon.1
+ 
+@@ -858,8 +865,6 @@ install-data-hook:
                chmod 755 $(DESTDIR)$(DBUS_DAEMONDIR); \
        fi
        $(INSTALL_PROGRAM) dbus-daemon $(DESTDIR)$(DBUS_DAEMONDIR)



Home | Main Index | Thread Index | Old Index