geoclue2: run the daemon under an unprivileged user (follow OpenBSD lead).
This commit is contained in:
parent
0e2b5da6ab
commit
5a8ee857c3
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'geoclue2'
|
# Template file for 'geoclue2'
|
||||||
pkgname=geoclue2
|
pkgname=geoclue2
|
||||||
version=2.1.7
|
version=2.1.7
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="geoclue-${version}"
|
wrksrc="geoclue-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --disable-schemas-compile"
|
configure_args="--disable-static --disable-schemas-compile"
|
||||||
|
@ -16,6 +16,10 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
distfiles="http://www.freedesktop.org/software/geoclue/releases/${version%.*}/geoclue-${version}.tar.xz"
|
distfiles="http://www.freedesktop.org/software/geoclue/releases/${version%.*}/geoclue-${version}.tar.xz"
|
||||||
checksum=50c6a20192fc5357451cd698d6e9f36052ab02b464f04800960ce8cc376027f1
|
checksum=50c6a20192fc5357451cd698d6e9f36052ab02b464f04800960ce8cc376027f1
|
||||||
|
|
||||||
|
# Run the daemon under an unprileged user.
|
||||||
|
system_accounts="geoclue2"
|
||||||
|
configure_args+=" --with-dbus-service-user=geoclue2"
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
|
|
Loading…
Reference in New Issue