diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-fs/safecopy | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-fs/safecopy')
-rw-r--r-- | sys-fs/safecopy/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/safecopy/metadata.xml | 12 | ||||
-rw-r--r-- | sys-fs/safecopy/safecopy-1.7.ebuild | 48 |
3 files changed, 61 insertions, 0 deletions
diff --git a/sys-fs/safecopy/Manifest b/sys-fs/safecopy/Manifest new file mode 100644 index 000000000000..2e50e7f6425e --- /dev/null +++ b/sys-fs/safecopy/Manifest @@ -0,0 +1 @@ +DIST safecopy-1.7.tar.gz 398465 SHA256 42fbed5d4764020eb0f34d95e97a0e14e62d801c3ef80f89bd497d94d39cc4fd SHA512 ecba54ecc0e0dc13dd6339f8c8dc311fc3ad41ef23318c1aa2a7f6bb7f1529389bedf7b58ea72486c083d39032a6e4a775e5a555a1ff96c669fa7fbd6c1fb868 WHIRLPOOL e71dd8c5db77a53a1cb088d964f1496581ef3ca7d534413f5bd20a3939b32fcab869aaaf05395bbcfd7289982be1c2e4065a55470f5a852b8c552dd8578cd09f diff --git a/sys-fs/safecopy/metadata.xml b/sys-fs/safecopy/metadata.xml new file mode 100644 index 000000000000..95aac75c6a48 --- /dev/null +++ b/sys-fs/safecopy/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>chewi@gentoo.org</email> + <name>James Le Cuirot</name> + </maintainer> + <longdescription>safecopy is a data recovery tool which tries to extract as much data as possible from a problematic (i.e. damaged sectors) source - like floppy drives, hard disk partitions, CDs, tape devices, ..., where other tools like dd would fail due to I/O errors.</longdescription> + <upstream> + <remote-id type="sourceforge">safecopy</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-fs/safecopy/safecopy-1.7.ebuild b/sys-fs/safecopy/safecopy-1.7.ebuild new file mode 100644 index 000000000000..7a1672e93a3c --- /dev/null +++ b/sys-fs/safecopy/safecopy-1.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit base + +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" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" + +RDEPEND="" +DEPEND="" + +DOCS=( README ) + +src_prepare() { + base_src_prepare + sed -e 's:bin/sh:bin/bash:' \ + -i "${S}"/test/test.sh || die +} + +src_configure() { + econf + if use test; then + cd "${S}"/simulator + econf + fi +} + +src_compile() { + emake + if use test; then + cd "${S}"/simulator + emake + fi +} + +src_test() { + cd "${S}"/test + ./test.sh || die +} |