1 |
dragonheart 09/04/23 14:12:38 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: testdisk-6.11.ebuild |
5 |
Removed: testdisk-6.9.ebuild |
6 |
Log: |
7 |
version bump |
8 |
(Portage version: 2.2_rc31/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.35 app-admin/testdisk/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/ChangeLog?rev=1.35&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/ChangeLog?rev=1.35&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/ChangeLog?r1=1.34&r2=1.35 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/testdisk/ChangeLog,v |
20 |
retrieving revision 1.34 |
21 |
retrieving revision 1.35 |
22 |
diff -u -r1.34 -r1.35 |
23 |
--- ChangeLog 19 Jul 2008 14:36:35 -0000 1.34 |
24 |
+++ ChangeLog 23 Apr 2009 14:12:38 -0000 1.35 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for app-admin/testdisk |
27 |
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/ChangeLog,v 1.34 2008/07/19 14:36:35 dragonheart Exp $ |
29 |
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/ChangeLog,v 1.35 2009/04/23 14:12:38 dragonheart Exp $ |
31 |
+ |
32 |
+*testdisk-6.11 (23 Apr 2009) |
33 |
+ |
34 |
+ 23 Apr 2009; Daniel Black <dragonheart@g.o> |
35 |
+ +files/testdisk-6.11-exif_bound_checking.patch, -testdisk-6.9.ebuild, |
36 |
+ +testdisk-6.11.ebuild: |
37 |
+ version bump |
38 |
|
39 |
*testdisk-6.10 (19 Jul 2008) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 app-admin/testdisk/testdisk-6.11.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/testdisk-6.11.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/testdisk/testdisk-6.11.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: testdisk-6.11.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/testdisk/testdisk-6.11.ebuild,v 1.1 2009/04/23 14:12:38 dragonheart Exp $ |
54 |
|
55 |
EAPI=2 |
56 |
inherit eutils flag-o-matic |
57 |
|
58 |
DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool" |
59 |
HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk" |
60 |
SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2" |
61 |
#SRC_URI="http://www.cgsecurity.org/${P}-WIP.tar.bz2" |
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ppc ~x86" |
65 |
IUSE="static reiserfs ntfs jpeg" |
66 |
# WARNING: reiserfs support does NOT work with reiserfsprogs |
67 |
# you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released). |
68 |
DEPEND=">=sys-libs/ncurses-5.2 |
69 |
jpeg? ( media-libs/jpeg ) |
70 |
ntfs? ( >=sys-fs/ntfsprogs-2.0.0 ) |
71 |
reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 ) |
72 |
>=sys-fs/e2fsprogs-1.35 |
73 |
sys-libs/zlib" |
74 |
RDEPEND="!static? ( ${DEPEND} )" |
75 |
|
76 |
#S=${WORKDIR}/${P}-WIP |
77 |
|
78 |
src_prepare() { |
79 |
epatch "${FILESDIR}"/${P}-exif_bound_checking.patch |
80 |
} |
81 |
|
82 |
src_configure() { |
83 |
local myconf="--without-ewf --enable-sudo" |
84 |
# --with-foo are broken, any use of --with/--without disable the |
85 |
# functionality. |
86 |
# The following variation must be used. |
87 |
use reiserfs || myconf="${myconf} --without-reiserfs" |
88 |
use ntfs || myconf="${myconf} --without-ntfs" |
89 |
use jpeg || myconf="${myconf} --without-jpeg" |
90 |
|
91 |
# this is static method is the same used by upstream for their 'static' make |
92 |
# target, but better, as it doesn't break. |
93 |
use static && append-ldflags -static |
94 |
|
95 |
econf ${myconf} || die |
96 |
|
97 |
# perform safety checks for NTFS and REISERFS |
98 |
if useq ntfs && egrep -q 'undef HAVE_LIBNTFS\>' "${S}"/config.h ; then |
99 |
die "Failed to find NTFS library." |
100 |
fi |
101 |
if useq reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h ; then |
102 |
die "Failed to find reiserfs library." |
103 |
fi |
104 |
if useq jpeg && egrep -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then |
105 |
die "Failed to find jpeg library." |
106 |
fi |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
emake DESTDIR="${D}" install || die |
111 |
[ "$PF" != "$P" ] && mv "${D}"/usr/share/doc/${P} "${D}"/usr/share/doc/${PF} |
112 |
} |