diff options
author | markd <markd@pkgsrc.org> | 2010-12-26 20:53:14 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2010-12-26 20:53:14 +0000 |
commit | 32575deed10b51a65970e2c5554a5138c0db502a (patch) | |
tree | 15e498138519d7b72361b4dca49a8a46ba5fbd86 /sysutils | |
parent | 09b5956ba09239eecfa04c87a794e0f8be3a7f6f (diff) | |
download | pkgsrc-32575deed10b51a65970e2c5554a5138c0db502a.tar.gz |
Fix MASTER_SITES.
Fix policykit rules (taken from ConsoleKit 0.4.x). Bump PKGREVISION
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/consolekit/Makefile | 6 | ||||
-rw-r--r-- | sysutils/consolekit/distinfo | 3 | ||||
-rw-r--r-- | sysutils/consolekit/patches/patch-aj | 181 |
3 files changed, 186 insertions, 4 deletions
diff --git a/sysutils/consolekit/Makefile b/sysutils/consolekit/Makefile index 76c33708bd6..958e7342062 100644 --- a/sysutils/consolekit/Makefile +++ b/sysutils/consolekit/Makefile @@ -1,12 +1,12 @@ -# $NetBSD: Makefile,v 1.11 2010/04/18 19:51:47 jmmv Exp $ +# $NetBSD: Makefile,v 1.12 2010/12/26 20:53:14 markd Exp $ # CONSOLEKIT_VER= 0.3.0 DISTNAME= ConsoleKit-${CONSOLEKIT_VER} PKGNAME= consolekit-${CONSOLEKIT_VER} -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= sysutils -MASTER_SITES= http://people.freedesktop.org/~mccann/dist/ +MASTER_SITES= http://www.freedesktop.org/software/ConsoleKit/dist/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= netbsd-desktop@NetBSD.org diff --git a/sysutils/consolekit/distinfo b/sysutils/consolekit/distinfo index 59bbccb9dbc..ba22e29a7ff 100644 --- a/sysutils/consolekit/distinfo +++ b/sysutils/consolekit/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2009/09/23 09:35:47 sketch Exp $ +$NetBSD: distinfo,v 1.8 2010/12/26 20:53:14 markd Exp $ SHA1 (ConsoleKit-0.3.0.tar.bz2) = e3b6156622cc14ebca7382a55b8ed15f2f2bad98 RMD160 (ConsoleKit-0.3.0.tar.bz2) = 7a1ebd2f4bfb65690e70138c9923c3fd2fcaf671 @@ -12,3 +12,4 @@ SHA1 (patch-af) = e86c63147798d61f7560cfe7547b0d06d18d5583 SHA1 (patch-ag) = 724e2eb95f7ca78c5659fde1eec2f2c5c6bc5002 SHA1 (patch-ah) = f62d8c661732a4ea47e29b99f883b539fb5c7468 SHA1 (patch-ai) = 1cdec78f885adc26ab21deff165ffdf366eaf883 +SHA1 (patch-aj) = 61538936f3c31f24d8169f4f55d0822d99ed2fbd diff --git a/sysutils/consolekit/patches/patch-aj b/sysutils/consolekit/patches/patch-aj new file mode 100644 index 00000000000..849e95f23a9 --- /dev/null +++ b/sysutils/consolekit/patches/patch-aj @@ -0,0 +1,181 @@ +$NetBSD: patch-aj,v 1.1 2010/12/26 20:53:14 markd Exp $ + +Fixed rules from ConsoleKit 0.4.x + +--- data/ConsoleKit.conf.orig 2008-04-19 05:39:49.000000000 +0000 ++++ data/ConsoleKit.conf +@@ -8,89 +8,134 @@ + <allow own="org.freedesktop.ConsoleKit"/> + + <!-- Allow all methods on interfaces --> +- <allow send_interface="org.freedesktop.ConsoleKit.Manager"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Seat"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session"/> ++ <allow send_destination="org.freedesktop.ConsoleKit"/> + </policy> + + <!-- Deny all and then allow some methods on interfaces --> + <policy context="default"> +- <deny send_interface="org.freedesktop.ConsoleKit.Manager"/> +- <deny send_interface="org.freedesktop.ConsoleKit.Seat"/> +- <deny send_interface="org.freedesktop.ConsoleKit.Session"/> ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.DBus.Introspectable"/> ++ <deny send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager"/> ++ <deny send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Seat"/> ++ <deny send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session"/> + <deny send_destination="org.freedesktop.ConsoleKit" + send_interface="org.freedesktop.DBus.Properties" /> + +- <allow send_interface="org.freedesktop.ConsoleKit.Manager" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="Restart"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Manager" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="Stop"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Manager" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="OpenSession"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Manager" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="CloseSession"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Manager" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="GetSeats"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Manager" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" ++ send_member="GetSessions"/> ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="GetSessionForCookie"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Manager" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="GetSessionForUnixProcess"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Manager" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="GetCurrentSession"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Manager" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="GetSessionsForUnixUser"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Manager" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="GetSessionsForUser"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Manager" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="GetSystemIdleHint"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Manager" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="GetSystemIdleSinceHint"/> + +- <allow send_interface="org.freedesktop.ConsoleKit.Seat" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Seat" + send_member="GetId"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Seat" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Seat" + send_member="GetSessions"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Seat" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Seat" + send_member="GetDevices"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Seat" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Seat" + send_member="GetActiveSession"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Seat" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Seat" + send_member="CanActivateSessions"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Seat" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Seat" + send_member="ActivateSession"/> + +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetId"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetSeatId"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetLoginSessionId"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetSessionType"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetUser"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetUnixUser"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetX11Display"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetX11DisplayDevice"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetDisplayDevice"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetRemoteHostName"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="IsActive"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="IsLocal"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetCreationTime"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="Activate"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetIdleHint"/> +- <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" ++ send_member="SetIdleHint"/> ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetIdleSinceHint"/> ++ <allow send_interface="org.freedesktop.ConsoleKit.Session" ++ send_member="SetIdleHint"/> + </policy> + + </busconfig> |