From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F59015808C for ; Wed, 9 Feb 2022 22:57:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2654E0831; Wed, 9 Feb 2022 22:57:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ACECAE0831 for ; Wed, 9 Feb 2022 22:57:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C5D50342C4A for ; Wed, 9 Feb 2022 22:57:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 765D32D8 for ; Wed, 9 Feb 2022 22:57:32 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1644447407.0d4dedb07cdbb756216c8b904cda3c4b908ded0b.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/cryptmount/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/cryptmount/cryptmount-5.3.3-r1.ebuild X-VCS-Directories: sys-fs/cryptmount/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 0d4dedb07cdbb756216c8b904cda3c4b908ded0b X-VCS-Branch: master Date: Wed, 9 Feb 2022 22:57:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 179a539d-069f-4ac7-bd10-4e1a93d3ade1 X-Archives-Hash: d6704316a5cc7aa8bcf8466b5be92256 commit: 0d4dedb07cdbb756216c8b904cda3c4b908ded0b Author: Conrad Kostecki gentoo org> AuthorDate: Wed Feb 9 21:40:08 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Feb 9 22:56:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d4dedb0 sys-fs/cryptmount: update EAPI 7 -> 8 Signed-off-by: Conrad Kostecki gentoo.org> sys-fs/cryptmount/cryptmount-5.3.3-r1.ebuild | 76 ++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/sys-fs/cryptmount/cryptmount-5.3.3-r1.ebuild b/sys-fs/cryptmount/cryptmount-5.3.3-r1.ebuild new file mode 100644 index 000000000000..ceafbdd5eb6d --- /dev/null +++ b/sys-fs/cryptmount/cryptmount-5.3.3-r1.ebuild @@ -0,0 +1,76 @@ +# 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[@]}" +}