summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-07 21:57:42 +0000
committerMike Frysinger <vapier@gentoo.org>2009-06-07 21:57:42 +0000
commit13d44b658693e63a2df449389688f82c5066d0fd (patch)
tree14c359a3df3c76aa2edfeec1399eb6b8efb32456 /sys-apps/unscd
parentx11-libs/libX11: bump to 1.2.1 (diff)
downloadhistorical-13d44b658693e63a2df449389688f82c5066d0fd.tar.gz
historical-13d44b658693e63a2df449389688f82c5066d0fd.tar.bz2
historical-13d44b658693e63a2df449389688f82c5066d0fd.zip
Version bump #273079 by Raúl Porcel and add init.d script #266891 by Heath Caldwell.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/unscd')
-rw-r--r--sys-apps/unscd/ChangeLog9
-rw-r--r--sys-apps/unscd/Manifest15
-rwxr-xr-xsys-apps/unscd/files/unscd.initd40
-rw-r--r--sys-apps/unscd/unscd-0.39.ebuild27
4 files changed, 89 insertions, 2 deletions
diff --git a/sys-apps/unscd/ChangeLog b/sys-apps/unscd/ChangeLog
index 0464a04aaabd..9b70b43d836f 100644
--- a/sys-apps/unscd/ChangeLog
+++ b/sys-apps/unscd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/unscd
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/unscd/ChangeLog,v 1.5 2009/04/14 09:59:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/unscd/ChangeLog,v 1.6 2009/06/07 21:57:42 vapier Exp $
+
+*unscd-0.39 (07 Jun 2009)
+
+ 07 Jun 2009; Mike Frysinger <vapier@gentoo.org> +unscd-0.39.ebuild,
+ +files/unscd.initd:
+ Version bump #273079 by Raúl Porcel and add init.d script #266891 by
+ Heath Caldwell.
14 Apr 2009; Raúl Porcel <armin76@gentoo.org> unscd-0.35.ebuild:
x86 stable wrt #265571
diff --git a/sys-apps/unscd/Manifest b/sys-apps/unscd/Manifest
index 8e7039e03a76..c6b2f62615de 100644
--- a/sys-apps/unscd/Manifest
+++ b/sys-apps/unscd/Manifest
@@ -1,6 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX unscd.initd 1081 RMD160 2301eda281c0925e86d2fba3465973be2a59500f SHA1 277afeb89c6a5833df147e6148d5e2bb886bd45f SHA256 bf92c05d189b158eafc20d9bc14dc61097932a939904b0b1fa100d36b9a903d4
DIST nscd-0.35.c 58891 RMD160 49962d43454233e11b2dbdbbba496eec00ff5ffd SHA1 097b789723691de65dbcc5f87158d1e117093140 SHA256 7af7b5b9d61a480ce676a4b80e042b9acca7e7be23989986bbcaf4dbbfa3a31a
DIST nscd-0.37.c 62179 RMD160 4ce303daee7447159e903bcd2903f074a1de9338 SHA1 7712ef222405693285c80657b1fe89f1663b47ee SHA256 4089f22c1b8a9696d88fb9ea382d227dafd1587bd43b0da90bee9afcccba3e11
+DIST nscd-0.39.c 62982 RMD160 ae08cf22a3119652bb7d059c0408f59fdaf8f152 SHA1 29398f88bee93d5aae8df9385c4826adbb55d928 SHA256 23cf1026db790396a748e5263584727a61254607b0640d04bd91d416fe8d1e3f
EBUILD unscd-0.35.ebuild 633 RMD160 87faf9d4fbf376c7f59832d4fadf31ece61deb3b SHA1 74379ed0b0074de2493dad7b809aec6b7891da4c SHA256 2882016a33e43e011ef593b02b48ce09435788c30c8b9e18abf8f96a3f584a14
EBUILD unscd-0.37.ebuild 595 RMD160 7cd6a0ddaf55a5ec741a406e28b018a1fcaa9947 SHA1 5cbbe27726b140bf3c2fa50e808c3d93bb7cb3a7 SHA256 e3e1e8bbb7129764cc9e459e09ea36694c701bd2838530b793024c72da7cfa1a
-MISC ChangeLog 780 RMD160 562a812f975ecfe9cd1d2933ff2e1f1f3f02422c SHA1 eed449d611fcdade87fa315dfb0803baa2247804 SHA256 5c349724269abf192663191dc213af0ff80abe2e6b722db9e0cacbd7d720cc7b
+EBUILD unscd-0.39.ebuild 625 RMD160 d58af6ad325f9eab62897375dc5b920888eb9ca4 SHA1 4b5facb5828d3d2b62ca7f99128bceaa6c53396a SHA256 4572976fe1dee65fb736bde026e0abef2aa33cdc331cd1249f1bad2653bb528d
+MISC ChangeLog 989 RMD160 c55892454ed565a1aa29ebacec0168933f434d6d SHA1 b12d66b1b2456f34374cf347fcc234091a37f51b SHA256 f1dcc4a3e40ee39e9fcd52037428343566422f4373735a0b6559ceebf98b92a7
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkosN9sACgkQn/5bYzqsSmGKsACeOaKXg+xzRle0ZNqqvdl0/+HH
+0z4AoJx0jTL9/RinUtFGCn8mEeCdesKa
+=N75+
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/unscd/files/unscd.initd b/sys-apps/unscd/files/unscd.initd
new file mode 100755
index 000000000000..631271f305e5
--- /dev/null
+++ b/sys-apps/unscd/files/unscd.initd
@@ -0,0 +1,40 @@
+#!/sbin/runscript
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/unscd/files/unscd.initd,v 1.1 2009/06/07 21:57:42 vapier Exp $
+
+depend() {
+ use dns ldap net slapd
+}
+
+checkconfig() {
+ if [ ! -d /var/run/nscd ] ; then
+ mkdir -p /var/run/nscd
+ chmod 755 /var/run/nscd
+ fi
+ if [ -z "${NSCD_PERMS_OK}" ] && [ "$(stat -c %a /var/run/nscd)" != "755" ] ; then
+ echo ""
+ ewarn "nscd run dir is not world readable, you should reset the perms:"
+ ewarn "chmod 755 /var/run/nscd"
+ ewarn "chmod a+rw /var/run/nscd/socket"
+ echo ""
+ ewarn "To disable this warning, set 'NSCD_PERMS_OK=1' in /etc/conf.d/unscd"
+ echo ""
+ fi
+}
+
+start() {
+ checkconfig
+
+ ebegin "Starting Name Service Cache Daemon (unscd)"
+ start-stop-daemon --start --quiet \
+ --exec /usr/sbin/unscd --pidfile /var/run/nscd/nscd.pid
+ eend $?
+}
+
+stop() {
+ ebegin "Shutting down Name Service Cache Daemon (unscd)"
+ start-stop-daemon --stop --quiet \
+ --exec /usr/sbin/unnscd --pidfile /var/run/nscd/nscd.pid
+ eend $?
+}
diff --git a/sys-apps/unscd/unscd-0.39.ebuild b/sys-apps/unscd/unscd-0.39.ebuild
new file mode 100644
index 000000000000..91e8881ccb31
--- /dev/null
+++ b/sys-apps/unscd/unscd-0.39.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/unscd/unscd-0.39.ebuild,v 1.1 2009/06/07 21:57:42 vapier Exp $
+
+DESCRIPTION="simple & stable nscd replacement"
+HOMEPAGE="http://busybox.net/~vda/unscd/README"
+SRC_URI="http://busybox.net/~vda/unscd/nscd-${PV}.c"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp "${DISTDIR}"/nscd-${PV}.c unscd.c || die
+}
+
+src_compile() {
+ emake unscd || die
+}
+
+src_install() {
+ newinitd "${FILESDIR}"/unscd.initd unscd || die
+ dosbin unscd || die
+}