--- /usr/local/portage/sci-geosciences/gpsd/gpsd-2.39.ebuild 2009-08-19 21:40:08 +0100 +++ /usr/local/portage/sci-geosciences/gpsd/gpsd-2.39-r1.ebuild 2009-08-20 17:08:16 +0100 @@ -41,6 +42,10 @@ dev-libs/libxslt )" +pkg_setup() { + enewuser gpsd -1 -1 -1 "uucp" +} + src_unpack() { unpack ${A} cd "${S}" @@ -68,6 +75,9 @@ local my_conf="--enable-shared --with-pic --enable-static" # --enable-superstar2 is missing a header file + # Drops privs to user gpsd. Add to any required groups to access gps + my_conf="${my_conf} --enable-gpsd-user=gpsd" + distutils_python_version if ! use ntp; then