Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/testdisk: ChangeLog testdisk-6.13.ebuild
Date: Wed, 16 Nov 2011 20:59:55
Message-Id: 20111116205946.2361920033@flycatcher.gentoo.org
1 robbat2 11/11/16 20:59:46
2
3 Modified: ChangeLog
4 Added: testdisk-6.13.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.45 app-admin/testdisk/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/testdisk/ChangeLog?rev=1.45&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/testdisk/ChangeLog?rev=1.45&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/testdisk/ChangeLog?r1=1.44&r2=1.45
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/testdisk/ChangeLog,v
20 retrieving revision 1.44
21 retrieving revision 1.45
22 diff -p -w -b -B -u -u -r1.44 -r1.45
23 --- ChangeLog 16 Oct 2011 13:37:31 -0000 1.44
24 +++ ChangeLog 16 Nov 2011 20:59:45 -0000 1.45
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-admin/testdisk
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/ChangeLog,v 1.44 2011/10/16 13:37:31 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/ChangeLog,v 1.45 2011/11/16 20:59:45 robbat2 Exp $
30 +
31 +*testdisk-6.13 (16 Nov 2011)
32 +
33 + 16 Nov 2011; Robin H. Johnson <robbat2@g.o> +testdisk-6.13.ebuild:
34 + Version bump.
35
36 16 Oct 2011; Tomáš Chvátal <scarabeus@g.o> -testdisk-6.8-r1.ebuild,
37 -files/testdisk-6.8-jpeg.patch, -testdisk-6.10.ebuild,
38
39
40
41 1.1 app-admin/testdisk/testdisk-6.13.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/testdisk/testdisk-6.13.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/testdisk/testdisk-6.13.ebuild?rev=1.1&content-type=text/plain
45
46 Index: testdisk-6.13.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.13.ebuild,v 1.1 2011/11/16 20:59:46 robbat2 Exp $
51
52 EAPI=4
53
54 inherit eutils flag-o-matic
55
56 DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
57 HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk"
58 SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="static reiserfs ntfs jpeg"
64
65 # WARNING: reiserfs support does NOT work with reiserfsprogs
66 # you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released).
67 DEPEND=">=sys-libs/ncurses-5.2
68 jpeg? ( virtual/jpeg )
69 ntfs? ( || ( >=sys-fs/ntfsprogs-2.0.0 sys-fs/ntfs3g ) )
70 reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 )
71 >=sys-fs/e2fsprogs-1.35
72 sys-libs/zlib"
73 RDEPEND="!static? ( ${DEPEND} )"
74
75 src_configure() {
76 local myconf
77
78 # this is static method is the same used by upstream for their 'static' make
79 # target, but better, as it doesn't break.
80 use static && append-ldflags -static
81
82 # --with-foo are broken, any use of --with/--without disable the
83 # functionality.
84 # The following variation must be used.
85 use reiserfs || myconf+=" --without-reiserfs"
86 use ntfs || myconf+=" --without-ntfs"
87 use jpeg || myconf+=" --without-jpeg"
88
89 econf \
90 --docdir="${ED}/usr/share/doc/${PF}" \
91 --without-ewf \
92 --enable-sudo \
93 ${myconf}
94
95 # perform safety checks for NTFS, REISERFS and JPEG
96 if use ntfs && ! egrep -q '^#define HAVE_LIBNTFS(3G)? 1$' "${S}"/config.h ; then
97 die "Failed to find either NTFS or NTFS-3G library."
98 fi
99 if use reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h ; then
100 die "Failed to find reiserfs library."
101 fi
102 if use jpeg && egrep -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then
103 die "Failed to find jpeg library."
104 fi
105 }