From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/cryptsetup/
Date: Fri, 13 Mar 2020 17:44:42 +0000 (UTC) [thread overview]
Message-ID: <1584121478.e7e75c69a9602811808ef716df45ce9752c15fd0.polynomial-c@gentoo> (raw)
commit: e7e75c69a9602811808ef716df45ce9752c15fd0
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 13 13:09:31 2020 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Mar 13 17:44:38 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e75c69
sys-fs/cryptsetup: Bump to version 2.3.1
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
sys-fs/cryptsetup/Manifest | 1 +
sys-fs/cryptsetup/cryptsetup-2.3.1.ebuild | 135 ++++++++++++++++++++++++++++++
2 files changed, 136 insertions(+)
diff --git a/sys-fs/cryptsetup/Manifest b/sys-fs/cryptsetup/Manifest
index 2b4a6a70359..cae99ab9f39 100644
--- a/sys-fs/cryptsetup/Manifest
+++ b/sys-fs/cryptsetup/Manifest
@@ -2,3 +2,4 @@ DIST cryptsetup-1.7.5.tar.xz 1232696 BLAKE2B 1bd62b186564e0b902480d66f623074f8d2
DIST cryptsetup-2.2.1.tar.xz 10803072 BLAKE2B 00ee2eff11e3054a40a4d9036c1786422288ff4c61ff497cb7039721dde80ca337cab067faa4f70721de3aded465f612e9328a6b533ff7c9b67d1069fe435bed SHA512 e4b45b24ad63cc4c22cb816f04cf4af71431e15134a8208af1a24e64ded54c07aba6c43521c063f03429304e0610b6cce849332564d69a46934fb7bae8e99718
DIST cryptsetup-2.2.2.tar.xz 10808684 BLAKE2B d8d864d9ec2a5d646706d3ba003a21aa83d2373ca7afed5663c5167172116ea9342704483559f49c06979cbe0f6ac5670f4e9baae88ab908423b793043ba4a68 SHA512 d04123a622438ecbee28145cbdc71886b6f13db87df1c67522bff6e6e3cba817e895e2d085bdb08c78f9cafba557b1203177811a0c316ccd9b7c19939f3fc851
DIST cryptsetup-2.3.0.tar.xz 11035660 BLAKE2B 0fff903cdb07d91183bbd35afb660aad42d31188a80d0ef6294c40082b39fdcde25da4fe1bf679ebe308133fc63051876ce813a2ef3a557f63b574d6f6f49d8c SHA512 d4af8edb7a50603028c6c6999ae7a1851d2232ee11d4a501270afb424f0a7dc82893a6a5d30d3a3188634aa80ec1a79f22a91b539910df10d07f8d9ae532cb08
+DIST cryptsetup-2.3.1.tar.xz 11041592 BLAKE2B acf3bb17503575b5d7edb58d0ab13989a2bc70ec96583dfc057b8258fd98a39a088411a9e0175d51d816b9164e5ec193710f1ada92427b1e6c6a53c5b8a6b9ea SHA512 e6ee77d72eda0b990db894d794a686f22043161b17b5f5c8cd54a64c5751f884a241c76b03bbccd52f74440c609036d50ed8503584bc3a0a011e4854a60dd4bf
diff --git a/sys-fs/cryptsetup/cryptsetup-2.3.1.ebuild b/sys-fs/cryptsetup/cryptsetup-2.3.1.ebuild
new file mode 100644
index 00000000000..cf95b7a30b0
--- /dev/null
+++ b/sys-fs/cryptsetup/cryptsetup-2.3.1.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools linux-info libtool
+
+DESCRIPTION="Tool to setup encrypted devices with dm-crypt"
+HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md"
+SRC_URI="https://www.kernel.org/pub/linux/utils/${PN}/v$(ver_cut 1-2)/${P/_/-}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0/12" # libcryptsetup.so version
+[[ ${PV} != *_rc* ]] && \
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+CRYPTO_BACKENDS="gcrypt kernel nettle +openssl"
+# we don't support nss since it doesn't allow cryptsetup to be built statically
+# and it's missing ripemd160 support so it can't provide full backward compatibility
+IUSE="${CRYPTO_BACKENDS} +argon2 libressl luks1_default nls pwquality reencrypt static static-libs +udev urandom"
+REQUIRED_USE="^^ ( ${CRYPTO_BACKENDS//+/} )
+ libressl? ( openssl )
+ static? ( !gcrypt )" #496612
+
+LIB_DEPEND="
+ dev-libs/json-c:=[static-libs(+)]
+ dev-libs/libgpg-error[static-libs(+)]
+ dev-libs/popt[static-libs(+)]
+ >=sys-apps/util-linux-2.31-r1[static-libs(+)]
+ argon2? ( app-crypt/argon2:=[static-libs(+)] )
+ gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] )
+ nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] )
+ openssl? (
+ !libressl? ( dev-libs/openssl:0=[static-libs(+)] )
+ libressl? ( dev-libs/libressl:0=[static-libs(+)] )
+ )
+ pwquality? ( dev-libs/libpwquality[static-libs(+)] )
+ sys-fs/lvm2[static-libs(+)]
+ udev? ( virtual/libudev[static-libs(-)] )"
+# We have to always depend on ${LIB_DEPEND} rather than put behind
+# !static? () because we provide a shared library which links against
+# these other packages. #414665
+RDEPEND="static-libs? ( ${LIB_DEPEND} )
+ ${LIB_DEPEND//\[static-libs\([+-]\)\]}"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.0.4-fix-static-pwquality-build.patch )
+
+pkg_pretend() {
+ if ! use luks1_default ; then
+ ewarn "WARNING! WARNING! WARNING!"
+ ewarn "You have chosen LUKS2 as your default format."
+ ewarn "This can break LUKS1 backwards compatibility."
+ ewarn "Enable \"luks1_default\" USE flag if you need backwards compatibility."
+ fi
+}
+
+pkg_setup() {
+ local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC ~CRYPTO_SHA256"
+ local WARNING_DM_CRYPT="CONFIG_DM_CRYPT:\tis not set (required for cryptsetup)\n"
+ local WARNING_CRYPTO_SHA256="CONFIG_CRYPTO_SHA256:\tis not set (required for cryptsetup)\n"
+ local WARNING_CRYPTO_CBC="CONFIG_CRYPTO_CBC:\tis not set (required for kernel 2.6.19)\n"
+ local WARNING_CRYPTO="CONFIG_CRYPTO:\tis not set (required for cryptsetup)\n"
+ check_extra_config
+}
+
+src_prepare() {
+ sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test || die
+ default
+ eautoreconf
+}
+
+src_configure() {
+ if use kernel ; then
+ ewarn "Note that kernel backend is very slow for this type of operation"
+ ewarn "and is provided mainly for embedded systems wanting to avoid"
+ ewarn "userspace crypto libraries."
+ fi
+
+ local myeconfargs=(
+ --disable-internal-argon2
+ --enable-shared
+ --sbindir=/sbin
+ # for later use
+ --with-default-luks-format=LUKS$(usex luks1_default 1 2)
+ --with-tmpfilesdir="${EPREFIX}/usr/lib/tmpfiles.d"
+ --with-crypto_backend=$(for x in ${CRYPTO_BACKENDS//+/} ; do usev ${x} ; done)
+ $(use_enable argon2 libargon2)
+ $(use_enable nls)
+ $(use_enable pwquality)
+ $(use_enable reencrypt cryptsetup-reencrypt)
+ $(use_enable static static-cryptsetup)
+ $(use_enable static-libs static)
+ $(use_enable udev)
+ $(use_enable !urandom dev-random)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_test() {
+ if [[ ! -e /dev/mapper/control ]] ; then
+ ewarn "No /dev/mapper/control found -- skipping tests"
+ return 0
+ fi
+
+ local p
+ for p in /dev/mapper /dev/loop* ; do
+ addwrite ${p}
+ done
+
+ default
+}
+
+src_install() {
+ default
+
+ if use static ; then
+ mv "${ED}"/sbin/cryptsetup{.static,} || die
+ mv "${ED}"/sbin/veritysetup{.static,} || die
+ if use reencrypt ; then
+ mv "${ED}"/sbin/cryptsetup-reencrypt{.static,} || die
+ fi
+ fi
+ find "${ED}" -type f -name "*.la" -delete || die
+
+ dodoc docs/v*ReleaseNotes
+
+ newconfd "${FILESDIR}"/1.6.7-dmcrypt.confd dmcrypt
+ newinitd "${FILESDIR}"/1.6.7-dmcrypt.rc dmcrypt
+}
next reply other threads:[~2020-03-13 17:44 UTC|newest]
Thread overview: 226+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-13 17:44 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-22 16:46 [gentoo-commits] repo/gentoo:master commit in: sys-fs/cryptsetup/ Sam James
2024-09-22 8:25 Sam James
2024-09-18 6:36 Arthur Zamarin
2024-09-18 6:36 Arthur Zamarin
2024-09-18 2:56 Sam James
2024-09-18 2:56 Sam James
2024-09-18 2:46 Sam James
2024-09-18 2:46 Sam James
2024-09-17 23:52 Sam James
2024-08-14 22:03 Sam James
2024-07-24 17:08 Luca Barbato
2024-07-17 4:31 Sam James
2024-07-17 4:31 Sam James
2024-07-17 4:31 Sam James
2024-07-17 4:31 Sam James
2024-07-17 4:31 Sam James
2024-07-17 4:31 Sam James
2024-07-17 4:31 Sam James
2024-06-24 1:48 Sam James
2024-06-07 14:21 Sam James
2023-12-28 4:04 Sam James
2023-06-14 2:55 Sam James
2023-04-29 11:44 Arthur Zamarin
2023-04-23 22:24 Sam James
2023-04-23 21:08 Sam James
2023-04-23 20:54 Sam James
2023-04-23 20:43 Sam James
2023-04-23 20:22 Sam James
2023-04-23 20:05 Sam James
2023-04-23 20:00 Sam James
2023-03-23 5:58 Sam James
2022-10-27 23:46 Sam James
2022-10-25 11:12 Sam James
2022-10-22 14:59 Arthur Zamarin
2022-10-21 6:48 Agostino Sarubbo
2022-10-21 6:48 Agostino Sarubbo
2022-10-20 21:15 Sam James
2022-10-20 19:05 Arthur Zamarin
2022-10-20 18:51 Arthur Zamarin
2022-10-15 3:11 Sam James
2022-05-19 2:03 Sam James
2022-05-12 17:59 Mike Gilbert
2022-05-08 16:12 WANG Xuerui
2022-03-21 23:48 Sam James
2022-02-07 20:07 Mike Gilbert
2022-01-27 19:05 Sam James
2022-01-26 19:33 Sam James
2022-01-26 19:27 Arthur Zamarin
2022-01-25 22:16 Sam James
2022-01-25 15:47 Sam James
2022-01-25 4:00 Sam James
2022-01-24 19:32 Sam James
2022-01-24 19:32 Sam James
2022-01-14 15:07 Sam James
2022-01-14 15:07 Sam James
2021-11-20 23:47 Mike Gilbert
2021-11-18 19:05 Lars Wendler
2021-10-03 11:28 David Seifert
2021-09-17 16:43 Mike Gilbert
2021-09-17 16:33 Mike Gilbert
2021-09-17 10:24 Lars Wendler
2021-09-07 17:37 Mike Gilbert
2021-08-19 8:53 Lars Wendler
2021-08-19 8:53 Lars Wendler
2021-07-31 22:17 Sam James
2021-07-30 18:20 Lars Wendler
2021-07-30 8:47 Lars Wendler
2021-07-13 4:02 Sam James
2021-07-06 21:31 Sergei Trofimovich
2021-07-06 18:02 Sam James
2021-07-06 4:14 Sam James
2021-07-05 6:59 Agostino Sarubbo
2021-07-05 6:58 Agostino Sarubbo
2021-07-05 6:58 Agostino Sarubbo
2021-07-04 22:17 Sam James
2021-07-04 19:41 Robin H. Johnson
2021-07-04 19:41 Robin H. Johnson
2021-07-04 11:05 Lars Wendler
2021-06-14 9:19 David Seifert
2021-05-28 18:55 Lars Wendler
2021-05-13 13:55 David Seifert
2021-04-29 18:28 Mikle Kolyada
2021-04-28 8:22 Lars Wendler
2021-03-11 18:03 Lars Wendler
2021-03-11 17:33 Lars Wendler
2021-03-11 17:33 Lars Wendler
2021-02-16 12:30 Sam James
2021-02-15 8:39 Sam James
2021-02-14 14:53 Sam James
2021-02-12 9:57 Sam James
2021-02-10 16:29 Sergei Trofimovich
2021-02-09 22:52 Sam James
2021-02-09 6:16 Sam James
2021-02-09 6:15 Sam James
2021-02-09 6:15 Sam James
2020-09-04 9:05 Lars Wendler
2020-05-29 8:51 Lars Wendler
2020-05-20 15:52 Mart Raudsepp
2020-05-18 16:46 Sergei Trofimovich
2020-05-18 12:37 Agostino Sarubbo
2020-05-17 10:06 Sergei Trofimovich
2020-05-17 9:55 Sergei Trofimovich
2020-05-15 20:30 Sergei Trofimovich
2020-05-15 16:58 Lars Wendler
2020-05-15 13:47 Mikle Kolyada
2020-05-15 13:47 Mikle Kolyada
2020-05-15 13:47 Mikle Kolyada
2020-05-01 13:23 Thomas Deutschmann
2020-04-09 17:38 Göktürk Yüksek
2020-04-08 6:10 Mart Raudsepp
2020-02-15 10:03 David Seifert
2020-02-14 18:09 Sergei Trofimovich
2020-02-13 13:03 Agostino Sarubbo
2020-02-11 12:25 Michał Górny
2020-02-11 11:30 Agostino Sarubbo
2020-02-11 10:55 Agostino Sarubbo
2020-02-11 8:43 Agostino Sarubbo
2020-02-10 8:16 Agostino Sarubbo
2020-02-07 19:58 Sergei Trofimovich
2020-02-07 12:12 Agostino Sarubbo
2020-02-07 10:52 Agostino Sarubbo
2020-02-06 17:50 Lars Wendler
2020-01-17 13:18 Lars Wendler
2019-11-02 10:17 Lars Wendler
2019-10-27 15:31 Michał Górny
2019-10-27 0:59 Thomas Deutschmann
2019-10-26 20:35 Sergei Trofimovich
2019-10-05 18:56 Michał Górny
2019-09-22 7:01 Matt Turner
2019-09-13 18:24 Mikle Kolyada
2019-09-13 17:27 Agostino Sarubbo
2019-09-09 17:10 Agostino Sarubbo
2019-09-09 8:01 Agostino Sarubbo
2019-09-09 8:00 Agostino Sarubbo
2019-09-09 7:59 Agostino Sarubbo
2019-09-09 6:54 Agostino Sarubbo
2019-09-08 19:55 Aaron Bauman
2019-09-08 19:15 Thomas Deutschmann
2019-09-06 18:07 Lars Wendler
2019-08-27 7:28 Lars Wendler
2019-08-16 18:06 Lars Wendler
2019-07-31 9:04 Agostino Sarubbo
2019-07-18 10:04 Agostino Sarubbo
2019-07-18 10:03 Agostino Sarubbo
2019-06-21 8:05 Lars Wendler
2019-05-13 15:15 Lars Wendler
2019-05-13 9:48 Mikle Kolyada
2019-05-13 1:41 Thomas Deutschmann
2019-05-12 22:03 Sergei Trofimovich
2019-05-12 21:57 Sergei Trofimovich
2019-05-10 4:41 Markus Meier
2019-05-07 6:26 Sergei Trofimovich
2019-05-06 7:48 Lars Wendler
2019-05-06 7:48 Lars Wendler
2019-04-15 23:55 Aaron Bauman
2019-04-08 13:23 Mikle Kolyada
2019-03-16 14:10 Mikle Kolyada
2019-03-16 14:10 Mikle Kolyada
2019-02-17 17:36 Mikle Kolyada
2019-02-10 22:48 Lars Wendler
2019-01-12 23:20 Sergei Trofimovich
2019-01-12 23:07 Sergei Trofimovich
2019-01-08 21:32 Jeroen Roovers
2018-12-03 23:41 Lars Wendler
2018-12-03 23:41 Lars Wendler
2018-11-18 10:52 Sergei Trofimovich
2018-11-18 10:52 Sergei Trofimovich
2018-10-28 22:42 Lars Wendler
2018-10-28 22:42 Lars Wendler
2018-08-04 8:07 Lars Wendler
2018-07-20 21:38 Thomas Deutschmann
2018-07-20 21:38 Thomas Deutschmann
2018-07-20 21:38 Thomas Deutschmann
2018-05-05 1:07 Lars Wendler
2018-05-05 1:07 Lars Wendler
2018-03-08 9:06 Lars Wendler
2018-01-29 15:51 Tobias Klausmann
2018-01-21 20:08 Lars Wendler
2018-01-10 6:19 Markus Meier
2018-01-02 17:21 Thomas Deutschmann
2017-12-26 22:40 Sergei Trofimovich
2017-12-25 11:01 Sergei Trofimovich
2017-12-23 22:41 Sergei Trofimovich
2017-12-22 14:01 Jason Zaman
2017-12-21 10:33 Sergei Trofimovich
2017-12-19 15:49 Thomas Deutschmann
2017-12-19 12:36 Lars Wendler
2017-12-19 12:36 Lars Wendler
2017-12-15 22:40 Thomas Deutschmann
2017-12-15 22:28 Lars Wendler
2017-12-15 21:50 Thomas Deutschmann
2017-12-13 18:37 Lars Wendler
2017-12-12 22:04 Lars Wendler
2017-11-06 10:44 Lars Wendler
2017-10-11 7:47 Lars Wendler
2017-07-09 11:01 Alexis Ballier
2017-06-17 22:07 Lars Wendler
2017-05-18 23:37 Michael Weber
2017-05-16 13:05 Agostino Sarubbo
2017-05-12 17:56 Tobias Klausmann
2017-05-12 14:55 Agostino Sarubbo
2017-05-06 13:16 Markus Meier
2017-05-06 10:01 Jeroen Roovers
2017-05-04 15:55 Agostino Sarubbo
2017-05-03 15:16 Lars Wendler
2017-05-03 14:56 Agostino Sarubbo
2017-05-03 8:49 Lars Wendler
2017-03-16 9:49 Lars Wendler
2016-12-21 22:54 Thomas Deutschmann
2016-10-30 19:21 Lars Wendler
2016-10-30 19:21 Lars Wendler
2016-09-04 10:21 Tobias Klausmann
2016-08-14 19:34 Markus Meier
2016-08-04 8:32 Jeroen Roovers
2016-08-04 8:28 Jeroen Roovers
2016-06-04 18:39 Lars Wendler
2016-06-04 18:39 Lars Wendler
2016-02-28 20:37 Lars Wendler
2016-02-28 20:37 Lars Wendler
2015-12-15 8:14 Patrice Clement
2015-11-04 16:57 Lars Wendler
2015-11-04 5:41 Lars Wendler
2015-10-05 9:08 Julian Ospald
2015-09-08 20:54 Lars Wendler
2015-09-08 20:54 Lars Wendler
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=1584121478.e7e75c69a9602811808ef716df45ce9752c15fd0.polynomial-c@gentoo \
--to=polynomial-c@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