sys-fs/cryptmount: bump to version 5.3.2
authorConrad Kostecki <conikost@gentoo.org>
Thu, 5 Dec 2019 21:00:23 +0000 (22:00 +0100)
committerConrad Kostecki <conikost@gentoo.org>
Thu, 5 Dec 2019 21:46:06 +0000 (22:46 +0100)
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
sys-fs/cryptmount/Manifest
sys-fs/cryptmount/cryptmount-5.3.2.ebuild [new file with mode: 0644]

index 837cf9608ed872d8f191be979b7689bf6baa2467..587aa0df70467a8b45d1abdd88af0518937552d4 100644 (file)
@@ -1 +1,2 @@
 DIST cryptmount-5.3.1.tar.gz 748020 BLAKE2B 63c66717ed8a8ede983894564576d26720a571b47bd33f3cd160596d831c017c7239b307eb9fb8112c6a51f91799117a47392675f9fe53c0286ada84887d528e SHA512 c4bfb7a2bd2f672dfed014d3a4b1feaa4d20237f9b658ea981a0a054e83ad4d0282089a006ceb769ee05e0cf6ecd004c97b48d69973ed630330e77bf13925680
+DIST cryptmount-5.3.2.tar.gz 545190 BLAKE2B 708c6ba33060c0698361de7bcdc5e0a5932e063c9178c0a6b9cfb1cba9ec236337dbda0664e8755cc017113ee8ef0149c47fc85019a57ac84bf240790d5d798c SHA512 972c7fefadb86bb82cdeb96b185f45bec08ac07d39474a4c7e2a473bc2453624ffcc387b6836a02260dcd0d1176a5a743c45bdf3d7e78d2f519f02a48c62a6b8
diff --git a/sys-fs/cryptmount/cryptmount-5.3.2.ebuild b/sys-fs/cryptmount/cryptmount-5.3.2.ebuild
new file mode 100644 (file)
index 0000000..76c9f7f
--- /dev/null
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info systemd
+
+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)
+                               <*>/<M> 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[@]}"
+}