From owner-svn-ports-branches@freebsd.org Tue Aug 23 15:36:59 2016 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABAE6BC3704; Tue, 23 Aug 2016 15:36:59 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C5831838; Tue, 23 Aug 2016 15:36:59 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7NFaw6Z037263; Tue, 23 Aug 2016 15:36:58 GMT (envelope-from olivierd@FreeBSD.org) Received: (from olivierd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7NFawkF037262; Tue, 23 Aug 2016 15:36:58 GMT (envelope-from olivierd@FreeBSD.org) Message-Id: <201608231536.u7NFawkF037262@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olivierd set sender to olivierd@FreeBSD.org using -f From: Olivier Duchateau Date: Tue, 23 Aug 2016 15:36:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r420702 - branches/2016Q3/x11-wm/xfce4-session/files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 15:36:59 -0000 Author: olivierd Date: Tue Aug 23 15:36:58 2016 New Revision: 420702 URL: https://svnweb.freebsd.org/changeset/ports/420702 Log: MFH: r420679 Add missing braces in polkit example rules. PR: 212061 Submitted by: Approved by: portmgr (feld@) Modified: branches/2016Q3/x11-wm/xfce4-session/files/pkg-message.in Directory Properties: branches/2016Q3/ (props changed) Modified: branches/2016Q3/x11-wm/xfce4-session/files/pkg-message.in ============================================================================== --- branches/2016Q3/x11-wm/xfce4-session/files/pkg-message.in Tue Aug 23 15:29:09 2016 (r420701) +++ branches/2016Q3/x11-wm/xfce4-session/files/pkg-message.in Tue Aug 23 15:36:58 2016 (r420702) @@ -3,8 +3,8 @@ files in %%LOCALBASE%%/etc/polkit-1/rule like this (replace PUTYOURGROUPHERE by your group): polkit.addRule(function (action, subject) { - if (action.id == "org.freedesktop.consolekit.system.restart" || - action.id == "org.freedesktop.consolekit.system.stop" + if ((action.id == "org.freedesktop.consolekit.system.restart" || + action.id == "org.freedesktop.consolekit.system.stop") && subject.isInGroup("PUTYOURGROUPHERE")) { return polkit.Result.YES; }