gpsd supports systemd since recent versions. Apart from the unit files provided here, systemd scons must also be enabled in the ebuild, i.e., add systemd=yes into myesconsargs defined in src_configure().
Created attachment 357110 [details] gpsd.socket
Created attachment 357112 [details] gpsd.service
By the way, this works by socket activation, so you do systemctl enable gpsd.socket to enable it.
@sci-geo, systemd team can take care of this if you have no problem with that @Mehmet, regarding EnvironmentFile, it's preferred to use another file inside /etc/systemd instead of conf.d as explained at: https://wiki.gentoo.org/wiki/Systemd/Ebuild_policy If you can update patch to apply to that, would be nice :D
Copying vapier as the de-facto maintainer. I would guess that he has no objection to adding systemd support.
What kind of options are people supposed to set in GPSD_OPTIONS? In general we prefer to simply supply sane defaults with systemd unit files. For DEVICE variable I understand its needing, but for GPSD_OPTIONS I would like to know if it's really needed
+*gpsd-3.9-r1 (14 Sep 2013) + + 14 Sep 2013; Pacho Ramos <pacho@gentoo.org> +gpsd-3.9-r1.ebuild: + Install upstream unit files (#482596) +