Gentoo Archives: gentoo-commits

From: Quentin Retornaz <gentoo@××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/libressl:master commit in: app-crypt/efitools/files/, app-crypt/efitools/
Date: Sun, 03 Jul 2022 17:47:34
Message-Id: 1656870419.d6f805c2da83e032c3f3fdad52a41720991c3839.quentin@gentoo
1 commit: d6f805c2da83e032c3f3fdad52a41720991c3839
2 Author: orbea <orbea <AT> riseup <DOT> net>
3 AuthorDate: Sat Jul 2 23:15:31 2022 +0000
4 Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
5 CommitDate: Sun Jul 3 17:46:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=d6f805c2
7
8 app-crypt/efitools: Remove package
9
10 Works with libressl-3.5.x and efitools-1.9.2::gentoo.
11
12 Signed-off-by: orbea <orbea <AT> riseup.net>
13 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
14
15 app-crypt/efitools/Manifest | 2 -
16 app-crypt/efitools/efitools-1.8.1.ebuild | 51 ----------------------
17 app-crypt/efitools/efitools-1.9.2.ebuild | 51 ----------------------
18 app-crypt/efitools/files/1.7.0-Make.rules.patch | 11 -----
19 .../efitools-1.8.1-libressl-compatibility.patch | 11 -----
20 app-crypt/efitools/metadata.xml | 7 ---
21 6 files changed, 133 deletions(-)
22
23 diff --git a/app-crypt/efitools/Manifest b/app-crypt/efitools/Manifest
24 deleted file mode 100644
25 index f6d9e82..0000000
26 --- a/app-crypt/efitools/Manifest
27 +++ /dev/null
28 @@ -1,2 +0,0 @@
29 -DIST efitools-1.8.1.tar.gz 115319 BLAKE2B 3aad65defc203055122027cc3a48f50912d2f08b592841780fdc1bf337d75774116e698c4270865275ce7fe64988cd84105138ca979d81818f0065d7ae90f1d0 SHA512 114ef8e52160f5a5239ec306dbd587610849bce771ba8145ed092afd79e44f3ecee93cc1d97e2d5fdb880cc825bbbe928b3ef6701fd3b1fa444053894be1098a
30 -DIST efitools-1.9.2.tar.gz 116037 BLAKE2B b3540932eb112e362fd0eed47090360603807dcaec8c6a10058618f8252eeb5dcbbd703d313cb6fadae62c1312815080cf2c77fc86f9dfc9f9afca24ad97f584 SHA512 77e0ad7e865814ed388ff6daabe0f4b49ba51672bf2cbb98b7905e209cbd28f9ede2f73213ce45af8a978c1e67dba24ec88a1188661317cc22317b47e575cde8
31
32 diff --git a/app-crypt/efitools/efitools-1.8.1.ebuild b/app-crypt/efitools/efitools-1.8.1.ebuild
33 deleted file mode 100644
34 index edd7bdd..0000000
35 --- a/app-crypt/efitools/efitools-1.8.1.ebuild
36 +++ /dev/null
37 @@ -1,51 +0,0 @@
38 -# Copyright 1999-2021 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=6
42 -
43 -inherit flag-o-matic toolchain-funcs
44 -
45 -DESCRIPTION="Tools for manipulating UEFI secure boot platforms"
46 -HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/jejb/efitools.git"
47 -SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git/snapshot/${P}.tar.gz"
48 -
49 -LICENSE="GPL-2 LGPL-2.1"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~arm64 ~x86"
52 -IUSE="static"
53 -
54 -LIB_DEPEND="dev-libs/openssl:0=[static-libs(+)]"
55 -
56 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
57 - sys-apps/util-linux"
58 -
59 -DEPEND="${RDEPEND}
60 - app-crypt/sbsigntools
61 - dev-perl/File-Slurp
62 - static? ( ${LIB_DEPEND} )
63 - sys-apps/help2man
64 - sys-boot/gnu-efi
65 - virtual/pkgconfig"
66 -
67 -PATCHES=(
68 - "${FILESDIR}/1.7.0-Make.rules.patch"
69 - "${FILESDIR}/${P}-libressl-compatibility.patch"
70 -)
71 -
72 -src_prepare() {
73 - if use static; then
74 - append-ldflags -static
75 - sed -i "s/-lcrypto\b/$($(tc-getPKG_CONFIG) --static --libs libcrypto)/g" \
76 - Makefile || die
77 - fi
78 -
79 - # Respect users CFLAGS
80 - sed -i -e 's/CFLAGS.*= -O2 -g/CFLAGS += /' Make.rules || die
81 -
82 - # Respect users LDFLAGS
83 - sed -i -e 's/LDFLAGS/LIBS/g' Make.rules || die
84 - sed -i -e 's/\$(CC)/& $(LDFLAGS)/g' Makefile || die
85 -
86 - # Run 'default', to apply user patches
87 - default
88 -}
89
90 diff --git a/app-crypt/efitools/efitools-1.9.2.ebuild b/app-crypt/efitools/efitools-1.9.2.ebuild
91 deleted file mode 100644
92 index 992d15c..0000000
93 --- a/app-crypt/efitools/efitools-1.9.2.ebuild
94 +++ /dev/null
95 @@ -1,51 +0,0 @@
96 -# Copyright 1999-2021 Gentoo Authors
97 -# Distributed under the terms of the GNU General Public License v2
98 -
99 -EAPI=6
100 -
101 -inherit flag-o-matic toolchain-funcs
102 -
103 -DESCRIPTION="Tools for manipulating UEFI secure boot platforms"
104 -HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/jejb/efitools.git"
105 -SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git/snapshot/${P}.tar.gz"
106 -
107 -LICENSE="GPL-2 LGPL-2.1"
108 -SLOT="0"
109 -KEYWORDS="amd64 ~arm64 ~x86"
110 -IUSE="static"
111 -
112 -LIB_DEPEND="dev-libs/openssl:0=[static-libs(+)]"
113 -
114 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
115 - sys-apps/util-linux"
116 -
117 -DEPEND="${RDEPEND}
118 - app-crypt/sbsigntools
119 - dev-perl/File-Slurp
120 - static? ( ${LIB_DEPEND} )
121 - sys-apps/help2man
122 - sys-boot/gnu-efi
123 - virtual/pkgconfig"
124 -
125 -PATCHES=(
126 - "${FILESDIR}/1.7.0-Make.rules.patch"
127 - "${FILESDIR}/${PN}-1.8.1-libressl-compatibility.patch"
128 -)
129 -
130 -src_prepare() {
131 - if use static; then
132 - append-ldflags -static
133 - sed -i "s/-lcrypto\b/$($(tc-getPKG_CONFIG) --static --libs libcrypto)/g" \
134 - Makefile || die
135 - fi
136 -
137 - # Respect users CFLAGS
138 - sed -i -e 's/CFLAGS.*= -O2 -g/CFLAGS += /' Make.rules || die
139 -
140 - # Respect users LDFLAGS
141 - sed -i -e 's/LDFLAGS/LIBS/g' Make.rules || die
142 - sed -i -e 's/\$(CC)/& $(LDFLAGS)/g' Makefile || die
143 -
144 - # Run 'default', to apply user patches
145 - default
146 -}
147
148 diff --git a/app-crypt/efitools/files/1.7.0-Make.rules.patch b/app-crypt/efitools/files/1.7.0-Make.rules.patch
149 deleted file mode 100644
150 index 89665ab..0000000
151 --- a/app-crypt/efitools/files/1.7.0-Make.rules.patch
152 +++ /dev/null
153 @@ -1,11 +0,0 @@
154 ---- a/Make.rules
155 -+++ b/Make.rules
156 -@@ -71,7 +71,7 @@
157 - %.hash: %.efi hash-to-efi-sig-list
158 - ./hash-to-efi-sig-list $< $@
159 -
160 --%-blacklist.esl: %.crt cert-to-efi-hash-list
161 -+%-blacklist.esl: %.crt cert-to-efi-sig-list
162 - ./cert-to-efi-sig-list $< $@
163 -
164 - %-hash-blacklist.esl: %.crt cert-to-efi-hash-list
165
166 diff --git a/app-crypt/efitools/files/efitools-1.8.1-libressl-compatibility.patch b/app-crypt/efitools/files/efitools-1.8.1-libressl-compatibility.patch
167 deleted file mode 100644
168 index 876baae..0000000
169 --- a/app-crypt/efitools/files/efitools-1.8.1-libressl-compatibility.patch
170 +++ /dev/null
171 @@ -1,11 +0,0 @@
172 ---- a/cert-to-efi-hash-list.c 2018-04-21 20:59:24.814748503 +0200
173 -+++ b/cert-to-efi-hash-list.c 2018-04-21 20:59:51.868581307 +0200
174 -@@ -135,7 +135,7 @@
175 - X509 *cert = PEM_read_bio_X509(cert_bio, NULL, NULL, NULL);
176 - unsigned char *cert_buf = NULL;
177 -
178 --#if OPENSSL_VERSION_NUMBER < 0x10100000L
179 -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
180 - int cert_len = i2d_X509_CINF(cert->cert_info, &cert_buf);
181 - #else
182 - int cert_len = i2d_re_X509_tbs(cert, &cert_buf);
183
184 diff --git a/app-crypt/efitools/metadata.xml b/app-crypt/efitools/metadata.xml
185 deleted file mode 100644
186 index c1f7c0b..0000000
187 --- a/app-crypt/efitools/metadata.xml
188 +++ /dev/null
189 @@ -1,7 +0,0 @@
190 -<?xml version="1.0" encoding="UTF-8"?>
191 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
192 -<pkgmetadata>
193 - <maintainer type="person">
194 - <email>tamiko@g.o</email>
195 - </maintainer>
196 -</pkgmetadata>