diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/testdisk |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/testdisk')
-rw-r--r-- | app-admin/testdisk/Manifest | 5 | ||||
-rw-r--r-- | app-admin/testdisk/metadata.xml | 13 | ||||
-rw-r--r-- | app-admin/testdisk/testdisk-7.0-r3.ebuild | 81 |
3 files changed, 99 insertions, 0 deletions
diff --git a/app-admin/testdisk/Manifest b/app-admin/testdisk/Manifest new file mode 100644 index 000000000000..14fb15dc6f7a --- /dev/null +++ b/app-admin/testdisk/Manifest @@ -0,0 +1,5 @@ +DIST testdisk-7.0.tar.bz2 676990 SHA256 00bb3b6b22e6aba88580eeb887037aef026968c21a87b5f906c6652cbee3442d SHA512 b1ebe1d2fca453660a17623b70c06e0195cb5f07056fb7bc683d575c034fb71dfb793582c804dcff0ca57789a6de84bbf13b1a554353811660996e42199102e2 WHIRLPOOL 9ef3ed733f13477435123089cbd6168c189591284aa72dc9636470b35a21a32222d6871916b43e3c2ba4ac6da85979d6ec249b22c2573b77db7b2bcc280b85f1 +EBUILD testdisk-7.0-r3.ebuild 2443 SHA256 b7f9da8b9b59611ed779c9bc3d396a8618c2525dd88ff3c61a82f66ed6e407e1 SHA512 0e3e7478ddb21b301167f1ee39d67803e4f68912100194f7d6eba378281eaf2efeb36cadc773cb22aac896095e780288a53a13d0c21093fa858827dca63b1068 WHIRLPOOL 23450aa88284dbd9245b8b93e957a13201d9b120947977cd87c47287a40d4b4602df97c2c2d490885b97e9db32038c98611f1a4bd836b06b5e7237cc2b42ae20 +MISC ChangeLog 5383 SHA256 9210c676cb2f37e54ac086f4c38655402997e1c2ca586010306465ad0a2a305d SHA512 2101d2f57b43ce062557c234503f87eb410d35e1a296fb7722561378bb4b40cb3776340c57a2ba06c091e40e83f3e57e9d9c23aa1988b35be07b4d64c44cab44 WHIRLPOOL 1a0626d8f5044981af168b500dec6e9920e5e7c2de6fcdfdfc735fc4520087b6462ee05ed81c0bd976fb7a61bdcb6571e7ba4066f8228725c4f162bb9da7db80 +MISC ChangeLog-2015 11984 SHA256 0fc12084d048ee687c2e16f10ffa3bbeefd0bf845926b1fe45a4ad0908573a92 SHA512 ce5b0b2b633aa6896234c5a3a26eac9af652184f5900ed5a23e16b17c2eb739facd8b4085a192e26f546d5c76f739c2bc575e0689d88412523425d617a77cdbb WHIRLPOOL 95de07d79b5d3da9e686f0a9388bb6f62615aafec351929a3f74ab9905252ef08ad14a2ce408915688e15e9418c0ca1048a1eb13cd9375e5a89a4f79156b32bf +MISC metadata.xml 459 SHA256 84f165d63ceba1845cfed257c990bc8dc0d10fa72ae14a799a244cb961503e46 SHA512 cdec4dc84d7bf69ad0a56c00361db4dc335770c437cf84173f69916039660a7eb9ae334828910fa47e47fb373758070825db7729c7427a3d2952ca91d0d046f2 WHIRLPOOL 51532b4a3236c99e7c572065d7aae86cc276f0769a20c787ead360df6521306d714a2fb34525d260aba58431a53780a66d57395dfbf8d36d6497e85b3fa0dfee diff --git a/app-admin/testdisk/metadata.xml b/app-admin/testdisk/metadata.xml new file mode 100644 index 000000000000..0a84374e0270 --- /dev/null +++ b/app-admin/testdisk/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> + <use> + <flag name="ntfs">Include the ability to read NTFS filesystems</flag> + <flag name="reiserfs">Include reiserfs reading ability</flag> + <flag name="ewf">Include ewf library</flag> + </use> +</pkgmetadata> diff --git a/app-admin/testdisk/testdisk-7.0-r3.ebuild b/app-admin/testdisk/testdisk-7.0-r3.ebuild new file mode 100644 index 000000000000..22e8db9dfe2c --- /dev/null +++ b/app-admin/testdisk/testdisk-7.0-r3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 + +inherit autotools-utils eutils flag-o-matic + +DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool" +HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk" +SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ppc x86" +IUSE="ewf jpeg ntfs reiserfs static qt4" + +REQUIRED_USE="static? ( !qt4 )" + +# WARNING: reiserfs support does NOT work with reiserfsprogs +# you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released). +DEPEND=" + static? ( + sys-apps/util-linux[static-libs] + >=sys-libs/ncurses-5.2[static-libs] + jpeg? ( virtual/jpeg:0[static-libs] ) + ntfs? ( sys-fs/ntfs3g[static-libs] ) + reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8[static-libs] ) + >=sys-fs/e2fsprogs-1.35[static-libs] + sys-libs/zlib[static-libs] + !arm? ( ewf? ( app-forensics/libewf:=[static-libs] ) ) + ) + !static? ( + sys-apps/util-linux + >=sys-libs/ncurses-5.2 + jpeg? ( virtual/jpeg:0 ) + ntfs? ( sys-fs/ntfs3g ) + reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 ) + >=sys-fs/e2fsprogs-1.35 + sys-libs/zlib + !arm? ( ewf? ( app-forensics/libewf:= ) ) + qt4? ( dev-qt/qtgui:4 ) + )" +RDEPEND="!static? ( ${DEPEND} )" + +AUTOTOOLS_IN_SOURCE_BUILD=1 +DOCS=( ) + +src_configure() { + local myconf + + # this is static method is the same used by upstream for their 'static' make + # target, but better, as it doesn't break. + use static && append-ldflags -static + + # --with-foo are broken, any use of --with/--without disable the + # functionality. + # The following variation must be used. + use reiserfs || myconf+=" --without-reiserfs" + use ntfs || myconf+=" --without-ntfs --without-ntfs3g" + use jpeg || myconf+=" --without-jpeg" + use ewf || myconf+=" --without-ewf" + myconf+=$(usex qt4 " --enable-qt" " --disable-qt") + + econf \ + --docdir "${ROOT}/usr/share/doc/${P}" \ + --enable-sudo \ + ${myconf} + + # perform safety checks for NTFS, REISERFS and JPEG + if use ntfs && ! egrep -q '^#define HAVE_LIBNTFS(3G)? 1$' "${S}"/config.h ; then + die "Failed to find either NTFS or NTFS-3G library." + fi + if use reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h ; then + die "Failed to find reiserfs library." + fi + if use jpeg && egrep -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then + die "Failed to find jpeg library." + fi +} |