From 85eea8d0d0dc3bb0f0a39ceb693763b2248337a6 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Sun, 8 Mar 2015 19:27:35 +0100 Subject: [PATCH 1/2] polkit: add valid homedir to polkitd --- srcpkgs/polkit/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/polkit/template b/srcpkgs/polkit/template index d5db30a2915..f90b99d1475 100644 --- a/srcpkgs/polkit/template +++ b/srcpkgs/polkit/template @@ -1,7 +1,7 @@ # Template file for 'polkit' pkgname=polkit version=0.112 -revision=5 +revision=6 build_style=gnu-configure configure_args="--disable-static --with-authfw=pam --with-os-type=void --with-mozjs=mozjs-17.0" short_desc="Authorization Toolkit" @@ -14,6 +14,7 @@ checksum=d695f43cba4748a822fbe864dd32c4887c5da1c71694a47693ace5e88fcf6af6 hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel" makedepends="libglib-devel expat-devel pam-devel mozjs17-devel" system_accounts="polkitd" +polkitd_homedir="/var/empty" make_dirs=" /etc/polkit-1/rules.d 0700 polkitd polkitd /usr/share/polkit-1/rules.d 0700 polkitd polkitd" From b9cd9a059267d57939ae4d550229c2fdc0d3c2dc Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Sun, 8 Mar 2015 19:31:59 +0100 Subject: [PATCH 2/2] polkit: use FREEDESKTOP_SITE --- srcpkgs/polkit/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/polkit/template b/srcpkgs/polkit/template index f90b99d1475..dc7a61189ab 100644 --- a/srcpkgs/polkit/template +++ b/srcpkgs/polkit/template @@ -1,14 +1,14 @@ # Template file for 'polkit' pkgname=polkit version=0.112 -revision=6 +revision=7 build_style=gnu-configure configure_args="--disable-static --with-authfw=pam --with-os-type=void --with-mozjs=mozjs-17.0" short_desc="Authorization Toolkit" maintainer="Juan RP " homepage="http://www.freedesktop.org/wiki/Software/polkit" license="GPL-2" -distfiles="http://www.freedesktop.org/software/polkit/releases/polkit-${version}.tar.gz" +distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.gz" checksum=d695f43cba4748a822fbe864dd32c4887c5da1c71694a47693ace5e88fcf6af6 hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel"