summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-05-18 21:55:30 +0000
committerabs <abs@pkgsrc.org>2009-05-18 21:55:30 +0000
commita629c9aea17e926289da49b976b3210e517ff4aa (patch)
tree5bf52d7c68aa314f32ca655a1681622fc748d0e7 /sysutils
parenteefda6555fe2461d3a63bd4447ae9e912533c336 (diff)
downloadpkgsrc-a629c9aea17e926289da49b976b3210e517ff4aa.tar.gz
Only install messagebus.redhat and rc.messagebus.slackware iff on linux, plus set group on libexec/dbus-daemon-launch-helper
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dbus/Makefile14
-rw-r--r--sysutils/dbus/PLIST6
2 files changed, 13 insertions, 7 deletions
diff --git a/sysutils/dbus/Makefile b/sysutils/dbus/Makefile
index a4592cf233b..e6989825736 100644
--- a/sysutils/dbus/Makefile
+++ b/sysutils/dbus/Makefile
@@ -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 @@ PKG_DESTDIR_SUPPORT= user-destdir
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 @@ CONFIGURE_ARGS.with+= xml=expat
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 @@ BUILDLINK_TRANSFORM+= rm:-pie
.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 --git a/sysutils/dbus/PLIST b/sysutils/dbus/PLIST
index 0bf34ea8f34..07cb91189e7 100644
--- a/sysutils/dbus/PLIST
+++ b/sysutils/dbus/PLIST
@@ -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 @@ man/man1/dbus-uuidgen.1
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