Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482596 - sci-geosciences/gpsd - add systemd unit files and changes
Summary: sci-geosciences/gpsd - add systemd unit files and changes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2013-08-26 20:27 UTC by Mehmet Giritli
Modified: 2013-09-14 12:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gpsd.socket (gpsd.socket,139 bytes, text/plain)
2013-08-26 20:29 UTC, Mehmet Giritli
Details
gpsd.service (gpsd.service,165 bytes, text/plain)
2013-08-26 20:31 UTC, Mehmet Giritli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mehmet Giritli 2013-08-26 20:27:48 UTC
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().
Comment 1 Mehmet Giritli 2013-08-26 20:29:10 UTC
Created attachment 357110 [details]
gpsd.socket
Comment 2 Mehmet Giritli 2013-08-26 20:31:04 UTC
Created attachment 357112 [details]
gpsd.service
Comment 3 Mehmet Giritli 2013-08-26 20:32:37 UTC
By the way, this works by socket activation, so you do 

systemctl enable gpsd.socket

to enable it.
Comment 4 Pacho Ramos gentoo-dev 2013-08-27 17:12:59 UTC
@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
Comment 5 Mike Gilbert gentoo-dev 2013-08-27 17:17:41 UTC
Copying vapier as the de-facto maintainer. I would guess that he has no objection to adding systemd support.
Comment 6 Pacho Ramos gentoo-dev 2013-08-31 07:40:49 UTC
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
Comment 7 Pacho Ramos gentoo-dev 2013-09-14 12:27:40 UTC
+*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)
+