1 |
commit: 4b01e4b2bb97a215a5a21d1fc8e35bd5806d1ce3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 28 19:12:55 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 28 20:43:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b01e4b2 |
7 |
|
8 |
dev-util/debugedit: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-util/debugedit/Manifest | 1 - |
13 |
dev-util/debugedit/debugedit-4.16.1.2.ebuild | 91 ---------------------------- |
14 |
2 files changed, 92 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/debugedit/Manifest b/dev-util/debugedit/Manifest |
17 |
index ecbd826eca9..230ca396760 100644 |
18 |
--- a/dev-util/debugedit/Manifest |
19 |
+++ b/dev-util/debugedit/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST rpm-4.16.1.2.tar.bz2 4346745 BLAKE2B 17485b1e73b30586acb8e9be53bfb0bd430fa05e826755729c68367c798e8cad039f091731b6effbe9fa9b7d6c4018abd6feec94f032230cbbd6068e9080573a SHA512 066b67838312f9ad076285fe8f43527aded694f5562ead4e90df48675f2e99c1f2d68693fd20b2037e2614b978ed94c417753e2dbd055a9869b45264cd932afc |
22 |
DIST rpm-4.16.1.3.tar.bz2 4354652 BLAKE2B 10013014bdeaf908b64c90f8e76f1d4b0cd0e8cb926f0cd979d7b1e1963b9a25c5b98531deea7e74e00168e2e6349f443fa4578c69c717ca1ab5e6b79d801f3a SHA512 54e503b32dffaa73d6168f26a00220d9d9124082d8a1eb1ddf34ce32a482f07cb06ec654cf065fca1607cc37b13fa7d4fa9895553541d7cfddecf68c9eb96f2e |
23 |
|
24 |
diff --git a/dev-util/debugedit/debugedit-4.16.1.2.ebuild b/dev-util/debugedit/debugedit-4.16.1.2.ebuild |
25 |
deleted file mode 100644 |
26 |
index 17d121e9642..00000000000 |
27 |
--- a/dev-util/debugedit/debugedit-4.16.1.2.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,91 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-inherit flag-o-matic |
36 |
- |
37 |
-MY_P=rpm-${PV} |
38 |
-DESCRIPTION="Stand-alone debugedit from RPM" |
39 |
-HOMEPAGE="https://rpm.org |
40 |
- https://github.com/rpm-software-management/rpm" |
41 |
-SRC_URI="http://ftp.rpm.org/releases/rpm-$(ver_cut 1-2).x/${MY_P}.tar.bz2" |
42 |
- |
43 |
-LICENSE="GPL-2+ LGPL-2+" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" |
46 |
-IUSE="" |
47 |
- |
48 |
-RDEPEND=" |
49 |
- sys-libs/zlib:= |
50 |
- >=dev-libs/popt-1.7 |
51 |
- >=dev-libs/elfutils-0.176-r1 |
52 |
- dev-libs/nss |
53 |
-" |
54 |
-DEPEND="${RDEPEND} |
55 |
- virtual/pkgconfig |
56 |
-" |
57 |
- |
58 |
-S=${WORKDIR}/${MY_P} |
59 |
- |
60 |
-src_prepare() { |
61 |
- eapply_user |
62 |
- |
63 |
- # cheat it into believing we're bundling db |
64 |
- mkdir -p db/dist || die |
65 |
- touch db/dist/configure || die |
66 |
- chmod +x db/dist/configure || die |
67 |
- echo 'install:' > db3/Makefile || die |
68 |
- |
69 |
- # TODO: why do we need to do this? |
70 |
- mkdir rpm || die |
71 |
- find -name '*.h' -exec cp {} rpm/ ';' || die |
72 |
-} |
73 |
- |
74 |
-src_configure() { |
75 |
- append-cppflags -I"${EPREFIX}/usr/include/nss" -I"${EPREFIX}/usr/include/nspr" |
76 |
- local myconf=( |
77 |
- # force linking to static librpmio |
78 |
- --disable-shared |
79 |
- |
80 |
- # disable linking compression libraries |
81 |
- ac_cv_header_bzlib_h=no |
82 |
- ac_cv_header_lzma_h=no |
83 |
- --disable-zstd |
84 |
- |
85 |
- # fake some libraries we don't use |
86 |
- ac_cv_header_magic_h=yes |
87 |
- ac_cv_lib_magic_magic_open=yes |
88 |
- |
89 |
- # use nss as crypto provider |
90 |
- --with-crypto=nss |
91 |
- |
92 |
- # disable other stuff irrelevant to debugedit |
93 |
- --disable-bdb |
94 |
- --disable-nls |
95 |
- --disable-plugins |
96 |
- --disable-python |
97 |
- --without-acl |
98 |
- --without-archive |
99 |
- --without-cap |
100 |
- --without-external-db |
101 |
- --without-hackingdocs |
102 |
- --without-lua |
103 |
- --without-selinux |
104 |
- ) |
105 |
- econf "${myconf[@]}" |
106 |
-} |
107 |
- |
108 |
-src_compile() { |
109 |
- emake -C misc |
110 |
- emake -C rpmio |
111 |
- emake debugedit |
112 |
-} |
113 |
- |
114 |
-src_test() { |
115 |
- : |
116 |
-} |
117 |
- |
118 |
-src_install() { |
119 |
- dobin debugedit |
120 |
-} |