PN: geoclue
PV: 2.7.1
PR: r0
PKGV: 2.7.1
PKGR: r0@EXTENDPRAUTO@
LICENSE: GPL-2.0-or-later
DESCRIPTION: Geoclue is a D-Bus service that provides location information. The primary goal of the Geoclue project is to make creating location-aware applications as simple as possible, while the secondary goal is to ensure that no application can access location information without explicit permission from user.
SUMMARY: The Geolocation Service
RDEPENDS:geoclue: avahi-daemon base-files base-passwd shadow glib-2.0 (>= 2.78.6) glibc (>= 2.39+git6+b027d5b145) json-glib (>= 1.8.0) libavahi-client (>= 0.8) libavahi-common (>= 0.8) libavahi-glib (>= 0.8) libsoup (>= 3.4.4)
SECTION: console/network
PKG:geoclue: geoclue
FILES:geoclue: /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.*             /etc /com /var             /usr/bin/* /usr/sbin/*             /usr/lib/*.so.*             /lib/udev /usr/lib/udev             /usr/lib/udev /usr/lib/udev             /usr/share/geoclue /usr/lib/geoclue/*             /usr/share/pixmaps /usr/share/applications             /usr/share/idl /usr/share/omf /usr/share/sounds             /usr/lib/bonobo/servers      /usr/share/dbus-1/system-services     /usr/share/polkit-1/rules.d     /usr/lib     /usr/lib/systemd     /usr/libexec  /usr/lib/girepository-*/*.typelib
FILES_INFO:geoclue: {"/etc/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf": 708, "/etc/dbus-1/system.d/org.freedesktop.GeoClue2.conf": 1402, "/etc/geoclue/geoclue.conf": 3042, "/usr/lib/girepository-1.0/Geoclue-2.0.typelib": 16232, "/usr/lib/libgeoclue-2.so.0": 21, "/usr/lib/libgeoclue-2.so.0.0.0": 124904, "/usr/lib/systemd/system/geoclue.service": 504, "/usr/libexec/geoclue": 313760, "/usr/libexec/geoclue-2.0/demos/where-am-i": 125256, "/usr/share/applications/geoclue-where-am-i.desktop": 323, "/usr/share/dbus-1/system-services/org.freedesktop.GeoClue2.service": 113}
pkg_postinst:geoclue: #!/bin/sh\nset -e\nif [ x"$D" = "x" ]; then\n\tif [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi\nfi\n
pkg_preinst:geoclue: #!/bin/sh\nset -e\nbbnote () {\n\techo "NOTE: $*"\n}\nbbwarn () {\n\techo "WARNING: $*"\n}\nbbfatal () {\n\techo "ERROR: $*"\n\texit 1\n}\nperform_groupadd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "geoclue: Performing groupadd with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ print $NF }'`\n\tlocal group_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\tif test "x$group_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupadd \\$opts\\" || true\n\t\tgroup_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\t\tif test "x$group_exists" = "x"; then\n\t\t\tbbfatal "geoclue: groupadd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "geoclue: group $groupname already exists, not re-creating it"\n\tfi\n}\nperform_useradd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "geoclue: Performing useradd with [$opts]"\n\tlocal username=`echo "$opts" | awk '{ print $NF }'`\n\tlocal user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\tif test "x$user_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c  \\"$PSEUDO useradd \\$opts\\" || true\n\t\tuser_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\t\tif test "x$user_exists" = "x"; then\n\t\t\tbbfatal "geoclue: useradd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "geoclue: user $username already exists, not re-creating it"\n\tfi\n}\nperform_groupmems () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "geoclue: Performing groupmems with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'`\n\tlocal username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'`\n\tbbnote "geoclue: Running groupmems command with group $groupname and user $username"\n\tlocal mem_exists="`grep "^$groupname:[^:]*:[^:]*:\\([^,]*,\\)*$username\\(,[^,]*\\)*$" $rootdir/etc/group || true`"\n\tif test "x$mem_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupmems \\$opts\\" || true\n\t\tmem_exists="`grep "^$groupname:[^:]*:[^:]*:\\([^,]*,\\)*$username\\(,[^,]*\\)*$" $rootdir/etc/group || true`"\n\t\tif test "x$mem_exists" = "x"; then\n\t\t\tbbfatal "geoclue: groupmems command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "geoclue: group $groupname already contains $username, not re-adding it"\n\tfi\n}\nOPT=""\nSYSROOT=""\n\nif test "x$D" != "x"; then\n\t# Installing into a sysroot\n\tSYSROOT="$D"\n\tOPT="--root $D"\n\n\t# Make sure login.defs is there, this is to make debian package backend work\n\t# correctly while doing rootfs.\n\t# The problem here is that if /etc/login.defs is treated as a config file for\n\t# shadow package, then while performing preinsts for packages that depend on\n\t# shadow, there might only be /etc/login.def.dpkg-new there in root filesystem.\n\tif [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then\n\t    cp $D/etc/login.defs.dpkg-new $D/etc/login.defs\n\tfi\n\n\t# user/group lookups should match useradd/groupadd --root\n\texport PSEUDO_PASSWD="$SYSROOT"\nfi\n\n# If we're not doing a special SSTATE/SYSROOT install\n# then set the values, otherwise use the environment\nif test "x$UA_SYSROOT" = "x"; then\n\t# Installing onto a target\n\t# Add groups and users defined only for this package\n\tGROUPADD_PARAM="--gid 982 polkitd"\n\tUSERADD_PARAM="--home-dir /etc/polkit-1 --gid 982 --no-create-home --system --shell /bin/nologin --uid 982 polkitd"\n\tGROUPMEMS_PARAM=""\nfi\n\n# Perform group additions first, since user additions may depend\n# on these groups existing\nif test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupadd commands..."\n\t# Invoke multiple instances of groupadd for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupadd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running useradd commands..."\n\t# Invoke multiple instances of useradd for parameter lists\n\t# separated by ';'\n\topts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_useradd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupmems commands..."\n\t# Invoke multiple instances of groupmems for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupmems "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n
FILERPROVIDESFLIST:geoclue: /usr/lib/libgeoclue-2.so.0.0.0
FILERPROVIDES:/usr/lib/libgeoclue-2.so.0.0.0:geoclue:  libgeoclue-2.so.0()(64bit)
FILERDEPENDSFLIST:geoclue: /usr/lib/libgeoclue-2.so.0.0.0 /usr/libexec/geoclue /usr/libexec/geoclue-2.0/demos/where-am-i
FILERDEPENDS:/usr/lib/libgeoclue-2.so.0.0.0:geoclue:  libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libglib-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libc.so.6()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/libexec/geoclue:geoclue:  libm.so.6(GLIBC_2.2.5)(64bit) libjson-glib-1.0.so.0(libjson-glib-1.0.so.0)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libglib-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libm.so.6()(64bit) libjson-glib-1.0.so.0()(64bit) libsoup-3.0.so.0()(64bit) libavahi-common.so.3()(64bit) libavahi-client.so.3()(64bit) libavahi-glib.so.1()(64bit) libc.so.6()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/libexec/geoclue-2.0/demos/where-am-i:geoclue:  libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libgeoclue-2.so.0()(64bit) libglib-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libc.so.6()(64bit) rtld(GNU_HASH)
PKGSIZE:geoclue: 586265
