Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 498580 Details for
Bug 531540
dev-libs/openssl: revise inclusion of elliptic curves with bindist USE flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
openssl-1.1.0f-r2.ebuild-Fedora-Hobbled-EC-v2.patch
openssl-1.1.0f-r2.ebuild-Fedora-Hobbled-EC.patch (text/plain), 2.15 KB, created by
Robin Johnson
on 2017-10-13 21:04:04 UTC
(
hide
)
Description:
openssl-1.1.0f-r2.ebuild-Fedora-Hobbled-EC-v2.patch
Filename:
MIME Type:
Creator:
Robin Johnson
Created:
2017-10-13 21:04:04 UTC
Size:
2.15 KB
patch
obsolete
>--- openssl-1.1.0f.ebuild 2017-10-11 21:44:59.835115343 -0700 >+++ openssl-1.1.0f-r2.ebuild 2017-10-13 10:35:21.304461273 -0700 >@@ -27,6 +27,27 @@ > )" > PDEPEND="app-misc/ca-certificates" > >+# This does not copy the entire Fedora patchset, but JUST the parts that >+# are needed to make it safe to use EC with RESTRICT=bindist. >+# See openssl.spec for the matching numbering of SourceNNN, PatchNNN >+SOURCE1=hobble-openssl >+SOURCE12=ec_curve.c >+SOURCE13=ectest.c >+PATCH1=openssl-1.1.0-build.patch # Fixes EVP testcase for EC >+PATCH37=openssl-1.1.0-ec-curves.patch >+FEDORA_GIT_BASE='https://src.fedoraproject.org/cgit/rpms/openssl.git/plain/' >+FEDORA_GIT_BRANCH='f27' >+FEDORA_SRC_URI=() >+FEDORA_SOURCE=( $SOURCE1 $SOURCE12 $SOURCE13 ) >+FEDORA_PATCH=( $PATCH1 $PATCH37 ) >+for i in "${FEDORA_SOURCE[@]}" ; do >+ FEDORA_SRC_URI+=( "${FEDORA_GIT_BASE}/${i}?h=${FEDORA_GIT_BRANCH} -> ${P}_${i}" ) >+done >+for i in "${FEDORA_PATCH[@]}" ; do # Already have a version prefix >+ FEDORA_SRC_URI+=( "${FEDORA_GIT_BASE}/${i}?h=${FEDORA_GIT_BRANCH} -> ${i}" ) >+done >+SRC_URI+=" bindist? ( ${FEDORA_SRC_URI[@]} )" >+ > S="${WORKDIR}/${MY_P}" > > MULTILIB_WRAPPED_HEADERS=( >@@ -38,6 +59,23 @@ > ) > > src_prepare() { >+ if use bindist; then >+ # This just removes the prefix, and puts it into WORKDIR like the RPM. >+ for i in "${FEDORA_SOURCE[@]}" ; do >+ cp -f "${DISTDIR}"/"${P}_${i}" "${WORKDIR}"/ || die >+ done >+ # .spec %prep >+ bash "${WORKDIR}"/"${SOURCE1}" || die >+ cp -f "${WORKDIR}"/"${SOURCE12}" "${S}"/crypto/ec/ || die >+ cp -f "${WORKDIR}"/"${SOURCE13}" "${S}"/test/ || die >+ for i in "${FEDORA_PATCH[@]}" ; do >+ epatch "${DISTDIR}"/"${i}" >+ done >+ # Also see the configure parts below: >+ # enable-ec \ >+ # $(use_ssl !bindist ec2m) \ >+ >+ fi > # keep this in sync with app-misc/c_rehash > SSL_CNF_DIR="/etc/ssl" > >@@ -132,13 +170,15 @@ > [[ -z ${sslout} ]] && config="config" > > echoit \ >+ # Fedora hobbled-EC needs 'no-ec2m'. > ./${config} \ > ${sslout} \ > --api=1.0.0 \ > $(use cpu_flags_x86_sse2 || echo "no-sse2") \ > enable-camellia \ > disable-deprecated \ >- $(use_ssl !bindist ec) \ >+ enable-ec \ >+ $(use_ssl !bindist ec2m) \ > ${ec_nistp_64_gcc_128} \ > enable-idea \ > enable-mdc2 \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 531540
:
498420
|
498554
|
498580
|
498584
|
499726
|
499728
|
499736
|
499738