From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libressl/
Date: Fri, 10 Nov 2017 23:15:29 +0000 (UTC) [thread overview]
Message-ID: <1510355722.6525d9f66f488843f5abba5110d6fb799e9d7b5b.blueness@gentoo> (raw)
commit: 6525d9f66f488843f5abba5110d6fb799e9d7b5b
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 10 23:15:04 2017 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Nov 10 23:15:22 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6525d9f6
dev-libs/libressl: revert to gnu autotools builds system, bugs #636836 #636856
Package-Manager: Portage-2.3.8, Repoman-2.3.3
dev-libs/libressl/libressl-2.6.3-r1.ebuild | 55 ------------------------------
dev-libs/libressl/libressl-2.6.3-r2.ebuild | 52 ++++++++++++++++++++++++++++
dev-libs/libressl/metadata.xml | 1 -
3 files changed, 52 insertions(+), 56 deletions(-)
diff --git a/dev-libs/libressl/libressl-2.6.3-r1.ebuild b/dev-libs/libressl/libressl-2.6.3-r1.ebuild
deleted file mode 100644
index 973160f6917..00000000000
--- a/dev-libs/libressl/libressl-2.6.3-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-multilib
-
-DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
-HOMEPAGE="https://www.libressl.org"
-SRC_URI="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz"
-
-LICENSE="ISC openssl"
-# Reflects ABI of libcrypto.so and libssl.so. Since these can differ,
-# we'll try to use the max of either. However, if either change between
-# versions, we have to change the subslot to trigger rebuild of consumers.
-SLOT="0/44"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86"
-IUSE="+asm nc static-libs"
-
-RDEPEND="
- !dev-libs/openssl:0
- nc? ( !net-analyzer/openbsd-netcat )"
-DEPEND="${RDEPEND}"
-PDEPEND="app-misc/ca-certificates"
-
-src_prepare() {
- # Correct hardcoded paths to use ca-certificates instead of cert.pem
- find "${S}"/{apps,crypto,tls} -type f -exec \
- sed -e 's|/cert.pem|/certs/ca-certificates.crt|' -i {} \; || die
-
- eapply_user
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_ASM=$(usex asm)
- -DENABLE_NC=$(usex nc)
- -DOPENSSLDIR="${EPREFIX}"/etc/ssl
- -DUSE_SHARED=1
- )
-
- cmake-multilib_src_configure
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- # Delete cert.pem
- rm "${ED}"/etc/ssl/cert.pem || die
- scanelf -Xe "${ED}"/usr/lib64/libcrypto.so.42.0.0
-
- if ! use static-libs ; then
- find "${D}" -name '*.a' -exec rm -f {} + || die
- fi
-}
diff --git a/dev-libs/libressl/libressl-2.6.3-r2.ebuild b/dev-libs/libressl/libressl-2.6.3-r2.ebuild
new file mode 100644
index 00000000000..ae81279ce6f
--- /dev/null
+++ b/dev-libs/libressl/libressl-2.6.3-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib-minimal
+
+DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
+HOMEPAGE="http://www.libressl.org/"
+SRC_URI="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz"
+
+LICENSE="ISC openssl"
+# Reflects ABI of libcrypto.so and libssl.so. Since these can differ,
+# we'll try to use the max of either. However, if either change between
+# versions, we have to change the subslot to trigger rebuild of consumers.
+SLOT="0/44"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86"
+IUSE="+asm static-libs"
+
+RDEPEND="!dev-libs/openssl:0"
+DEPEND="${RDEPEND}"
+PDEPEND="app-misc/ca-certificates"
+
+src_prepare() {
+ touch crypto/Makefile.in
+
+ sed -i \
+ -e '/^[ \t]*CFLAGS=/s#-g ##' \
+ -e '/^[ \t]*CFLAGS=/s#-g"#"#' \
+ -e '/^[ \t]*CFLAGS=/s#-O2 ##' \
+ -e '/^[ \t]*CFLAGS=/s#-O2"#"#' \
+ -e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \
+ -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \
+ configure || die "fixing CFLAGS failed"
+
+ eapply_user
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable asm) \
+ $(use_enable static-libs static)
+}
+
+multilib_src_test() {
+ emake check
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files
+}
diff --git a/dev-libs/libressl/metadata.xml b/dev-libs/libressl/metadata.xml
index 9a56130ae30..a7201a6f607 100644
--- a/dev-libs/libressl/metadata.xml
+++ b/dev-libs/libressl/metadata.xml
@@ -11,7 +11,6 @@
</longdescription>
<use>
<flag name="asm">Enables assembly</flag>
- <flag name="nc">Installs the libtls-based netcat binary</flag>
</use>
<upstream>
<changelog>http://www.libressl.org/releases.html</changelog>
next reply other threads:[~2017-11-10 23:15 UTC|newest]
Thread overview: 168+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-10 23:15 Anthony G. Basile [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-12-31 11:22 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libressl/ Sergei Trofimovich
2020-12-31 4:24 Sam James
2020-12-31 4:24 Sam James
2020-12-31 4:16 Sam James
2020-12-11 20:46 Sam James
2020-12-11 20:21 Sam James
2020-12-10 21:41 Thomas Deutschmann
2020-12-09 18:56 Fabian Groffen
2020-12-09 4:45 Stefan Strogin
2020-11-26 17:18 Anthony G. Basile
2020-11-26 17:17 Anthony G. Basile
2020-11-03 3:54 Sam James
2020-11-02 2:29 Jory Pratt
2020-11-02 2:29 Jory Pratt
2020-09-07 3:28 Sam James
2020-09-07 3:26 Sam James
2020-09-07 3:26 Sam James
2020-09-05 0:38 Sam James
2020-09-04 2:34 Sam James
2020-09-04 2:34 Sam James
2020-09-03 14:29 Thomas Deutschmann
2020-08-25 23:37 Anthony G. Basile
2020-08-24 23:33 Sam James
2020-08-21 14:15 Anthony G. Basile
2020-08-15 1:42 Stefan Strogin
2020-07-27 20:35 Aaron Bauman
2020-07-27 20:33 Aaron Bauman
2020-07-20 16:10 Sam James
2020-07-20 14:59 Sam James
2020-07-09 21:19 Sergei Trofimovich
2020-06-29 16:12 Mikle Kolyada
2020-06-28 20:56 Thomas Deutschmann
2020-06-21 20:31 Thomas Deutschmann
2020-06-17 15:51 Anthony G. Basile
2020-05-25 3:36 Stefan Strogin
2020-05-25 3:36 Stefan Strogin
2020-05-08 20:20 Anthony G. Basile
2020-04-11 13:30 Sergei Trofimovich
2020-03-02 11:51 Sergei Trofimovich
2020-02-11 23:34 Sergei Trofimovich
2020-02-05 23:54 Sergei Trofimovich
2020-01-27 10:26 Mikle Kolyada
2020-01-10 1:26 Thomas Deutschmann
2019-12-31 18:32 Aaron Bauman
2019-12-31 10:52 Mikle Kolyada
2019-10-02 0:09 Stefan Strogin
2019-08-06 17:47 Anthony G. Basile
2019-07-28 13:59 Mikle Kolyada
2019-07-28 13:59 Mikle Kolyada
2019-07-21 10:01 Sergei Trofimovich
2019-07-02 8:19 Sergei Trofimovich
2019-07-01 19:23 Thomas Deutschmann
2019-06-26 20:05 Sergei Trofimovich
2019-05-25 0:42 Aaron Bauman
2019-05-24 14:55 Mikle Kolyada
2019-05-21 13:02 Anthony G. Basile
2019-05-14 2:27 Aaron Bauman
2019-05-14 1:18 Aaron Bauman
2019-04-24 1:57 Aaron Bauman
2019-04-24 1:49 Aaron Bauman
2019-04-24 1:49 Aaron Bauman
2019-04-24 1:07 Aaron Bauman
2019-04-24 1:07 Aaron Bauman
2019-04-17 21:36 Aaron Bauman
2019-03-04 21:33 Fabian Groffen
2019-03-03 18:58 Aaron Bauman
2019-03-03 18:04 Aaron Bauman
2019-03-02 15:33 Mikle Kolyada
2019-03-02 15:33 Mikle Kolyada
2019-02-25 0:46 Aaron Bauman
2019-02-24 21:53 Aaron Bauman
2019-02-18 21:31 Sergei Trofimovich
2019-02-18 0:31 Thomas Deutschmann
2019-02-17 18:37 Aaron Bauman
2019-02-17 18:32 Aaron Bauman
2018-12-28 23:15 Sergei Trofimovich
2018-12-28 7:56 Mikle Kolyada
2018-12-19 23:35 Anthony G. Basile
2018-11-25 1:48 Aaron Bauman
2018-11-25 1:48 Aaron Bauman
2018-11-25 1:47 Aaron Bauman
2018-10-31 13:25 Anthony G. Basile
2018-10-10 1:11 Anthony G. Basile
2018-09-17 23:21 Matt Turner
2018-09-17 23:21 Matt Turner
2018-08-07 11:08 Anthony G. Basile
2018-07-09 23:25 Mikle Kolyada
2018-07-07 10:47 Markus Meier
2018-06-29 20:08 Anthony G. Basile
2018-06-17 23:29 Thomas Deutschmann
2018-06-17 1:13 Aaron Bauman
2018-06-16 19:26 Sergei Trofimovich
2018-06-16 1:36 Aaron Bauman
2018-06-05 7:12 Jeroen Roovers
2018-06-03 17:16 Mikle Kolyada
2018-05-25 0:11 Aaron Bauman
2018-05-19 18:15 Sergei Trofimovich
2018-05-18 23:16 Jeroen Roovers
2018-05-06 16:37 Aaron Bauman
2018-05-06 16:16 Aaron Bauman
2018-05-06 12:06 Anthony G. Basile
2018-04-30 23:50 Anthony G. Basile
2018-04-30 0:29 Aaron Bauman
2018-04-19 23:51 Aaron Bauman
2018-04-17 1:32 Aaron Bauman
2018-04-15 16:39 Mikle Kolyada
2018-04-06 13:36 Anthony G. Basile
2018-04-01 22:43 Anthony G. Basile
2018-03-30 16:18 Anthony G. Basile
2018-03-30 14:01 Anthony G. Basile
2018-03-24 11:12 Anthony G. Basile
2018-03-23 0:04 Anthony G. Basile
2018-03-22 7:12 Anthony G. Basile
2017-12-20 14:15 Anthony G. Basile
2017-12-04 22:07 Sergei Trofimovich
2017-11-13 7:54 Sergei Trofimovich
2017-11-13 0:55 Thomas Deutschmann
2017-11-12 19:39 Anthony G. Basile
2017-11-12 19:39 Anthony G. Basile
2017-11-10 12:40 Anthony G. Basile
2017-11-07 22:52 Sergei Trofimovich
2017-11-06 21:21 Anthony G. Basile
2017-09-27 7:40 Anthony G. Basile
2017-09-19 22:19 Anthony G. Basile
2017-09-19 21:04 Sergei Trofimovich
2017-09-07 19:16 Anthony G. Basile
2017-08-26 12:32 Mikle Kolyada
2017-07-15 0:59 Anthony G. Basile
2017-06-30 10:52 Sergei Trofimovich
2017-06-18 15:24 Alexis Ballier
2017-06-05 0:19 Anthony G. Basile
2017-05-03 21:36 Anthony G. Basile
2017-05-03 21:34 Anthony G. Basile
2017-04-12 15:14 Anthony G. Basile
2017-03-28 11:19 Anthony G. Basile
2017-02-02 23:45 Anthony G. Basile
2017-02-01 18:39 Anthony G. Basile
2017-01-26 16:08 Tobias Klausmann
2016-11-25 13:34 Anthony G. Basile
2016-11-09 3:23 Anthony G. Basile
2016-09-28 0:55 Anthony G. Basile
2016-08-31 16:07 Michael Palimaka
2016-08-01 22:40 Anthony G. Basile
2016-07-05 23:35 Anthony G. Basile
2016-06-10 7:26 Anthony G. Basile
2016-06-04 13:33 Anthony G. Basile
2016-06-01 8:35 Anthony G. Basile
2016-05-09 6:51 Anthony G. Basile
2016-05-04 20:30 Anthony G. Basile
2016-04-23 12:26 Michał Górny
2016-04-18 9:43 Patrice Clement
2016-04-18 4:41 Michał Górny
2016-03-23 10:06 Anthony G. Basile
2016-03-23 10:06 Anthony G. Basile
2016-01-29 8:11 Anthony G. Basile
2016-01-29 0:27 Anthony G. Basile
2016-01-29 0:27 Anthony G. Basile
2015-12-08 10:00 Anthony G. Basile
2015-12-05 12:36 Anthony G. Basile
2015-12-04 23:40 Anthony G. Basile
2015-12-04 10:21 Anthony G. Basile
2015-12-04 10:12 Anthony G. Basile
2015-10-31 7:21 Jeroen Roovers
2015-10-19 21:07 Julian Ospald
2015-10-16 13:53 Julian Ospald
2015-10-16 13:53 Julian Ospald
2015-09-20 11:32 Julian Ospald
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1510355722.6525d9f66f488843f5abba5110d6fb799e9d7b5b.blueness@gentoo \
--to=blueness@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox