Gentoo Archives: gentoo-commits

From: "Christoph Mende (angelos)" <angelos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/audio-entropyd: audio-entropyd-2.0.3-r1.ebuild ChangeLog
Date: Sat, 22 Mar 2014 15:11:50
Message-Id: 20140322151135.B4D4B20051@flycatcher.gentoo.org
1 angelos 14/03/22 15:11:35
2
3 Modified: ChangeLog
4 Added: audio-entropyd-2.0.3-r1.ebuild
5 Log:
6 Add systemd unit file (bug #504498), make init script provide entropy (bug #495000)
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 84F20B43)
9
10 Revision Changes Path
11 1.2 sys-apps/audio-entropyd/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/audio-entropyd/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 22 Mar 2014 15:00:30 -0000 1.1
24 +++ ChangeLog 22 Mar 2014 15:11:35 -0000 1.2
25 @@ -1,6 +1,14 @@
26 -# ChangeLog for media-sound/audio-entropyd
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/audio-entropyd/ChangeLog,v 1.1 2014/03/22 15:00:30 angelos Exp $
29 +# ChangeLog for sys-apps/audio-entropyd
30 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/audio-entropyd/ChangeLog,v 1.2 2014/03/22 15:11:35 angelos Exp $
32 +
33 +*audio-entropyd-2.0.3-r1 (22 Mar 2014)
34 +
35 + 22 Mar 2014; Christoph Mende <angelos@g.o>
36 + +audio-entropyd-2.0.3-r1.ebuild, +files/audio-entropyd.service,
37 + files/audio-entropyd.init-2:
38 + Add systemd unit file (bug #504498), make init script provide entropy (bug
39 + #495000)
40
41 16 Jul 2012; Christoph Mende <angelos@g.o>
42 -audio-entropyd-2.0.1-r1.ebuild:
43
44
45
46 1.1 sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: audio-entropyd-2.0.3-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild,v 1.1 2014/03/22 15:11:35 angelos Exp $
56
57 EAPI=4
58 inherit eutils systemd toolchain-funcs
59
60 DESCRIPTION="Audio-entropyd generates entropy-data for the /dev/random device."
61 HOMEPAGE="http://www.vanheusden.com/aed/"
62 SRC_URI="http://www.vanheusden.com/aed/${P}.tgz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
67 IUSE="selinux"
68
69 RDEPEND="selinux? ( sec-policy/selinux-entropyd )
70 media-sound/alsa-utils
71 media-libs/alsa-lib"
72
73 src_prepare() {
74 epatch "${FILESDIR}/${PN}-2.0.1-uclibc.patch" \
75 "${FILESDIR}/${PN}-2.0.1-ldflags.patch"
76 sed -i -e "s:^OPT_FLAGS=.*:OPT_FLAGS=${CFLAGS}:" \
77 -e "/^WARNFLAGS/s: -g::" Makefile || die
78 }
79
80 src_compile() {
81 emake CC="$(tc-getCC)"
82 }
83
84 src_install() {
85 dosbin audio-entropyd
86 dodoc README TODO
87 systemd_dounit "${FILESDIR}/${PN}.service"
88 newinitd "${FILESDIR}/${PN}.init-2" ${PN}
89 newconfd "${FILESDIR}/${PN}.conf-2" ${PN}
90 }