From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libzip/
Date: Sun, 17 Mar 2019 19:02:54 +0000 (UTC) [thread overview]
Message-ID: <1552849358.8adf3eed29de8a7c21bef71d9edb75d7c7c8dce3.asturm@gentoo> (raw)
commit: 8adf3eed29de8a7c21bef71d9edb75d7c7c8dce3
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 17 18:50:07 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 19:02:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8adf3eed
dev-libs/libzip: 1.5.2 version bump, add USE mbedtls
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-libs/libzip/Manifest | 1 +
dev-libs/libzip/libzip-1.5.2.ebuild | 89 +++++++++++++++++++++++++++++++++++++
dev-libs/libzip/metadata.xml | 3 ++
3 files changed, 93 insertions(+)
diff --git a/dev-libs/libzip/Manifest b/dev-libs/libzip/Manifest
index 396290996fd..b8f03031b82 100644
--- a/dev-libs/libzip/Manifest
+++ b/dev-libs/libzip/Manifest
@@ -1,2 +1,3 @@
DIST libzip-1.3.0.tar.xz 955876 BLAKE2B 9bb59cb34ed7e85e3161770f0eef7ed1f59fb2f7f648cd201fa5dc6c62339481ad72a71024df443c04ef0c7efe6f00838a3ac316da2ef06c0045ab69ade8f71b SHA512 8e12a23fe62b993ff4592e1b9da152533a363b0603fc1f65e6cbb6121d4260c45f98171effbccb76dec4030b0fcdcd273919755a2496ab462431646ac83bb900
DIST libzip-1.5.1.tar.xz 717908 BLAKE2B f2c19d3a8d9d60f3a0a9bc06359104187e75bcb59ab2aa06df611b487f0c91c27cf52f24bcc24e3d4358c5fe11882661b245829e6cdee2b39559f728cd20f899 SHA512 92df9490a9910ebb1da49ecaec96f364fce39a779e1bc739f7796b27b3a864301f5e1ba0108947708dda1d90af7a9e751be54cbb8a0de2a04a48f9f3eb728e3d
+DIST libzip-1.5.2.tar.xz 725724 BLAKE2B 3d67fc3ed9a242047fdeb1bae7fdbdcbed660853bbb36590b082646619e1cccb1dd49506248bba66759e27691f9a83ed186731eb57f47cc5e21f07f28e391387 SHA512 1e6d48ddbac4d270f70b314f6ada3c93a3196a8cc3b8d17c6cf5ea8409ff29f36ac351206675f9d81351fcf633b0c15d7b0b5530c30c4140e4fe55e64c602643
diff --git a/dev-libs/libzip/libzip-1.5.2.ebuild b/dev-libs/libzip/libzip-1.5.2.ebuild
new file mode 100644
index 00000000000..261eb19e86e
--- /dev/null
+++ b/dev-libs/libzip/libzip-1.5.2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils multibuild
+
+DESCRIPTION="Library for manipulating zip archives"
+HOMEPAGE="https://nih.at/libzip/"
+SRC_URI="https://www.nih.at/libzip/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0/5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="bzip2 doc gnutls libressl mbedtls ssl static-libs test"
+
+DEPEND="
+ sys-libs/zlib
+ bzip2? ( app-arch/bzip2 )
+ ssl? (
+ gnutls? ( net-libs/gnutls:= )
+ !gnutls? (
+ mbedtls? ( net-libs/mbedtls:= )
+ !mbedtls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ )
+ )
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ # Upstream doesn't support building dynamic & static
+ # simultaneously: https://github.com/nih-at/libzip/issues/76
+ MULTIBUILD_VARIANTS=( shared $(usev static-libs) )
+}
+
+src_configure() {
+ myconfigure() {
+ local mycmakeargs=(
+ -DBUILD_EXAMPLES=OFF # nothing is installed
+ -DENABLE_COMMONCRYPTO=OFF # not in tree
+ -DENABLE_BZIP2=$(usex bzip2)
+ )
+ if [[ ${MULTIBUILD_VARIANT} = static-libs ]]; then
+ mycmakeargs+=(
+ -DBUILD_DOC=OFF
+ -DBUILD_EXAMPLES=OFF
+ -DBUILD_SHARED_LIBS=OFF
+ -DBUILD_TOOLS=OFF
+ )
+ else
+ mycmakeargs+=(
+ -DBUILD_DOC=$(usex doc)
+ -DBUILD_REGRESS=$(usex test)
+ )
+ fi
+
+ if use ssl; then
+ mycmakeargs+=(
+ -DENABLE_GNUTLS=$(usex gnutls)
+ -DENABLE_MBEDTLS=$(usex mbedtls)
+ -DENABLE_OPENSSL=$(usex !gnutls)
+ )
+ else
+ mycmakeargs+=(
+ -DENABLE_GNUTLS=OFF
+ -DENABLE_MBEDTLS=OFF
+ -DENABLE_OPENSSL=OFF
+ )
+ fi
+ cmake-utils_src_configure
+ }
+
+ multibuild_foreach_variant myconfigure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake-utils_src_compile
+}
+
+src_test() {
+ [[ ${MULTIBUILD_VARIANT} = shared ]] && cmake-utils_src_test
+}
+
+src_install() {
+ multibuild_foreach_variant cmake-utils_src_install
+}
diff --git a/dev-libs/libzip/metadata.xml b/dev-libs/libzip/metadata.xml
index 12dd2df42ad..87a5b99d4f3 100644
--- a/dev-libs/libzip/metadata.xml
+++ b/dev-libs/libzip/metadata.xml
@@ -9,4 +9,7 @@
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+<use>
+ <flag name="mbedtls">Use <pkg>net-libs/mbedtls</pkg> as TLS provider</flag>
+</use>
</pkgmetadata>
next reply other threads:[~2019-03-17 19:02 UTC|newest]
Thread overview: 105+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-17 19:02 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-10-17 23:34 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libzip/ Sam James
2022-08-01 19:53 Andreas Sturmlechner
2022-08-01 14:17 Jakov Smolić
2022-07-24 23:23 Sam James
2022-07-21 0:29 Sam James
2022-07-21 0:25 Sam James
2022-07-21 0:25 Sam James
2022-07-20 5:49 Sam James
2022-07-20 2:50 Sam James
2022-06-29 20:29 Andreas Sturmlechner
2022-06-14 8:05 Andreas Sturmlechner
2022-05-17 12:48 WANG Xuerui
2022-02-26 2:16 Sam James
2022-01-19 7:47 Fabian Groffen
2022-01-01 11:52 James Le Cuirot
2021-09-08 0:43 Sam James
2021-08-09 1:18 Sam James
2021-08-09 1:18 Sam James
2021-08-07 14:43 Sam James
2021-08-05 14:10 Sam James
2021-08-05 11:11 Sergei Trofimovich
2021-06-25 1:33 Yixun Lan
2021-06-24 21:03 Sergei Trofimovich
2021-06-20 19:59 Sam James
2021-06-20 19:59 Sam James
2021-05-17 21:00 Sam James
2021-05-01 7:29 Mikle Kolyada
2021-01-06 19:34 Fabian Groffen
2020-09-08 18:08 Andreas Sturmlechner
2020-09-01 20:12 Sam James
2020-08-29 20:02 Sam James
2020-08-29 17:57 Thomas Deutschmann
2020-08-24 17:33 Sergei Trofimovich
2020-08-23 16:57 Sam James
2020-07-19 19:48 Andreas Sturmlechner
2020-07-19 19:48 Andreas Sturmlechner
2020-06-21 14:48 Andreas Sturmlechner
2020-06-14 21:51 Andreas Sturmlechner
2020-06-06 16:42 Andreas Sturmlechner
2020-04-09 22:02 Sergei Trofimovich
2020-03-19 20:38 Mart Raudsepp
2020-03-19 15:43 Andreas Sturmlechner
2020-03-19 15:43 Andreas Sturmlechner
2020-03-09 12:42 Agostino Sarubbo
2020-03-09 12:41 Agostino Sarubbo
2020-03-09 12:39 Agostino Sarubbo
2020-03-09 11:17 Agostino Sarubbo
2020-03-09 10:49 Agostino Sarubbo
2020-03-09 10:23 Agostino Sarubbo
2020-03-08 23:22 Thomas Deutschmann
2020-03-02 7:29 Matt Turner
2020-02-26 18:25 Andreas Sturmlechner
2020-02-24 8:20 Sergei Trofimovich
2020-02-05 19:24 Andreas Sturmlechner
2020-02-05 19:24 Andreas Sturmlechner
2020-01-29 5:11 Georgy Yakovlev
2020-01-28 15:11 Andreas Sturmlechner
2019-12-25 20:50 Sergei Trofimovich
2019-12-25 20:39 Sergei Trofimovich
2019-12-25 20:24 Sergei Trofimovich
2019-12-24 14:06 Mikle Kolyada
2019-12-24 8:08 Agostino Sarubbo
2019-12-23 14:03 Agostino Sarubbo
2019-12-23 10:00 Sergei Trofimovich
2019-12-22 22:53 Aaron Bauman
2019-09-13 20:41 Andreas Sturmlechner
2019-09-13 20:41 Andreas Sturmlechner
2019-05-22 2:52 Aaron Bauman
2019-04-24 18:42 Tobias Klausmann
2019-04-01 17:21 Thomas Deutschmann
2019-04-01 10:08 Michael Palimaka
2019-03-17 19:29 Andreas Sturmlechner
2019-03-16 22:55 Sergei Trofimovich
2019-03-16 21:57 Sergei Trofimovich
2019-03-16 21:39 Agostino Sarubbo
2019-03-16 14:06 Mikle Kolyada
2019-03-14 21:53 Sergei Trofimovich
2019-03-14 8:31 Sergei Trofimovich
2019-03-11 19:58 Sergei Trofimovich
2018-09-24 18:17 Markus Meier
2018-09-16 12:08 Sergei Trofimovich
2018-06-28 14:37 Mikle Kolyada
2017-10-23 18:42 Thomas Deutschmann
2017-09-24 18:50 Sergei Trofimovich
2017-09-23 19:38 Sergei Trofimovich
2017-09-20 9:59 Agostino Sarubbo
2017-09-15 7:31 Sergei Trofimovich
2017-09-03 5:28 Michael Palimaka
2017-07-30 20:46 Andreas Sturmlechner
2017-07-07 21:44 Alexis Ballier
2017-06-21 12:17 Agostino Sarubbo
2017-06-21 11:57 Agostino Sarubbo
2017-06-20 14:56 Tobias Klausmann
2017-06-20 5:17 Agostino Sarubbo
2017-06-18 14:01 Agostino Sarubbo
2017-06-17 22:01 Sergei Trofimovich
2017-04-04 9:04 Andreas Sturmlechner
2017-03-28 18:43 Andreas Sturmlechner
2017-03-17 18:50 Andreas Sturmlechner
2016-12-14 9:14 Tobias Klausmann
2016-09-04 18:56 Michael Palimaka
2016-02-24 20:52 Manuel Rüger
2016-02-24 20:52 Manuel Rüger
2016-02-10 22:54 Manuel Rüger
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=1552849358.8adf3eed29de8a7c21bef71d9edb75d7c7c8dce3.asturm@gentoo \
--to=asturm@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