1 |
commit: eba5b6bcdb44548dbab2daa415a7d8ea6f2ffc36 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 5 15:14:20 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 5 15:18:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eba5b6bc |
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.15.0.ebuild | 91 ------------------------------ |
14 |
2 files changed, 92 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/debugedit/Manifest b/dev-util/debugedit/Manifest |
17 |
index c7fc2f6be32..6293e1f0115 100644 |
18 |
--- a/dev-util/debugedit/Manifest |
19 |
+++ b/dev-util/debugedit/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST rpm-4.15.0.tar.bz2 4205632 BLAKE2B 3e9701582e82d4164a21374df78c7a9ab3ca4f9aeafc13706fd0aa27782a34d2a732d7ae9659589abc9f9b8a48ce5c2cdbbea72c46768f1baba28ded26817e5b SHA512 bca9cc9ef0ad53fa5cd257c29a0a0b9447956afe4024835f5416b13926bc8bbaf8aacd481e721b4a28983bc57f98b75b91750d39dd72de4876efa9d6db53a26c |
22 |
DIST rpm-4.15.1.tar.bz2 4243893 BLAKE2B 352695e1fdac231127c9a2a775ff1aa05c1f3acbb10b0678e06011f9e4a5124e48cc19dce83417866e0f3c92bfd94e9c52b8c1884151ee77559bea1020d3623e SHA512 6c66835da5a54349bcfba5cc69831c8c57568aabd53c5c2820ec78c361be5116fecd41777b097e9c49458f984a7beb054fa8ed453ff7263cad4a29a11f780767 |
23 |
|
24 |
diff --git a/dev-util/debugedit/debugedit-4.15.0.ebuild b/dev-util/debugedit/debugedit-4.15.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index c31eee2f2b6..00000000000 |
27 |
--- a/dev-util/debugedit/debugedit-4.15.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,91 +0,0 @@ |
30 |
-# Copyright 1999-2019 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 hppa ~ia64 ppc ppc64 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 |
-} |