public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/cryptsetup/
Date: Wed, 22 Jan 2025 07:54:06 +0000 (UTC)	[thread overview]
Message-ID: <1737531849.eb263e2bbb3934be6971395706ca5cafe9552661.sam@gentoo> (raw)

commit:     eb263e2bbb3934be6971395706ca5cafe9552661
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 22 07:44:09 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 22 07:44:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb263e2b

sys-fs/cryptsetup: drop 2.6.1, 2.7.2, 2.7.3, 2.7.4

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/cryptsetup/Manifest                |   4 -
 sys-fs/cryptsetup/cryptsetup-2.6.1.ebuild | 148 -----------------------------
 sys-fs/cryptsetup/cryptsetup-2.7.2.ebuild | 149 ------------------------------
 sys-fs/cryptsetup/cryptsetup-2.7.3.ebuild | 149 ------------------------------
 sys-fs/cryptsetup/cryptsetup-2.7.4.ebuild | 149 ------------------------------
 5 files changed, 599 deletions(-)

diff --git a/sys-fs/cryptsetup/Manifest b/sys-fs/cryptsetup/Manifest
index 9bbd8064cf17..a39f73cf854b 100644
--- a/sys-fs/cryptsetup/Manifest
+++ b/sys-fs/cryptsetup/Manifest
@@ -1,5 +1 @@
-DIST cryptsetup-2.6.1.tar.xz 11402380 BLAKE2B efd7a64d89d863876de68ff3e89d8c94ad5eca6a8d2236c52c234fbe51e9d9ee303a0c7fe7dac7df10e0062003b9c0aeddc8dc342582106c157ab2d1e742155e SHA512 0cbddbf33cbac2b834ed7e2dd47a9fc787131031a1c729f373f5c974600a838097e9cc0555f13719fc79c384a2a34b404f94ba4cc2f35f0bb1d70aef2233fd18
-DIST cryptsetup-2.7.2.tar.xz 11637316 BLAKE2B 466d7818cf8b6e23f802291ccad205d09f128572c21a85d6ca8e518d2198e49c9d95066c58560ffcb7df5a483aa27592b0e931db1e4daeabd102db9a5543da20 SHA512 06f42f443b91d1f8af8af999dfedd4051ecb12ba5ef291cf2b44b6a5676e2c5cf1e686e19687f5cb6b1fd524dfc1a208cd25a3798367a480d80eac954aa8d6d4
-DIST cryptsetup-2.7.3.tar.xz 11689300 BLAKE2B 6de2c5eb4a0e1108eedb9c81c69ef70696b166ee592641927a0f8e11e566d644e0f7db3436b0446d5df33b3fab55af9592b869bb54d5fa94e67c5003404bc9b8 SHA512 08cff21873aeb7cc5b2561abf5d33cdf0fa814eeaabf6a01f858461726ea9faeef651357da33bce7b347ca2f12d6d02bccdb279893f3749cb781ce1fe5c1571c
-DIST cryptsetup-2.7.4.tar.xz 11695292 BLAKE2B a7e9397342482e83a21177699aedbd7a59c2f841512cdf9c8fdcec34d8d448056b2aca89cceae55e8d01654cf5a6ea260ec44879fc7b7fd15fe613c0ad95bc6a SHA512 3cc601ab1c4d5fd282f990529d7cb95f59c8aa9beb0ebd11de7ebf78cb35c352bcb8c945a2033cb6c53540b37156fdf2824070d431c752f9f7b029e4ec930c21
 DIST cryptsetup-2.7.5.tar.xz 11697476 BLAKE2B 7df7b53f74cbf1a009d2804b8d85c9fea27be994bb4171e1ded70e3666635fd8f265819321bee0d1977548626029ebf75b87225a68cb38b3b79910f991c813dd SHA512 13eca93cdb00a143d2ca60b6f66ede5adc4072ca0c4bfebd8454a3541e69d269fcdb4afc97ad799e87a999b2bd46c1f31fa924a3d616d72a3337970b1e718d55

