This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, fedora/master, updated. glibc-2.14-982-g0e6b1e6


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, fedora/master has been updated
       via  0e6b1e60e40fb230df4198f502ddfc069d06092f (commit)
       via  49a673166cd275df8c572715e973c587228f5d57 (commit)
       via  96ac5e3457809c1531fa74ea1065f974896f5b5f (commit)
       via  a5f177f38a691cc9fd7633e2b18161b806369d78 (commit)
       via  9e1e3ae32b4df944aabb2e0944c4b59b49741080 (commit)
       via  6aa6a6825b820e01ed49b1d5e6f5beaaab03114e (commit)
       via  defe906180bad4e356bb55b60b10abd41b7ee3a1 (commit)
       via  319b9ad4bccedb2a6b1a222cf446e873b2bc6de1 (commit)
       via  23bee3e8677c9357662ce789ed77fe25f3991c66 (commit)
       via  46a5b7f025c6a7ad2a3ed884d54c2a7a5e58ea0a (commit)
       via  113ddea44742d006d7a910a0707106c7defcfd9b (commit)
       via  574920b446870648623a85e00dd8f3ca9f482c0e (commit)
       via  d30cf5bb00bfb286ff14d931fb69f5b53724bcdc (commit)
       via  8538fdb3ec7c8899cbc5dbbce4a3fbfe7cf8c2a1 (commit)
       via  04d08991c4612450880eb55a1d3070597429b7cb (commit)
       via  4e5f31c847982997c856f03bbc35134e9fd0f61f (commit)
       via  de283087c74f720cf8a7171972e72b5fa2b45e79 (commit)
       via  c75fa153a93eca56aec4f398770d3afc249ae5b5 (commit)
       via  1a544854c23369da3ab3f3a3298fab1a4802ea62 (commit)
       via  6f0eec6710935ba246608ba0014456eb7cdb4615 (commit)
       via  aae30307aed7b29b7423132b4d40e9ec4ef0a0dc (commit)
       via  c0cfb5eb3da59b9ed1fd1e06825b6dd62534b42b (commit)
       via  ecaddd66991f5dc237f26cfdef51507019cfcc01 (commit)
       via  01636b2140cd1281202b89f7103249ed598065c4 (commit)
       via  9895c8bc62759a2d7abf95654fb2aefe5677a930 (commit)
       via  56d4baf3bd18619983bbc9826ad4296a8067efc1 (commit)
       via  1de911c8747205999fb4528fcbca326a7afb2f25 (commit)
       via  960e5535b08ea358caefe8eb831aae36cc4826c5 (commit)
       via  5d4cf042506c290f6f6c62d95ce2ebb56c854a7a (commit)
       via  751eb97ef2d281711f47fbef70b59b65f7bc6959 (commit)
       via  f15f1e45ba281568cb77d4e10de574ee2b86f2a6 (commit)
       via  17a21a3907cbbc731fed12eab8c50a21dc2d6ad3 (commit)
       via  d5032639a4a7e76213942f5d9c9ea20d2e35c01d (commit)
       via  5e9b6af4a9bb2aad0e1929e88b52009d14cb6831 (commit)
       via  d3bdf19b78aa4de74030175bbd9c41971428af81 (commit)
       via  84f9ea0f73dbb3946294acf132f03ab437befc73 (commit)
       via  ea5ee9f73d7b9d143d04e6b91020fe9dc7b18a40 (commit)
       via  1b74661a6b93a892ecb1c717dedeedba5c2a976c (commit)
       via  f781ef4015504e8a1da649c266584976238aa079 (commit)
       via  2d4fa81e11abc464b5b1f6417525285e84ff787c (commit)
       via  31fffa6b0700f9cc0f903a53489b829290168b4c (commit)
       via  4e34ac6a1e256f40ab0d8eeed37aa1ea83440e76 (commit)
       via  feea4948bca7e442edad3f995696f33450549e80 (commit)
       via  fcfc776bc6242fdefde0efd7b0c315fbeca08555 (commit)
       via  99231d9abe0fd74c7957d25b08c1d1ede4cae5a0 (commit)
       via  445b4a53ea9d6c457c5f4ac1538102d8be0a5d89 (commit)
       via  6d4d8e8eef734412bedfd3a0bcece15109155913 (commit)
       via  6f8326cacd08bf7d1966743086855fc36574bf74 (commit)
       via  89f654c57b3b9a6aee480e25e37f88f06c898901 (commit)
      from  46a0299e309b0ddeb24ea73c1914d7a614ab4c1f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=0e6b1e60e40fb230df4198f502ddfc069d06092f

commit 0e6b1e60e40fb230df4198f502ddfc069d06092f
Author: Andreas Schwab <schwab@redhat.com>
Date:   Thu Jul 14 14:32:54 2011 +0200

    2.14.90-2

diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in
index aede2c4..e16e3ba 100644
--- a/fedora/glibc.spec.in
+++ b/fedora/glibc.spec.in
@@ -24,7 +24,7 @@
 Summary: The GNU libc libraries
 Name: glibc
 Version: %{glibcversion}
-Release: 1
+Release: 2
 # GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
 # Things that are linked directly into dynamically linked programs
 # and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
@@ -1077,6 +1077,22 @@ rm -f *.filelist*
 %endif
 
 %changelog
+* Thu Jul 14 2011 Andreas Schwab <schwab@redhat.com> - 2.14.90-2
+- Update from master
+  - Generalize framework to register monitoring of files in nscd
+  - Handle ext4 in {,f}pathconf
+  - Handle Lustre filesystem (BZ#12868)
+  - Handle W; without long options in getopt (BZ#12922)
+  - Change error code for underflows in strtod (BZ#9696)
+  - Fix handling of chained netgroups
+  - Optimize long-word additions in SHA implementation
+  - Handle nscd negtimeout==0
+  - nss_compat: query NIS domain only when needed
+  - Fix robust mutex handling after fork
+  - Make sure RES_USE_INET6 is always restored
+- Add systemd configuration for nscd
+- Be more careful running build-locale-archive
+
 * Thu Jun 30 2011 Andreas Schwab <schwab@redhat.com> - 2.14.90-1
 - Update from master
   - Fix quoting in some installed shell scripts (BZ#12935)

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=49a673166cd275df8c572715e973c587228f5d57

commit 49a673166cd275df8c572715e973c587228f5d57
Author: Andreas Schwab <schwab@redhat.com>
Date:   Thu Jul 14 09:14:55 2011 +0200

    Revert "Rewrite -z relro configure check to be empirical."
    
    This reverts commit 574920b446870648623a85e00dd8f3ca9f482c0e.

diff --git a/ChangeLog b/ChangeLog
index a241bf1..dd25c42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -58,10 +58,6 @@
 	Use an empirical test on a built program.
 	* configure: Regenerated.
 
-	* configure.in (-z relro check): Use an empirical test on a built DSO.
-	Detect, but do not require, on ia64.
-	* configure: Regenerated.
-
 	* configure.in (READELF): Find it with AC_CHECK_TOOL.
 	Update tests that use readelf to use $READELF instead.
 	* configure: Regenerated.
diff --git a/configure b/configure
index 3281b3f..2700e94 100755
--- a/configure
+++ b/configure
@@ -6418,97 +6418,40 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_initfirst" >&5
 $as_echo "$libc_cv_z_initfirst" >&6; }
 
-  # Add-on fragments can set these for other machines.
-  libc_commonpagesize=${libc_commonpagesize:-no}
-  libc_relro_required=${libc_relro_required:-no}
   case "$base_machine" in
-    i[34567]86 | x86_64 | powerpc* | s390*)
-      libc_commonpagesize=0x1000
-      libc_relro_required=yes
-      ;;
-    sparc*)
-      libc_commonpagesize=0x2000
-      libc_relro_required=yes
-      ;;
-    ia64*)
-      libc_commonpagesize=0x4000
-      ;;
-    alpha*)
-      libc_commonpagesize=0x10000
-      libc_relro_required=yes
-      ;;
-  esac
-
-  if test $libc_commonpagesize != no; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z relro option" >&5
+    i[34567]86 | x86_64 | powerpc* | s390* | sparc* | alpha*)
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z relro option" >&5
 $as_echo_n "checking for -z relro option... " >&6; }
 if ${libc_cv_z_relro+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-      libc_cv_z_relro=no
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int _start (void) { return 42; }
-extern void _exit (int);
-const void *relro[] = { &_start, &_exit, 0 };
-
-_ACEOF
-    cat > conftest.awk <<\EOF
-BEGIN {
-  result = "no"
-  commonpagesize = strtonum(commonpagesize)
-}
-{ print "LINE:", $0 > "/dev/stderr" }
-$1 == "GNU_RELRO" {
-  vaddr = strtonum($3)
-  memsz = strtonum($6)
-  end = vaddr + memsz
-  printf "vaddr %#x memsz %#x end %#x commonpagesize %#x\n", \
-    vaddr, memsz, end, commonpagesize > "/dev/stderr"
-  result = (end % commonpagesize == 0) ? "yes" : "broken"
-}
-END { print result }
-EOF
-    { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
-		    -fPIC -shared -o conftest.so conftest.c
-		    -nostartfiles -nostdlib
-		    -Wl,-z,relro 1>&5'
+    libc_cv_z_relro=no
+  if { ac_try='${CC-cc} -v --help 2>&1|grep "z relro" 1>&5'
   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   (eval $ac_try) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; } &&
-    { ac_try='$READELF -Wl conftest.so > conftest.ph'
-  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; } &&
-    { ac_try='
-      $AWK -v commonpagesize=$libc_commonpagesize -f conftest.awk
-	   conftest.ph > conftest.cps
-    '
+  test $ac_status = 0; }; }
+  then
+    if { ac_try='${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5'
   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   (eval $ac_try) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; } &&
-    libc_cv_z_relro=`cat conftest.cps 2>&5`
-    rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_relro" >&5
-$as_echo "$libc_cv_z_relro" >&6; }
-    if { test "x$libc_relro_required" = xyes &&
-	 test "x$libc_cv_z_relro" != xyes
-       }
+  test $ac_status = 0; }; }
     then
