diff options
author | Alec Warner <antarus@gentoo.org> | 2009-03-18 06:04:18 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2009-03-18 06:04:18 +0000 |
commit | 211f6bef0efcd0e20ad29405fc2587604053ee95 (patch) | |
tree | fb545c97bc2db5e22a12304931c5d6d786c333dc | |
parent | Initial import of libnss-cache. (diff) | |
download | gentoo-2-211f6bef0efcd0e20ad29405fc2587604053ee95.tar.gz gentoo-2-211f6bef0efcd0e20ad29405fc2587604053ee95.tar.bz2 gentoo-2-211f6bef0efcd0e20ad29405fc2587604053ee95.zip |
initial import of nsscache.
(Portage version: 2.1.4.5)
-rw-r--r-- | net-nds/nsscache/ChangeLog | 10 | ||||
-rw-r--r-- | net-nds/nsscache/Manifest | 5 | ||||
-rw-r--r-- | net-nds/nsscache/files/nsscache.conf | 120 | ||||
-rw-r--r-- | net-nds/nsscache/metadata.xml | 9 | ||||
-rw-r--r-- | net-nds/nsscache/nsscache-0.8.3.ebuild | 25 |
5 files changed, 169 insertions, 0 deletions
diff --git a/net-nds/nsscache/ChangeLog b/net-nds/nsscache/ChangeLog new file mode 100644 index 000000000000..eb3f5108bea8 --- /dev/null +++ b/net-nds/nsscache/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-nds/nsscache +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/nsscache/ChangeLog,v 1.1 2009/03/18 06:04:18 antarus Exp $ + +*nsscache-0.8.3 (18 Mar 2009) + + 18 Mar 2009; Alec Warner <antarus@gentoo.org> + +files/nsscache.conf.default, +nsscache-0.8.3.ebuild: + iniital import of nsscache + diff --git a/net-nds/nsscache/Manifest b/net-nds/nsscache/Manifest new file mode 100644 index 000000000000..a369e3ca97a6 --- /dev/null +++ b/net-nds/nsscache/Manifest @@ -0,0 +1,5 @@ +AUX nsscache.conf 2695 RMD160 77e2ed85ec57b7314eb890e0fb42a86de5ebcfe6 SHA1 05c2bd63f4877443647248b8616d3f16f9667ea3 SHA256 86babb59fde997095625e9594668c0d52f7d779b2aae964f2ec1d10b71a84772 +DIST nsscache-0.8.3.tar.gz 72612 RMD160 27c3a74488ebef68d9591efb9bd6789a2ab72b26 SHA1 23057a22407a7d6bee9a9ac2ac4c38ee8b295af9 SHA256 452037c5859aad13f3bfc123db1f9d02211ebbcb9b1073a73a2e1f783c5c2c2a +EBUILD nsscache-0.8.3.ebuild 634 RMD160 b360549f42b68ddf83bfd17f3ffc542a9fe85b04 SHA1 f1e5bc8383d154a506b1dcc65686a7960db158fd SHA256 f6ca471b5dd1321dc08c20b210edb56ebe14b5fa8c46243ec6e0e136f330c11f +MISC ChangeLog 282 RMD160 6a37ddd5c666d45af306819a0601ed69510b3b0a SHA1 0625c3bab1ebf22e02eb65c7d677a1945a3bf636 SHA256 90e5a327aa4cca13fee662dd4b66a07c3924116ecf145b0ee650ddb2025a03ab +MISC metadata.xml 350 RMD160 a41b0b9f71c20798d42b943971e02731eb25c3a9 SHA1 de77b0648df1d834a5a3a883dfef336f86edd18b SHA256 95ac973b3deadfc722ddf2173a1744d728a61d766aaee96d53b4de9bb10217f9 diff --git a/net-nds/nsscache/files/nsscache.conf b/net-nds/nsscache/files/nsscache.conf new file mode 100644 index 000000000000..5f54fe8353d1 --- /dev/null +++ b/net-nds/nsscache/files/nsscache.conf @@ -0,0 +1,120 @@ +# Example /etc/nsscache.conf - configuration for nsscache +# +# nsscache loads a config file from the environment variable NSSCACHE_CONFIG +# +# By default this is /etc/nsscache.conf +# +# Commented values are overrideable defaults, uncommented values +# require you to set them. + +[DEFAULT] + +# Default NSS data source module name +source = ldap + +# Default NSS data cache module name +cache = nssdb +#cache = files + +# NSS maps to be cached +maps = passwd, group, shadow, netgroup + +# Directory to store our update/modify timestamps +timestamp_dir = /var/lib/nsscache + +# Lockfile to use for update/repair operations +#lockfile = /var/run/nsscache + +# Defaults for specific modules; prefaced with "modulename_" + +## +# ldap module defaults. +# + +# LDAP URI to query for NSS data +ldap_uri = ldaps://ldap + +# Base for LDAP searches +ldap_base = ou=people,dc=example,dc=com + +# Default LDAP search filter for maps +ldap_filter = (objectclass=posixAccount) + +# Default LDAP search scope +#ldap_scope = one + +# Default LDAP BIND DN, empty string is an anonymous bind +#ldap_bind_dn = "" + +# Default LDAP password, empty DN and empty password is used for +# anonymous binds +#ldap_bind_password = "" + +# Default timelimit for LDAP queries, in seconds. +# The query will block for this number of seconds, or indefinitely if negative. +#ldap_timelimit = -1 + +# Default number of retry attempts +#ldap_retry_max = 3 + +# Default delay in between retry attempts +#ldap_retry_delay = 5 + +# Default setting for requiring tls certificates, one of: +# never, hard, demand, allow, try +#ldap_tls_require_cert = 'demand' + +# Default directoy for trusted CAs +#ldap_tls_cacertdir = '/usr/share/ssl' + +# Default filename for trusted CAs +#ldap_tls_cacertfile = '/usr/share/ssl/cert.pem' + + +## +# nssdb module defaults + +# Directory to store nssdb databases. Current libnss_db code requires +# the path below +#nssdb_dir = /var/lib/misc + +# Path to `makedb', supplied by the nss_db module +#nssdb_makedb = /usr/bin/makedb + +## +# files module defaults + +# Directory to store the plain text files +#files_dir = /etc + +# Suffix used on the files module database files +files_cache_filename_suffix = cache + +### +# Optional per-map sections, if present they will override the above +# defaults. The examples below show you some common values to override +# +# [passwd] +# +# ldap_base = ou=people,dc=example,dc=com + +[group] + +ldap_base = ou=group,dc=example,dc=com +ldap_filter = (objectclass=posixGroup) + +[shadow] + +ldap_filter = (objectclass=shadowAccount) + +[netgroup] + +ldap_base = ou=netgroup,dc=example,dc=com +ldap_filter = (objectclass=nisNetgroup) +files_cache_filename_suffix = + +[automount] + +ldap_base = ou=automounts,dc=example,dc=com +files_cache_filename_suffix = +cache = files diff --git a/net-nds/nsscache/metadata.xml b/net-nds/nsscache/metadata.xml new file mode 100644 index 000000000000..7a9057796091 --- /dev/null +++ b/net-nds/nsscache/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>maintainer-needed</herd> + <use> + <flag name="nssdb">Depend on sys-libs/libnss_db to handle dbm files.</flag> + <flag name="nsscache">Depend on sys-auth/libnss-cache to handle flat files</flag> + </use> +</pkgmetadata> diff --git a/net-nds/nsscache/nsscache-0.8.3.ebuild b/net-nds/nsscache/nsscache-0.8.3.ebuild new file mode 100644 index 000000000000..708bc2c811ca --- /dev/null +++ b/net-nds/nsscache/nsscache-0.8.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/nsscache/nsscache-0.8.3.ebuild,v 1.1 2009/03/18 06:04:18 antarus Exp $ + +inherit distutils + +DESCRIPTION="commandline tool to sync directory services to local cache." +HOMEPAGE="http://code.google.com/p/nsscache/" +SRC_URI="http://nsscache.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="nssdb nsscache" + +RDEPEND="dev-python/python-ldap + nssdb? ( sys-libs/nss-db ) + nsscache? ( sys-auth/libnss-cache )" +DEPEND="$RDEPEND" + +src_install() { + distutils_src_install + insinto /etc + doins "$FILESDIR/nsscache.conf" # overwrite default with working config. +} |