diff options
author | Christian Birchinger <joker@gentoo.org> | 2003-08-12 10:10:50 +0000 |
---|---|---|
committer | Christian Birchinger <joker@gentoo.org> | 2003-08-12 10:10:50 +0000 |
commit | 5e247a17106686c76e7a45ab980396e9bf9a141e (patch) | |
tree | 8bbd7a42805c2232929211f168ff78b253e11544 /media-plugins/xmms-realrandom | |
parent | Marked stable on x86 (diff) | |
download | gentoo-2-5e247a17106686c76e7a45ab980396e9bf9a141e.tar.gz gentoo-2-5e247a17106686c76e7a45ab980396e9bf9a141e.tar.bz2 gentoo-2-5e247a17106686c76e7a45ab980396e9bf9a141e.zip |
Now uses srandomdev() instead of just srand( time(NULL) ) for better randomness
Diffstat (limited to 'media-plugins/xmms-realrandom')
4 files changed, 48 insertions, 2 deletions
diff --git a/media-plugins/xmms-realrandom/ChangeLog b/media-plugins/xmms-realrandom/ChangeLog index 8e8679dce3fc..7d6206784820 100644 --- a/media-plugins/xmms-realrandom/ChangeLog +++ b/media-plugins/xmms-realrandom/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-plugins/xmms-realrandom # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-realrandom/ChangeLog,v 1.2 2003/08/12 09:58:08 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-realrandom/ChangeLog,v 1.3 2003/08/12 10:10:39 joker Exp $ + +*xmms-realrandom-0.2-r1 (12 Aug 2003) + + 12 Aug 2003; Christian Birchinger <joker@gentoo.org> + xmms-realrandom-0.2-r1.ebuild: + Now uses srandomdev() instead of just srand( time(NULL) ) for better randomness 12 Aug 2003; Christian Birchinger <joker@gentoo.org> xmms-realrandom-0.2.ebuild: diff --git a/media-plugins/xmms-realrandom/Manifest b/media-plugins/xmms-realrandom/Manifest index f9576111227c..d39049cd85cd 100644 --- a/media-plugins/xmms-realrandom/Manifest +++ b/media-plugins/xmms-realrandom/Manifest @@ -1,3 +1,5 @@ -MD5 b2360adf8057c6d1e466fa60c31dbcbc ChangeLog 488 +MD5 72478d2f44e88880984a67656602d2c8 ChangeLog 698 MD5 f4f506cede2f5dc532609ecdfcd34aed xmms-realrandom-0.2.ebuild 747 +MD5 3e177d564f7e547351a69848c2b68ab1 xmms-realrandom-0.2-r1.ebuild 976 MD5 e8fd3d2db78b813ba6ffa8ca6b60ed1d files/digest-xmms-realrandom-0.2 67 +MD5 e8fd3d2db78b813ba6ffa8ca6b60ed1d files/digest-xmms-realrandom-0.2-r1 67 diff --git a/media-plugins/xmms-realrandom/files/digest-xmms-realrandom-0.2-r1 b/media-plugins/xmms-realrandom/files/digest-xmms-realrandom-0.2-r1 new file mode 100644 index 000000000000..d6b5761dc8dc --- /dev/null +++ b/media-plugins/xmms-realrandom/files/digest-xmms-realrandom-0.2-r1 @@ -0,0 +1 @@ +MD5 d50c70e8406b21582e7286747ac43981 real_random-0.2.tar.gz 172450 diff --git a/media-plugins/xmms-realrandom/xmms-realrandom-0.2-r1.ebuild b/media-plugins/xmms-realrandom/xmms-realrandom-0.2-r1.ebuild new file mode 100644 index 000000000000..f352c694e3d2 --- /dev/null +++ b/media-plugins/xmms-realrandom/xmms-realrandom-0.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-realrandom/xmms-realrandom-0.2-r1.ebuild,v 1.1 2003/08/12 10:10:39 joker Exp $ + +IUSE="" + +MY_P=${P/xmms-realrandom/real_random} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Real Random XMMS Plugin" +SRC_URI="http://kingleo.home.pages.at/development/stuff/${MY_P}.tar.gz" +HOMEPAGE="http://kingleo.home.pages.at/index.php?show=/development/stuff" + +LICENSE="GPL-2" +KEYWORDS="~x86" +SLOT="0" + +DEPEND="media-sound/xmms" + +src_unpack() { + unpack ${A} + cd ${S} + + # Replace generic random function with one that uses /dev/urandom + cp real_random.c real_random.c.orig + sed 's/srand( time(NULL) );/srandomdev();/' <real_random.c.orig >real_random.c +} + +src_compile() { + econf || die + emake || die +} + +src_install() { + make DESTDIR=${D} libdir=$(xmms-config --general-plugin-dir) install || die + dodoc AUTHORS README +} |