From 5974cc4e5efb0880c4339283dfdc8af573674ba4 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Tue, 7 Jun 2022 22:13:13 +0200 Subject: sys-fs/cryptmount: add missing dep Closes: https://bugs.gentoo.org/849635 Signed-off-by: Conrad Kostecki --- sys-fs/cryptmount/cryptmount-5.3.3-r1.ebuild | 76 --------------------------- sys-fs/cryptmount/cryptmount-5.3.3-r2.ebuild | 77 ++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+), 76 deletions(-) delete mode 100644 sys-fs/cryptmount/cryptmount-5.3.3-r1.ebuild create mode 100644 sys-fs/cryptmount/cryptmount-5.3.3-r2.ebuild (limited to 'sys-fs/cryptmount') diff --git a/sys-fs/cryptmount/cryptmount-5.3.3-r1.ebuild b/sys-fs/cryptmount/cryptmount-5.3.3-r1.ebuild deleted file mode 100644 index ceafbdd5eb6d..000000000000 --- a/sys-fs/cryptmount/cryptmount-5.3.3-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-info - -DESCRIPTION="A utility for management and user-mode mounting of encrypted filesystems" -HOMEPAGE="http://cryptmount.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="argv0switch cswap fsck +gcrypt +largefile mount +nls +luks +openssl selinux systemd udev" -REQUIRED_USE=" - luks? ( gcrypt ) - openssl? ( gcrypt ) -" - -RDEPEND=" - gcrypt? ( dev-libs/libgcrypt:0= ) - luks? ( sys-fs/cryptsetup ) - openssl? ( dev-libs/openssl:0= ) - systemd? ( sys-apps/systemd ) - udev? ( virtual/udev ) - virtual/libiconv - virtual/libintl -" - -DEPEND=" - ${RDEPEND} - sys-kernel/linux-headers -" - -BDEPEND="nls? ( sys-devel/gettext )" - -DOCS=( "AUTHORS" "ChangeLog" "NEWS" "README" "README.sshfs" "RELNOTES" "ToDo" ) - -CONFIG_CHECK="BLK_DEV_DM" -ERROR_BLK_DEV_DM=" - Please enable Device Mapper support in your kernel config - -> Device Drivers - -> Multiple devices driver support (RAID and LVM) - -> Multiple devices driver support (RAID and LVM) - <*>/ Device mapper support -" - -src_prepare() { - default - - # Since SELinux is hardcoded, remove it on disabled SELinux profile - if ! use selinux; then - sed -e '/selinux/d' -i dmutils.c || die - fi -} - -src_configure() { - local myeconf=( - --disable-rpath - $(use_enable argv0switch) - $(use_enable cswap) - $(use_enable fsck) - $(use_with gcrypt libgcrypt) - $(use_enable largefile) - $(use_enable mount delegation) - $(use_enable nls) - $(use_enable luks) - $(use_enable openssl openssl-compat) - $(use_with systemd) - $(use_enable udev libudev) - - ) - - econf "${myeconf[@]}" -} diff --git a/sys-fs/cryptmount/cryptmount-5.3.3-r2.ebuild b/sys-fs/cryptmount/cryptmount-5.3.3-r2.ebuild new file mode 100644 index 000000000000..ec1442f7ac9c --- /dev/null +++ b/sys-fs/cryptmount/cryptmount-5.3.3-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info + +DESCRIPTION="A utility for management and user-mode mounting of encrypted filesystems" +HOMEPAGE="http://cryptmount.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="argv0switch cswap fsck +gcrypt +largefile mount +nls +luks +openssl selinux systemd udev" +REQUIRED_USE=" + luks? ( gcrypt ) + openssl? ( gcrypt ) +" + +RDEPEND=" + sys-fs/lvm2 + virtual/libiconv + virtual/libintl + gcrypt? ( dev-libs/libgcrypt:0= ) + luks? ( sys-fs/cryptsetup ) + openssl? ( dev-libs/openssl:0= ) + systemd? ( sys-apps/systemd ) + udev? ( virtual/udev ) +" + +DEPEND=" + ${RDEPEND} + sys-kernel/linux-headers +" + +BDEPEND="nls? ( sys-devel/gettext )" + +DOCS=( "AUTHORS" "ChangeLog" "NEWS" "README" "README.sshfs" "RELNOTES" "ToDo" ) + +CONFIG_CHECK="BLK_DEV_DM" +ERROR_BLK_DEV_DM=" + Please enable Device Mapper support in your kernel config + -> Device Drivers + -> Multiple devices driver support (RAID and LVM) + -> Multiple devices driver support (RAID and LVM) + <*>/ Device mapper support +" + +src_prepare() { + default + + # Since SELinux is hardcoded, remove it on disabled SELinux profile + if ! use selinux; then + sed -e '/selinux/d' -i dmutils.c || die + fi +} + +src_configure() { + local myeconf=( + --disable-rpath + $(use_enable argv0switch) + $(use_enable cswap) + $(use_enable fsck) + $(use_with gcrypt libgcrypt) + $(use_enable largefile) + $(use_enable mount delegation) + $(use_enable nls) + $(use_enable luks) + $(use_enable openssl openssl-compat) + $(use_with systemd) + $(use_enable udev libudev) + + ) + + econf "${myeconf[@]}" +} -- cgit v1.2.3-65-gdbad