Accepting request 73636 from home:a_jaeger:branches:openSUSE:Factory

Split up package glibc-utils.

OBS-URL: https://build.opensuse.org/request/show/73636
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=57
This commit is contained in:
Andreas Jaeger 2011-06-15 07:27:54 +00:00 committed by Git OBS Bridge
parent 0f2a812c97
commit 608ae8be41
5 changed files with 75 additions and 8 deletions

View File

@ -24,7 +24,7 @@
+# When the user attempts to connect to a server whose hostname has both IPv4
+# and IPv6 addresses published in DNS, an IPv6 connection using the
+# transitional 6to4 service will be preferred. This happens because the scope
+# comparsion fails for IPv4, the RFC 1918 addresses are assumed to have
+# comparison fails for IPv4, the RFC 1918 addresses are assumed to have
+# site-local scope, which is smaller than the global scope of the server's IPv4
+# address. For IPv6, both the server's and the client's (6to4) address have
+# global scope.
@ -39,8 +39,8 @@
+# content, but it should never be preferred over IPv4 service when accessing
+# dual-stacked content.
+#
+# RFC 3484 even acknowledges this, by saying to "«avoid the use of transitional
+# addresses when native addresses are available"».
+# RFC 3484 even acknowledges this, by saying to "avoid the use of transitional
+# addresses when native addresses are available".
+#
+# An IETF draft document which describes the problem in a much more detailed
+# manner than I have is available here:

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Jun 15 07:08:35 UTC 2011 - aj@suse.de
- Split up package glibc-utils with some debugging tools, add memusage
and memusagestat programs
- Fix compile warnings.
- Silent some rpmlint warnings.
-------------------------------------------------------------------
Mon Jun 6 14:19:26 UTC 2011 - aj@suse.de
- Fix typos in /etc/gai.conf (bnc#651912).
-------------------------------------------------------------------
Fri Jun 3 08:40:55 UTC 2011 - aj@suse.de

View File

@ -1 +1,4 @@
addFilter(".*glibc-profile.* devel-file-in-non-devel-package.*/usr/lib.*/lib.*_p.a")
addFilter(".*glibc.* incorrect-fsf-address")
# False positive - glibc implements gethostbyname
addFilter(".*binary-or-shlib-calls-gethostbyname")

View File

@ -21,6 +21,7 @@
Name: glibc
BuildRequires: gcc-c++ libstdc++-devel
BuildRequires: libselinux-devel
BuildRequires: gd-devel libpng-devel zlib-devel
%define _filter_GLIBC_PRIVATE 1
%define build_locales 1
%define run_testsuite 0
@ -131,6 +132,7 @@ Patch39: glibc-2.10.99-ia64-include.diff
Patch40: libm-x86-64-exceptions.diff
Patch41: glibc-uio-cell.diff
Patch42: glibc-statfs64-ia64.diff
Patch43: missing-include-build-fix.diff
Patch44: glibc-ppc64-vdso-time.diff
Patch45: glibc-gai-private4.diff
Patch46: glibc-resolv-mdnshint.diff
@ -272,6 +274,18 @@ AutoReqProv: on
These libraries are needed to develop programs which use the standard C
library.
%package utils
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
Summary: Development utilities from GNU C library
Group: Development/Languages/C and C++
Requires: glibc = %{version}-%{release}
%description utils
The glibc-utils package contains memusage, a memory usage profiler,
mtrace, a memory leak tracer and xtrace, a function call tracer
which can be helpful during program debugging.
If you are unsure if you need this, don't install this package.
%ifarch %ix86
@ -355,6 +369,7 @@ rm nscd/s-stamp
%patch40
%patch41 -p1
%patch42
%patch43 -p1
%patch44 -p1
%patch45
%patch46 -p1
@ -881,7 +896,6 @@ exit 0
/%{_lib}/libdl.so.2*
/%{_lib}/libm-%{version}.so
/%{_lib}/libm.so.6*
/%{_lib}/libmemusage.so
/%{_lib}/libnsl-%{version}.so
/%{_lib}/libnsl.so.1
/%{_lib}/libnss_compat-%{version}.so
@ -896,7 +910,6 @@ exit 0
/%{_lib}/libnss_nis.so.2
/%{_lib}/libnss_nisplus-%{version}.so
/%{_lib}/libnss_nisplus.so.2
/%{_lib}/libpcprofile.so
/%{_lib}/libpthread-%{version}.so
/%{_lib}/libpthread.so.0
/%{_lib}/libresolv-%{version}.so
@ -978,11 +991,8 @@ exit 0
%doc %{_mandir}/man1/sprof.1.gz
%doc %{_mandir}/man3/*
/usr/bin/catchsegv
/usr/bin/mtrace
/usr/bin/pcprofiledump
/usr/bin/rpcgen
/usr/bin/sprof
/usr/bin/xtrace
%{_prefix}/include/*
%{_libdir}/*.o
%{_libdir}/*.so
@ -1053,4 +1063,14 @@ exit 0
%{_libdir}/libutil_p.a
%{_libdir}/libdl_p.a
%files utils
%defattr(-,root,root)
/%{_lib}/libmemusage.so
/%{_lib}/libpcprofile.so
%{_prefix}/bin/memusage
%{_prefix}/bin/memusagestat
%{_prefix}/bin/mtrace
%{_prefix}/bin/pcprofiledump
%{_prefix}/bin/xtrace
%changelog

View File

@ -0,0 +1,31 @@
2011-06-14 Andreas Jaeger <aj@suse.de>
* pthread_rwlock_init.c: Include <string.h> for
memset declaration.
2011-06-14 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
memset declaration.
--- a/sysdeps/unix/sysv/linux/check_native.c
+++ b/sysdeps/unix/sysv/linux/check_native.c
@@ -23,6 +23,7 @@
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
+#include <string.h>
#include <time.h>
#include <unistd.h>
#include <net/if.h>
--- a/nptl/pthread_rwlock_init.c
+++ b/nptl/pthread_rwlock_init.c
@@ -18,6 +18,7 @@
02111-1307 USA. */
#include "pthreadP.h"
+#include <string.h>
#include <kernel-features.h>