Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/dd-rescue/
Date: Sun, 03 May 2020 19:52:47
Message-Id: 1588535498.1656b3dd41e04eaeccb6e5e31a1b721001c911cd.whissi@gentoo
1 commit: 1656b3dd41e04eaeccb6e5e31a1b721001c911cd
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 3 19:51:26 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun May 3 19:51:38 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1656b3dd
7
8 sys-fs/dd-rescue: drop old
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-fs/dd-rescue/Manifest | 1 -
14 sys-fs/dd-rescue/dd-rescue-1.46.ebuild | 83 ----------------------------------
15 2 files changed, 84 deletions(-)
16
17 diff --git a/sys-fs/dd-rescue/Manifest b/sys-fs/dd-rescue/Manifest
18 index fd1c556fc06..380ebad15a8 100644
19 --- a/sys-fs/dd-rescue/Manifest
20 +++ b/sys-fs/dd-rescue/Manifest
21 @@ -1,2 +1 @@
22 -DIST dd_rescue-1.46.tar.gz 126790 BLAKE2B 027d509349e77fa020757b826184b4a2206c3f5923c797c294ca8caf210cf6af20afa1d518d826413989612295a4365c480d7aa4293686824ee96394cbbe9851 SHA512 efd1bf5d80d4bafa6e6971caa84205dc5df4456a29a9fa3bb56aa984d68675ae3418e8ba3a355906f491f0f2e750c38fd695e37dbd193e554cd41afec3841e28
23 DIST dd_rescue-1.99.8.tar.bz2 174594 BLAKE2B 51e62989bf6318cb5926f30bc1db746bddd41fb49aab15dc2b1c67e0af079469161d390ba4e1e109d195249b3aace3aa830a3aec14ba534eb47f38c0136f910c SHA512 a230e1df4532671ea631036012dd1e38614e45bed58b00757f0017b0ea60f14ac3bdac07777d175aa4929def593b3c8485e463b1fc25b5067adf4cf3f3ac040d
24
25 diff --git a/sys-fs/dd-rescue/dd-rescue-1.46.ebuild b/sys-fs/dd-rescue/dd-rescue-1.46.ebuild
26 deleted file mode 100644
27 index 70f8a57d7af..00000000000
28 --- a/sys-fs/dd-rescue/dd-rescue-1.46.ebuild
29 +++ /dev/null
30 @@ -1,83 +0,0 @@
31 -# Copyright 1999-2015 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -
36 -inherit toolchain-funcs flag-o-matic multilib autotools
37 -
38 -MY_PN=${PN/-/_}
39 -MY_P=${MY_PN}-${PV}
40 -
41 -DESCRIPTION="Similar to dd but can copy from source with errors"
42 -HOMEPAGE="http://www.garloff.de/kurt/linux/ddrescue/"
43 -SRC_URI="http://www.garloff.de/kurt/linux/ddrescue/${MY_P}.tar.gz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="amd64 ~arm ~mips ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
48 -IUSE="cpu_flags_x86_avx2 lzo cpu_flags_x86_sse4_2 static xattr"
49 -
50 -RDEPEND="lzo? ( dev-libs/lzo )
51 - xattr? ( sys-apps/attr )"
52 -DEPEND="${RDEPEND}"
53 -
54 -S=${WORKDIR}/${MY_PN}
55 -
56 -src_prepare() {
57 - sed -i \
58 - -e 's:-ldl:$(LDFLAGS) -ldl:' \
59 - -e 's:-shared:$(CFLAGS) $(LDFLAGS) -shared:' \
60 - Makefile
61 - eautoreconf
62 -}
63 -
64 -src_configure() {
65 - use static && append-ldflags -static
66 - # OpenSSL is only used by a random helper tool we don't install.
67 - ac_cv_header_attr_xattr_h=$(usex xattr) \
68 - ac_cv_header_openssl_evp_h=no \
69 - ac_cv_lib_lzo2_lzo1x_1_compress=$(usex lzo) \
70 - econf
71 -}
72 -
73 -_emake() {
74 - local arch
75 - case ${ARCH} in
76 - x86) arch=i386;;
77 - amd64) arch=x86_64;;
78 - arm) arch=arm;;
79 - arm64) arch=aarch64;;
80 - esac
81 -
82 - local os=$(usex kernel_linux Linux IDK)
83 -
84 - # The Makefile is a mess. Override a few vars rather than patch it.
85 - emake \
86 - MACH="${arch}" \
87 - OS="${os}" \
88 - HAVE_SSE42=$(usex cpu_flags_x86_sse4_2 1 0) \
89 - HAVE_AVX2=$(usex cpu_flags_x86_avx2 1 0) \
90 - RPM_OPT_FLAGS="${CFLAGS} ${CPPFLAGS}" \
91 - CFLAGS_OPT='$(CFLAGS)' \
92 - LDFLAGS="${LDFLAGS} -Wl,-rpath,${EPREFIX}/usr/$(get_libdir)/${PN}" \
93 - CC="$(tc-getCC)" \
94 - "$@"
95 -}
96 -
97 -src_compile() {
98 - _emake
99 -}
100 -
101 -src_test() {
102 - _emake check
103 -}
104 -
105 -src_install() {
106 - # easier to install by hand than trying to make sense of the Makefile.
107 - dobin dd_rescue
108 - dodir /usr/$(get_libdir)/${PN}
109 - cp -pPR libddr_*.so "${ED}"/usr/$(get_libdir)/${PN}/ || die
110 - dodoc README.dd_rescue
111 - doman dd_rescue.1
112 - use lzo && doman ddr_lzo.1
113 -}