diff --git a/sys-fs/cryptsetup/cryptsetup-2.6.1.ebuild b/sys-fs/cryptsetup/cryptsetup-2.6.1.ebuild
deleted file mode 100644
index 12b1d328736f..000000000000
--- a/sys-fs/cryptsetup/cryptsetup-2.6.1.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit linux-info tmpfiles
-
-DESCRIPTION="Tool to setup encrypted devices with dm-crypt"
-HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup"
-SRC_URI="https://www.kernel.org/pub/linux/utils/${PN}/v$(ver_cut 1-2)/${P/_/-}.tar.xz"
-S="${WORKDIR}"/${P/_/-}
-
-LICENSE="GPL-2+"
-SLOT="0/12" # libcryptsetup.so version
-if [[ ${PV} != *_rc* ]] ; then
-	KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-fi
-
-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 fips nls pwquality ssh static static-libs test +udev urandom"
-RESTRICT="!test? ( test )"
-# bug #496612, bug #832711, bug #843863
-REQUIRED_USE="
-	^^ ( ${CRYPTO_BACKENDS//+/} )
-	static? ( !gcrypt !ssh !udev !fips )
-	fips? ( !kernel !nettle )
-"
-
-LIB_DEPEND="
-	dev-libs/json-c:=[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(+)]
-		dev-libs/libgpg-error[static-libs(+)]
-	)
-	nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] )
-	openssl? ( dev-libs/openssl:0=[static-libs(+)] )
-	pwquality? ( dev-libs/libpwquality[static-libs(+)] )
-	ssh? ( net-libs/libssh[static-libs(+)] )
-	sys-fs/lvm2[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. bug #414665
-RDEPEND="
-	static-libs? ( ${LIB_DEPEND} )
-	${LIB_DEPEND//\[static-libs\([+-]\)\]}
-	udev? ( virtual/libudev:= )
-"
-DEPEND="
-	${RDEPEND}
-	static? ( ${LIB_DEPEND} )
-"
-# vim-core needed for xxd in tests
-BDEPEND="
-	virtual/pkgconfig
-	test? ( app-editors/vim-core )
-"
-
-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() {
-	default
-
-	sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test || die
-}
-
-src_configure() {
-	local myeconfargs=(
-		--disable-internal-argon2
-		--disable-asciidoc
-		--enable-shared
-		--sbindir="${EPREFIX}"/sbin
-		# for later use
-		--with-default-luks-format=LUKS2
-		--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 !static external-tokens)
-		$(use_enable static static-cryptsetup)
-		$(use_enable static-libs static)
-		$(use_enable udev)
-		$(use_enable !urandom dev-random)
-		$(use_enable ssh ssh-token)
-		$(usev !argon2 '--with-luks2-pbkdf=pbkdf2')
-		$(use_enable fips)
-	)
-
-	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
-		mv "${ED}"/sbin/integritysetup{.static,} || die
-
-		if use ssh ; then
-			mv "${ED}"/sbin/cryptsetup-ssh{.static,} || die
-		fi
-	fi
-
-	find "${ED}" -type f -name "*.la" -delete || die
-
-	dodoc docs/v*ReleaseNotes
-
-	newconfd "${FILESDIR}"/2.4.3-dmcrypt.confd dmcrypt
-	newinitd "${FILESDIR}"/2.4.3-dmcrypt.rc dmcrypt
-}
-
-pkg_postinst() {
-	tmpfiles_process cryptsetup.conf
-
-	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
-}

diff --git a/sys-fs/cryptsetup/cryptsetup-2.7.2.ebuild b/sys-fs/cryptsetup/cryptsetup-2.7.2.ebuild
deleted file mode 100644
index 10ac2ba5d833..000000000000
--- a/sys-fs/cryptsetup/cryptsetup-2.7.2.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# TODO: meson
-inherit linux-info tmpfiles
-
-DESCRIPTION="Tool to setup encrypted devices with dm-crypt"
-HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup"
-SRC_URI="https://www.kernel.org/pub/linux/utils/${PN}/v$(ver_cut 1-2)/${P/_/-}.tar.xz"
-S="${WORKDIR}"/${P/_/-}
-
-LICENSE="GPL-2+"
-SLOT="0/12" # libcryptsetup.so version
-if [[ ${PV} != *_rc* ]] ; then
-	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-fi
-
-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 fips nls pwquality ssh static static-libs test +udev urandom"
-RESTRICT="!test? ( test )"
-# bug #496612, bug #832711, bug #843863
-REQUIRED_USE="
-	^^ ( ${CRYPTO_BACKENDS//+/} )
-	static? ( !gcrypt !ssh !udev !fips )
-	fips? ( !kernel !nettle )
-"
-
-LIB_DEPEND="
-	dev-libs/json-c:=[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(+)]
-		dev-libs/libgpg-error[static-libs(+)]
-	)
-	nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] )
-	openssl? ( dev-libs/openssl:0=[static-libs(+)] )
-	pwquality? ( dev-libs/libpwquality[static-libs(+)] )
-	ssh? ( net-libs/libssh[static-libs(+)] )
-	sys-fs/lvm2[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. bug #414665
-RDEPEND="
-	static-libs? ( ${LIB_DEPEND} )
-	${LIB_DEPEND//\[static-libs\([+-]\)\]}
-	udev? ( virtual/libudev:= )
-"
-DEPEND="
-	${RDEPEND}
-	static? ( ${LIB_DEPEND} )
-"
-# vim-core needed for xxd in tests
-BDEPEND="
-	virtual/pkgconfig
-	test? ( app-editors/vim-core )
-"
-
-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() {
-	default
-
-	sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test || die
-}
-
-src_configure() {
-	local myeconfargs=(
-		--disable-internal-argon2
-		--disable-asciidoc
-		--enable-shared
-		--sbindir="${EPREFIX}"/sbin
-		# for later use
-		--with-default-luks-format=LUKS2
-		--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 !static external-tokens)
-		$(use_enable static static-cryptsetup)
-		$(use_enable static-libs static)
-		$(use_enable udev)
-		$(use_enable !urandom dev-random)
-		$(use_enable ssh ssh-token)
-		$(usev !argon2 '--with-luks2-pbkdf=pbkdf2')
-		$(use_enable fips)
-	)
-
-	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
-		mv "${ED}"/sbin/integritysetup{.static,} || die
-
-		if use ssh ; then
-			mv "${ED}"/sbin/cryptsetup-ssh{.static,} || die
-		fi
-	fi
-
-	find "${ED}" -type f -name "*.la" -delete || die
-
-	dodoc docs/v*ReleaseNotes
-
-	newconfd "${FILESDIR}"/2.4.3-dmcrypt.confd dmcrypt
-	newinitd "${FILESDIR}"/2.4.3-dmcrypt.rc dmcrypt
-}
-
-pkg_postinst() {
-	tmpfiles_process cryptsetup.conf
-
-	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
-}

diff --git a/sys-fs/cryptsetup/cryptsetup-2.7.3.ebuild b/sys-fs/cryptsetup/cryptsetup-2.7.3.ebuild
deleted file mode 100644
index 729d59ff8f6d..000000000000
--- a/sys-fs/cryptsetup/cryptsetup-2.7.3.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# TODO: meson
-inherit linux-info tmpfiles
-
-DESCRIPTION="Tool to setup encrypted devices with dm-crypt"
-HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup"
-SRC_URI="https://www.kernel.org/pub/linux/utils/${PN}/v$(ver_cut 1-2)/${P/_/-}.tar.xz"
-S="${WORKDIR}"/${P/_/-}
-
-LICENSE="GPL-2+"
-SLOT="0/12" # libcryptsetup.so version
-if [[ ${PV} != *_rc* ]] ; then
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-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 fips nls pwquality ssh static static-libs test +udev urandom"
-RESTRICT="!test? ( test )"
-# bug #496612, bug #832711, bug #843863
-REQUIRED_USE="
-	^^ ( ${CRYPTO_BACKENDS//+/} )
-	static? ( !ssh !udev !fips )
-	fips? ( !kernel !nettle )
-"
-
-LIB_DEPEND="
-	dev-libs/json-c:=[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(+)]
-		dev-libs/libgpg-error[static-libs(+)]
-	)
-	nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] )
-	openssl? ( dev-libs/openssl:0=[static-libs(+)] )
-	pwquality? ( dev-libs/libpwquality[static-libs(+)] )
-	ssh? ( net-libs/libssh[static-libs(+)] )
-	sys-fs/lvm2[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. bug #414665
-RDEPEND="
-	static-libs? ( ${LIB_DEPEND} )
-	${LIB_DEPEND//\[static-libs\([+-]\)\]}
-	udev? ( virtual/libudev:= )
-"
-DEPEND="
-	${RDEPEND}
-	static? ( ${LIB_DEPEND} )
-"
-# vim-core needed for xxd in tests
-BDEPEND="
-	virtual/pkgconfig
-	test? ( app-editors/vim-core )
-"
-
-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() {
-	default
-
-	sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test || die
-}
-
-src_configure() {
-	local myeconfargs=(
-		--disable-internal-argon2
-		--disable-asciidoc
-		--enable-shared
-		--sbindir="${EPREFIX}"/sbin
-		# for later use
-		--with-default-luks-format=LUKS2
-		--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 !static external-tokens)
-		$(use_enable static static-cryptsetup)
-		$(use_enable static-libs static)
-		$(use_enable udev)
-		$(use_enable !urandom dev-random)
-		$(use_enable ssh ssh-token)
-		$(usev !argon2 '--with-luks2-pbkdf=pbkdf2')
-		$(use_enable fips)
-	)
-
-	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
-		mv "${ED}"/sbin/integritysetup{.static,} || die
-
-		if use ssh ; then
-			mv "${ED}"/sbin/cryptsetup-ssh{.static,} || die
-		fi
-	fi
-
-	find "${ED}" -type f -name "*.la" -delete || die
-
-	dodoc docs/v*ReleaseNotes
-
-	newconfd "${FILESDIR}"/2.4.3-dmcrypt.confd dmcrypt
-	newinitd "${FILESDIR}"/2.4.3-dmcrypt.rc dmcrypt
-}
-
-pkg_postinst() {
-	tmpfiles_process cryptsetup.conf
-
-	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
-}

diff --git a/sys-fs/cryptsetup/cryptsetup-2.7.4.ebuild b/sys-fs/cryptsetup/cryptsetup-2.7.4.ebuild
deleted file mode 100644
index 729d59ff8f6d..000000000000
--- a/sys-fs/cryptsetup/cryptsetup-2.7.4.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# TODO: meson
-inherit linux-info tmpfiles
-
-DESCRIPTION="Tool to setup encrypted devices with dm-crypt"
-HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup"
-SRC_URI="https://www.kernel.org/pub/linux/utils/${PN}/v$(ver_cut 1-2)/${P/_/-}.tar.xz"
-S="${WORKDIR}"/${P/_/-}
-
-LICENSE="GPL-2+"
-SLOT="0/12" # libcryptsetup.so version
-if [[ ${PV} != *_rc* ]] ; then
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-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 fips nls pwquality ssh static static-libs test +udev urandom"
-RESTRICT="!test? ( test )"
-# bug #496612, bug #832711, bug #843863
-REQUIRED_USE="
-	^^ ( ${CRYPTO_BACKENDS//+/} )
-	static? ( !ssh !udev !fips )
-	fips? ( !kernel !nettle )
-"
-
-LIB_DEPEND="
-	dev-libs/json-c:=[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(+)]
-		dev-libs/libgpg-error[static-libs(+)]
-	)
-	nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] )
-	openssl? ( dev-libs/openssl:0=[static-libs(+)] )
-	pwquality? ( dev-libs/libpwquality[static-libs(+)] )
-	ssh? ( net-libs/libssh[static-libs(+)] )
-	sys-fs/lvm2[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. bug #414665
-RDEPEND="
-	static-libs? ( ${LIB_DEPEND} )
-	${LIB_DEPEND//\[static-libs\([+-]\)\]}
-	udev? ( virtual/libudev:= )
-"
-DEPEND="
-	${RDEPEND}
-	static? ( ${LIB_DEPEND} )
-"
-# vim-core needed for xxd in tests
-BDEPEND="
-	virtual/pkgconfig
-	test? ( app-editors/vim-core )
-"
-
-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() {
-	default
-
-	sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test || die
-}
-
-src_configure() {
-	local myeconfargs=(
-		--disable-internal-argon2
-		--disable-asciidoc
-		--enable-shared
-		--sbindir="${EPREFIX}"/sbin
-		# for later use
-		--with-default-luks-format=LUKS2
-		--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 !static external-tokens)
-		$(use_enable static static-cryptsetup)
-		$(use_enable static-libs static)
-		$(use_enable udev)
-		$(use_enable !urandom dev-random)
-		$(use_enable ssh ssh-token)
-		$(usev !argon2 '--with-luks2-pbkdf=pbkdf2')
-		$(use_enable fips)
-	)
-
-	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
-		mv "${ED}"/sbin/integritysetup{.static,} || die
-
-		if use ssh ; then
-			mv "${ED}"/sbin/cryptsetup-ssh{.static,} || die
-		fi
-	fi
-
-	find "${ED}" -type f -name "*.la" -delete || die
-
-	dodoc docs/v*ReleaseNotes
-
-	newconfd "${FILESDIR}"/2.4.3-dmcrypt.confd dmcrypt
-	newinitd "${FILESDIR}"/2.4.3-dmcrypt.rc dmcrypt
-}
-
-pkg_postinst() {
-	tmpfiles_process cryptsetup.conf
-
-	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
-}


             reply	other threads:[~2025-01-22  7:54 UTC|newest]

Thread overview: 231+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-22  7:54 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-12 14:22 [gentoo-commits] repo/gentoo:master commit in: sys-fs/cryptsetup/ Sam James
2025-01-12 13:48 Sam James
2025-01-12 13:00 Sam James
2024-12-24  5:06 Sam James
2024-09-22 16:46 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-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=1737531849.eb263e2bbb3934be6971395706ca5cafe9552661.sam@gentoo \
    --to=sam@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