From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-fs/ecryptfs-utils/Manifest | 5 ++ sys-fs/ecryptfs-utils/ecryptfs-utils-108-r1.ebuild | 82 ++++++++++++++++++++++ sys-fs/ecryptfs-utils/metadata.xml | 19 +++++ 3 files changed, 106 insertions(+) create mode 100644 sys-fs/ecryptfs-utils/Manifest create mode 100644 sys-fs/ecryptfs-utils/ecryptfs-utils-108-r1.ebuild create mode 100644 sys-fs/ecryptfs-utils/metadata.xml (limited to 'sys-fs/ecryptfs-utils') diff --git a/sys-fs/ecryptfs-utils/Manifest b/sys-fs/ecryptfs-utils/Manifest new file mode 100644 index 000000000000..16a9da314844 --- /dev/null +++ b/sys-fs/ecryptfs-utils/Manifest @@ -0,0 +1,5 @@ +DIST ecryptfs-utils_108.orig.tar.gz 659465 SHA256 52838b1ad41113ba88a4318b19af10cf307100c6b3f62c608998d40312fbd7dd SHA512 856d8fac587921f1b5cd0b4ff269c7db8941b6b183506c5bc2e640a77994293f3e09ecfaef94f12c00f2378e756ecec252d3f59eebbabb4229105f8be87653ba WHIRLPOOL 0e6544df51204e0fe8b9e980cded34b49b3d4cc3ad45aa367b1806d93cfc5a0e337378fb008bee4afd0846520e00cc8ff51b3de69e00263d2338a120522b5ecb +EBUILD ecryptfs-utils-108-r1.ebuild 1993 SHA256 695ae7603e2814bd085c625b6a07768fc23b6d460cad4fb2e878964c5fdcd8f6 SHA512 97a3e55a90b6853f50f91abdf7c74fc044109d5cf1901a6e37445c4fab9cede404f7eb52e24830e8a023f468312992f8dc1a02b6a1410eb200acfa6c0d19db48 WHIRLPOOL 0e7fee24436a7d93f57e08eb302bd368974c809ac645978375ef68cbc0543fa49f44a81e19c9140e07b80de1b29b0f75b6e8d848df47e10d987c1d344980bd17 +MISC ChangeLog 2876 SHA256 0839b0bbbc226982398842cb01e1e3285339dbe64deb27f466b618f662d4b675 SHA512 857c3b0c6a803d45fc643e2fa0a9cee05031a580f825dcb6297127bcbcd44841a1dc4d88507176d38fc03f50546cd04ea99b2a2aed43231f6c4046df5b0a8100 WHIRLPOOL 94ceef5998e470845cbf164052c68457054e2aef1186236a9045b8ca54c98eec6497f50aa113127dbe0cc9372cf94eb5fe4d6593e18610d978a89e53d7b6e113 +MISC ChangeLog-2015 10210 SHA256 d57444e5e0cb39f2f687eb1045e0a8ce6b4dd9433f36adab5402e1eaa89fbe53 SHA512 8a295dd3f47be535adb76952e44b9cbd54c6065805cb21878cbb4e85512c63a75e0398ea1a37d0d5a005cfab6399acc4a8ea0a9e01d12778c146ab3235f515fa WHIRLPOOL c8ebfb1450ed272a36b051e44ad8a4315c858f2b239b627be58bb6c10b473e4be41408acdf826d6a15fa02166666416c96a15be6e4d011a1a32c00741303470b +MISC metadata.xml 727 SHA256 aa130a481824d14f524718d01a020305b396897b5e5b36df5276aaab33289a09 SHA512 87eaf8fc34e2f5ca0a2c60aa0d051901f6353e65eb6f63e29e26594588c69dd5f14039a6153bd5bc295a06674d8bb625fa43ccfd7f334188d8333f307405ab5a WHIRLPOOL 9edbeeee2b46f518ebb109d389933c7f7d3781c54ce22a3b23118b24985d932713067622ac09c3e8536053f52a817d456878eaec796c71346dafcf97d2aaef99 diff --git a/sys-fs/ecryptfs-utils/ecryptfs-utils-108-r1.ebuild b/sys-fs/ecryptfs-utils/ecryptfs-utils-108-r1.ebuild new file mode 100644 index 000000000000..0cd09f5f26ec --- /dev/null +++ b/sys-fs/ecryptfs-utils/ecryptfs-utils-108-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit flag-o-matic pam python-single-r1 linux-info autotools + +DESCRIPTION="eCryptfs userspace utilities" +HOMEPAGE="https://launchpad.net/ecryptfs" +SRC_URI="https://launchpad.net/ecryptfs/trunk/${PV}/+download/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="doc gpg gtk openssl pam pkcs11 python suid tpm" + +RDEPEND=">=sys-apps/keyutils-1.0 + >=dev-libs/libgcrypt-1.2.0:0 + dev-libs/nss + gpg? ( app-crypt/gpgme ) + gtk? ( x11-libs/gtk+:2 ) + openssl? ( >=dev-libs/openssl-0.9.7 ) + pam? ( sys-libs/pam ) + pkcs11? ( + >=dev-libs/openssl-0.9.7 + >=dev-libs/pkcs11-helper-1.04 + ) + python? ( ${PYTHON_DEPS} ) + tpm? ( app-crypt/trousers )" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/gettext + >=dev-util/intltool-0.41.0 + python? ( dev-lang/swig )" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup + + CONFIG_CHECK="~ECRYPT_FS" + linux-info_pkg_setup +} + +src_configure() { + append-cppflags -D_FILE_OFFSET_BITS=64 + + econf \ + --enable-nss \ + --with-pamdir=$(getpam_mod_dir) \ + $(use_enable doc docs) \ + $(use_enable gpg) \ + $(use_enable gtk gui) \ + $(use_enable openssl) \ + $(use_enable pam) \ + $(use_enable pkcs11 pkcs11-helper) \ + $(use_enable python pywrap) \ + $(use_enable tpm tspi) +} + +src_install(){ + emake DESTDIR="${D}" install + + if use python; then + echo "ecryptfs-utils" > "${D}$(python_get_sitedir)/ecryptfs-utils.pth" || die + fi + + use suid && fperms u+s /sbin/mount.ecryptfs_private + + find "${ED}" -name '*.la' -exec rm -f '{}' + || die +} + +pkg_postinst() { + if use suid; then + ewarn + ewarn "You have chosen to install ${PN} with the binary setuid root. This" + ewarn "means that if there are any undetected vulnerabilities in the binary," + ewarn "then local users may be able to gain root access on your machine." + ewarn + fi +} diff --git a/sys-fs/ecryptfs-utils/metadata.xml b/sys-fs/ecryptfs-utils/metadata.xml new file mode 100644 index 000000000000..8fb8852b5c3b --- /dev/null +++ b/sys-fs/ecryptfs-utils/metadata.xml @@ -0,0 +1,19 @@ + + + + + crypto@gentoo.org + Crypto + + + Enable app-crypt/gnupg key module + Enable dev-libs/openssl key + module + Enable PKCS#11 (Smartcards) key module + Enable support for Trusted Platform Module (TPM) using app-crypt/trousers + + + cpe:/a:ecryptfs:ecryptfs_utils + ecryptfs + + -- cgit v1.2.3