diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-06 21:59:44 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-06 21:59:44 +0000 |
commit | ff3e468f3cdaeb7874b937d4b33763c1c7efeccd (patch) | |
tree | 6697982088147e386e2000b0b6c3e902a758339c | |
parent | Delete older ebuild. (diff) | |
download | historical-ff3e468f3cdaeb7874b937d4b33763c1c7efeccd.tar.gz historical-ff3e468f3cdaeb7874b937d4b33763c1c7efeccd.tar.bz2 historical-ff3e468f3cdaeb7874b937d4b33763c1c7efeccd.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha20/cvs/Linux x86_64
-rw-r--r-- | sys-fs/ecryptfs-utils/ChangeLog | 10 | ||||
-rw-r--r-- | sys-fs/ecryptfs-utils/Manifest | 6 | ||||
-rw-r--r-- | sys-fs/ecryptfs-utils/ecryptfs-utils-85.ebuild | 133 |
3 files changed, 144 insertions, 5 deletions
diff --git a/sys-fs/ecryptfs-utils/ChangeLog b/sys-fs/ecryptfs-utils/ChangeLog index 151213898acb..eecf1b37497f 100644 --- a/sys-fs/ecryptfs-utils/ChangeLog +++ b/sys-fs/ecryptfs-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/ecryptfs-utils -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog,v 1.30 2010/07/07 16:43:54 ssuominen Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog,v 1.31 2011/02/06 21:59:44 arfrever Exp $ + +*ecryptfs-utils-85 (06 Feb 2011) + + 06 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -ecryptfs-utils-82.ebuild, +ecryptfs-utils-85.ebuild: + Version bump. 07 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> ecryptfs-utils-83.ebuild: diff --git a/sys-fs/ecryptfs-utils/Manifest b/sys-fs/ecryptfs-utils/Manifest index c62824adfbe0..f9ca4bca4fb7 100644 --- a/sys-fs/ecryptfs-utils/Manifest +++ b/sys-fs/ecryptfs-utils/Manifest @@ -1,6 +1,6 @@ -DIST ecryptfs-utils_82.orig.tar.gz 513756 RMD160 7368f6ca51c1bc351156522d5d908d246a2ecbea SHA1 ad22e25eeddbedcad27191efd893a150037224fc SHA256 4625130b308e219b93611b53ba4b55db722efcc2d014887ebee1dc7775e47af0 DIST ecryptfs-utils_83.orig.tar.gz 548235 RMD160 898d755a5218283f444be0e296d33fcccaa0974b SHA1 ab82032679c60bfc702dc339b2c9d506ace0dc34 SHA256 ede721fa2dba9cb3dadf89e5a21c555be35fa031abd841073fcc6f92e3b29dee -EBUILD ecryptfs-utils-82.ebuild 3152 RMD160 ac23805414b62ac9ce819a0cde1406c104011b0e SHA1 e8421bf36b0485bb43a06e141c432148a3df1f6b SHA256 f14047682f41d795af5dde92470b2930f9b1ba9b5f0df55c419bc17602501e2e +DIST ecryptfs-utils_85.orig.tar.gz 542835 RMD160 6d425b853f001c9a30b8c27b7999373e91ba08fe SHA1 d5ec70bbfccdf42ac0a44eda25bb0953391a4ff3 SHA256 4ca6c0a186d7bd5a37124cefb4aa15e321f11972a697db958fae76e8effa0afa EBUILD ecryptfs-utils-83.ebuild 3463 RMD160 dcecbf97f34212ddd999caebcaf3b63ee6f80b59 SHA1 0850e81e537bc1651039cc0c337f681ce9df1ca4 SHA256 d4007bfcb6e4aa41927534dc64d39e5ade249950d5c68bb3c62f8d3c7b23f61e -MISC ChangeLog 5577 RMD160 9d12471e2b4c9d6cb76f09b8da1439d68c0709ed SHA1 dba20c918de764678a8a02715968b5f5169c2baa SHA256 6ac1305d856aa5622c5590128391b4ef329d1dc038677807230ae6a3cbbb31c4 +EBUILD ecryptfs-utils-85.ebuild 3471 RMD160 1be6a734e9960c0d3b0fb5ef9a8369b10e377299 SHA1 4568806edc19d8433d58d9a46ded1de605836152 SHA256 0043e40a50c4b95e40085b9b9fec1cab025c974e50355c6696af64ceb6be66ab +MISC ChangeLog 5756 RMD160 5f715e1555e1d134f3c1b2683d7e4a2e1c8fab8b SHA1 50442eb1ba7d606461d65518433bdb24528ea3c2 SHA256 13bda6d24e1154b8104e39f0cfaf151595b808ea6a81b68a4f405d857a343737 MISC metadata.xml 530 RMD160 7bf4c9af3f59f4c07682bafde0592daa9504f85b SHA1 9b2b50d4a0b4b792f320e48f27577072f55904ed SHA256 26f3ef615c7e9d6f9300864ecccb8990fc9e80728292903d5e89f66b0c66f70e diff --git a/sys-fs/ecryptfs-utils/ecryptfs-utils-85.ebuild b/sys-fs/ecryptfs-utils/ecryptfs-utils-85.ebuild new file mode 100644 index 000000000000..479dd2aafab3 --- /dev/null +++ b/sys-fs/ecryptfs-utils/ecryptfs-utils-85.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ecryptfs-utils-85.ebuild,v 1.1 2011/02/06 21:59:43 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="python? 2:2.5" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.4 3.* *-jython" + +inherit flag-o-matic pam python + +DESCRIPTION="eCryptfs userspace utilities" +HOMEPAGE="http://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+ ) + 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 + python? ( dev-lang/swig )" + +pkg_setup() { + if use python; then + python_pkg_setup + fi +} + +src_prepare() { + echo "#!/bin/sh" > py-compile + + # Python bindings are built/installed manually. + sed -e "/SUBDIRS =/s/ libecryptfs-swig//" -i src/Makefile.{am,in} || die "sed failed" +} + +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 || die "emake install failed" + + 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 +} + +pkg_postinst() { + if use python; then + python_mod_optimize ecryptfs-utils + fi + + 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() { + if use python; then + python_mod_cleanup ecryptfs-utils + fi +} |