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: Wed, 11 Oct 2017 07:47:05 +0000 (UTC) [thread overview]
Message-ID: <1507708023.6eb06c819c1393916cda26ad56091d9ae0f41e5b.polynomial-c@gentoo> (raw)
commit: 6eb06c819c1393916cda26ad56091d9ae0f41e5b
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 11 07:46:48 2017 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Oct 11 07:47:03 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eb06c81
sys-fs/cryptsetup: Bump to version 2.0.0_rc0
Package-Manager: Portage-2.3.11, Repoman-2.3.3
sys-fs/cryptsetup/Manifest | 1 +
sys-fs/cryptsetup/cryptsetup-2.0.0_rc0.ebuild | 137 ++++++++++++++++++++++++++
2 files changed, 138 insertions(+)
diff --git a/sys-fs/cryptsetup/Manifest b/sys-fs/cryptsetup/Manifest
index 982020fc697..7b315ddb485 100644
--- a/sys-fs/cryptsetup/Manifest
+++ b/sys-fs/cryptsetup/Manifest
@@ -1,2 +1,3 @@
DIST cryptsetup-1.7.4.tar.xz 1232068 SHA256 7ccf893ef79a38fb92d61f03c17b964982119f5319cdaa85a1335b8558cca016 SHA512 c5f58227b38dcc2e2858c4bbcb641acead3b6bcdad0d8d76e5f46936669e4aff4dbc20a2980040341320d35d39f029725a9f20607753cad44f64ac0443b64b71 WHIRLPOOL f00d0e529a5d34460733e8110584266b42011055d81d94b0ae8d47a1f11f1639c4b658a55415241e72c431c615d896a94ae444a518a0b56f971b888a5ab7cc09
DIST cryptsetup-1.7.5.tar.xz 1232696 SHA256 2b30cd1d0dd606a53ac77b406e1d37798d4b0762fa89de6ea546201906a251bd SHA512 d473f7b06d705a3868a70f3767fafc664436b5897ba59025ea1268f815cb80a9076841ff9ff96cc130fb83ba18b03c1eee38cfaf1b471fdd883a3e126b771439 WHIRLPOOL cd2fe15a08f3202c89055e334a3c56fcb60a19bda8135c7d833f384e9beb7fcd6f31fbbd4ac29572f46199f05bd6055b89b3d6733828354d9c985b3e55da4e14
+DIST cryptsetup-2.0.0-rc0.tar.xz 16222712 SHA256 e0de7563b957117680b946c2f66ac1fadecb8459ce2db6b84687a1937524bd5c SHA512 82429e5672ed5a430898283b088bd94008bf075b67a312876ec841275ff3584912c8b07c857540a52c0e2f571fcf389ececa45d749fd20204f841b067078e6cd WHIRLPOOL bb87779b9835e56bbbd30f72ca5514db9a9cb2a9c35164020d64c29d4226d10a372d7560c2516886d50c485011478fbb17a55b98e37af9f21a4dc30711983d98
diff --git a/sys-fs/cryptsetup/cryptsetup-2.0.0_rc0.ebuild b/sys-fs/cryptsetup/cryptsetup-2.0.0_rc0.ebuild
new file mode 100644
index 00000000000..ca384992e35
--- /dev/null
+++ b/sys-fs/cryptsetup/cryptsetup-2.0.0_rc0.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit autotools distutils-r1 linux-info libtool ltprune versionator
+
+DESCRIPTION="Tool to setup encrypted devices with dm-crypt"
+HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md"
+SRC_URI="mirror://kernel/linux/utils/${PN}/v$(get_version_component_range 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} libressl nls pwquality python reencrypt static static-libs udev urandom"
+REQUIRED_USE="^^ ( ${CRYPTO_BACKENDS//+/} )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ static? ( !gcrypt )" #496612
+
+LIB_DEPEND="dev-libs/libgpg-error[static-libs(+)]
+ dev-libs/popt[static-libs(+)]
+ sys-apps/util-linux[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:=[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\(+\)\]}
+ python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+ dev-libs/json-c
+ virtual/pkgconfig
+ static? ( ${LIB_DEPEND} )"
+
+S="${WORKDIR}/${P/_/-}"
+
+#PATCHES=( )
+
+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
+
+ if use python ; then
+ cd python
+ cp "${FILESDIR}"/setup-1.7.0.py setup.py || die
+ distutils-r1_src_prepare
+ fi
+}
+
+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
+
+ # We disable autotool python integration so we can use eclasses
+ # for proper integration with multiple python versions.
+ local myeconfargs=(
+ --sbindir=/sbin
+ --enable-shared
+ --disable-python
+ $(use_enable static static-cryptsetup)
+ $(use_enable static-libs static)
+ $(use_enable nls)
+ $(use_enable pwquality)
+ $(use_enable reencrypt cryptsetup-reencrypt)
+ $(use_enable udev)
+ $(use_enable !urandom dev-random)
+ --with-crypto_backend=$(for x in ${CRYPTO_BACKENDS//+/} ; do usev ${x} ; done)
+ )
+ econf "${myeconfargs[@]}"
+
+ use python && cd python && distutils-r1_src_configure
+}
+
+src_compile() {
+ default
+ use python && cd python && distutils-r1_src_compile
+}
+
+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
+ use reencrypt && { mv "${ED}"/sbin/cryptsetup-reencrypt{.static,} || die ; }
+ fi
+ prune_libtool_files --modules
+
+ dodoc docs/v*ReleaseNotes
+
+ newconfd "${FILESDIR}"/1.6.7-dmcrypt.confd dmcrypt
+ newinitd "${FILESDIR}"/1.6.7-dmcrypt.rc dmcrypt
+
+ insinto /etc/tmpfiles.d
+ doins scripts/${PN}_tmpfiles.conf
+
+ use python && cd python && distutils-r1_src_install
+}
next reply other threads:[~2017-10-11 7:47 UTC|newest]
Thread overview: 226+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-11 7:47 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-03-13 17:44 Lars Wendler
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-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=1507708023.6eb06c819c1393916cda26ad56091d9ae0f41e5b.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