From 5a8ee857c387151ac3df5eb9ee3e9f839a1ea1a9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 29 Mar 2014 09:02:16 +0100 Subject: [PATCH] geoclue2: run the daemon under an unprivileged user (follow OpenBSD lead). --- srcpkgs/geoclue2/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/geoclue2/template b/srcpkgs/geoclue2/template index e487b9fb65..15f8862b84 100644 --- a/srcpkgs/geoclue2/template +++ b/srcpkgs/geoclue2/template @@ -1,7 +1,7 @@ # Template file for 'geoclue2' pkgname=geoclue2 version=2.1.7 -revision=2 +revision=3 wrksrc="geoclue-${version}" build_style=gnu-configure configure_args="--disable-static --disable-schemas-compile" @@ -16,6 +16,10 @@ maintainer="Juan RP " distfiles="http://www.freedesktop.org/software/geoclue/releases/${version%.*}/geoclue-${version}.tar.xz" checksum=50c6a20192fc5357451cd698d6e9f36052ab02b464f04800960ce8cc376027f1 +# Run the daemon under an unprileged user. +system_accounts="geoclue2" +configure_args+=" --with-dbus-service-user=geoclue2" + lib32disabled=yes # Package build options