diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2016-01-01 11:20:57 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2016-01-02 11:44:10 -0800 |
commit | 072752b8b9ba5162deb4f0c6ec9487ac7c1f1708 (patch) | |
tree | e82e5dc4ca9c63752f407377d42a718d6320410c | |
parent | dev-perl/DBD-Pg: Specify postgresql slot (any) (diff) | |
download | gentoo-072752b8b9ba5162deb4f0c6ec9487ac7c1f1708.tar.gz gentoo-072752b8b9ba5162deb4f0c6ec9487ac7c1f1708.tar.bz2 gentoo-072752b8b9ba5162deb4f0c6ec9487ac7c1f1708.zip |
net-nds/nsscache: bump.
Package-Manager: portage-2.2.24
-rw-r--r-- | net-nds/nsscache/Manifest | 1 | ||||
-rw-r--r-- | net-nds/nsscache/nsscache-0.30.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/net-nds/nsscache/Manifest b/net-nds/nsscache/Manifest index 12bd683f29c5..2380aec1616c 100644 --- a/net-nds/nsscache/Manifest +++ b/net-nds/nsscache/Manifest @@ -1 +1,2 @@ DIST nsscache-0.23.tar.gz 92603 SHA256 b33ea574cd6e9c4f5ce57b8fae9dd64a710ec89d3f382c879f0af8c6215d0d9e SHA512 2bce655f6e8b64eb258779f80620d4514729d221ce9ed9ca7f675c22faeca400478827f27befa9cdac5e95f33934609d84d520af71f756721e22aa0c7cef82d6 WHIRLPOOL 78d6e8abdc4d66df667d2c9e3ab4c6e1c065a224283c94ab44bd51209db373d896b7221923d1948e7cdc36dcfc752d9f98162c3ece95955578b9b7c0c5b28dd8 +DIST nsscache-0.30.tar.gz 109615 SHA256 9cbae8768b6671ec7d8a94d76c62be69cd4c704ea792b50b6dbfa2786cfe19e4 SHA512 22c58904eadd2e69405c42263c1c85c7b612151466386870fbea7685ab32835250a84f1acd83fca6f3289582c74df5371cbfb4f354679a302f240fd0ff334712 WHIRLPOOL b9b9384f8c238a49f44ab9037d598f7a4795a52ae6e62de352127a7a53546bb84861b943282c58680fb2c088a5b9a1a4a0c3bb921eecec2e26a2f92b83137718 diff --git a/net-nds/nsscache/nsscache-0.30.ebuild b/net-nds/nsscache/nsscache-0.30.ebuild new file mode 100644 index 000000000000..18a0d1c792e7 --- /dev/null +++ b/net-nds/nsscache/nsscache-0.30.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils distutils-r1 + +DESCRIPTION="commandline tool to sync directory services to local cache" +HOMEPAGE="https://github.com/google/nsscache" +SRC_URI="https://github.com/google/nsscache/archive/version/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +IUSE="nssdb nsscache" + +DEPEND="${PYTHON_DEPS} + dev-python/python-ldap[${PYTHON_USEDEP}] + dev-python/pycurl[${PYTHON_USEDEP}] + nssdb? ( dev-python/bsddb3[${PYTHON_USEDEP}] )" +RDEPEND="${DEPEND} + nssdb? ( sys-libs/nss-db ) + nsscache? ( >=sys-auth/libnss-cache-0.10 )" +RESTRICT="test" +S="${WORKDIR}/${PN}-version-${PV}" + +src_prepare() { + find "${S}" -name '*.py' -exec \ + sed -i '/^import bsddb$/s,bsddb,bsddb3 as bsddb,g' \ + {} \+ + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + + doman nsscache.1 nsscache.conf.5 + dodoc THANKS nsscache.cron + + keepdir /var/lib/nsscache +} |