From owner-svn-ports-head@freebsd.org Thu Dec 17 16:03:06 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EBAF54BBD19; Thu, 17 Dec 2020 16:03:06 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CxcGf6PFPz3qQY; Thu, 17 Dec 2020 16:03:06 +0000 (UTC) (envelope-from swills@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CA7B61B1D9; Thu, 17 Dec 2020 16:03:06 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BHG36nF035367; Thu, 17 Dec 2020 16:03:06 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BHG36V5035365; Thu, 17 Dec 2020 16:03:06 GMT (envelope-from swills@FreeBSD.org) Message-Id: <202012171603.0BHG36V5035365@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Thu, 17 Dec 2020 16:03:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r558300 - head/sysutils/consolekit2 X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: head/sysutils/consolekit2 X-SVN-Commit-Revision: 558300 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2020 16:03:07 -0000 Author: swills Date: Thu Dec 17 16:03:06 2020 New Revision: 558300 URL: https://svnweb.freebsd.org/changeset/ports/558300 Log: sysutils/consolekit2: Add polkit build option PR: 231730 Submitted by: Ali Abdallah (original version) Approved by: desktop@ (tcberner) Modified: head/sysutils/consolekit2/Makefile (contents, props changed) head/sysutils/consolekit2/pkg-plist (contents, props changed) Modified: head/sysutils/consolekit2/Makefile ============================================================================== --- head/sysutils/consolekit2/Makefile Thu Dec 17 15:55:52 2020 (r558299) +++ head/sysutils/consolekit2/Makefile Thu Dec 17 16:03:06 2020 (r558300) @@ -15,9 +15,17 @@ COMMENT= Framework for defining and tracking users LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libdbus-1.so:devel/dbus \ - libpolkit-gobject-1.so:sysutils/polkit +LIB_DEPENDS= libdbus-1.so:devel/dbus +OPTIONS_DEFINE= POLKIT +OPTIONS_DEFAULT=POLKIT +OPTIONS_SUB= yes + +POLKIT_DESC= Build with Polkit support + +POLKIT_LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit +POLKIT_CONFIGURE_ENABLE= polkit + WRKSRC= ${WRKDIR}/ConsoleKit2-${PORTVERSION} USES= gettext gmake gnome libtool localbase pathfix pkgconfig \ tar:bzip2 xorg @@ -30,7 +38,6 @@ CONFIGURE_ARGS= --with-pid-file=/var/run/${PORTNAME}.p --enable-pam-module \ --with-pam-module-dir=${PREFIX}/lib \ --localstatedir=/var \ - --enable-polkit \ --enable-introspection \ --without-html-dir \ --disable-udev-acl \ Modified: head/sysutils/consolekit2/pkg-plist ============================================================================== --- head/sysutils/consolekit2/pkg-plist Thu Dec 17 15:55:52 2020 (r558299) +++ head/sysutils/consolekit2/pkg-plist Thu Dec 17 16:03:06 2020 (r558300) @@ -46,7 +46,7 @@ share/locale/bg/LC_MESSAGES/ConsoleKit2.mo share/locale/es/LC_MESSAGES/ConsoleKit2.mo share/locale/es_419/LC_MESSAGES/ConsoleKit2.mo share/locale/ru/LC_MESSAGES/ConsoleKit2.mo -share/polkit-1/actions/org.freedesktop.consolekit.policy +%%POLKIT%%share/polkit-1/actions/org.freedesktop.consolekit.policy @dir etc/ConsoleKit/run-seat.d @dir etc/ConsoleKit/run-session.d @dir lib/ConsoleKit/run-seat.d