From 139909dce7171ce18dbb0c68f4851e43d54f3d8d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Thu, 8 Jun 2006 17:16:17 +0000 Subject: [PATCH] Version bump. Also Fix bug #136080 by pulling in sys-devel/bc for -9, and by fixing -10. Remove old -7 version. Package-Manager: portage-2.1_rc4-r4 --- sys-block/aoetools/ChangeLog | 9 ++++- sys-block/aoetools/aoetools-10.ebuild | 41 +++++++++++++++++++++ sys-block/aoetools/aoetools-9.ebuild | 5 ++- sys-block/aoetools/files/digest-aoetools-10 | 3 ++ 4 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 sys-block/aoetools/aoetools-10.ebuild create mode 100644 sys-block/aoetools/files/digest-aoetools-10 diff --git a/sys-block/aoetools/ChangeLog b/sys-block/aoetools/ChangeLog index 7438dd8c7fc1..d275f0f72083 100644 --- a/sys-block/aoetools/ChangeLog +++ b/sys-block/aoetools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-block/aoetools # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/aoetools/ChangeLog,v 1.4 2006/05/23 01:53:38 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/aoetools/ChangeLog,v 1.5 2006/06/08 17:16:17 robbat2 Exp $ + +*aoetools-10 (08 Jun 2006) + + 08 Jun 2006; Robin H. Johnson -aoetools-7.ebuild, + aoetools-9.ebuild, +aoetools-10.ebuild: + Version bump. Also Fix bug #136080 by pulling in sys-devel/bc for -9, and by + fixing -10. Remove old -7 version. 23 May 2006; Robin H. Johnson aoetools-9.ebuild: Add ~ppc. diff --git a/sys-block/aoetools/aoetools-10.ebuild b/sys-block/aoetools/aoetools-10.ebuild new file mode 100644 index 000000000000..3ac0a88c3734 --- /dev/null +++ b/sys-block/aoetools/aoetools-10.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/aoetools/aoetools-10.ebuild,v 1.1 2006/06/08 17:16:17 robbat2 Exp $ + +DESCRIPTION="aoetools are programs for users of the ATA over Ethernet (AoE) network storage protocol" +HOMEPAGE="http://sf.net/projects/aoetools/" +SRC_URI="mirror://sourceforge/aoetools/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc64 ~ppc ~x86" +IUSE="" +DEPEND="virtual/libc" +RDEPEND="${DEPEND} + sys-apps/util-linux" + +src_unpack() { + unpack ${A} + cd ${S} + # messy tarball + make clean || die "Failed to clean up source" + sed -i \ + -e '/mkdir/s, \(${.*}\), ${DESTDIR}\1,g' \ + -e 's,^CFLAGS.*,CFLAGS += -Wall,g' \ + Makefile || die "Failed to clean up makefile" + for i in aoe-stat aoe-mkshelf.in ; do + sed -i \ + -e '/bc/s!\\\*!*!g' \ + -e '/bc/s!"!!g' \ + -e '/bc/s!=`echo \(.*\) | bc`!=$((\1))!g' \ + ${i} + done +} +src_compile() { + emake || die "emake failed" +} + +src_install() { + into /usr + emake -j1 install DESTDIR="${D}" SBINDIR="/usr/sbin" MANDIR="/usr/share/man" + dodoc HACKING NEWS README TODO devnodes.txt +} diff --git a/sys-block/aoetools/aoetools-9.ebuild b/sys-block/aoetools/aoetools-9.ebuild index 3bf0a7e79211..7d603e410a56 100644 --- a/sys-block/aoetools/aoetools-9.ebuild +++ b/sys-block/aoetools/aoetools-9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/aoetools/aoetools-9.ebuild,v 1.3 2006/05/23 01:53:38 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/aoetools/aoetools-9.ebuild,v 1.4 2006/06/08 17:16:17 robbat2 Exp $ DESCRIPTION="aoetools are programs for users of the ATA over Ethernet (AoE) network storage protocol" HOMEPAGE="http://sf.net/projects/aoetools/" @@ -11,7 +11,8 @@ KEYWORDS="~ppc64 ~ppc ~x86" IUSE="" DEPEND="virtual/libc" RDEPEND="${DEPEND} - sys-apps/util-linux" + sys-apps/util-linux + sys-devel/bc" src_unpack() { unpack ${A} diff --git a/sys-block/aoetools/files/digest-aoetools-10 b/sys-block/aoetools/files/digest-aoetools-10 new file mode 100644 index 000000000000..29ca258022d1 --- /dev/null +++ b/sys-block/aoetools/files/digest-aoetools-10 @@ -0,0 +1,3 @@ +MD5 af89514d4abf5dd18d116dccea13a6fc aoetools-10.tar.gz 19399 +RMD160 e55208eab53e7bc1f8bf346db2499125c49ffbd7 aoetools-10.tar.gz 19399 +SHA256 b44b88ee71c56cc23c0d01909199e1b6d51c642ac2201f984e87ba822f27768c aoetools-10.tar.gz 19399 -- 2.26.2