Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504498 - media-sound/audio-entropyd-2.0.3 - install systemd unit
Summary: media-sound/audio-entropyd-2.0.3 - install systemd unit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2014-03-13 17:49 UTC by Fabian Köster
Modified: 2014-03-22 15:11 UTC (History)
1 user (show)

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


Attachments
audio-entropyd.service (audio-entropyd.service,169 bytes, text/plain)
2014-03-13 18:04 UTC, Fabian Köster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Köster 2014-03-13 17:49:50 UTC
Please provide a systemd unit file for media-sound/audio-entropyd.

Reproducible: Always
Comment 1 Fabian Köster 2014-03-13 18:04:35 UTC
Created attachment 372578 [details]
audio-entropyd.service

The unit file from Fedora which seems to work.
Comment 2 Fabian Köster 2014-03-13 18:06:49 UTC
--- /usr/portage/media-sound/audio-entropyd/audio-entropyd-2.0.3.ebuild 2012-07-08 13:31:20.000000000 +0200
+++ /usr/local/portage/media-sound/audio-entropyd/audio-entropyd-2.0.3.ebuild   2014-03-13 19:01:19.620389696 +0100
@@ -3,7 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-2.0.3.ebuild,v 1.7 2012/07/08 11:06:00 angelos Exp $
 
 EAPI=4
-inherit eutils toolchain-funcs
+inherit eutils toolchain-funcs systemd
 
 DESCRIPTION="Audio-entropyd generates entropy-data for the /dev/random device."
 HOMEPAGE="http://www.vanheusden.com/aed/"
@@ -33,5 +33,6 @@
        dosbin audio-entropyd
        dodoc README TODO
        newinitd "${FILESDIR}/${PN}.init-2" ${PN}
+       systemd_dounit "${FILESDIR}/${PN}.service"
        newconfd "${FILESDIR}/${PN}.conf-2" ${PN}
 }
Comment 3 Christoph Mende (RETIRED) gentoo-dev 2014-03-22 15:11:43 UTC
Thanks, fixed