1 |
radhermit 12/08/28 03:23:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dd-rescue-1.28.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.26 sys-fs/dd-rescue/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dd-rescue/ChangeLog?rev=1.26&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dd-rescue/ChangeLog?rev=1.26&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dd-rescue/ChangeLog?r1=1.25&r2=1.26 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/ChangeLog,v |
20 |
retrieving revision 1.25 |
21 |
retrieving revision 1.26 |
22 |
diff -u -r1.25 -r1.26 |
23 |
--- ChangeLog 10 Aug 2012 13:54:08 -0000 1.25 |
24 |
+++ ChangeLog 28 Aug 2012 03:23:06 -0000 1.26 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-fs/dd-rescue |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/ChangeLog,v 1.25 2012/08/10 13:54:08 johu Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/ChangeLog,v 1.26 2012/08/28 03:23:06 radhermit Exp $ |
30 |
+ |
31 |
+*dd-rescue-1.28 (28 Aug 2012) |
32 |
+ |
33 |
+ 28 Aug 2012; Tim Harder <radhermit@g.o> +dd-rescue-1.28.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
10 Aug 2012; Johannes Huber <johu@g.o> dd-rescue-1.25.ebuild: |
37 |
Stable for x86, wrt bug #422209 |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-fs/dd-rescue/dd-rescue-1.28.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dd-rescue/dd-rescue-1.28.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/dd-rescue/dd-rescue-1.28.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: dd-rescue-1.28.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/dd-rescue/dd-rescue-1.28.ebuild,v 1.1 2012/08/28 03:23:06 radhermit Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
|
54 |
inherit toolchain-funcs flag-o-matic |
55 |
|
56 |
MY_PN=${PN/-/_} |
57 |
MY_P=${MY_PN}-${PV} |
58 |
|
59 |
DESCRIPTION="Similar to dd but can copy from source with errors" |
60 |
HOMEPAGE="http://www.garloff.de/kurt/linux/ddrescue/" |
61 |
SRC_URI="http://www.garloff.de/kurt/linux/ddrescue/${MY_P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
66 |
IUSE="static kernel_linux elibc_glibc" |
67 |
|
68 |
S=${WORKDIR}/${MY_PN} |
69 |
|
70 |
src_compile() { |
71 |
use static && append-ldflags -static |
72 |
|
73 |
# Passing LDFLAGS together with CFLAGS is not often a good idea, but |
74 |
# in this case it makes it possible to avoid patching; after all it |
75 |
# only builds the progrma whole, not with object files. |
76 |
# |
77 |
# The falloc target creates a dd_rescue binary that uses the |
78 |
# fallocate() function, present in Kernel 2.6.23 and later and GLIBC |
79 |
# 2.10 and later. If somebody can think of a better way to |
80 |
# optionally use it, suggestions are welcome. |
81 |
emake RPM_OPT_FLAGS="${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" \ |
82 |
$(use kernel_linux && use elibc_glibc && echo "falloc") |
83 |
} |
84 |
|
85 |
src_install() { |
86 |
# easier to install by hand than trying to make sense of the |
87 |
# Makefile. |
88 |
into / |
89 |
dobin dd_rescue |
90 |
|
91 |
dodoc README.dd_rescue |
92 |
} |