diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-07-29 22:44:56 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-07-29 22:44:56 +0000 |
commit | 2141c3f313fa071ae86833c3b92cc5560d246b4f (patch) | |
tree | c57469a1f2305e3a7639dd15d482a24cd3df0a2f /sys-fs | |
parent | Respecting CC variable, closes bug #243934 (diff) | |
download | gentoo-2-2141c3f313fa071ae86833c3b92cc5560d246b4f.tar.gz gentoo-2-2141c3f313fa071ae86833c3b92cc5560d246b4f.tar.bz2 gentoo-2-2141c3f313fa071ae86833c3b92cc5560d246b4f.zip |
Version bump. Remove old.
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/safecopy/ChangeLog | 9 | ||||
-rw-r--r-- | sys-fs/safecopy/files/safecopy-1.3-sandbox.patch | 192 | ||||
-rw-r--r-- | sys-fs/safecopy/safecopy-1.3.ebuild | 49 | ||||
-rw-r--r-- | sys-fs/safecopy/safecopy-1.5.ebuild (renamed from sys-fs/safecopy/safecopy-1.4.ebuild) | 13 |
4 files changed, 13 insertions, 250 deletions
diff --git a/sys-fs/safecopy/ChangeLog b/sys-fs/safecopy/ChangeLog index 9ddd959eded7..f7e9e63f88b3 100644 --- a/sys-fs/safecopy/ChangeLog +++ b/sys-fs/safecopy/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-fs/safecopy # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/safecopy/ChangeLog,v 1.4 2009/07/16 13:13:39 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/safecopy/ChangeLog,v 1.5 2009/07/29 22:44:56 scarabeus Exp $ + +*safecopy-1.5 (29 Jul 2009) + + 29 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> -safecopy-1.3.ebuild, + -files/safecopy-1.3-sandbox.patch, -safecopy-1.4.ebuild, + +safecopy-1.5.ebuild: + Version bump. Remove old. *safecopy-1.4 (16 Jul 2009) diff --git a/sys-fs/safecopy/files/safecopy-1.3-sandbox.patch b/sys-fs/safecopy/files/safecopy-1.3-sandbox.patch deleted file mode 100644 index a936a6640b64..000000000000 --- a/sys-fs/safecopy/files/safecopy-1.3-sandbox.patch +++ /dev/null @@ -1,192 +0,0 @@ -diff -rU 5 safecopy-1.3.nogentoo/test/test0/test.sh safecopy-1.3/test/test0/test.sh ---- safecopy-1.3.nogentoo/test/test0/test.sh 2009-05-09 20:39:40.000000000 +0200 -+++ safecopy-1.3/test/test0/test.sh 2009-05-26 13:57:22.000000000 +0200 -@@ -2,11 +2,11 @@ - - basedir="$1"; - tmpdir="$2"; - - safecopy="$basedir/src/safecopy"; --safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0"; -+safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0: $LD_PRELOAD"; - - echo -n " - Testing test debug library functionality: "; - - # test if the test libray gets loaded and works. the destination file must be cropped at 2048 byte - # since cat - unlike safecopy - can not read beyond IO errors. -diff -rU 5 safecopy-1.3.nogentoo/test/test1/test.sh safecopy-1.3/test/test1/test.sh ---- safecopy-1.3.nogentoo/test/test1/test.sh 2009-05-09 20:40:32.000000000 +0200 -+++ safecopy-1.3/test/test1/test.sh 2009-05-26 13:57:27.000000000 +0200 -@@ -2,11 +2,11 @@ - - basedir="$1"; - tmpdir="$2"; - - safecopy="$basedir/src/safecopy"; --safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0"; -+safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0: $LD_PRELOAD"; - - echo -n " - Testing safecopy 1: Simple plain file copy: "; - - # test without the deug library. safecopy must duplicate the file - # without errors -diff -rU 5 safecopy-1.3.nogentoo/test/test10/test.sh safecopy-1.3/test/test10/test.sh ---- safecopy-1.3.nogentoo/test/test10/test.sh 2009-05-11 17:54:09.000000000 +0200 -+++ safecopy-1.3/test/test10/test.sh 2009-05-26 13:57:37.000000000 +0200 -@@ -1,11 +1,11 @@ - #!/bin/sh - basedir="$1"; - tmpdir="$2"; - - safecopy="$basedir/src/safecopy"; --safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0"; -+safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0: $LD_PRELOAD"; - - echo -n " - Testing safecopy 10: Incremental recovery with blocksize variation and exclude blocks "; - - # main emphasis on this test is that no data from exclude blocks are ever read nor written. - -diff -rU 5 safecopy-1.3.nogentoo/test/test11/test.sh safecopy-1.3/test/test11/test.sh ---- safecopy-1.3.nogentoo/test/test11/test.sh 2009-05-20 15:37:06.000000000 +0200 -+++ safecopy-1.3/test/test11/test.sh 2009-05-26 13:57:41.000000000 +0200 -@@ -1,11 +1,11 @@ - #!/bin/sh - basedir="$1"; - tmpdir="$2"; - - safecopy="$basedir/src/safecopy"; --safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0"; -+safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0: $LD_PRELOAD"; - - echo -n " - Testing safecopy 11: Incremental recovery with startoffset, size limit and exclude list: "; - - # main emphasis on this test is that no data from exclude blocks are ever read nor written. - -diff -rU 5 safecopy-1.3.nogentoo/test/test2/test.sh safecopy-1.3/test/test2/test.sh ---- safecopy-1.3.nogentoo/test/test2/test.sh 2009-05-10 12:09:25.000000000 +0200 -+++ safecopy-1.3/test/test2/test.sh 2009-05-26 13:57:46.000000000 +0200 -@@ -2,11 +2,11 @@ - - basedir="$1"; - tmpdir="$2"; - - safecopy="$basedir/src/safecopy"; --safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0"; -+safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0: $LD_PRELOAD"; - - echo -n " - Testing safecopy 2: Soft recovery: "; - - # safecopy - must succesfully read despite the first two read attempts of block 2 will fail - LD_PRELOAD="$safecopydebug" $safecopy -R 3 -b 1024 -f 4* -o "$tmpdir/test1.badblocks" debug "$tmpdir/test1.dat" >/dev/null 2>&1; -diff -rU 5 safecopy-1.3.nogentoo/test/test3/test.sh safecopy-1.3/test/test3/test.sh ---- safecopy-1.3.nogentoo/test/test3/test.sh 2009-05-10 12:19:59.000000000 +0200 -+++ safecopy-1.3/test/test3/test.sh 2009-05-26 13:57:50.000000000 +0200 -@@ -2,11 +2,11 @@ - - basedir="$1"; - tmpdir="$2"; - - safecopy="$basedir/src/safecopy"; --safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0"; -+safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0: $LD_PRELOAD"; - - echo -n " - Testing safecopy 3: Soft recovery + hard errors: "; - - # safecopy must succesfully recover from the soft error but write the hard error to the badblock list correctly - LD_PRELOAD="$safecopydebug" $safecopy -R 3 -b 1024 -f 4* -o "$tmpdir/test1.badblocks" debug "$tmpdir/test1.dat" >/dev/null 2>&1; -diff -rU 5 safecopy-1.3.nogentoo/test/test4/test.sh safecopy-1.3/test/test4/test.sh ---- safecopy-1.3.nogentoo/test/test4/test.sh 2009-05-10 12:22:12.000000000 +0200 -+++ safecopy-1.3/test/test4/test.sh 2009-05-26 13:57:53.000000000 +0200 -@@ -2,11 +2,11 @@ - - basedir="$1"; - tmpdir="$2"; - - safecopy="$basedir/src/safecopy"; --safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0"; -+safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0: $LD_PRELOAD"; - - echo -n " - Testing safecopy 4: Unreadable end of file: "; - - # safecopy writes a shortened output file since the last blocks are unreadable. The badblocks output must state these short read blocks - LD_PRELOAD="$safecopydebug" $safecopy -R 2 -b 1024 -f 4* -o "$tmpdir/test1.badblocks" debug "$tmpdir/test1.dat" >/dev/null 2>&1; -diff -rU 5 safecopy-1.3.nogentoo/test/test5/test.sh safecopy-1.3/test/test5/test.sh ---- safecopy-1.3.nogentoo/test/test5/test.sh 2009-05-11 16:12:12.000000000 +0200 -+++ safecopy-1.3/test/test5/test.sh 2009-05-26 13:57:56.000000000 +0200 -@@ -2,11 +2,11 @@ - - basedir="$1"; - tmpdir="$2"; - - safecopy="$basedir/src/safecopy"; --safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0"; -+safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0: $LD_PRELOAD"; - - echo -n " - Testing safecopy 5: Completely unreadable file: "; - - # safecopy: unreadable file without marking. result must be an empty file and a complete block list - LD_PRELOAD="$safecopydebug" $safecopy -R 2 -b 1024 -f 4* -o "$tmpdir/test1.badblocks" debug "$tmpdir/test1.dat" >/dev/null 2>&1; -diff -rU 5 safecopy-1.3.nogentoo/test/test6/test.sh safecopy-1.3/test/test6/test.sh ---- safecopy-1.3.nogentoo/test/test6/test.sh 2009-05-10 13:58:56.000000000 +0200 -+++ safecopy-1.3/test/test6/test.sh 2009-05-26 13:58:00.000000000 +0200 -@@ -1,11 +1,11 @@ - #!/bin/sh - basedir="$1"; - tmpdir="$2"; - - safecopy="$basedir/src/safecopy"; --safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0"; -+safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0: $LD_PRELOAD"; - - echo -n " - Testing safecopy 6: Incremental recovery: "; - - # safecopy regular run with badblocks output - produces some reference files - LD_PRELOAD="$safecopydebug" $safecopy -R 2 -b 1024 -f 4* -r 4* -o "$tmpdir/test1.badblocks" debug "$tmpdir/test1.dat" >/dev/null 2>&1; -diff -rU 5 safecopy-1.3.nogentoo/test/test7/test.sh safecopy-1.3/test/test7/test.sh ---- safecopy-1.3.nogentoo/test/test7/test.sh 2009-05-11 16:54:41.000000000 +0200 -+++ safecopy-1.3/test/test7/test.sh 2009-05-26 13:58:03.000000000 +0200 -@@ -1,11 +1,11 @@ - #!/bin/sh - basedir="$1"; - tmpdir="$2"; - - safecopy="$basedir/src/safecopy"; --safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0"; -+safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0: $LD_PRELOAD"; - - echo -n " - Testing safecopy 7: Incremental recovery with blocksize variation "; - - # safecopy regular run with badblocks output - produces some reference files with and withouzt marked badblocks - LD_PRELOAD="$safecopydebug" $safecopy -R 2 -b 1150 -f 4* -r 4* -o "$tmpdir/test1.badblocks" debug "$tmpdir/test1.dat" >/dev/null 2>&1; -diff -rU 5 safecopy-1.3.nogentoo/test/test8/test.sh safecopy-1.3/test/test8/test.sh ---- safecopy-1.3.nogentoo/test/test8/test.sh 2009-05-10 21:04:28.000000000 +0200 -+++ safecopy-1.3/test/test8/test.sh 2009-05-26 13:58:06.000000000 +0200 -@@ -1,11 +1,11 @@ - #!/bin/sh - basedir="$1"; - tmpdir="$2"; - - safecopy="$basedir/src/safecopy"; --safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0"; -+safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0: $LD_PRELOAD"; - - echo -n " - Testing safecopy 8: Incremental recovery with startoffset and size limit: "; - - # safecopy regular run with badblocks output - produces some reference files - LD_PRELOAD="$safecopydebug" $safecopy -R 2 -b 1024 -f 4* -r 4* -o "$tmpdir/test1.badblocks" debug "$tmpdir/test1.dat" -s 2 -l 16 >/dev/null 2>&1; -diff -rU 5 safecopy-1.3.nogentoo/test/test9/test.sh safecopy-1.3/test/test9/test.sh ---- safecopy-1.3.nogentoo/test/test9/test.sh 2009-05-11 17:53:15.000000000 +0200 -+++ safecopy-1.3/test/test9/test.sh 2009-05-26 13:58:10.000000000 +0200 -@@ -1,11 +1,11 @@ - #!/bin/sh - basedir="$1"; - tmpdir="$2"; - - safecopy="$basedir/src/safecopy"; --safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0"; -+safecopydebug="../libsafecopydebug/src/libsafecopydebuglb.so.1.0: $LD_PRELOAD"; - - echo -n " - Testing safecopy 9: Incremental recovery with exclude blocks: "; - - # main emphasis on this test is that no data from exclude blocks are ever read nor written. - diff --git a/sys-fs/safecopy/safecopy-1.3.ebuild b/sys-fs/safecopy/safecopy-1.3.ebuild deleted file mode 100644 index c4126c4b4d03..000000000000 --- a/sys-fs/safecopy/safecopy-1.3.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/safecopy/safecopy-1.3.ebuild,v 1.2 2009/05/27 15:30:45 scarabeus Exp $ - -EAPI="2" -inherit base eutils - -DESCRIPTION="Data recovery tool to fault-tolerantly extract data from damaged (io-errors) devices or files." -HOMEPAGE="http://safecopy.sourceforge.net" -SRC_URI="mirror://sourceforge/safecopy/${P}.tar.gz -> ${P}.tar.gz -http://sourceforge.net/tracker/download.php?group_id=141056&atid=748330&file_id=328461&aid=2796779 -> ${P}-amd64.patch.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -PATCHES=( - "${FILESDIR}/${P}-sandbox.patch" - "${WORKDIR}/${P}-amd64.patch" -) - -src_configure() { - base_src_configure - if use test ; then - cd "${S}"/test/libsafecopydebug - econf - fi -} - -src_compile() { - base_src_compile - if use test ; then - cd "${S}"/test/libsafecopydebug - emake || die "Testsuite compilation failed" - fi -} - -src_install() { - base_src_install - dodoc README || die "copying documentation failed" -} - -src_test() { - cd "${S}"/test/ - ebegin "Running safecopy self test..." - ./test.sh - eend $? || die "Test run failed" -} diff --git a/sys-fs/safecopy/safecopy-1.4.ebuild b/sys-fs/safecopy/safecopy-1.5.ebuild index 41187ff344b5..06f9e35a0f59 100644 --- a/sys-fs/safecopy/safecopy-1.4.ebuild +++ b/sys-fs/safecopy/safecopy-1.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/safecopy/safecopy-1.4.ebuild,v 1.1 2009/07/16 13:13:39 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/safecopy/safecopy-1.5.ebuild,v 1.1 2009/07/29 22:44:56 scarabeus Exp $ EAPI=2 inherit base @@ -15,10 +15,7 @@ KEYWORDS="~amd64 ~x86" IUSE="test" RDEPEND="" -DEPEND="test? ( sys-apps/findutils - sys-apps/grep - sys-apps/coreutils - sys-apps/sed )" +DEPEND="" src_prepare() { sed -e 's:bin/sh:bin/bash:' \ @@ -28,7 +25,7 @@ src_prepare() { src_configure() { base_src_configure if use test; then - cd "${S}"/test/libsafecopydebug + cd "${S}"/simulator econf fi } @@ -36,8 +33,8 @@ src_configure() { src_compile() { base_src_compile if use test; then - cd "${S}"/test/libsafecopydebug - emake || die "Testsuite compilation failed" + cd "${S}"/simulator + emake || die "Simulator compilation failed -- needed for testing" fi } |