diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-15 16:03:50 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-15 16:03:50 +0000 |
commit | fd4f20f45c624f059ea96c5800efd16c7c1ea4ea (patch) | |
tree | e040947654b73573d15f5f31dfdfc7cda53a5320 /sys-fs | |
parent | slotmove old libpngs, #323649 (diff) | |
download | historical-fd4f20f45c624f059ea96c5800efd16c7c1ea4ea.tar.gz historical-fd4f20f45c624f059ea96c5800efd16c7c1ea4ea.tar.bz2 historical-fd4f20f45c624f059ea96c5800efd16c7c1ea4ea.zip |
Version bump.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'sys-fs')
-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-83.ebuild | 131 |
3 files changed, 142 insertions, 5 deletions
diff --git a/sys-fs/ecryptfs-utils/ChangeLog b/sys-fs/ecryptfs-utils/ChangeLog index 05b9f2f5b9a6..96cb2d9196b3 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-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog,v 1.28 2009/11/27 19:44:24 arfrever Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog,v 1.29 2010/06/15 16:03:50 arfrever Exp $ + +*ecryptfs-utils-83 (15 Jun 2010) + + 15 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -ecryptfs-utils-79.ebuild, +ecryptfs-utils-83.ebuild: + Version bump. *ecryptfs-utils-82 (27 Nov 2009) diff --git a/sys-fs/ecryptfs-utils/Manifest b/sys-fs/ecryptfs-utils/Manifest index fa788f213aa0..ebf3c628b874 100644 --- a/sys-fs/ecryptfs-utils/Manifest +++ b/sys-fs/ecryptfs-utils/Manifest @@ -1,6 +1,6 @@ -DIST ecryptfs-utils_79.orig.tar.gz 519934 RMD160 4f61b0fc4febaa1d00fcc7dcf3b608a583207664 SHA1 e76756f29784637813c2f468d64501a1306dc968 SHA256 adf4f2fb128fe4e1b2fd7707dcbec08d7852d29be749fe3d96f8065e7f555e53 DIST ecryptfs-utils_82.orig.tar.gz 513756 RMD160 7368f6ca51c1bc351156522d5d908d246a2ecbea SHA1 ad22e25eeddbedcad27191efd893a150037224fc SHA256 4625130b308e219b93611b53ba4b55db722efcc2d014887ebee1dc7775e47af0 -EBUILD ecryptfs-utils-79.ebuild 1748 RMD160 49bb8e1bb55a8f2a5d793749de1daccbb6ade027 SHA1 f62add8af053131646f6f0abb5b14add99e16e96 SHA256 4a9e6bf119f71e1903627d37c0fb2470d64a3be919bdc5f41308539db1a5246d +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 -MISC ChangeLog 5224 RMD160 f3f5850d401ac75c701eb212bc5cfa6c4f9e1ff6 SHA1 77901e4b4dc20ee5713da8a3b3bdf20525b51bc8 SHA256 32d07c68963a2f3cb2af3c42ee3b50d81bfc8f857932d9690a14d237bba943ab +EBUILD ecryptfs-utils-83.ebuild 3424 RMD160 1735333c2ac54c4ca60d60165cbd05b9305767f8 SHA1 2c6d17de1a95c22b8286594170552179bb4fe14d SHA256 533923ae3c75811ec980166007068d852910de44001f820ef6c83002eaa87000 +MISC ChangeLog 5404 RMD160 00ea877a97378c63166f9d3cd534031397d13df7 SHA1 929ad85d528d36ee8a980d25dcdda8bf9dd64bea SHA256 26a7028fcc1051f103b09b6e1e1f4a6b1eb0bc9a46f9ae3af3cf2de4d3cc3ce8 MISC metadata.xml 530 RMD160 7bf4c9af3f59f4c07682bafde0592daa9504f85b SHA1 9b2b50d4a0b4b792f320e48f27577072f55904ed SHA256 26f3ef615c7e9d6f9300864ecccb8990fc9e80728292903d5e89f66b0c66f70e diff --git a/sys-fs/ecryptfs-utils/ecryptfs-utils-83.ebuild b/sys-fs/ecryptfs-utils/ecryptfs-utils-83.ebuild new file mode 100644 index 000000000000..f9be53cb818b --- /dev/null +++ b/sys-fs/ecryptfs-utils/ecryptfs-utils-83.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ecryptfs-utils-83.ebuild,v 1.1 2010/06/15 16:03:50 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="python? 2:2.5" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.4 3.*" + +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 + 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 +} |