Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/dd-rescue/
Date: Sat, 31 Dec 2016 15:05:39
Message-Id: 1483196534.39516ed5700fbe4d02e6ebc97bef5c618b6e5c30.polynomial-c@gentoo
1 commit: 39516ed5700fbe4d02e6ebc97bef5c618b6e5c30
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 31 15:02:14 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 31 15:02:14 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39516ed5
7
8 sys-fs/dd-rescue: Removed old.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sys-fs/dd-rescue/Manifest | 1 -
13 sys-fs/dd-rescue/dd-rescue-1.28.ebuild | 45 ------------------
14 sys-fs/dd-rescue/dd-rescue-1.99.ebuild | 86 ----------------------------------
15 3 files changed, 132 deletions(-)
16
17 diff --git a/sys-fs/dd-rescue/Manifest b/sys-fs/dd-rescue/Manifest
18 index 1b0af6b..0085ba1 100644
19 --- a/sys-fs/dd-rescue/Manifest
20 +++ b/sys-fs/dd-rescue/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST dd_rescue-1.28.tar.gz 22093 SHA256 4adcc368a1d4ad62577eaf8609809be1678335d54ef565a5a0fa6e1210489f03 SHA512 64a6eb2d6efbe79ca078b8de727ce551acd3a43bc6258b633a4de9ee51933944badc370855c27f05f306d8d3e95332c4b8884f7c11af321a9ac6797f9b02a3a3 WHIRLPOOL 138149efa98d0ade917d10eb6e64bae5cca0e60685eb4e804773e97cd31389f645544a969fd52747aa957260f01fa89db642929a8c36106b915d13eb87715fd4
23 DIST dd_rescue-1.46.tar.gz 126790 SHA256 9e09b5583f778fe43b6c473998fe0455486d5ffeacbb72b022d6cf5ba8241aba SHA512 efd1bf5d80d4bafa6e6971caa84205dc5df4456a29a9fa3bb56aa984d68675ae3418e8ba3a355906f491f0f2e750c38fd695e37dbd193e554cd41afec3841e28 WHIRLPOOL ac965019d38539962018bcc5a6d32cbf303b4d00d5ed91d643655a820f17bfa1ca81b5123f95220663823e6622d55099a2da08aaacf60cefc37097aa3354c729
24 DIST dd_rescue-1.99.5.tar.bz2 170712 SHA256 125d327118d1beab24b5858accb2c755dc07ae5b40bb07a985d837c6e3256935 SHA512 a240eb9d50950cefbc65d953c84a8e3782d39282aff4e7fa42364b40cee0eb0a02f61315786a1008cf7ae9c3d758700e9f3a0087b9477b3ffbfcbcef59f07d88 WHIRLPOOL 543a818b748086b1d1163343b02b8e83f7a03713d5394fc0702f48b515cd50b24e30898990439689cbef8270d0b410fdea2dc5b50b8c45728f9ed38c23d414c5
25 DIST dd_rescue-1.99.tar.bz2 168200 SHA256 5545f54a5e5bee2b9ac69959b1bc81aafae24939393efb8cc581e68ab1b2e47d SHA512 f484f1a86b3bd7c098eb568e193888d98def35b1bec2f553eb3543a5ae22417dbddb562a5c809613a1493ecac3689dcc2a45e26446a3e16036a19e716e38bd11 WHIRLPOOL 94ca6b49636c3f8b0a0901141a3ca16945f0cb5364b97d5d0d759ee1b034f33019ee0bf4f43f7977f0176832d95cecc0aab9cb89e783eabac14290ada4c9f1e1
26
27 diff --git a/sys-fs/dd-rescue/dd-rescue-1.28.ebuild b/sys-fs/dd-rescue/dd-rescue-1.28.ebuild
28 deleted file mode 100644
29 index 8923192..00000000
30 --- a/sys-fs/dd-rescue/dd-rescue-1.28.ebuild
31 +++ /dev/null
32 @@ -1,45 +0,0 @@
33 -# Copyright 1999-2012 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=4
38 -
39 -inherit toolchain-funcs flag-o-matic
40 -
41 -MY_PN=${PN/-/_}
42 -MY_P=${MY_PN}-${PV}
43 -
44 -DESCRIPTION="Similar to dd but can copy from source with errors"
45 -HOMEPAGE="http://www.garloff.de/kurt/linux/ddrescue/"
46 -SRC_URI="http://www.garloff.de/kurt/linux/ddrescue/${MY_P}.tar.gz"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="amd64 ~arm ~mips ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
51 -IUSE="static kernel_linux elibc_glibc"
52 -
53 -S=${WORKDIR}/${MY_PN}
54 -
55 -src_compile() {
56 - use static && append-ldflags -static
57 -
58 - # Passing LDFLAGS together with CFLAGS is not often a good idea, but
59 - # in this case it makes it possible to avoid patching; after all it
60 - # only builds the progrma whole, not with object files.
61 - #
62 - # The falloc target creates a dd_rescue binary that uses the
63 - # fallocate() function, present in Kernel 2.6.23 and later and GLIBC
64 - # 2.10 and later. If somebody can think of a better way to
65 - # optionally use it, suggestions are welcome.
66 - emake RPM_OPT_FLAGS="${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" \
67 - $(use kernel_linux && use elibc_glibc && echo "falloc")
68 -}
69 -
70 -src_install() {
71 - # easier to install by hand than trying to make sense of the
72 - # Makefile.
73 - into /
74 - dobin dd_rescue
75 -
76 - dodoc README.dd_rescue
77 -}
78
79 diff --git a/sys-fs/dd-rescue/dd-rescue-1.99.ebuild b/sys-fs/dd-rescue/dd-rescue-1.99.ebuild
80 deleted file mode 100644
81 index 60021df..00000000
82 --- a/sys-fs/dd-rescue/dd-rescue-1.99.ebuild
83 +++ /dev/null
84 @@ -1,86 +0,0 @@
85 -# Copyright 1999-2015 Gentoo Foundation
86 -# Distributed under the terms of the GNU General Public License v2
87 -# $Id$
88 -
89 -EAPI=5
90 -
91 -inherit toolchain-funcs flag-o-matic multilib autotools
92 -
93 -MY_PN=${PN/-/_}
94 -MY_P=${MY_PN}-${PV}
95 -
96 -DESCRIPTION="Similar to dd but can copy from source with errors"
97 -HOMEPAGE="http://www.garloff.de/kurt/linux/ddrescue/"
98 -SRC_URI="http://www.garloff.de/kurt/linux/ddrescue/${MY_P}.tar.bz2"
99 -
100 -LICENSE="GPL-2"
101 -SLOT="0"
102 -KEYWORDS="~amd64 ~arm ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
103 -IUSE="cpu_flags_x86_avx2 lzo cpu_flags_x86_sse4_2 static xattr"
104 -
105 -RDEPEND="lzo? ( dev-libs/lzo )
106 - xattr? ( sys-apps/attr )"
107 -DEPEND="${RDEPEND}"
108 -
109 -S="${WORKDIR}/${MY_P}"
110 -
111 -src_prepare() {
112 - epatch "${FILESDIR}/${MY_PN}-1.99-test_fix.patch"
113 -
114 - sed -i \
115 - -e 's:-ldl:$(LDFLAGS) -ldl:' \
116 - -e 's:-shared:$(CFLAGS) $(LDFLAGS) -shared:' \
117 - Makefile
118 - eautoreconf
119 -}
120 -
121 -src_configure() {
122 - use static && append-ldflags -static
123 - # OpenSSL is only used by a random helper tool we don't install.
124 - ac_cv_header_attr_xattr_h=$(usex xattr) \
125 - ac_cv_header_openssl_evp_h=no \
126 - ac_cv_lib_lzo2_lzo1x_1_compress=$(usex lzo) \
127 - econf
128 -}
129 -
130 -_emake() {
131 - local arch
132 - case ${ARCH} in
133 - x86) arch=i386;;
134 - amd64) arch=x86_64;;
135 - arm) arch=arm;;
136 - arm64) arch=aarch64;;
137 - esac
138 -
139 - local os=$(usex kernel_linux Linux IDK)
140 -
141 - # The Makefile is a mess. Override a few vars rather than patch it.
142 - emake \
143 - MACH="${arch}" \
144 - OS="${os}" \
145 - HAVE_SSE42=$(usex cpu_flags_x86_sse4_2 1 0) \
146 - HAVE_AVX2=$(usex cpu_flags_x86_avx2 1 0) \
147 - RPM_OPT_FLAGS="${CFLAGS} ${CPPFLAGS}" \
148 - CFLAGS_OPT='$(CFLAGS)' \
149 - LDFLAGS="${LDFLAGS} -Wl,-rpath,${EPREFIX}/usr/$(get_libdir)/${PN}" \
150 - CC="$(tc-getCC)" \
151 - "$@"
152 -}
153 -
154 -src_compile() {
155 - _emake
156 -}
157 -
158 -src_test() {
159 - _emake check
160 -}
161 -
162 -src_install() {
163 - # easier to install by hand than trying to make sense of the Makefile.
164 - dobin dd_rescue
165 - dodir /usr/$(get_libdir)/${PN}
166 - cp -pPR libddr_*.so "${ED}"/usr/$(get_libdir)/${PN}/ || die
167 - dodoc README.dd_rescue
168 - doman dd_rescue.1
169 - use lzo && doman ddr_lzo.1
170 -}