Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/nsscache/
Date: Tue, 02 Feb 2016 00:44:15
Message-Id: 1454373823.2449765dd274313c0fcee98505df48b31ff96743.robbat2@gentoo
1 commit: 2449765dd274313c0fcee98505df48b31ff96743
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 2 00:21:18 2016 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 00:43:43 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2449765d
7
8 net-nds/nsscache: bump.
9
10 Package-Manager: portage-2.2.27
11 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
12
13 net-nds/nsscache/Manifest | 1 +
14 net-nds/nsscache/nsscache-0.32.ebuild | 49 +++++++++++++++++++++++++++++++++++
15 2 files changed, 50 insertions(+)
16
17 diff --git a/net-nds/nsscache/Manifest b/net-nds/nsscache/Manifest
18 index c567885..702d918 100644
19 --- a/net-nds/nsscache/Manifest
20 +++ b/net-nds/nsscache/Manifest
21 @@ -3,3 +3,4 @@ DIST nsscache-0.30-gentoo-authorized-keys-command.py 8004 SHA256 956323bc311381d
22 DIST nsscache-0.30-r3-gentoo-authorized-keys-command.py 11974 SHA256 90069477763e1f81d5febe8d3d6d50c663da10cf8087512bb45c52bf0b109a05 SHA512 b660a6ae19e6e42efbb07d0a368704706b0a0bd1bf0b2c84855f0d1c00d4cda80872432f5a25384d0c27e99bf60072beb12975bcfa0201b52fa040d0e6bc2da2 WHIRLPOOL 91c94a867960ec0527af15be69107fb05d080f64e2a91bcbfa5f686cb98c34cb31551be47a76cc3616094bb5a36f31db07d3e6a5f5d14e85e2891781d3899d1c
23 DIST nsscache-0.30.tar.gz 109615 SHA256 9cbae8768b6671ec7d8a94d76c62be69cd4c704ea792b50b6dbfa2786cfe19e4 SHA512 22c58904eadd2e69405c42263c1c85c7b612151466386870fbea7685ab32835250a84f1acd83fca6f3289582c74df5371cbfb4f354679a302f240fd0ff334712 WHIRLPOOL b9b9384f8c238a49f44ab9037d598f7a4795a52ae6e62de352127a7a53546bb84861b943282c58680fb2c088a5b9a1a4a0c3bb921eecec2e26a2f92b83137718
24 DIST nsscache-0.31.tar.gz 108073 SHA256 ce70d854062bea68e6af37b0889ec9fc00371eb361cd205e8137604ccb90f646 SHA512 1be90b0217605f86d2effc6063a805fb604f535386cc9f2eb8b0244ab1293521fd1342f52e3fad98c7d95cf66db3dabf93747bf40ce5ed2bf70c8c07382001a4 WHIRLPOOL 327806f957492273ca4d3b3c3d62987a335f222448fa8f8545ff217108e5ad630c08676adab7c0425c1f4efbcb5064903de1964e1ef8cbc34f9c876cfbc6f508
25 +DIST nsscache-0.32.tar.gz 112333 SHA256 b6cd574f38230ce509064010fcf646429eb4dfb98eb2a00ed0c9ae21a6f4f279 SHA512 c35f539ea017a328c1630031b7934c231b256d3f2198c6764954c42f36ed281432ff97667e5754692971b4f24be38887406f98718d5f49d364e1e3eebb32185f WHIRLPOOL 3e04b0c22e2d4ca676cb5d7ffae8c735db10179c0b2dd55b947d237b25b280d28126632ebbef85918ca76a2bc9d8a9b9a626a0a216ef937059fdde22896c1fa5
26
27 diff --git a/net-nds/nsscache/nsscache-0.32.ebuild b/net-nds/nsscache/nsscache-0.32.ebuild
28 new file mode 100644
29 index 0000000..11f8167
30 --- /dev/null
31 +++ b/net-nds/nsscache/nsscache-0.32.ebuild
32 @@ -0,0 +1,49 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +PYTHON_COMPAT=( python2_7 )
39 +
40 +inherit eutils distutils-r1
41 +
42 +DESCRIPTION="commandline tool to sync directory services to local cache"
43 +HOMEPAGE="https://github.com/google/nsscache"
44 +SCRIPT_A='nsscache-0.30-r3-gentoo-authorized-keys-command.py'
45 +SRC_URI="
46 + https://github.com/google/nsscache/archive/version/${PV}.tar.gz -> ${P}.tar.gz
47 + https://dev.gentoo.org/~robbat2/${SCRIPT_A}"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 +IUSE="nssdb nsscache"
54 +
55 +DEPEND="${PYTHON_DEPS}
56 + dev-python/python-ldap[${PYTHON_USEDEP}]
57 + dev-python/pycurl[${PYTHON_USEDEP}]
58 + dev-python/bsddb3[${PYTHON_USEDEP}]"
59 +RDEPEND="${DEPEND}
60 + nssdb? ( sys-libs/nss-db )
61 + nsscache? ( >=sys-auth/libnss-cache-0.10 )"
62 +RESTRICT="test"
63 +S="${WORKDIR}/${PN}-version-${PV}"
64 +
65 +src_prepare() {
66 + find "${S}" -name '*.py' -exec \
67 + sed -i '/^import bsddb$/s,bsddb,bsddb3 as bsddb,g' \
68 + {} \+
69 + distutils-r1_src_prepare
70 +}
71 +
72 +src_install() {
73 + distutils-r1_src_install
74 +
75 + doman nsscache.1 nsscache.conf.5
76 + dodoc THANKS nsscache.cron CONTRIBUTING.md README.md
77 + exeinto /usr/libexec/nsscache
78 + newexe "${DISTDIR}"/"${SCRIPT_A}" authorized-keys-command.py
79 +
80 + keepdir /var/lib/nsscache
81 +}