openssl-bad: repoman fixes

This commit is contained in:
Anton Bolshakov 2024-10-23 17:23:35 +08:00
parent 1e9fcbbbbb
commit 15d069931f
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 7 additions and 6 deletions

View file

@ -11,6 +11,7 @@
<flag name="sslv2">Compile with sslv2</flag>
<flag name="sslv3">Compile with sslv3</flag>
<flag name="tls-heartbeat">Compile with tls-heartbeat</flag>
<flag name="tls-compression">Compile with tls-compression</flag>
</use>
<upstream>
<remote-id type="github">drwetter/openssl-1.0.2.bad</remote-id>

View file

@ -1,7 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=8
inherit flag-o-matic toolchain-funcs multilib-minimal
@ -35,8 +35,10 @@ HOMEPAGE="https://openssl-library.org/"
#https://artfiles.org/openssl.org/source/openssl-1.0.2u.tar.gz
#https://www.mirrorservice.org/sites/ftp.openssl.org/source/openssl-1.0.2u.tar.gz
#https://www.openssl.org/source/openssl-1.0.2u.tar.gz
#http://distfiles.gentoo.org/distfiles/b0/openssl-1.0.2-patches-1.5.tar.xz
#https://dev.gentoo.org/~chutzpah/dist/openssl/openssl-1.0.2-patches-1.5.tar.xz
#http://distfiles.gentoo.org/distfiles/b0/openssl-1.0.2-patches-1.5.tar.xz
#https://dev.gentoo.org/~chutzpah/dist/openssl/openssl-1.0.2-patches-1.5.tar.xz
S="${WORKDIR}/${MY_P}"
LICENSE="openssl"
SLOT="0"
@ -60,8 +62,6 @@ BDEPEND="
)"
PDEPEND="app-misc/ca-certificates"
S="${WORKDIR}/${MY_P}"
MULTILIB_WRAPPED_HEADERS=(
usr/include/openssl/opensslconf.h
)
@ -129,7 +129,7 @@ src_prepare() {
append-flags $(test-flags-CC -Wa,--noexecstack)
append-cppflags -DOPENSSL_NO_BUF_FREELISTS
sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
sed -i '1s,^:$,#!'"${EPREFIX}"'/usr/bin/perl,' Configure #141906
# The config script does stupid stuff to prompt the user. Kill it.
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
./config --test-sanity || die "I AM NOT SANE"