diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-02-23 07:51:58 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-02-23 07:51:58 +0000 |
commit | b5929f2d1025e0bce842e5ebfec1abe67f3c3c6b (patch) | |
tree | 5245586f712d2e21ab7ae19257aaeae5361d1c43 /sys-fs/ecryptfs-utils | |
parent | Shorten description to make repoman happy. (diff) | |
download | historical-b5929f2d1025e0bce842e5ebfec1abe67f3c3c6b.tar.gz historical-b5929f2d1025e0bce842e5ebfec1abe67f3c3c6b.tar.bz2 historical-b5929f2d1025e0bce842e5ebfec1abe67f3c3c6b.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha87/cvs/Linux x86_64
Diffstat (limited to 'sys-fs/ecryptfs-utils')
-rw-r--r-- | sys-fs/ecryptfs-utils/ChangeLog | 9 | ||||
-rw-r--r-- | sys-fs/ecryptfs-utils/Manifest | 18 | ||||
-rw-r--r-- | sys-fs/ecryptfs-utils/ecryptfs-utils-96.ebuild | 134 |
3 files changed, 151 insertions, 10 deletions
diff --git a/sys-fs/ecryptfs-utils/ChangeLog b/sys-fs/ecryptfs-utils/ChangeLog index a24949cef6ce..dbd35727d56d 100644 --- a/sys-fs/ecryptfs-utils/ChangeLog +++ b/sys-fs/ecryptfs-utils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/ecryptfs-utils -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog,v 1.41 2011/12/16 05:15:27 radhermit Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog,v 1.42 2012/02/23 07:51:58 radhermit Exp $ + +*ecryptfs-utils-96 (23 Feb 2012) + + 23 Feb 2012; Tim Harder <radhermit@gentoo.org> +ecryptfs-utils-96.ebuild: + Version bump. *ecryptfs-utils-95 (16 Dec 2011) diff --git a/sys-fs/ecryptfs-utils/Manifest b/sys-fs/ecryptfs-utils/Manifest index 13171f625314..06dc27b9f306 100644 --- a/sys-fs/ecryptfs-utils/Manifest +++ b/sys-fs/ecryptfs-utils/Manifest @@ -6,20 +6,22 @@ DIST ecryptfs-utils_91.orig.tar.gz 569475 RMD160 561a13e55d64f09d365d465cbfb9420 DIST ecryptfs-utils_92.orig.tar.gz 569433 RMD160 ff6c52704ad7b7494e0b35693aa5185dfa26c56d SHA1 1119a39cfa18bc855c53493476a4b0976d361edd SHA256 a1d425ab81362c4ba4e020b397bafd0cae1368cb82011d042a13ed65ec12428d DIST ecryptfs-utils_93.orig.tar.gz 558464 RMD160 f4fc2e16d1b87367fc19d7cc267aade3c598c96c SHA1 bed4f45db665a3f4c126cabf0502912a4fa8dcfa SHA256 cb393c2ae61c74dea57298cba0c8ba40d039d797817604494bfa34ceb105e9b7 DIST ecryptfs-utils_95.orig.tar.gz 567623 RMD160 e6d06270658cee36d463d3e0cd0595e788c103b0 SHA1 1fc476fb7338ff2b41cf9fc60b78ce6153503a3d SHA256 b10805cde2453511e2b046ad0323ca9bcd9cc3fac1ba3718da9aa36557acbc49 +DIST ecryptfs-utils_96.orig.tar.gz 608135 RMD160 f619bf4cd40aef4cbf52a02b5cc7ad92cead4630 SHA1 43234bd09a1c4d5293c9f6a35817472c21aab7b7 SHA256 04c43b6e7a2f6b3644a24bcf718bfde6384e74bb4266c053ac78b9cc852f2c0c EBUILD ecryptfs-utils-91.ebuild 3609 RMD160 e5568ef3d414ce70dda6b8407fc4af7a36b418e9 SHA1 87dc828e3868daa21a9abd7ab5e85863573b971e SHA256 07aef3d38d88cfab7989f61b475b7160fc37a5ad6d842f31952343609b6e4d59 EBUILD ecryptfs-utils-92.ebuild 3609 RMD160 86e8dbfb496a51b81c33e270deedfa04041e06fa SHA1 a5c2a79543af5bbd098e838f7346bd44c01b6090 SHA256 cf5329962e0b486b486af8bd5173a518c2cdcaa7ff871ac8891f0f5ea402265e EBUILD ecryptfs-utils-93.ebuild 3584 RMD160 da8ae2f1c5fa3005a27a7df616248bf21b9075a0 SHA1 e4ffe800a0b6e75c27dd900a35c4e4462d06fffc SHA256 120242b6a16ce51584796e72adf45e968877863cc11cb0acbdcf39dc929a1c01 EBUILD ecryptfs-utils-95.ebuild 3545 RMD160 e6188b846c36f4c5c1fc68649c534a26ececdb18 SHA1 e9dfba443078f429d3a4a1fcd6a2e1862e81c35f SHA256 4cbc85f0cade20798a919d6fe9ced5191a2ade5b8ab19d0609d2d0dcbbb037be -MISC ChangeLog 7548 RMD160 13570d60d5f57608c23f88ada5b8f9134d9e1385 SHA1 d6136a86f2e5a3ffdf9dd6deb91a76c0cd941f41 SHA256 7322f59f0a58e2e8d50eb57d81bf06c05c73ddc96f23f63d4eb22188e914b1b4 +EBUILD ecryptfs-utils-96.ebuild 3545 RMD160 6bd5a9ca7f070fa2f40a84fd2d81ce14d615292e SHA1 032775d9e72200bb5d3c92eb87bac1c7c09b39b3 SHA256 9c0214b65db0db8dcaa008bd97a4f3c8fa31cda5d03e29186925ae38ca2c95bd +MISC ChangeLog 7675 RMD160 d87038acd98d3ce4054bff0267ceffa0e5e1bf45 SHA1 aa19e0f7700ea4d007dd29ae54f576996df77862 SHA256 4e1abef644df16b2a859504388ca5eb61c02c963328c104ee508519ed6d00318 MISC metadata.xml 530 RMD160 7bf4c9af3f59f4c07682bafde0592daa9504f85b SHA1 9b2b50d4a0b4b792f320e48f27577072f55904ed SHA256 26f3ef615c7e9d6f9300864ecccb8990fc9e80728292903d5e89f66b0c66f70e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBCgAGBQJO6tP5AAoJEEqz6FtPBkyjoWYH/3SQhgRagQjYSl19XknqAZRv -Q5iwHhgHQtFn4w3ALdVyLO1DD41K+i4Fiv2ZATWgmMhkyV2UdLgCVnkHotRS7MwA -kmxZ8ck6GdwnAgQbFshaOg4q6djvd71WYcNitNtcL3l1yhcwksfzvEQ48AKYQXz1 -egFcTvbIzvmQ6hfA9RcGqrm3Zu8UFE9Yn0G6dtZJiRdtpQlN4tCvLwVyY23OWOWO -7ubcGobIMZ7RrxJNVMwlXdRiuzkTzf22Xe7cL5uIHs212Tns+9d7Opuc5sWXpE/4 -ygRy68GuaBduVuoWBxYBLhtjl023v+npL0c3F9G2oJPMQ1Xm5+zm8TsfHrei3xk= -=cdfX +iQEcBAEBCgAGBQJPRfAnAAoJEEqz6FtPBkyj4OgH+gI4KaLbeGdVQDths5jmu0wt +e8pKptrJjf06uYeL3H204lOgtMM6VJZ0i0ZrsuEGq248lHDYBOF2TUjZxeEN6kML +JnAMTaq3+WnRo4JO76INneDPyqNT+pyHIIN3O01oyCOHfyXtwidT7Y41kmaKZpgA +nEtb6YgqPxDEzhRcd+ivklhpFOEi2p7m87ClPCjuDEUc1GqKar8y23f6sApowhO+ +bSe5QCjc7eQtW4uKr5sU0al943VoHG8BDa7nqEWPgCX6jjgj+aQHBUeuclVr3TZ+ +WQae7oTaIhJnvjtbP9bBy1+7YbjmBgRjabtrsCoX7jVQeT06T+BKzV0e6aEBUr8= +=hs0c -----END PGP SIGNATURE----- diff --git a/sys-fs/ecryptfs-utils/ecryptfs-utils-96.ebuild b/sys-fs/ecryptfs-utils/ecryptfs-utils-96.ebuild new file mode 100644 index 000000000000..ce85a02d56d8 --- /dev/null +++ b/sys-fs/ecryptfs-utils/ecryptfs-utils-96.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ecryptfs-utils-96.ebuild,v 1.1 2012/02/23 07:51:58 radhermit Exp $ + +EAPI="4" +PYTHON_DEPEND="python? 2:2.5" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.4 3.* *-jython" + +inherit flag-o-matic pam python linux-info autotools + +DESCRIPTION="eCryptfs userspace utilities" +HOMEPAGE="https://launchpad.net/ecryptfs" +SRC_URI="http://launchpad.net/ecryptfs/trunk/${PV}/+download/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc gpg gtk openssl pam pkcs11 python suid tpm" + +RDEPEND=">=sys-apps/keyutils-1.0 + >=dev-libs/libgcrypt-1.2.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 + ) + tpm? ( app-crypt/trousers )" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.9.0 + sys-devel/gettext + >=dev-util/intltool-0.41.0 + python? ( dev-lang/swig )" + +pkg_setup() { + use python && python_pkg_setup + + CONFIG_CHECK="~ECRYPT_FS" + linux-info_pkg_setup +} + +src_prepare() { + echo "#!/bin/sh" > py-compile + + # Python bindings are built/installed manually. + sed -e "/SUBDIRS =/s/ libecryptfs-swig//" -i src/Makefile.am || die "sed failed" + + eautoreconf +} + +src_configure() { + append-flags -D_FILE_OFFSET_BITS=64 + + econf \ + --docdir="/usr/share/doc/${PF}" \ + --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_compile() { + default + + if use python; then + python_copy_sources src/libecryptfs-swig + building() { + emake \ + PYTHON="$(PYTHON)" \ + PYTHON_CPPFLAGS="-I$(python_get_includedir)" \ + PYTHON_LDFLAGS="-L$(python_get_libdir) $(python_get_library -l)" \ + PYTHON_SITE_PKG="$(python_get_sitedir)" \ + PYTHON_VERSION="$(python_get_version)" \ + SWIG_PYTHON_CPPFLAGS="-I$(python_get_includedir)" \ + pyexecdir="$(python_get_sitedir)" \ + pythondir="$(python_get_sitedir)" + } + python_execute_function -s --source-dir src/libecryptfs-swig building + fi +} + +src_install(){ + emake DESTDIR="${D}" install + + if use python; then + installation() { + emake \ + DESTDIR="${D}" \ + PYTHON="$(PYTHON)" \ + PYTHON_CPPFLAGS="-I$(python_get_includedir)" \ + PYTHON_LDFLAGS="-L$(python_get_libdir) $(python_get_library -l)" \ + PYTHON_SITE_PKG="$(python_get_sitedir)" \ + PYTHON_VERSION="$(python_get_version)" \ + SWIG_PYTHON_CPPFLAGS="-I$(python_get_includedir)" \ + pyexecdir="$(python_get_sitedir)" \ + pythondir="$(python_get_sitedir)" \ + install || return 1 + echo "ecryptfs-utils" > "${ED}$(python_get_sitedir)/ecryptfs-utils.pth" + } + python_execute_function -s --source-dir src/libecryptfs-swig installation + + python_clean_installation_image + fi + + use suid && fperms u+s /sbin/mount.ecryptfs_private + + find "${ED}" -name '*.la' -exec rm -f '{}' + +} + +pkg_postinst() { + use python && python_mod_optimize ecryptfs-utils + + 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 +} + +pkg_postrm() { + use python && python_mod_cleanup ecryptfs-utils +} |