public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/audio-entropyd/
Date: Sat,  2 Dec 2017 16:15:25 +0000 (UTC)	[thread overview]
Message-ID: <1512231297.923c2c30d714f38ab7b8b59e88356a86a5c3bf47.soap@gentoo> (raw)

commit:     923c2c30d714f38ab7b8b59e88356a86a5c3bf47
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  2 15:27:55 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Dec  2 16:14:57 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=923c2c30

sys-apps/audio-entropyd: Port to EAPI 6

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-apps/audio-entropyd/Manifest                   |  2 +-
 .../audio-entropyd/audio-entropyd-2.0.3-r1.ebuild  | 34 +++++++++++++---------
 2 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/sys-apps/audio-entropyd/Manifest b/sys-apps/audio-entropyd/Manifest
index f70abfd2426..6841c181110 100644
--- a/sys-apps/audio-entropyd/Manifest
+++ b/sys-apps/audio-entropyd/Manifest
@@ -1 +1 @@
-DIST audio-entropyd-2.0.3.tgz 16681 SHA256 6fbaf1c4f77e988f4656cd079309d5eb6bd36cbae89c2ee01324c5690adaf3ff SHA512 d21c2d547235accdd460bcaf1ff5f5696db2988d385c3c52aad0d651865386409682f8747d1823765f0c0925bf28f38abdfc0b114d239f494c7eb699c5ed3ebf WHIRLPOOL e653b7cccda00323b5f17a675d72cef1a9adf9915dcd27041e63993073a378d92ab5779d25434ecd48ecbb74b45abc4217e4b629c98ba3885589727ef90edf6d
+DIST audio-entropyd-2.0.3.tgz 16681 BLAKE2B 36f9d7942f718af8e828ce6598ab8ea35945de1c60959e7bc2314b2440037f8bb661085a4cad12e62627d935797842616e486180945ff283937b499de163f068 SHA512 d21c2d547235accdd460bcaf1ff5f5696db2988d385c3c52aad0d651865386409682f8747d1823765f0c0925bf28f38abdfc0b114d239f494c7eb699c5ed3ebf

diff --git a/sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild b/sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild
index 5e5a60fb72c..cab08ef38cf 100644
--- a/sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild
+++ b/sys-apps/audio-entropyd/audio-entropyd-2.0.3-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-inherit eutils systemd toolchain-funcs
+EAPI=6
+
+inherit systemd toolchain-funcs
 
 DESCRIPTION="Audio-entropyd generates entropy-data for the /dev/random device"
 HOMEPAGE="http://www.vanheusden.com/aed/"
@@ -13,25 +14,32 @@ SLOT="0"
 KEYWORDS="amd64 ppc ~sparc x86"
 IUSE="selinux"
 
-RDEPEND="selinux? ( sec-policy/selinux-entropyd )
+DEPEND="media-libs/alsa-lib:="
+RDEPEND="${DEPEND}
 	media-sound/alsa-utils
-	media-libs/alsa-lib"
+	selinux? ( sec-policy/selinux-entropyd )"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.0.1-uclibc.patch
+	"${FILESDIR}"/${PN}-2.0.1-ldflags.patch
+)
 
 src_prepare() {
-	epatch "${FILESDIR}/${PN}-2.0.1-uclibc.patch" \
-		"${FILESDIR}/${PN}-2.0.1-ldflags.patch"
+	default
+
 	sed -i -e "s:^OPT_FLAGS=.*:OPT_FLAGS=${CFLAGS}:" \
 		-e "/^WARNFLAGS/s: -g::" Makefile || die
 }
 
-src_compile() {
-	emake CC="$(tc-getCC)"
+src_configure() {
+	tc-export CC
 }
 
 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}
+	einstalldocs
+
+	systemd_dounit "${FILESDIR}"/${PN}.service
+	newinitd "${FILESDIR}"/${PN}.init-2 ${PN}
+	newconfd "${FILESDIR}"/${PN}.conf-2 ${PN}
 }


             reply	other threads:[~2017-12-02 16:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-02 16:15 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-24 23:16 [gentoo-commits] repo/gentoo:master commit in: sys-apps/audio-entropyd/ Conrad Kostecki
2020-03-24 13:32 Ben Kohler
2016-08-06 11:33 Pacho Ramos
2015-09-20 11:33 Christoph Mende

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1512231297.923c2c30d714f38ab7b8b59e88356a86a5c3bf47.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox