summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-09-29 05:24:47 +0000
committerMike Frysinger <vapier@gentoo.org>2004-09-29 05:24:47 +0000
commitf04801569da69ed46f104a57f152dd8473a8a337 (patch)
tree621e8e61a7f91428197c5f87cab30f93ac2444f2 /sys-libs
parentFixing Manifest/digest and closing bug #51807. (diff)
downloadhistorical-f04801569da69ed46f104a57f152dd8473a8a337.tar.gz
historical-f04801569da69ed46f104a57f152dd8473a8a337.tar.bz2
historical-f04801569da69ed46f104a57f152dd8473a8a337.zip
install the nscd init.d script #43076
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/ChangeLog8
-rw-r--r--sys-libs/glibc/Manifest36
-rwxr-xr-xsys-libs/glibc/files/nscd66
-rw-r--r--sys-libs/glibc/glibc-2.2.5-r9.ebuild8
-rw-r--r--sys-libs/glibc/glibc-2.3.2-r11.ebuild8
-rw-r--r--sys-libs/glibc/glibc-2.3.3.20040420-r1.ebuild8
-rw-r--r--sys-libs/glibc/glibc-2.3.4.20040619-r1.ebuild8
-rw-r--r--sys-libs/glibc/glibc-2.3.4.20040808.ebuild8
-rw-r--r--sys-libs/glibc/glibc-2.3.4.20040928.ebuild8
9 files changed, 85 insertions, 73 deletions
diff --git a/sys-libs/glibc/ChangeLog b/sys-libs/glibc/ChangeLog
index 1c015a3039f8..deb5984b4294 100644
--- a/sys-libs/glibc/ChangeLog
+++ b/sys-libs/glibc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/glibc
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.259 2004/09/28 13:23:37 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.260 2004/09/29 05:24:47 vapier Exp $
+
+ 29 Sep 2004; Mike Frysinger <vapier@gentoo.org> files/nscd,
+ glibc-2.2.5-r9.ebuild, glibc-2.3.2-r11.ebuild,
+ glibc-2.3.3.20040420-r1.ebuild, glibc-2.3.4.20040619-r1.ebuild,
+ glibc-2.3.4.20040808.ebuild, glibc-2.3.4.20040928.ebuild:
+ Install the nscd init.d script #43076 by Rui Malheiro.
*glibc-2.3.4.20040928 (28 Sep 2004)
diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest
index a763ea436bc1..819f9584286a 100644
--- a/sys-libs/glibc/Manifest
+++ b/sys-libs/glibc/Manifest
@@ -1,11 +1,14 @@
-MD5 84381a70d9488836104f9c813bd559cd ChangeLog 53404
-MD5 f3cfb768f888ac432bddfa481c2febce glibc-2.2.5-r9.ebuild 10877
-MD5 470fe80b952dee95e699e5b0d268040f glibc-2.3.2-r11.ebuild 20395
-MD5 c3e722bbae2f66c4ce6ad6a7ca8689b3 glibc-2.3.3.20040420-r1.ebuild 21628
-MD5 bab5970ce8decc290de6ba2079d202cf glibc-2.3.4.20040619-r1.ebuild 20861
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 aceafa4aad1a4608ab57ba3d66cc0ca6 ChangeLog 53703
+MD5 7cf88dee2671dcc30659d07241b8d918 glibc-2.2.5-r9.ebuild 10915
+MD5 69d5deb42d1f5687791ceaa46ef56215 glibc-2.3.2-r11.ebuild 20433
+MD5 0def963a028a28e5da9ee21a22c5f3b6 glibc-2.3.3.20040420-r1.ebuild 21667
+MD5 5ddcb90cbbcf07775bcaade32c13602e glibc-2.3.4.20040619-r1.ebuild 20900
+MD5 4518a04fd7ea09674ce24b00ee115e35 glibc-2.3.4.20040808.ebuild 21461
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
-MD5 8ac1141a1c4e171ecd19dffaee186c26 glibc-2.3.4.20040928.ebuild 25584
-MD5 acbbc8bcfbaaee3281120dc50150b97c glibc-2.3.4.20040808.ebuild 21419
+MD5 e363afe778d8aa809d4ecafb8cd3e4f7 glibc-2.3.4.20040928.ebuild 25626
MD5 9cc1e6b6f749dba7c8759bd07266f7d9 files/digest-glibc-2.2.5-r9 143
MD5 2d5306ef875573750af642a9f93b634a files/digest-glibc-2.3.2-r11 312
MD5 42af7e35fe2404a49954f91fd1aee891 files/digest-glibc-2.3.3.20040420-r1 312
@@ -17,14 +20,14 @@ MD5 135f8145885a2f4f9876fe973f33ddf6 files/glibc-2.2.4-string2.h.diff 5221
MD5 b712a49b5113fccb4c8b0ada2a30d390 files/glibc-manpages-2.2.5.tar.bz2 14610
MD5 184eddb92615fb991dce41b9edbfa690 files/glibc-manpages-2.3.2.tar.bz2 14700
MD5 13701e6cc0de584680502c0cd958f2cf files/glibc-sec-hotfix-20040804.patch 4319
-MD5 bbe355d94c5a36e11f543d12b70b5702 files/glibc-sec-hotfix-20040916.patch 3080
MD5 d688e44731d6e4b757382d7646c492c3 files/glibc-xdr_security.patch 6612
MD5 c4300e2f8808cb38a308745ed8b77367 files/locales.build 602
-MD5 98ea363167dacaaad23fd9a66ba98d5b files/nscd 844
+MD5 bedcd868a9462009158714238594173c files/nscd 964
MD5 2013443f5192d4b999953ba4248d288c files/nscd.conf 1158
MD5 d8830438ea871dbfd1acf7a3d0299159 files/test-__thread.c 53
MD5 4404ee4b6e3017819d8f36082e0265e5 files/test-sysctl_h.c 54
MD5 e62388bbadcb815956d5889a3509a8c8 files/digest-glibc-2.3.4.20040928 382
+MD5 bbe355d94c5a36e11f543d12b70b5702 files/glibc-sec-hotfix-20040916.patch 3080
MD5 f75ebd335c4b882013cc12229d39c9f7 files/2.2.5/glibc-2.2.5-alpha-gcc3-fix.diff 475
MD5 843eaa26ae2c49e894aa365b6f463546 files/2.2.5/glibc-2.2.5-alpha-pcdyn-fix.diff 471
MD5 5182f441608833569cb9e78536baf8af files/2.2.5/glibc-2.2.5-arm-errlist-fix.diff 2210
@@ -106,14 +109,21 @@ MD5 847afe57e19abff1d5c49f6bb7084a3d files/2.3.3/mips-syscall.h.diff 1199
MD5 84fa9a725c22975d735a2f91543a5cca files/2.3.3/mips-sysify.diff 2138
MD5 81d95470c5766e56e27ad8b6967d2a16 files/2.3.3/semtimedop.diff 602
MD5 ae9425cd4199cccd69c6d22633583dc1 files/2.3.3/ssp.c 4041
-MD5 89a6d0d924c8b05c4e06bdffb7c69b41 files/2.3.4/glibc-2.3.4-arm-ioperm.patch 4037
MD5 03e0e9a2235886c0abbe98bdafd0d5ce files/2.3.4/glibc-2.3.4-hardened-sysdep-shared.patch 382
MD5 659a9d64935d67a5938d0cb4e5fe4899 files/2.3.4/glibc-2.3.4-hppa-hardened-disable__init_arrays.patch 2310
-MD5 16f18501efd56811e724231470dc5d00 files/2.3.4/glibc-2.3.4-ld.so-brk-fix.patch 2562
MD5 207e313566b3fc24e0a5ca2ffd2da1d9 files/2.3.4/glibc-2.3.4-nptl-altivec.patch 6140
-MD5 7960564130a698073bdd3597a781e39b files/2.3.4/glibc-2.3.4-nptl-pthread.h-g++-fix.patch 3304
+MD5 1185022e9a50560d1bf9116a0461e011 files/2.3.4/mips-sysdep-cancel.diff 2402
MD5 340825c77e38e88e0ceaa12f154cbfa3 files/2.3.4/glibc-2.3.4.20040808-i386-got-fix.diff 4203
+MD5 16f18501efd56811e724231470dc5d00 files/2.3.4/glibc-2.3.4-ld.so-brk-fix.patch 2562
MD5 e109c03013bd08a2b96e2c2ca9017a4b files/2.3.4/glibc-gentoo-libdir.patch 1347
-MD5 1185022e9a50560d1bf9116a0461e011 files/2.3.4/mips-sysdep-cancel.diff 2402
+MD5 89a6d0d924c8b05c4e06bdffb7c69b41 files/2.3.4/glibc-2.3.4-arm-ioperm.patch 4037
+MD5 7960564130a698073bdd3597a781e39b files/2.3.4/glibc-2.3.4-nptl-pthread.h-g++-fix.patch 3304
MD5 9ee1438ba6ac30363130330c996dbb84 files/2.3.4/glibc-2.3.4-dl_execstack-PaX-support.patch 1443
MD5 bbe355d94c5a36e11f543d12b70b5702 files/2.3.4/glibc-sec-hotfix-20040916.patch 3080
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBWkcuHTu7gpaalycRAnrTAKCgFW2sVdD8s1f72oQoaE3lh8A99ACfbib/
+T4nHzw8yOWQOlwviW36yvF4=
+=nf+K
+-----END PGP SIGNATURE-----
diff --git a/sys-libs/glibc/files/nscd b/sys-libs/glibc/files/nscd
index 66d203e0f723..bdc0e254b057 100755
--- a/sys-libs/glibc/files/nscd
+++ b/sys-libs/glibc/files/nscd
@@ -1,43 +1,39 @@
-#! /bin/sh
-#RCUPDATE:3 4:72
-
-. /etc/rc.d/config/functions
-
-SERVICE=nscd
-EXE=/usr/sbin/nscd
-opts="start stop restart"
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/nscd,v 1.3 2004/09/29 05:24:47 vapier Exp $
start() {
ebegin "Starting Name Service Cache Daemon"
- secure=` cat /etc/nsswitch.conf | while read curline ; do
- table=${curline%:*}
- entries=${curline##$table:}
- table=${table%%[^a-z]*}
- case $table in
- passwd*|group*|hosts)
- for entry in $entries ; do
- case $entry in
- nisplus*)
- /usr/sbin/nscd_nischeck $table || echo "-S $table,yes"
- ;;
+ secure=`while read curline ; do
+ table=${curline%:*}
+ entries=${curline##$table:}
+ table=${table%%[^a-z]*}
+ case $table in
+ passwd*|group*|hosts)
+ for entry in $entries ; do
+ case $entry in
+ nisplus*)
+ /usr/sbin/nscd_nischeck $table || \
+ /echo "-S $table,yes"
+ ;;
+ esac
+ done
+ ;;
esac
- done
- ;;
- esac
- done`
- start-stop-daemon --start --quiet --exec $EXE -- $secure 1>&2
- eend $? "Error starting $SERVICE"
-}
-stop () {
- ebegin "Shutting down Name Service Cache Daemon"
- start-stop-daemon --stop --quiet --pidfile /var/run/nscd.pid 1>&2
- eend $? "Error stopping $SERVICE"
+ done < /etc/nsswitch.conf`
+ local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
+ mkdir -p "$(dirname ${pidfile})"
+ start-stop-daemon --start --quiet \
+ --exec /usr/sbin/nscd --pid ${pidfile} \
+ -- $secure
+ eend $?
}
-restart () {
- stop
- start
+stop() {
+ ebegin "Shutting down Name Service Cache Daemon"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/nscd
+ eend $?
}
-doservice ${@}
-
+# vim:ts=4
diff --git a/sys-libs/glibc/glibc-2.2.5-r9.ebuild b/sys-libs/glibc/glibc-2.2.5-r9.ebuild
index 2e5a3f2d000f..56450db51f58 100644
--- a/sys-libs/glibc/glibc-2.2.5-r9.ebuild
+++ b/sys-libs/glibc/glibc-2.2.5-r9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2.5-r9.ebuild,v 1.12 2004/08/28 01:28:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2.5-r9.ebuild,v 1.13 2004/09/29 05:24:47 vapier Exp $
inherit flag-o-matic gcc eutils
@@ -281,10 +281,10 @@ src_install() {
doman ${S}/man/*.3thr
# Install nscd config file
- insinto /etc
- doins ${S}/nscd/nscd.conf
+ insinto /etc ; doins ${S}/nscd/nscd.conf
+ exeinto /etc/init.d ; doexe ${FILESDIR}/nscd
- dodoc BUGS ChangeLog* CONFORMANCE COPYING* FAQ INTERFACE \
+ dodoc BUGS ChangeLog* CONFORMANCE FAQ INTERFACE \
NEWS NOTES PROJECTS README*
else
rm -rf ${D}/usr/share ${D}/usr/lib/gconv
diff --git a/sys-libs/glibc/glibc-2.3.2-r11.ebuild b/sys-libs/glibc/glibc-2.3.2-r11.ebuild
index abf9e02d9fb5..2d6351ffd75c 100644
--- a/sys-libs/glibc/glibc-2.3.2-r11.ebuild
+++ b/sys-libs/glibc/glibc-2.3.2-r11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.2-r11.ebuild,v 1.13 2004/09/24 12:52:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.2-r11.ebuild,v 1.14 2004/09/29 05:24:47 vapier Exp $
inherit eutils flag-o-matic gcc
@@ -610,10 +610,10 @@ EOF
}
# Install nscd config file
- insinto /etc
- doins ${FILESDIR}/nscd.conf
+ insinto /etc ; doins ${FILESDIR}/nscd.conf
+ exeinto /etc/init.d ; doexe ${FILESDIR}/nscd
- dodoc BUGS ChangeLog* CONFORMANCE COPYING* FAQ INTERFACE \
+ dodoc BUGS ChangeLog* CONFORMANCE FAQ INTERFACE \
NEWS NOTES PROJECTS README*
else
rm -rf ${D}/usr/share ${D}/usr/lib/gconv
diff --git a/sys-libs/glibc/glibc-2.3.3.20040420-r1.ebuild b/sys-libs/glibc/glibc-2.3.3.20040420-r1.ebuild
index e4241b3d6425..d14c4859eb84 100644
--- a/sys-libs/glibc/glibc-2.3.3.20040420-r1.ebuild
+++ b/sys-libs/glibc/glibc-2.3.3.20040420-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.3.20040420-r1.ebuild,v 1.6 2004/09/06 05:25:49 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.3.20040420-r1.ebuild,v 1.7 2004/09/29 05:24:47 vapier Exp $
inherit eutils flag-o-matic gcc
@@ -651,10 +651,10 @@ EOF
}
# Install nscd config file
- insinto /etc
- doins ${FILESDIR}/nscd.conf
+ insinto /etc ; doins ${FILESDIR}/nscd.conf
+ exeinto /etc/init.d ; doexe ${FILESDIR}/nscd
- dodoc BUGS ChangeLog* CONFORMANCE COPYING* FAQ INTERFACE \
+ dodoc BUGS ChangeLog* CONFORMANCE FAQ INTERFACE \
NEWS NOTES PROJECTS README*
else
rm -rf ${D}/usr/share ${D}/usr/lib/gconv
diff --git a/sys-libs/glibc/glibc-2.3.4.20040619-r1.ebuild b/sys-libs/glibc/glibc-2.3.4.20040619-r1.ebuild
index a893bd4ce637..0dc66746cd70 100644
--- a/sys-libs/glibc/glibc-2.3.4.20040619-r1.ebuild
+++ b/sys-libs/glibc/glibc-2.3.4.20040619-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20040619-r1.ebuild,v 1.18 2004/09/19 07:12:14 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20040619-r1.ebuild,v 1.19 2004/09/29 05:24:47 vapier Exp $
inherit eutils flag-o-matic gcc
@@ -660,11 +660,11 @@ EOF
doman ${S}/man/*.3thr
# Install nscd config file
- insinto /etc
- doins ${FILESDIR}/nscd.conf
+ insinto /etc ; doins ${FILESDIR}/nscd.conf
+ exeinto /etc/init.d ; doexe ${FILESDIR}/nscd
cd ${S}
- dodoc BUGS ChangeLog* CONFORMANCE COPYING* FAQ INTERFACE \
+ dodoc BUGS ChangeLog* CONFORMANCE FAQ INTERFACE \
NEWS NOTES PROJECTS README*
else
rm -rf ${D}/usr/share ${D}/usr/lib/gconv
diff --git a/sys-libs/glibc/glibc-2.3.4.20040808.ebuild b/sys-libs/glibc/glibc-2.3.4.20040808.ebuild
index d4d84b35dc1c..121890abd7e9 100644
--- a/sys-libs/glibc/glibc-2.3.4.20040808.ebuild
+++ b/sys-libs/glibc/glibc-2.3.4.20040808.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20040808.ebuild,v 1.21 2004/09/28 21:55:00 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20040808.ebuild,v 1.22 2004/09/29 05:24:47 vapier Exp $
inherit eutils flag-o-matic gcc
@@ -622,11 +622,11 @@ EOF
doman ${S}/man/*.3thr
# Install nscd config file
- insinto /etc
- doins ${FILESDIR}/nscd.conf
+ insinto /etc ; doins ${FILESDIR}/nscd.conf
+ exeinto /etc/init.d ; doexe ${FILESDIR}/nscd
cd ${S}
- dodoc BUGS ChangeLog* CONFORMANCE COPYING* FAQ INTERFACE \
+ dodoc BUGS ChangeLog* CONFORMANCE FAQ INTERFACE \
NEWS NOTES PROJECTS README*
else
rm -rf ${D}/usr/share ${D}/usr/lib/gconv
diff --git a/sys-libs/glibc/glibc-2.3.4.20040928.ebuild b/sys-libs/glibc/glibc-2.3.4.20040928.ebuild
index 9fc9895c3ba7..1ddf9bba88fc 100644
--- a/sys-libs/glibc/glibc-2.3.4.20040928.ebuild
+++ b/sys-libs/glibc/glibc-2.3.4.20040928.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20040928.ebuild,v 1.2 2004/09/28 21:55:00 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20040928.ebuild,v 1.3 2004/09/29 05:24:47 vapier Exp $
inherit eutils flag-o-matic gcc
@@ -751,11 +751,11 @@ EOF
doman ${S}/man/*.3thr
# Install nscd config file
- insinto /etc
- doins ${FILESDIR}/nscd.conf
+ insinto /etc ; doins ${FILESDIR}/nscd.conf
+ exeinto /etc/init.d ; doexe ${FILESDIR}/nscd
cd ${S}
- dodoc BUGS ChangeLog* CONFORMANCE COPYING* FAQ INTERFACE \
+ dodoc BUGS ChangeLog* CONFORMANCE FAQ INTERFACE \
NEWS NOTES PROJECTS README*
else
rm -rf ${D}/usr/share ${D}/usr/$(get_libdir)/gconv