diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-07 11:18:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-07 11:18:59 +0100 |
commit | a2810985afabcc31d3eace5e61d8ea25b852ba17 (patch) | |
tree | d254e77a7aeadd875db2dc73532da78094238ffd /sys-fs/cryptsetup | |
parent | eab5731cdf11d4ae8cdf111461d46fd96c5bdd37 (diff) |
gentoo resync : 07.05.2019
Diffstat (limited to 'sys-fs/cryptsetup')
-rw-r--r-- | sys-fs/cryptsetup/Manifest | 5 | ||||
-rw-r--r-- | sys-fs/cryptsetup/cryptsetup-2.1.0.ebuild | 2 | ||||
-rw-r--r-- | sys-fs/cryptsetup/cryptsetup-2.2.0_rc0.ebuild (renamed from sys-fs/cryptsetup/cryptsetup-2.0.5.ebuild) | 30 |
3 files changed, 19 insertions, 18 deletions
diff --git a/sys-fs/cryptsetup/Manifest b/sys-fs/cryptsetup/Manifest index 178ceac870a5..bfc66e540bdb 100644 --- a/sys-fs/cryptsetup/Manifest +++ b/sys-fs/cryptsetup/Manifest @@ -8,9 +8,10 @@ DIST cryptsetup-1.7.5.tar.xz 1232696 BLAKE2B 1bd62b186564e0b902480d66f623074f8d2 DIST cryptsetup-2.0.5.tar.xz 10476304 BLAKE2B cf1e335fce48a7bf835b2008dfc0a96ef35d344e2c9f6a0a5a2ff45644f9015311e99b8f9e05b0b23cad69d74f91dd1b7cdd766560fb6504e7453d6e46bea186 SHA512 bac3f5fde1be02d325c097f85e77aef44ce764c1bca7f0554cedd69b9444e5a5529f11b9ae74d36dc1977e88e11422a58dfa17e48559eac7f5e6c4ce332409ae DIST cryptsetup-2.0.6.tar.xz 10621424 BLAKE2B ecda2cb3c0a8a46b69519ab9ea9a1ece44fb21602cbce0751e52a16e5e493c7772fdc62c1151b95a783a847d9afd5a64f64bcac6673acba4bb90a417047c93cb SHA512 1fdb9068fe2b5825cef65323a9b788b5e043c1000e614e47e2b21ab3969e416653580aba639755ba936718ad612b986768029df5e07f3fa191db2bf29d2501ef DIST cryptsetup-2.1.0.tar.xz 10662576 BLAKE2B c79b24c986d5925aed31eddf8f271c3d0f12c89b3f99f953cfa39fe0d9dca2ab3dd2f6ea22141aca0148d6d533d197378b011561075ca26a14ca2e90500a1689 SHA512 f1b68e4d9d0ca2361fe9bdd51c60630dd4ab7a689b7be7756edf4dee12929d2356dd0658c9b940ffe27c033ef289efaf49daf21d250d37fdfa15394b5d821928 +DIST cryptsetup-2.2.0-rc0.tar.xz 10710468 BLAKE2B a65da89995c548af6de116b300dfde120f84e5e08e037f9b7d0b34d024ce4d1f1ab7599cedd45975a100fca90967ccc9a085023e2d453951816ce51cad0ca8e7 SHA512 ef168ee8757b7f9f6e7ffd5c310f2699ad4461c9886583b9a610f06c67996d688db060913c053da2f1f17090caaa07425ea735b7fcae50b2e1f32aa62f48e1a1 EBUILD cryptsetup-1.7.5-r1.ebuild 4033 BLAKE2B 77146c613eefaf677f4a0f77cb773b48829f520f988fb37c7ebc2b1df2e8d6269a02562a2e2f959029f563e9c89e0591160bbc5e22ec35875e4775bf20ba1da0 SHA512 0397db7c62308400767776b3caa614b8fe2dec4545ee1416eafb9116f9e458a6e26008ece4df870f40bc6270cd1b4340746b8fabb5f90418c7d9f18de852cf78 EBUILD cryptsetup-2.0.5-r1.ebuild 4151 BLAKE2B eb67cb9e3424b5444bf298fafeb3cbf050e5420b4a2137c75e437a13b2b8a1ff642b40186d37f10ee92785074833f833cad44eca3bc3e9c0f91fd710ac9fcc50 SHA512 71c6948ff51c919ac6052ad65355ffb620049049ef21fe6545d39bb6d56adb843d5de25b722911d979becca9945f7d05d7cf1b240bb0d5448513a4fa7baad8cd -EBUILD cryptsetup-2.0.5.ebuild 4151 BLAKE2B 3983c05c1cf91cdfe7fb999b9af742bf43fc704a49e01ad78b51a68b72640b022e5b8400da6f4c78e69bbc830ca7d54e460add31ef5157dddd316f5241b00285 SHA512 b4ee973b0f25a07af0c0d38e009b55e66387ba34f44cba8916ad60391bc0764d847da562c35561ae786c3961f8e93445d11366f776144c97b70ba8b27621fdf8 EBUILD cryptsetup-2.0.6.ebuild 4167 BLAKE2B 0aaa413b365a5b3986e3908709e54af38af8191c2086168076d380321c8577cc686826b7f57fb1671bdf45adf141630f65e815842f0cf4703636a8caf7cee46b SHA512 c707d533fcfc71e5adcd3eacd9556ae0d87c65b9e283008daafe5aaa29056ed175bf5354c08638454677b75e99f0f77d51a0ea76a0006bb8812d721a46e8cef7 -EBUILD cryptsetup-2.1.0.ebuild 4191 BLAKE2B b64c29fa6b4ae4d11598d7e978f6eb6e7799e8066d43a844874738ac9528301ddc8cac2ad1ed8a8e1591ab9574a691e6989abd455bc33c9b15d203b6e3c1454d SHA512 7d8ce5d53f6b2aa3545c968fa799f6b2e3b62fee271464b3abceb59c351b33d5b163a8328adfa6f8fb76ada4d3c9f1b939cc498b83d5402f9c6dcd7ceb15fb63 +EBUILD cryptsetup-2.1.0.ebuild 4190 BLAKE2B 2ac22e61228aac4586d6ec405cb35ea4dd97867e4b555f765987c9f703d248aeb591d7db0d8e2828e553be249cfc199424d7c1990bbd1f82717429358ec5d86f SHA512 f86859b7c431527558f490e027b45942983756f764de08410d899fe2b9e23245e37e56300a091ea3ae3460ccc52c693f208a48cab46d4af4cbe3888c91c1ebbf +EBUILD cryptsetup-2.2.0_rc0.ebuild 4191 BLAKE2B b64c29fa6b4ae4d11598d7e978f6eb6e7799e8066d43a844874738ac9528301ddc8cac2ad1ed8a8e1591ab9574a691e6989abd455bc33c9b15d203b6e3c1454d SHA512 7d8ce5d53f6b2aa3545c968fa799f6b2e3b62fee271464b3abceb59c351b33d5b163a8328adfa6f8fb76ada4d3c9f1b939cc498b83d5402f9c6dcd7ceb15fb63 MISC metadata.xml 1074 BLAKE2B b1a6789b42307eb919717d35dabb48fc060490e561a1b5d4b0a25a2ba4dfe1399a7bf564c5477be61a68b7b5248153843f6892f95893e36257b9d790f8501779 SHA512 d070c22187874175ae93078fc80f4d150da102557cc680c8dd324ffe21de533ad67b4478f0d83e385ef5d4e75541bb04fd8308697db0ebf6ecd9f1e11382847b diff --git a/sys-fs/cryptsetup/cryptsetup-2.1.0.ebuild b/sys-fs/cryptsetup/cryptsetup-2.1.0.ebuild index 457a33aa1fbe..c69149192442 100644 --- a/sys-fs/cryptsetup/cryptsetup-2.1.0.ebuild +++ b/sys-fs/cryptsetup/cryptsetup-2.1.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://kernel/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" +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 diff --git a/sys-fs/cryptsetup/cryptsetup-2.0.5.ebuild b/sys-fs/cryptsetup/cryptsetup-2.2.0_rc0.ebuild index f270366abe7e..457a33aa1fbe 100644 --- a/sys-fs/cryptsetup/cryptsetup-2.0.5.ebuild +++ b/sys-fs/cryptsetup/cryptsetup-2.2.0_rc0.ebuild @@ -3,9 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) - -inherit autotools python-single-r1 linux-info libtool eapi7-ver +inherit autotools linux-info libtool eapi7-ver DESCRIPTION="Tool to setup encrypted devices with dm-crypt" HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md" @@ -14,13 +12,12 @@ SRC_URI="mirror://kernel/linux/utils/${PN}/v$(ver_cut 1-2)/${P/_/-}.tar.xz" LICENSE="GPL-2+" SLOT="0/12" # libcryptsetup.so version [[ ${PV} != *_rc* ]] && \ -KEYWORDS="~amd64 ~arm64 ~hppa ~mips ~ppc64 ~s390 ~sh ~sparc ~x86" -CRYPTO_BACKENDS="+gcrypt kernel nettle openssl" +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 nls pwquality python reencrypt static static-libs +udev urandom" +IUSE="${CRYPTO_BACKENDS} +argon2 libressl +luks1_default nls pwquality reencrypt static static-libs +udev urandom" REQUIRED_USE="^^ ( ${CRYPTO_BACKENDS//+/} ) - python? ( ${PYTHON_REQUIRED_USE} ) static? ( !gcrypt )" #496612 LIB_DEPEND=" @@ -42,8 +39,7 @@ LIB_DEPEND=" # !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} )" + ${LIB_DEPEND//\[static-libs\(+\)\]}" DEPEND="${RDEPEND} virtual/pkgconfig static? ( ${LIB_DEPEND} )" @@ -52,6 +48,15 @@ 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" @@ -74,22 +79,17 @@ src_configure() { ewarn "userspace crypto libraries." fi - use python && python_setup - - # We disable autotool python integration so we can use eclasses - # for proper integration with multiple python versions. local myeconfargs=( --disable-internal-argon2 --enable-shared --sbindir=/sbin # for later use - # --with-default-luks-format=LUKS2 + --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 python) $(use_enable reencrypt cryptsetup-reencrypt) $(use_enable static static-cryptsetup) $(use_enable static-libs static) |