pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/dbus Only install messagebus.redhat and rc.me...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/992b62648cb5
branches:  trunk
changeset: 393248:992b62648cb5
user:      abs <abs%pkgsrc.org@localhost>
date:      Mon May 18 21:55:30 2009 +0000

description:
Only install messagebus.redhat and rc.messagebus.slackware iff on linux,  plus set group on libexec/dbus-daemon-launch-helper

diffstat:

 sysutils/dbus/Makefile |  14 ++++++++++----
 sysutils/dbus/PLIST    |   6 +++---
 2 files changed, 13 insertions(+), 7 deletions(-)

diffs (74 lines):

diff -r 249b8f3b287f -r 992b62648cb5 sysutils/dbus/Makefile
--- a/sysutils/dbus/Makefile    Mon May 18 21:14:50 2009 +0000
+++ b/sysutils/dbus/Makefile    Mon May 18 21:55:30 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.44 2009/05/08 13:13:51 abs Exp $
+# $NetBSD: Makefile,v 1.45 2009/05/18 21:55:30 abs Exp $
 
 DISTNAME=      dbus-1.2.4.2permissive
 PKGNAME=       dbus-1.2.4.2
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    sysutils
 MASTER_SITES=  http://dbus.freedesktop.org/releases/dbus/
 
@@ -26,7 +26,7 @@
 BUILD_DEFS+=           VARBASE
 
 OWN_DIRS_PERMS+=       ${VARBASE}/db/dbus ${DBUS_USER} ${DBUS_GROUP} 0755
-SPECIAL_PERMS+=                libexec/dbus-daemon-launch-helper ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 4511
+SPECIAL_PERMS+=                libexec/dbus-daemon-launch-helper ${REAL_ROOT_USER} ${DBUS_GROUP} 4511
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -62,11 +62,15 @@
 
 PTHREAD_AUTO_VARS=     yes
 
-.if ${OPSYS} != "Linux"
+.if ${OPSYS} == "Linux"
+PLIST.linux=           yes
+.else
 CONFIGURE_ARGS.disable+=\
                        ${CONFIGURE_ARGS.Linux}
 .endif
 
+PLIST_VARS+=           linux
+
 CONFIGURE_ARGS+=\
        ${CONFIGURE_ARGS_GROUPS:@.g.@                   \
                ${CONFIGURE_ARGS.${.g.}:@.a.@           \
@@ -103,11 +107,13 @@
 
 .include "options.mk"
 
+.if ${OPSYS} == "Linux"
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/bus/rc.messagebus \
                ${DESTDIR}${PREFIX}/share/examples/rc.d/rc.messagebus.slackware
        ${INSTALL_DATA} ${WRKSRC}/bus/messagebus \
                ${DESTDIR}${PREFIX}/share/examples/rc.d/messagebus.redhat
+.endif
 
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
diff -r 249b8f3b287f -r 992b62648cb5 sysutils/dbus/PLIST
--- a/sysutils/dbus/PLIST       Mon May 18 21:14:50 2009 +0000
+++ b/sysutils/dbus/PLIST       Mon May 18 21:55:30 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2008/06/13 11:28:35 drochner Exp $
+@comment $NetBSD: PLIST,v 1.11 2009/05/18 21:55:30 abs Exp $
 bin/dbus-cleanup-sockets
 bin/dbus-daemon
 bin/dbus-launch
@@ -34,8 +34,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
+${PLIST.linux}share/examples/rc.d/messagebus.redhat
+${PLIST.linux}share/examples/rc.d/rc.messagebus.slackware
 @dirrm share/examples/dbus
 @exec ${MKDIR} %D/share/dbus-1/system-services
 @dirrm share/dbus-1/system-services



Home | Main Index | Thread Index | Old Index