-      as_fn_error $? "linker with -z relro support required" "$LINENO" 5
+      libc_cv_z_relro=yes
     fi
-  else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: missing architecture parameter to check for working -z relro" >&5
-$as_echo "$as_me: WARNING: missing architecture parameter to check for working -z relro" >&2;}
   fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_relro" >&5
+$as_echo "$libc_cv_z_relro" >&6; }
+      if test "$libc_cv_z_relro" = no; then
+	as_fn_error $? "linker with -z relro support required" "$LINENO" 5
+      fi
+      ;;
+    *) ;;
+   esac
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bgroup option" >&5
 $as_echo_n "checking for -Bgroup option... " >&6; }
diff --git a/configure.in b/configure.in
index 308cbca..be882bf 100644
--- a/configure.in
+++ b/configure.in
@@ -1602,72 +1602,26 @@ EOF
   fi
   rm -f conftest*])
 
-  # Add-on fragments can set these for other machines.
-  libc_commonpagesize=${libc_commonpagesize:-no}
-  libc_relro_required=${libc_relro_required:-no}
   case "$base_machine" in
-    i[[34567]]86 | x86_64 | powerpc* | s390*)
-      libc_commonpagesize=0x1000
-      libc_relro_required=yes
-      ;;
-    sparc*)
-      libc_commonpagesize=0x2000
-      libc_relro_required=yes
-      ;;
-    ia64*)
-      libc_commonpagesize=0x4000
-      ;;
-    alpha*)
-      libc_commonpagesize=0x10000
-      libc_relro_required=yes
-      ;;
-  esac
-
-  if test $libc_commonpagesize != no; then
-    AC_CACHE_CHECK(for -z relro option,
-		   libc_cv_z_relro, [dnl
-    libc_cv_z_relro=no
-    AC_LANG_CONFTEST([AC_LANG_SOURCE([[
-int _start (void) { return 42; }
-extern void _exit (int);
-const void *relro[] = { &_start, &_exit, 0 };
-]])])
-    cat > conftest.awk <<\EOF
-BEGIN {
-  result = "no"
-  commonpagesize = strtonum(commonpagesize)
-}
-{ print "LINE:", $0 > "/dev/stderr" }
-$1 == "GNU_RELRO" {
-  vaddr = strtonum($3)
-  memsz = strtonum($6)
-  end = vaddr + memsz
-  printf "vaddr %#x memsz %#x end %#x commonpagesize %#x\n", \
-    vaddr, memsz, end, commonpagesize > "/dev/stderr"
-  result = (end % commonpagesize == 0) ? "yes" : "broken"
-}
-END { print result }
-EOF
-    AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
-		    -fPIC -shared -o conftest.so conftest.c
-		    -nostartfiles -nostdlib
-		    -Wl,-z,relro 1>&AS_MESSAGE_LOG_FD]) &&
-    AC_TRY_COMMAND([$READELF -Wl conftest.so > conftest.ph]) &&
-    AC_TRY_COMMAND([
-      $AWK -v commonpagesize=$libc_commonpagesize -f conftest.awk
-	   conftest.ph > conftest.cps
-    ]) &&
-    libc_cv_z_relro=`cat conftest.cps 2>&AS_MESSAGE_LOG_FD`
-    rm -f conftest*])
-    if { test "x$libc_relro_required" = xyes &&
-	 test "x$libc_cv_z_relro" != xyes
-       }
+changequote(,)dnl
+    i[34567]86 | x86_64 | powerpc* | s390* | sparc* | alpha*)
+changequote([,])dnl
+      AC_CACHE_CHECK(for -z relro option,
+		     libc_cv_z_relro, [dnl
+  libc_cv_z_relro=no
+  if AC_TRY_COMMAND([${CC-cc} -v --help 2>&1|grep "z relro" 1>&AS_MESSAGE_LOG_FD])
+  then
+    if AC_TRY_COMMAND([${CC-cc} -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&AS_MESSAGE_LOG_FD])
     then
-      AC_MSG_ERROR(linker with -z relro support required)
+      libc_cv_z_relro=yes
     fi
-  else
-    AC_MSG_WARN([missing architecture parameter to check for working -z relro])
-  fi
+  fi])
+      if test "$libc_cv_z_relro" = no; then
+	AC_MSG_ERROR(linker with -z relro support required)
+      fi
+      ;;
+    *) ;;
+   esac
 
   AC_CACHE_CHECK(for -Bgroup option,
 		 libc_cv_Bgroup, [dnl

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=96ac5e3457809c1531fa74ea1065f974896f5b5f

commit 96ac5e3457809c1531fa74ea1065f974896f5b5f
Author: Andreas Schwab <schwab@redhat.com>
Date:   Thu Jul 14 09:14:27 2011 +0200

    Revert "Fix a braino in new relro configure test."
    
    This reverts commit defe906180bad4e356bb55b60b10abd41b7ee3a1.

diff --git a/ChangeLog b/ChangeLog
index 8d27682..a241bf1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,3 @@
-2011-07-11  Roland McGrath  <roland@hack.frob.com>
-
-	* configure.in (-z relro check): Fix test code to make the variable
-	truly const.
-	* configure: Regenerated.
-
 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
 
 	* nscd/nscd.h (struct traced_file): Define.
diff --git a/configure b/configure
index 6d0578b..3281b3f 100755
--- a/configure
+++ b/configure
@@ -6451,7 +6451,7 @@ else
 
 int _start (void) { return 42; }
 extern void _exit (int);
-const void *const relro[] = { &_start, &_exit, 0 };
+const void *relro[] = { &_start, &_exit, 0 };
 
 _ACEOF
     cat > conftest.awk <<\EOF
diff --git a/configure.in b/configure.in
index 1fa029c..308cbca 100644
--- a/configure.in
+++ b/configure.in
@@ -1630,7 +1630,7 @@ EOF
     AC_LANG_CONFTEST([AC_LANG_SOURCE([[
 int _start (void) { return 42; }
 extern void _exit (int);
-const void *const relro[] = { &_start, &_exit, 0 };
+const void *relro[] = { &_start, &_exit, 0 };
 ]])])
     cat > conftest.awk <<\EOF
 BEGIN {

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a5f177f38a691cc9fd7633e2b18161b806369d78

commit a5f177f38a691cc9fd7633e2b18161b806369d78
Merge: 9e1e3ae defe906
Author: Andreas Schwab <schwab@redhat.com>
Date:   Thu Jul 14 14:17:22 2011 +0200

    Merge remote-tracking branch 'origin/master' into fedora/master

diff --cc localedata/ChangeLog
index f020677,e0e2207..333f59d
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@@ -1,11 -1,8 +1,16 @@@
+ 2011-07-02  Roland McGrath  <roland@hack.frob.com>
+ 
+ 	* tests-mbwc/tst_funcs.h (TST_DECL_VARS, TST_HEAD_LOCALE):
+ 	Remove unused variable.
+ 
 +2011-06-28  Andreas Schwab  <schwab@redhat.com>
 +
 +	* charmaps/GB18030: Correct some entries.
 +
 +2011-06-21  Andreas Schwab  <schwab@redhat.com>
 +
 +	* charmaps/GB18030: Readd lost characters.
 +
  2011-05-21  Ulrich Drepper  <drepper@gmail.com>
  
  	[BZ #12788]
diff --cc scripts/check-local-headers.sh
index 679fbd6,b73078d..df42d55
--- a/scripts/check-local-headers.sh
+++ b/scripts/check-local-headers.sh
@@@ -23,20 -23,21 +23,21 @@@ objpfx="$2
  # To avoid long paths.
  cd "$objpfx"
  
- 
  # Search all dependency files for file names in the include directory.
  # There are a few system headers we are known to use.
- if fgrep "$includedir" */*.{o,os,oS}.d |
- fgrep -v "$includedir/asm" |
- fgrep -v "$includedir/linux" |
- fgrep -v "$includedir/selinux" |
- fgrep -v "$includedir/sys/capability.h" |
- fgrep -v "$includedir/sys/sdt.h" |
- fgrep -v "$includedir/sys/sdt-config.h" |
- fgrep -v "$includedir/gd" |
- fgrep -v "$includedir/nss3"; then
-   # If we found a match something is wrong.
-   exit 1
- fi
- 
- exit 0
+ exec ${AWK} -v includedir="$includedir" '
+ BEGIN {
+   status = 0
+   exclude = "^" includedir \
 -    "/(asm[-/]|linux/|selinux/|gd|nss3/|sys/capability\\.h)"
++    "/(asm[-/]|linux/|selinux/|gd|nss3/|sys/capability\\.h|sys/sdt(-config)?\\.h)"
+ }
+ /^[^ ]/ && $1 ~ /.*:/ { obj = $1 }
+ {
+   for (i = 1; i <= NF; ++i) {
+     if ($i ~ ("^" includedir) && $i !~ exclude) {
+       print "***", obj, "uses", $i
+       status = 1
+     }
+   }
+ }
+ END { exit status }' */*.{o,os,oS}.d

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=9e1e3ae32b4df944aabb2e0944c4b59b49741080

commit 9e1e3ae32b4df944aabb2e0944c4b59b49741080
Author: Andreas Schwab <schwab@redhat.com>
Date:   Wed Jul 13 11:52:24 2011 +0200

    Add systemd configuration for nscd

diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in
index 795bb60..aede2c4 100644
--- a/fedora/glibc.spec.in
+++ b/fedora/glibc.spec.in
@@ -524,6 +524,10 @@ install -p -m 644 nis/nss $RPM_BUILD_ROOT/etc/default/nss
 install -m 644 nscd/nscd.conf $RPM_BUILD_ROOT/etc
 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
 install -m 755 nscd/nscd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
+mkdir -p $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/
+install -m 644 fedora/nscd.conf %{buildroot}/usr/lib/tmpfiles.d/
+mkdir -p $RPM_BUILD_ROOT/lib/systemd/system
+install -m 644 fedora/nscd.service fedora/nscd.socket $RPM_BUILD_ROOT/lib/systemd/system
 %endif
 
 # Include ld.so.conf
@@ -1045,6 +1049,9 @@ rm -f *.filelist*
 %config /etc/rc.d/init.d/nscd
 %dir %attr(0755,root,root) /var/run/nscd
 %dir %attr(0755,root,root) /var/db/nscd
+/lib/systemd/system/nscd.service
+/lib/systemd/system/nscd.socket
+/usr/lib/tmpfiles.d/nscd.conf
 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/nscd.pid
 %attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/socket
 %attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/passwd
diff --git a/fedora/nscd.conf b/fedora/nscd.conf
new file mode 100644
index 0000000..ba48981
--- /dev/null
+++ b/fedora/nscd.conf
@@ -0,0 +1 @@
+d /var/run/nscd 0755 root root
diff --git a/fedora/nscd.service b/fedora/nscd.service
new file mode 100644
index 0000000..477b872
--- /dev/null
+++ b/fedora/nscd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Name Service Cache Daemon
+After=syslog.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/nscd
+ExecStop=/usr/sbin/nscd --shutdown
+Restart=always
+PIDFile=/var/run/nscd/nscd.pid
+
+[Install]
+WantedBy=multi-user.target
+Also=nscd.socket
diff --git a/fedora/nscd.socket b/fedora/nscd.socket
new file mode 100644
index 0000000..7e512d5
--- /dev/null
+++ b/fedora/nscd.socket
@@ -0,0 +1,8 @@
+[Unit]
+Description=Name Service Cache Daemon Socket
+
+[Socket]
+ListenDatagram=/var/run/nscd/socket
+
+[Install]
+WantedBy=sockets.target

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6aa6a6825b820e01ed49b1d5e6f5beaaab03114e

commit 6aa6a6825b820e01ed49b1d5e6f5beaaab03114e
Author: Andreas Schwab <schwab@redhat.com>
Date:   Wed Jul 13 10:13:25 2011 +0200

    Be more careful running build-locale-archive

diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in
index ed769d8..795bb60 100644
--- a/fedora/glibc.spec.in
+++ b/fedora/glibc.spec.in
@@ -892,7 +892,27 @@ end
 
 %postun -p /sbin/ldconfig
 
-%post common -p /usr/sbin/build-locale-archive
+%triggerin common -p <lua> -- glibc
+if posix.stat("%{_prefix}/lib/locale/locale-archive.tmpl", "size") > 0 then
+  pid = posix.fork()
+  if pid == 0 then
+    posix.exec("%{_prefix}/sbin/build-locale-archive")
+  elseif pid > 0 then
+    posix.wait(pid)
+  end
+end
+
+%post common -p <lua>
+if posix.access("/etc/ld.so.cache") then
+  if posix.stat("%{_prefix}/lib/locale/locale-archive.tmpl", "size") > 0 then
+    pid = posix.fork()
+    if pid == 0 then
+      posix.exec("%{_prefix}/sbin/build-locale-archive")
+    elseif pid > 0 then
+      posix.wait(pid)
+    end
+  end
+end
 
 %triggerin common -p /usr/sbin/tzdata-update -- tzdata
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                  |  224 ++
 Makefile                                   |    9 +-
 Makerules                                  |   41 +-
 NEWS                                       |    4 +-
 aclocal.m4                                 |    2 +
 config.make.in                             |    4 +-
 configure                                  |  165 +-
 configure.in                               |   42 +-
 crypt/sha256.c                             |   37 +-
 crypt/sha256.h                             |   11 +-
 crypt/sha512.c                             |   30 +-
 crypt/sha512.h                             |   15 +-
 csu/elf-init.c                             |    5 +-
 elf/Makefile                               |   12 +-
 elf/dynamic-link.h                         |    6 +-
 fedora/glibc.spec.in                       |   47 +-
 fedora/nscd.conf                           |    1 +
 fedora/nscd.service                        |   14 +
 fedora/nscd.socket                         |    8 +
 iconvdata/extra-module.mk                  |    2 +-
 iconvdata/johab.c                          |    8 +-
 inet/getnetgrent_r.c                       |   10 +
 localedata/ChangeLog                       |    5 +
 localedata/tests-mbwc/tst_funcs.h          |    5 +-
 malloc/hooks.c                             |    4 +-
 nis/nss_compat/compat-pwd.c                |   27 +-
 nis/nss_compat/compat-spwd.c               |   27 +-
 nis/nss_nisplus/nisplus-ethers.c           |    8 +-
 nis/nss_nisplus/nisplus-spwd.c             |    6 +-
 nptl/ChangeLog                             |   10 +
 nptl/nptl-init.c                           |   22 +-
 nptl/pthreadP.h                            |   13 +-
 nptl/sysdeps/pthread/configure             |    6 +-
 nptl/sysdeps/pthread/pthread-functions.h   |    3 +-
 nptl/sysdeps/unix/sysv/linux/fork.c        |   33 +-
 nptl/sysdeps/x86_64/configure              |    2 +-
 nscd/aicache.c                             |   11 +-
 nscd/cache.c                               |   46 +-
 nscd/connections.c                         |  165 +-
 nscd/grpcache.c                            |   10 +-
 nscd/hstcache.c                            |   11 +-
 nscd/initgrcache.c                         |   13 +-
 nscd/nscd.c                                |   18 +-
 nscd/nscd.h                                |   19 +-
 nscd/nscd_getserv_r.c                      |    2 +-
 nscd/pwdcache.c                            |   11 +-
 nscd/servicescache.c                       |   11 +-
 nss/Makefile                               |    4 +-
 nss/Versions                               |    4 +
 nss/nss_db/db-init.c                       |   54 +
 nss/nss_files/files-init.c                 |   72 +
 nss/nsswitch.c                             |  165 +-
 nss/nsswitch.h                             |    8 +-
 po/fr.po                                   | 1670 +++++++-----
 po/ja.po                                   | 1684 +++++++-----
 po/ko.po                                   | 1757 +++++++------
 po/pl.po                                   | 4115 ++++++++++++++--------------
 po/ru.po                                   | 1719 +++++++-----
 posix/getopt.c                             |    9 +-
 resolv/res_comp.c                          |    4 +-
 scripts/check-local-headers.sh             |   33 +-
 stdlib/strtod_l.c                          |    4 +-
 stdlib/tst-strtod.c                        |    3 +-
 string/Makefile                            |    3 +-
 string/test-strncat.c                      |  298 ++
 sysdeps/posix/getaddrinfo.c                |    4 +
 sysdeps/s390/s390-64/Makefile              |   12 +
 sysdeps/unix/sysv/linux/Makefile           |    8 +-
 sysdeps/unix/sysv/linux/configure          |    6 +-
 sysdeps/unix/sysv/linux/fpathconf.c        |    4 +-
 sysdeps/unix/sysv/linux/internal_statvfs.c |    5 +-
 sysdeps/unix/sysv/linux/linux_fsinfo.h     |    7 +-
 sysdeps/unix/sysv/linux/pathconf.c         |   87 +-
 sysdeps/unix/sysv/linux/pathconf.h         |    9 +-
 sysdeps/x86_64/elf/configure               |    2 +-
 75 files changed, 7711 insertions(+), 5224 deletions(-)
 create mode 100644 fedora/nscd.conf
 create mode 100644 fedora/nscd.service
 create mode 100644 fedora/nscd.socket
 create mode 100644 nss/nss_db/db-init.c
 create mode 100644 nss/nss_files/files-init.c
 create mode 100644 string/test-strncat.c


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]