angelos     14/03/22 15:11:35

  Modified:             ChangeLog
  Added:                audio-entropyd-2.0.3-r1.ebuild
  Log:
  Add systemd unit file (bug #504498), make init script provide entropy (bug 
#495000)
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
84F20B43)

Revision  Changes    Path
1.2                  sys-apps/audio-entropyd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/ChangeLog?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/ChangeLog?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/audio-entropyd/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/audio-entropyd/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog   22 Mar 2014 15:00:30 -0000      1.1
+++ ChangeLog   22 Mar 2014 15:11:35 -0000      1.2
@@ -1,6 +1,14 @@
-# ChangeLog for media-sound/audio-entropyd
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/audio-entropyd/ChangeLog,v 1.1 
2014/03/22 15:00:30 angelos Exp $
+# ChangeLog for sys-apps/audio-entropyd
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/audio-entropyd/ChangeLog,v 1.2 
2014/03/22 15:11:35 angelos Exp $
+
+*audio-entropyd-2.0.3-r1 (22 Mar 2014)
+
+  22 Mar 2014; Christoph Mende <ange...@gentoo.org>
+  +audio-entropyd-2.0.3-r1.ebuild, +files/audio-entropyd.service,
+  files/audio-entropyd.init-2:
+  Add systemd unit file (bug #504498), make init script provide entropy (bug
+  #495000)
 
   16 Jul 2012; Christoph Mende <ange...@gentoo.org>
   -audio-entropyd-2.0.1-r1.ebuild:



1.1                  sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild

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
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

Index: audio-entropyd-2.0.3-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=4
inherit eutils systemd toolchain-funcs

DESCRIPTION="Audio-entropyd generates entropy-data for the /dev/random device."
HOMEPAGE="http://www.vanheusden.com/aed/";
SRC_URI="http://www.vanheusden.com/aed/${P}.tgz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="selinux"

RDEPEND="selinux? ( sec-policy/selinux-entropyd )
        media-sound/alsa-utils
        media-libs/alsa-lib"

src_prepare() {
        epatch "${FILESDIR}/${PN}-2.0.1-uclibc.patch" \
                "${FILESDIR}/${PN}-2.0.1-ldflags.patch"
        sed -i -e "s:^OPT_FLAGS=.*:OPT_FLAGS=${CFLAGS}:" \
                -e "/^WARNFLAGS/s: -g::" Makefile || die
}

src_compile() {
        emake CC="$(tc-getCC)"
}

src_install() {
        dosbin audio-entropyd
        dodoc README TODO
        systemd_dounit "${FILESDIR}/${PN}.service"
        newinitd "${FILESDIR}/${PN}.init-2" ${PN}
        newconfd "${FILESDIR}/${PN}.conf-2" ${PN}
}




Reply via email to