From fedora-cvs-commits at redhat.com Sun Oct 1 03:09:54 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 30 Sep 2006 23:09:54 -0400 Subject: rpms/perl/devel perl.spec,1.99,1.100 Message-ID: <200610010309.k9139scQ003843@cvs.devel.redhat.com> Author: rnorwood Update of /cvs/dist/rpms/perl/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv3794 Modified Files: perl.spec Log Message: bugzilla: 208731 - remove directory support for old perl versions. Index: perl.spec =================================================================== RCS file: /cvs/dist/rpms/perl/devel/perl.spec,v retrieving revision 1.99 retrieving revision 1.100 diff -u -r1.99 -r1.100 --- perl.spec 15 Sep 2006 19:01:54 -0000 1.99 +++ perl.spec 1 Oct 2006 03:09:52 -0000 1.100 @@ -5,7 +5,7 @@ %define multilib_64_archs x86_64 s390x ppc64 sparc64 %define perlver 5.8.8 -%define perlrel 9 +%define perlrel 10 %define perlepoch 4 %{?!perl_debugging: %define perl_debugging 0} @@ -26,9 +26,7 @@ Provides: perl(:WITHOUT_THREADS) %endif -%define perlmodcompat 5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 -Provides: perl(:MODULE_COMPAT_5.8.3) -Provides: perl(:MODULE_COMPAT_5.8.4) +%define perlmodcompat 5.8.7 5.8.6 5.8.5 Provides: perl(:MODULE_COMPAT_5.8.5) Provides: perl(:MODULE_COMPAT_5.8.6) Provides: perl(:MODULE_COMPAT_5.8.7) @@ -591,9 +589,12 @@ %endif %changelog +* Sat Sep 30 2006 Robin Norwood - 4:5.8.8-10 +- bugzilla: 208731 - remove directory support for old perl versions + * Fri Sep 15 2006 Robin Norwood - 4:5.8.8-9 - fix bug 204679: add Unicode 5.0.0 support - + * Fri Jul 21 2006 Jason Vas Dias - 4:5.8.8-8 - fix bug 199736: make perlcc handle floating point values From fedora-cvs-commits at redhat.com Sun Oct 1 03:33:11 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 30 Sep 2006 23:33:11 -0400 Subject: rpms/gaim/devel gaim.spec,1.137,1.138 Message-ID: <200610010333.k913XBuh015160@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/gaim/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv15044 Modified Files: gaim.spec Log Message: fix spec Index: gaim.spec =================================================================== RCS file: /cvs/dist/rpms/gaim/devel/gaim.spec,v retrieving revision 1.137 retrieving revision 1.138 diff -u -r1.137 -r1.138 --- gaim.spec 30 Sep 2006 15:37:49 -0000 1.137 +++ gaim.spec 1 Oct 2006 03:33:09 -0000 1.138 @@ -167,6 +167,9 @@ %patch200 -p1 -b .transparent +# patch 183 touches configure.ac +autoconf + # Relabel internal version for support purposes sed -i "s/%{version}%{betaver}/%{version}-%{release}/g" configure chmod 755 configure From fedora-cvs-commits at redhat.com Sun Oct 1 03:36:27 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sat, 30 Sep 2006 23:36:27 -0400 Subject: rpms/gaim/devel gaim.spec,1.138,1.139 Message-ID: <200610010336.k913aRak018236@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/gaim/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv18082 Modified Files: gaim.spec Log Message: BR autoconf Index: gaim.spec =================================================================== RCS file: /cvs/dist/rpms/gaim/devel/gaim.spec,v retrieving revision 1.138 retrieving revision 1.139 diff -u -r1.138 -r1.139 --- gaim.spec 1 Oct 2006 03:33:09 -0000 1.138 +++ gaim.spec 1 Oct 2006 03:36:25 -0000 1.139 @@ -130,6 +130,8 @@ BuildRequires: ekg-devel %endif +BuildRequires: autoconf + %description Gaim allows you to talk to anyone using a variety of messaging protocols, including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, From fedora-cvs-commits at redhat.com Sun Oct 1 04:52:36 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 00:52:36 -0400 Subject: rpms/eclipse/devel eclipse.spec,1.339,1.340 Message-ID: <200610010452.k914qaVr008885@cvs.devel.redhat.com> Author: overholt Update of /cvs/dist/rpms/eclipse/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv8723 Modified Files: eclipse.spec Log Message: * Sun Oct 01 2006 Andrew Overholt 3.2.1-4 - Fix triggerpostun to include epoch of previous releases. Index: eclipse.spec =================================================================== RCS file: /cvs/dist/rpms/eclipse/devel/eclipse.spec,v retrieving revision 1.339 retrieving revision 1.340 diff -u -r1.339 -r1.340 --- eclipse.spec 29 Sep 2006 22:28:09 -0000 1.339 +++ eclipse.spec 1 Oct 2006 04:52:33 -0000 1.340 @@ -32,7 +32,7 @@ Summary: An open, extensible IDE Name: eclipse Version: %{eclipse_majmin}.%{eclipse_micro} -Release: 3%{?dist} +Release: 4%{?dist} License: EPL Group: Text Editors/Integrated Development Environments (IDE) URL: http://www.eclipse.org/ @@ -1281,7 +1281,7 @@ # This is to deal with my stupidity that manifested itself as # rebuild-sdk-features -- overholt -%triggerpostun rcp -- eclipse-rcp < 3.2.1, eclipse-rcp-devel < 3.2.1, eclipse-pde < 3.2.1, eclipse-pde-devel < 3.2.1, eclipse-jdt < 3.2.1, eclipse-jdt-devel < 3.2.1, eclipse-platform < 3.2.1, eclipse-platform-devel < 3.2.1 +%triggerpostun rcp -- eclipse-rcp < 1:3.2.1, eclipse-rcp-devel < 1:3.2.1, eclipse-pde < 1:3.2.1, eclipse-pde-devel < 1:3.2.1, eclipse-jdt < 1:3.2.1, eclipse-jdt-devel < 1:3.2.1, eclipse-platform < 1:3.2.1, eclipse-platform-devel < 1:3.2.1 # Remove crap from rebuild-sdk-features rm -rf %{_datadir}/%{name}/features/org.eclipse.sdk_3.1.2 # Remove pre-configured, unnecessary platform.xml created by rebuild-sdk-features @@ -1607,6 +1607,9 @@ %{_datadir}/%{name}/plugins/org.eclipse.sdk_* %changelog +* Sun Oct 01 2006 Andrew Overholt 3.2.1-4 +- Fix triggerpostun to include epoch of previous releases. + * Fri Sep 29 2006 Ben Konrath 3.2.1-3 - Add Requires(post,postun) to platform and sdk sub-packages so that post and postun scripts work correctly. From fedora-cvs-commits at redhat.com Sun Oct 1 05:00:32 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 01:00:32 -0400 Subject: rpms/gcalctool/devel gcalctool-5.8.24-matherr.patch, NONE, 1.1 gcalctool.spec, 1.24, 1.25 Message-ID: <200610010500.k9150Wq3016011@cvs.devel.redhat.com> Author: mclasen Update of /cvs/dist/rpms/gcalctool/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv15852 Modified Files: gcalctool.spec Added Files: gcalctool-5.8.24-matherr.patch Log Message: fix a segfault in the or_IN locale gcalctool-5.8.24-matherr.patch: calctool.c | 3 ++- gtk.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) --- NEW FILE gcalctool-5.8.24-matherr.patch --- --- gcalctool-5.8.24/gcalctool/calctool.c.matherr 2006-07-24 13:24:20.000000000 -0400 +++ gcalctool-5.8.24/gcalctool/calctool.c 2006-10-01 00:57:18.000000000 -0400 @@ -1231,7 +1231,8 @@ if (!v->started) { return; } - STRCPY(v->display, errmes); + strncpy(v->display, errmes, MAXLINE - 1); + v->display[MAXLINE - 1] = '\0'; set_error_state(TRUE); set_display(v->display, FALSE); beep(); --- gcalctool-5.8.24/gcalctool/gtk.c.matherr 2006-08-09 12:54:01.000000000 -0400 +++ gcalctool-5.8.24/gcalctool/gtk.c 2006-10-01 00:59:24.000000000 -0400 @@ -2353,7 +2353,7 @@ { char tooltip[MAXLINE]; - SPRINTF(tooltip, _("Set accuracy from 0 to %d numeric places. Currently set to %d places. [a]"), + snprintf (tooltip, MAXLINE, _("Set accuracy from 0 to %d numeric places. Currently set to %d places. [a]"), MAXACC, accuracy); gtk_tooltips_set_tip(X->tips, BUT_ACC, tooltip, ""); } Index: gcalctool.spec =================================================================== RCS file: /cvs/dist/rpms/gcalctool/devel/gcalctool.spec,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- gcalctool.spec 4 Sep 2006 22:18:49 -0000 1.24 +++ gcalctool.spec 1 Oct 2006 05:00:30 -0000 1.25 @@ -1,6 +1,6 @@ Name: gcalctool Version: 5.8.24 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A desktop calculator Group: Applications/System @@ -27,6 +27,7 @@ Requires(preun): GConf2 Patch1: gcalctool-flex-crap.patch +Patch2: gcalctool-5.8.24-matherr.patch %description gcalctool is a powerful graphical calculator with financial, logical and @@ -36,6 +37,7 @@ %prep %setup -q %patch1 -p1 -b .flex-crap +%patch2 -p1 -b .matherr %build @@ -93,6 +95,10 @@ %changelog +* Sun Oct 1 2006 Matthias Clasen - 5.8.24-2 +- Fix a segfault in the or_IN locale due to careless + string handling. (#208695) + * Mon Sep 4 2006 Matthias Clasen - 5.8.24-1.fc6 - Update to 5.8.24 From fedora-cvs-commits at redhat.com Sun Oct 1 07:41:24 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 03:41:24 -0400 Subject: rpms/tar/devel tar-1.15.1-xattrs.patch,1.1,1.2 tar.spec,1.47,1.48 Message-ID: <200610010741.k917fOjT031007@cvs.devel.redhat.com> Author: pvrabec Update of /cvs/dist/rpms/tar/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30857 Modified Files: tar-1.15.1-xattrs.patch tar.spec Log Message: fix tar-1.15.1-xattrs.patch (#208701) tar-1.15.1-xattrs.patch: Makefile.in | 24 + aclocal.m4 | 386 +++++++------------------ config.hin | 45 ++ config/config.guess | 141 +++------ config/config.sub | 111 +------ configure | 790 +++++++++++++++++++++++++++++++++++++++++++++++++--- configure.ac | 9 doc/Makefile.in | 17 - doc/header.texi | 22 + doc/stamp-vti | 4 doc/tar.info | 409 +++++++++++++++----------- doc/tar.texi | 47 +++ doc/version.texi | 4 lib/Makefile.in | 6 lib/localedir.h | 2 rmt/Makefile.in | 9 scripts/Makefile.in | 10 src/Makefile.am | 7 src/Makefile.in | 23 - src/common.h | 24 + src/create.c | 32 ++ src/extract.c | 121 ++++++- src/list.c | 7 src/misc.c | 4 src/tar.c | 80 +++++ src/tar.h | 22 + src/xattrs.c | 402 ++++++++++++++++++++++++++ src/xattrs.h | 14 src/xheader.c | 318 +++++++++++++++++--- tests/Makefile.in | 6 30 files changed, 2301 insertions(+), 795 deletions(-) View full diff with command: /usr/bin/cvs -f diff -kk -u -N -r 1.1 -r 1.2 tar-1.15.1-xattrs.patch Index: tar-1.15.1-xattrs.patch =================================================================== RCS file: /cvs/dist/rpms/tar/devel/tar-1.15.1-xattrs.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tar-1.15.1-xattrs.patch 29 Sep 2006 14:42:44 -0000 1.1 +++ tar-1.15.1-xattrs.patch 1 Oct 2006 07:41:22 -0000 1.2 @@ -1,3539 +1,1869 @@ -diff -rup tar-1.15.1-orig/aclocal.m4 tar-1.15.1/aclocal.m4 ---- tar-1.15.1-orig/aclocal.m4 2004-12-21 08:29:44.000000000 -0500 -+++ tar-1.15.1/aclocal.m4 2006-09-25 11:01:16.000000000 -0400 -@@ -1,7 +1,7 @@ --# generated automatically by aclocal 1.9.3 -*- Autoconf -*- -+# generated automatically by aclocal 1.9.6 -*- Autoconf -*- +--- tar-1.15.1/lib/localedir.h.xattrs 2004-12-21 15:01:12.000000000 +0100 ++++ tar-1.15.1/lib/localedir.h 2006-10-01 08:32:50.000000000 +0200 +@@ -1,4 +1,4 @@ + #define LOCALEDIR "/usr/share/locale" + #ifndef DEFAULT_RMT_COMMAND +-# define DEFAULT_RMT_COMMAND "/etc/rmt" ++# define DEFAULT_RMT_COMMAND "/sbin/rmt" + #endif +--- tar-1.15.1/lib/Makefile.in.xattrs 2004-12-21 14:31:00.000000000 +0100 ++++ tar-1.15.1/lib/Makefile.in 2006-10-01 08:32:13.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.9.3 from Makefile.am. ++# Makefile.in generated by automake 1.9.6 from Makefile.am. + # @configure_input@ --# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 --# Free Software Foundation, Inc. -+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -+# 2005 Free Software Foundation, Inc. - # This file is free software; the Free Software Foundation + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004 Free Software Foundation, Inc. ++# 2003, 2004, 2005 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -@@ -11,23 +11,11 @@ - # even the implied warranty of MERCHANTABILITY or FITNESS FOR A - # PARTICULAR PURPOSE. +@@ -20,8 +20,6 @@ + # Free Software Foundation, Inc. --# -*- Autoconf -*- --# Copyright (C) 2002, 2003 Free Software Foundation, Inc. --# Generated from amversion.in; do not edit by hand. -- --# This program is free software; you can redistribute it and/or modify --# it under the terms of the GNU General Public License as published by --# the Free Software Foundation; either version 2, or (at your option) --# any later version. -- --# This program is distributed in the hope that it will be useful, --# but WITHOUT ANY WARRANTY; without even the implied warranty of --# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --# GNU General Public License for more details. -- --# You should have received a copy of the GNU General Public License --# along with this program; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -+# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. - # AM_AUTOMAKE_VERSION(VERSION) - # ---------------------------- -@@ -40,26 +28,15 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api - # Call AM_AUTOMAKE_VERSION so it can be traced. - # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. - AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -- [AM_AUTOMAKE_VERSION([1.9.3])]) -- --# AM_AUX_DIR_EXPAND +-SOURCES = $(libtar_a_SOURCES) - --# Copyright (C) 2001, 2003 Free Software Foundation, Inc. -+ [AM_AUTOMAKE_VERSION([1.9.6])]) + srcdir = @srcdir@ + top_srcdir = @top_srcdir@ + VPATH = @srcdir@ +--- tar-1.15.1/config.hin.xattrs 2004-12-21 14:33:11.000000000 +0100 ++++ tar-1.15.1/config.hin 2006-10-01 08:32:13.000000000 +0200 +@@ -76,6 +76,9 @@ + includes only if HAVE_ALLOCA_H is defined. */ + #undef HAVE_ALLOCA_H --# This program is free software; you can redistribute it and/or modify --# it under the terms of the GNU General Public License as published by --# the Free Software Foundation; either version 2, or (at your option) --# any later version. -+# AM_AUX_DIR_EXPAND -*- Autoconf -*- ++/* Define to 1 if you have the header file. */ ++#undef HAVE_ATTR_XATTR_H ++ + /* Define to 1 if you have the `btowc' function. */ + #undef HAVE_BTOWC --# This program is distributed in the hope that it will be useful, --# but WITHOUT ANY WARRANTY; without even the implied warranty of --# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --# GNU General Public License for more details. -- --# You should have received a copy of the GNU General Public License --# along with this program; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA --# 02111-1307, USA. -+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. +@@ -222,9 +225,18 @@ + /* Define to 1 if you have the header file. */ + #undef HAVE_FEATURES_H - # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets - # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to -@@ -106,26 +83,16 @@ AC_PREREQ([2.50])dnl - am_aux_dir=`cd $ac_aux_dir && pwd` - ]) ++/* Define to 1 if you have the `fgetxattr' function. */ ++#undef HAVE_FGETXATTR ++ ++/* Define to 1 if you have the `flistxattr' function. */ ++#undef HAVE_FLISTXATTR ++ + /* Define to 1 if you have the `flockfile' function. */ + #undef HAVE_FLOCKFILE --# AM_CONDITIONAL -*- Autoconf -*- -- --# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. -+# AM_CONDITIONAL -*- Autoconf -*- ++/* Define to 1 if you have the `fsetxattr' function. */ ++#undef HAVE_FSETXATTR ++ + /* Define to 1 if you have the `fsync' function. */ + #undef HAVE_FSYNC --# This program is free software; you can redistribute it and/or modify --# it under the terms of the GNU General Public License as published by --# the Free Software Foundation; either version 2, or (at your option) --# any later version. -- --# This program is distributed in the hope that it will be useful, --# but WITHOUT ANY WARRANTY; without even the implied warranty of --# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --# GNU General Public License for more details. -- --# You should have received a copy of the GNU General Public License --# along with this program; if not, write to the Free Software --# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA --# 02111-1307, USA. -+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 -+# Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. +@@ -252,6 +264,9 @@ + /* Define to 1 if you have the `gettimeofday' function. */ + #undef HAVE_GETTIMEOFDAY --# serial 6 -+# serial 7 ++/* Define to 1 if you have the `getxattr' function. */ ++#undef HAVE_GETXATTR ++ + /* Define if you have the iconv() function. */ + #undef HAVE_ICONV - # AM_CONDITIONAL(NAME, SHELL-CONDITION) - # ------------------------------------- -@@ -149,26 +116,15 @@ AC_CONFIG_COMMANDS_PRE( - Usually this means the macro was only invoked conditionally.]]) - fi])]) +@@ -280,12 +295,27 @@ + /* Define to 1 if you have the `lchown' function. */ + #undef HAVE_LCHOWN --# serial 7 -*- Autoconf -*- ++/* Define to 1 if you have the `lgetxattr' function. */ ++#undef HAVE_LGETXATTR ++ ++/* Define to 1 if you have the `acl' library (-lacl). */ ++#undef HAVE_LIBACL ++ ++/* Define to 1 if you have the `selinux' library (-lselinux). */ ++#undef HAVE_LIBSELINUX ++ + /* Define to 1 if you have the header file. */ + #undef HAVE_LINEWRAP_H --# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 [...8145 lines suppressed...] +- DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) ++ DRS?6000:UNIX_SV:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7 && exit 0 ;; + esac ;; +@@ -414,9 +406,6 @@ + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit 0 ;; +- m68k:machten:*:*) +- echo m68k-apple-machten${UNAME_RELEASE} +- exit 0 ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit 0 ;; +@@ -752,7 +741,7 @@ + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + *:UNICOS/mp:*:*) +- echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' ++ echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` +@@ -760,11 +749,6 @@ + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit 0 ;; +- 5000:UNIX_System_V:4.*:*) +- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` +- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` +- echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" +- exit 0 ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit 0 ;; +@@ -774,8 +758,19 @@ + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit 0 ;; +- *:FreeBSD:*:*) +- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ++ *:FreeBSD:*:*|*:GNU/FreeBSD:*:*) ++ # Determine whether the default compiler uses glibc. ++ eval $set_cc_for_build ++ sed 's/^ //' << EOF >$dummy.c ++ #include ++ #if __GLIBC__ >= 2 ++ LIBC=gnu ++ #else ++ LIBC= ++ #endif ++EOF ++ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` ++ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} + exit 0 ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin +@@ -808,13 +803,8 @@ + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + *:GNU:*:*) +- # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit 0 ;; +- *:GNU/*:*:*) +- # other systems with GNU libc and userland +- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu +- exit 0 ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit 0 ;; +@@ -824,17 +814,8 @@ + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit 0 ;; +- crisv32:Linux:*:*) +- echo crisv32-axis-linux-gnu +- exit 0 ;; +- frv:Linux:*:*) +- echo frv-unknown-linux-gnu +- exit 0 ;; + ia64:Linux:*:*) +- echo ${UNAME_MACHINE}-unknown-linux-gnu +- exit 0 ;; +- m32r*:Linux:*:*) +- echo ${UNAME_MACHINE}-unknown-linux-gnu ++ echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu + exit 0 ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu +@@ -878,10 +859,10 @@ + test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 + ;; + ppc:Linux:*:*) +- echo powerpc-unknown-linux-gnu ++ echo powerpc-${VENDOR:-unknown}-linux-gnu + exit 0 ;; + ppc64:Linux:*:*) +- echo powerpc64-unknown-linux-gnu ++ echo powerpc64-${VENDOR:-unknown}-linux-gnu + exit 0 ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in +@@ -909,7 +890,7 @@ + echo hppa64-unknown-linux-gnu + exit 0 ;; + s390:Linux:*:* | s390x:Linux:*:*) +- echo ${UNAME_MACHINE}-ibm-linux ++ echo ${UNAME_MACHINE}-${VENDOR:-ibm}-linux-gnu + exit 0 ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu +@@ -921,7 +902,7 @@ + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + x86_64:Linux:*:*) +- echo x86_64-unknown-linux-gnu ++ echo x86_64-${VENDOR:-unknown}-linux-gnu + exit 0 ;; + i*86:Linux:*:*) + # The BFD linker knows what the default object file format is, so +@@ -971,12 +952,9 @@ + LIBC=gnuaout + #endif + #endif +- #ifdef __dietlibc__ +- LIBC=dietlibc +- #endif + EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` +- test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 ++ test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR:-pc}-linux-${LIBC}" && exit 0 + test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 + ;; + i*86:DYNIX/ptx:4*:*) +@@ -1004,9 +982,6 @@ + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit 0 ;; +- i*86:syllable:*:*) +- echo ${UNAME_MACHINE}-pc-syllable +- exit 0 ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; +@@ -1076,9 +1051,9 @@ + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit 0 ;; +- M68*:*:R3V[5678]*:*) ++ M68*:*:R3V[567]*:*) + test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; +- 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) ++ 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` +@@ -1176,10 +1151,9 @@ + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit 0 ;; + *:Darwin:*:*) +- UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown +- case $UNAME_PROCESSOR in ++ case `uname -p` in + *86) UNAME_PROCESSOR=i686 ;; +- unknown) UNAME_PROCESSOR=powerpc ;; ++ powerpc) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit 0 ;; +@@ -1194,7 +1168,7 @@ + *:QNX:*:4*) + echo i386-pc-qnx + exit 0 ;; +- NSR-?:NONSTOP_KERNEL:*:*) ++ NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit 0 ;; + *:NonStop-UX:*:*) +@@ -1238,19 +1212,6 @@ + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit 0 ;; +- *:DragonFly:*:*) +- echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` +- exit 0 ;; +- *:*VMS:*:*) +- UNAME_MACHINE=`(uname -p) 2>/dev/null` +- case "${UNAME_MACHINE}" in +- A*) echo alpha-dec-vms && exit 0 ;; +- I*) echo ia64-dec-vms && exit 0 ;; +- V*) echo vax-dec-vms && exit 0 ;; +- esac ;; +- *:XENIX:*:SysV) +- echo i386-pc-xenix +- exit 0 ;; + esac + + #echo '(No uname command or uname output not recognized.)' 1>&2 Index: tar.spec =================================================================== RCS file: /cvs/dist/rpms/tar/devel/tar.spec,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- tar.spec 29 Sep 2006 14:42:44 -0000 1.47 +++ tar.spec 1 Oct 2006 07:41:22 -0000 1.48 @@ -2,7 +2,7 @@ Name: tar Epoch: 2 Version: 1.15.1 -Release: 17 +Release: 18 License: GPL Group: Applications/Archiving URL: http://www.gnu.org/software/tar/ @@ -113,6 +113,9 @@ %{_infodir}/tar.info* %changelog +* Sun Oct 01 2006 Peter Vrabec 2:1.15.1-18 +- fix tar-1.15.1-xattrs.patch (#208701) + * Tue Sep 19 2006 Peter Vrabec 2:1.15.1-17 - start new epoch, downgrade to solid stable 1.15.1-16 (#206979), - all patches are backported From fedora-cvs-commits at redhat.com Sun Oct 1 16:54:38 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 12:54:38 -0400 Subject: rpms/pm-utils/devel pm-utils.spec,1.43,1.44 Message-ID: <200610011654.k91GscVD032563@cvs.devel.redhat.com> Author: pjones Update of /cvs/dist/rpms/pm-utils/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv32300 Modified Files: pm-utils.spec Log Message: - Disable bluetooth S/R hook. Index: pm-utils.spec =================================================================== RCS file: /cvs/dist/rpms/pm-utils/devel/pm-utils.spec,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- pm-utils.spec 28 Sep 2006 21:29:15 -0000 1.43 +++ pm-utils.spec 1 Oct 2006 16:54:36 -0000 1.44 @@ -2,7 +2,7 @@ Summary: Power management utilities and scripts for Fedora Core License: GPL Version: 0.19.1 -Release: 2 +Release: 3 Group: System Environment/Base ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 Requires: usermode kbd pciutils >= 2.2.1 @@ -70,6 +70,7 @@ cd vbetool-0.4 make DESTDIR=$RPM_BUILD_ROOT install cd .. +chmod -x $RPM_BUILD_ROOT/etc/pm/hooks/49bluetooth cd radeontool-1.5 mkdir -p $RPM_BUILD_ROOT/%{_sbindir} @@ -116,6 +117,10 @@ %{_mandir}/man*/* %changelog +* Sun Oct 1 2006 Peter Jones - 0.19.1-3 +- Disable bluetooth suspend/reusme hook by default; the kernel modules seem + to support this correctly these days. + * Thu Sep 28 2006 Peter Jones - 0.19.1-2 - Ignore emacs backup files in config directories (#185979) From fedora-cvs-commits at redhat.com Sun Oct 1 19:13:00 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 15:13:00 -0400 Subject: rpms/audit/FC-5 audit-1.2.8-defines.patch, NONE, 1.1 audit.spec, 1.92, 1.93 Message-ID: <200610011913.k91JD0mJ007180@cvs.devel.redhat.com> Author: sgrubb Update of /cvs/dist/rpms/audit/FC-5 In directory cvs.devel.redhat.com:/tmp/cvs-serv6783 Modified Files: audit.spec Added Files: audit-1.2.8-defines.patch Log Message: Add patch for 2.6.18 kernel defines audit-1.2.8-defines.patch: libaudit.h | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletion(-) --- NEW FILE audit-1.2.8-defines.patch --- diff -ur audit-1.2.8.orig/lib/libaudit.h audit-1.2.8/lib/libaudit.h --- audit-1.2.8.orig/lib/libaudit.h 2006-10-01 15:02:50.000000000 -0400 +++ audit-1.2.8/lib/libaudit.h 2006-10-01 15:04:53.000000000 -0400 @@ -89,7 +89,14 @@ #define AUDIT_FIRST_EVENT 1300 #define AUDIT_LAST_EVENT 1399 #ifndef AUDIT_KERNEL_OTHER -#define AUDIT_KERNEL_OTHER 1316 /* 3rd party kernel module use */ +#define AUDIT_CWD 1307 /* Current working directory */ +#define AUDIT_EXECVE 1309 /* execve arguments */ +#define AUDIT_IPC_SET_PERM 1311 /* IPC new permissions record type */ +#define AUDIT_MQ_OPEN 1312 /* POSIX MQ open record type */ +#define AUDIT_MQ_SENDRECV 1313 /* POSIX MQ send/receive record type */ +#define AUDIT_MQ_NOTIFY 1314 /* POSIX MQ notify record type */ +#define AUDIT_MQ_GETSETATTR 1315 /* POSIX MQ get/set attribute record type */ +#define AUDIT_KERNEL_OTHER 1316 /* For use by 3rd party modules */ #endif #define AUDIT_LAST_EVENT 1399 Index: audit.spec =================================================================== RCS file: /cvs/dist/rpms/audit/FC-5/audit.spec,v retrieving revision 1.92 retrieving revision 1.93 diff -u -r1.92 -r1.93 --- audit.spec 29 Sep 2006 20:53:03 -0000 1.92 +++ audit.spec 1 Oct 2006 19:12:57 -0000 1.93 @@ -7,6 +7,7 @@ URL: http://people.redhat.com/sgrubb/audit/ Source0: %{name}-%{version}.tar.gz Patch1: audit-1.2.7-fc5.patch +Patch2: audit-1.2.8-defines.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libtool swig python-devel BuildRequires: glibc-kernheaders >= 3.0-5 @@ -56,6 +57,7 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 %build autoreconf -fv --install @@ -157,7 +159,7 @@ %changelog -* Fri Sep 29 2006 Steve Grubb 1.2.8-1.fc5 +* Sun Oct 01 2006 Steve Grubb 1.2.8-1.fc5 - Make internal auditd buffers bigger for context info - Correct address resolving of hostname in logging functions - Do not allow multiple msgtypes in same audit rule in auditctl (#207666) From fedora-cvs-commits at redhat.com Sun Oct 1 19:21:17 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 15:21:17 -0400 Subject: rpms/gdb/devel gdb-6.5-bz172034-disasm-i386-C6-C7.patch, NONE, 1.1 gdb-6.5-bz181390-memory-address-width.patch, NONE, 1.1 gdb-6.5-bz190810-gdbserver-arch-advice.patch, NONE, 1.1 gdb-6.5-bz198365-IPv6.patch, NONE, 1.1 gdb-6.5-gcore-i386-on-amd64.patch, NONE, 1.1 gdb.spec, 1.199, 1.200 gdb-6.5-IPv6.patch, 1.1, NONE Message-ID: <200610011921.k91JLHfj002490@cvs.devel.redhat.com> Author: jkratoch Update of /cvs/dist/rpms/gdb/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv2459 Modified Files: gdb.spec Added Files: gdb-6.5-bz172034-disasm-i386-C6-C7.patch gdb-6.5-bz181390-memory-address-width.patch gdb-6.5-bz190810-gdbserver-arch-advice.patch gdb-6.5-bz198365-IPv6.patch gdb-6.5-gcore-i386-on-amd64.patch Removed Files: gdb-6.5-IPv6.patch Log Message: * Sun Oct 1 2006 Jan Kratochvil - 6.5-11 - No longer disassemble invalid i386 opcodes of movQ/movA (BZ 172034). - Simplify the IPv6 patch for gdbserver (BZ 198365). - Suggest fixing your target architecture for gdbserver(1) (BZ 190810). - Fix dereferencing registers for 32bit inferiors on 64bit hosts (BZ 181390). - Fix `gcore' command for 32bit inferiors on 64bit hosts. gdb-6.5-bz172034-disasm-i386-C6-C7.patch: i386-dis.c | 40 ++++++++++++++++++++++++++++++++-------- 1 files changed, 32 insertions(+), 8 deletions(-) --- NEW FILE gdb-6.5-bz172034-disasm-i386-C6-C7.patch --- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=172034 [ backported ] revision 1.83 date: 2006/07/15 16:33:24; author: hjl; state: Exp; lines: +34 -10 2006-07-15 H.J. Lu PR binutils/2829 * i386-dis.c (GRP11_C6): NEW. (GRP11_C7): Likewise. (GRP12): Updated. (GRP13): Likewise. (GRP14): Likewise. (GRP15): Likewise. (GRP16): Likewise. (GRPAMD): Likewise. (GRPPADLCK1): Likewise. (GRPPADLCK2): Likewise. (dis386): Use GRP11_C6 and GRP11_C7 for entres 0xc6 and 0xc7, respectively. (grps): Add entries for GRP11_C6 and GRP11_C7. diff -rup gdb-6.5.orig/opcodes/i386-dis.c gdb-6.5/opcodes/i386-dis.c --- gdb-6.5.orig/opcodes/i386-dis.c 2006-09-28 15:50:43.000000000 -0400 +++ gdb-6.5/opcodes/i386-dis.c 2006-09-28 15:56:00.000000000 -0400 @@ -420,12 +420,14 @@ fetch_data (struct disassemble_info *inf #define GRP9 NULL, NULL, USE_GROUPS, NULL, 16, NULL, 0 #define GRP10 NULL, NULL, USE_GROUPS, NULL, 17, NULL, 0 #define GRP11 NULL, NULL, USE_GROUPS, NULL, 18, NULL, 0 -#define GRP12 NULL, NULL, USE_GROUPS, NULL, 19, NULL, 0 -#define GRP13 NULL, NULL, USE_GROUPS, NULL, 20, NULL, 0 -#define GRP14 NULL, NULL, USE_GROUPS, NULL, 21, NULL, 0 -#define GRPAMD NULL, NULL, USE_GROUPS, NULL, 22, NULL, 0 -#define GRPPADLCK1 NULL, NULL, USE_GROUPS, NULL, 23, NULL, 0 -#define GRPPADLCK2 NULL, NULL, USE_GROUPS, NULL, 24, NULL, 0 +#define GRP11_C6 NULL, NULL, USE_GROUPS, NULL, 19, NULL, 0 +#define GRP11_C7 NULL, NULL, USE_GROUPS, NULL, 20, NULL, 0 +#define GRP12 NULL, NULL, USE_GROUPS, NULL, 21, NULL, 0 +#define GRP13 NULL, NULL, USE_GROUPS, NULL, 22, NULL, 0 +#define GRP14 NULL, NULL, USE_GROUPS, NULL, 23, NULL, 0 +#define GRPAMD NULL, NULL, USE_GROUPS, NULL, 24, NULL, 0 +#define GRPPADLCK1 NULL, NULL, USE_GROUPS, NULL, 25, NULL, 0 +#define GRPPADLCK2 NULL, NULL, USE_GROUPS, NULL, 26, NULL, 0 #define PREGRP0 NULL, NULL, USE_PREFIX_USER_TABLE, NULL, 0, NULL, 0 #define PREGRP1 NULL, NULL, USE_PREFIX_USER_TABLE, NULL, 1, NULL, 0 @@ -739,8 +741,8 @@ static const struct dis386 dis386[] = { { "retT", XX, XX, XX }, { "les{S|}", Gv, Mp, XX }, { "ldsS", Gv, Mp, XX }, - { "movA", Eb, Ib, XX }, - { "movQ", Ev, Iv, XX }, + { GRP11_C6 }, + { GRP11_C7 }, /* c8 */ { "enterT", Iw, Ib, XX }, { "leaveT", XX, XX, XX }, @@ -1453,6 +1455,28 @@ static const struct dis386 grps[][8] = { { "pslld", MS, Ib, XX }, { "(bad)", XX, XX, XX }, }, + /* GRP11_C6 */ + { + { "movA", Eb, Ib, XX }, + { "(bad)", XX, XX, XX }, + { "(bad)", XX, XX, XX }, + { "(bad)", XX, XX, XX }, + { "(bad)", XX, XX, XX }, + { "(bad)", XX, XX, XX }, + { "(bad)", XX, XX, XX }, + { "(bad)", XX, XX, XX }, + }, + /* GRP11_C7 */ + { + { "movQ", Ev, Iv, XX }, + { "(bad)", XX, XX, XX }, + { "(bad)", XX, XX, XX }, + { "(bad)", XX, XX, XX }, + { "(bad)", XX, XX, XX }, + { "(bad)", XX, XX, XX }, + { "(bad)", XX, XX, XX }, + { "(bad)", XX, XX, XX }, + }, /* GRP12 */ { { "(bad)", XX, XX, XX }, gdb-6.5-bz181390-memory-address-width.patch: gdb-6.5/gdb/utils.c | 0 gdb-6.5/gdb/value.c | 0 gdb/utils.c | 10 ++++++++++ gdb/value.c | 36 +++++++++++++++++++++++++++++++----- 4 files changed, 41 insertions(+), 5 deletions(-) --- NEW FILE gdb-6.5-bz181390-memory-address-width.patch --- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=181390 2006-09-28 Jan Kratochvil * gdb/utils.c (paddress): Disable cutting of the printed addresses to the target's address bit size; user wants to see everything. * gdb/value.c (value_as_address_core): Original `value_as_address'. (value_as_address): New `value_as_address' wrapper - cut memory address to the target's address bit size, bugreport by John Reiser. Index: gdb-6.5/gdb/utils.c =================================================================== RCS file: /cvs/src/src/gdb/utils.c,v retrieving revision 1.169 diff -u -p -r1.169 utils.c --- gdb-6.5.orig/gdb/utils.c 21 Sep 2006 13:50:51 -0000 1.169 +++ gdb-6.5/gdb/utils.c 28 Sep 2006 17:06:03 -0000 @@ -2596,6 +2596,14 @@ paddr_nz (CORE_ADDR addr) const char * paddress (CORE_ADDR addr) { + /* Do not cut the address as the user should see all the information + available. Otherwise 64-bit gdb debugging 32-bit inferior would + report for `x/x 0xffffffffffffce70' error + `Cannot access memory at 0xffffce70' while the error occured just + because of the higher order bits 0xffffffff00000000 there. + This specific error no longer occurs as the address is now cut + during execution by `value_as_address'. */ +#if 0 /* Truncate address to the size of a target address, avoiding shifts larger or equal than the width of a CORE_ADDR. The local variable ADDR_BIT stops the compiler reporting a shift overflow @@ -2609,6 +2617,8 @@ paddress (CORE_ADDR addr) if (addr_bit < (sizeof (CORE_ADDR) * HOST_CHAR_BIT)) addr &= ((CORE_ADDR) 1 << addr_bit) - 1; +#endif + return hex_string (addr); } Index: gdb-6.5/gdb/value.c =================================================================== RCS file: /cvs/src/src/gdb/value.c,v retrieving revision 1.36 diff -u -p -r1.36 value.c --- gdb-6.5.orig/gdb/value.c 31 Mar 2006 10:36:18 -0000 1.36 +++ gdb-6.5/gdb/value.c 28 Sep 2006 17:06:03 -0000 @@ -950,11 +950,10 @@ value_as_double (struct value *val) error (_("Invalid floating value found in program.")); return foo; } -/* Extract a value as a C pointer. Does not deallocate the value. - Note that val's type may not actually be a pointer; value_as_long - handles all the cases. */ -CORE_ADDR -value_as_address (struct value *val) + +/* See `value_as_address' below - core of value to C pointer extraction. */ +static CORE_ADDR +value_as_address_core (struct value *val) { /* Assume a CORE_ADDR can fit in a LONGEST (for now). Not sure whether we want this to be true eventually. */ @@ -1054,6 +1053,33 @@ value_as_address (struct value *val) return unpack_long (value_type (val), value_contents (val)); #endif } + +/* Extract a value as a C pointer. Does not deallocate the value. + Note that val's type may not actually be a pointer; value_as_long + handles all the cases. */ +CORE_ADDR +value_as_address (struct value *val) +{ + CORE_ADDR addr; + + addr = value_as_address_core (val); + + /* Truncate address to the size of a target address, avoiding shifts + larger or equal than the width of a CORE_ADDR. The local + variable ADDR_BIT stops the compiler reporting a shift overflow + when it won't occur. */ + /* NOTE: This assumes that the significant address information is + kept in the least significant bits of ADDR - the upper bits were + either zero or sign extended. Should ADDRESS_TO_POINTER() or + some ADDRESS_TO_PRINTABLE() be used to do the conversion? */ + + int addr_bit = TARGET_ADDR_BIT; + + if (addr_bit < (sizeof (CORE_ADDR) * HOST_CHAR_BIT)) + addr &= ((CORE_ADDR) 1 << addr_bit) - 1; + + return addr; +} /* Unpack raw data (copied from debugee, target byte order) at VALADDR as a long, or as a double, assuming the raw data is described gdb-6.5-bz190810-gdbserver-arch-advice.patch: remote.c | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) --- NEW FILE gdb-6.5-bz190810-gdbserver-arch-advice.patch --- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190810 2006-09-26 Jan Kratochvil * remote.c (remote_wait): Suggestion on crash due to nonmatching target. (remote_async_wait): Likewise. --- gdb-6.5/gdb/remote.c.orig 2006-10-01 08:01:17.000000000 -0400 +++ gdb-6.5/gdb/remote.c 2006-10-01 08:03:18.000000000 -0400 @@ -2789,8 +2789,13 @@ reg->regnum, regs); } + /* It may also occur on amd64 which defaults to 32-bit i386 + target. gdbserver(1) is not aware of the `set architecture' + name itself as it is not using libbfd. */ if (*p++ != ';') - error (_("Remote register badly formatted: %s\nhere: %s"), + error (_("Remote register badly formatted: %s\nhere: %s" + "\nTry to load the executable by `file' first," + "\nyou may also check `set/show architecture'."), buf, p); } } @@ -2983,8 +2988,13 @@ regcache_raw_supply (current_regcache, reg->regnum, regs); } + /* It may also occur on amd64 which defaults to 32-bit i386 + target. gdbserver(1) is not aware of the `set architecture' + name itself as it is not using libbfd. */ if (*p++ != ';') - error (_("Remote register badly formatted: %s\nhere: %s"), + error (_("Remote register badly formatted: %s\nhere: %s" + "\nTry to load the executable by `file' first," + "\nyou may also check `set/show architecture'."), buf, p); } } gdb-6.5-bz198365-IPv6.patch: config.in | 10 + configure | 291 +++++++++++++++++++++++++++++++++++++- configure.ac | 6 doc/gdb.texinfo | 38 ++++- gdbserver/config.in | 10 + gdbserver/configure | 355 +++++++++++++++++++++++++++++++++++++++++++---- gdbserver/configure.ac | 6 gdbserver/gdbreplay.c | 242 +++++++++++++++++++++++++++----- gdbserver/remote-utils.c | 235 ++++++++++++++++++++++++++----- ser-tcp.c | 174 ++++++++++++++++------- 10 files changed, 1213 insertions(+), 154 deletions(-) --- NEW FILE gdb-6.5-bz198365-IPv6.patch --- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198365 2006-09-30 Jan Kratochvil * ser-tcp.c (net_open): Support IPv6, "tcp6:"&co. notation. * configure.ac: Check for IPv6 getaddrinfo, getnameinfo and AF_INET6. * configure, config.in: Regenerate. 2006-09-30 Jan Kratochvil * gdbreplay.c (remote_open): Support IPv6, "tcp6:"&co. notation. * remote-utils.c (remote_open): Likewise. * configure.ac: Check for IPv6 getaddrinfo, getnameinfo and AF_INET6. * configure, config.in: Regenerate. 2006-09-30 Jan Kratochvil * gdb.texinfo (Connecting to a remote target): Support IPv6, "tcp6:"&co. notation. (Using the gdbserver program): Likewise. diff -u -rup gdb-6.5-orig/gdb/config.in gdb-6.5/gdb/config.in --- gdb-6.5-orig/gdb/config.in 2005-07-03 18:05:11.000000000 +0200 +++ gdb-6.5/gdb/config.in 2006-09-30 14:18:50.000000000 +0200 @@ -72,6 +72,10 @@ /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT +/* Define to 1 if you have the declaration of `AF_INET6', and to 0 if you + don't. */ +#undef HAVE_DECL_AF_INET6 + /* Define to 1 if you have the declaration of `free', and to 0 if you don't. */ #undef HAVE_DECL_FREE @@ -118,12 +122,18 @@ /* Define if has fpregset_t. */ #undef HAVE_FPREGSET_T +/* Define to 1 if you have the `getaddrinfo' function. */ +#undef HAVE_GETADDRINFO + /* Define to 1 if you have the `getcwd' function. */ #undef HAVE_GETCWD /* Define to 1 if you have the `getgid' function. */ #undef HAVE_GETGID +/* Define to 1 if you have the `getnameinfo' function. */ +#undef HAVE_GETNAMEINFO + /* Define to 1 if you have the `getpagesize' function. */ #undef HAVE_GETPAGESIZE diff -u -rup gdb-6.5-orig/gdb/configure gdb-6.5/gdb/configure --- gdb-6.5-orig/gdb/configure 2006-09-30 13:21:47.000000000 +0200 +++ gdb-6.5/gdb/configure 2006-09-30 14:25:10.000000000 +0200 @@ -16593,6 +16593,285 @@ fi done +for ac_func in getaddrinfo +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +for ac_func in getnameinfo +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +echo "$as_me:$LINENO: checking whether AF_INET6 is declared" >&5 +echo $ECHO_N "checking whether AF_INET6 is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_AF_INET6+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include + + +int +main () +{ +#ifndef AF_INET6 + char *p = (char *) AF_INET6; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_AF_INET6=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_AF_INET6=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_AF_INET6" >&5 +echo "${ECHO_T}$ac_cv_have_decl_AF_INET6" >&6 +if test $ac_cv_have_decl_AF_INET6 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_AF_INET6 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_AF_INET6 0 +_ACEOF + + +fi + + + # Check the return and argument types of ptrace. No canned test for # this, so roll our own. gdb_ptrace_headers=' @@ -21471,7 +21750,7 @@ ac_x_header_dirs=' /usr/openwin/share/include' if test "$ac_x_includes" = no; then - # Guess where to find include files, by looking for Intrinsic.h. + # Guess where to find include files, by looking for Xlib.h. # First, try using that file with no special directory specified. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -21479,7 +21758,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 @@ -21506,7 +21785,7 @@ else sed 's/^/| /' conftest.$ac_ext >&5 for ac_dir in $ac_x_header_dirs; do - if test -r "$ac_dir/X11/Intrinsic.h"; then + if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir break fi @@ -21520,18 +21799,18 @@ if test "$ac_x_libraries" = no; then # See if we find them without any special options. # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS - LIBS="-lXt $LIBS" + LIBS="-lX11 $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include int main () { -XtMalloc (0) +XrmInitialize () ; return 0; } diff -u -rup gdb-6.5-orig/gdb/configure.ac gdb-6.5/gdb/configure.ac --- gdb-6.5-orig/gdb/configure.ac 2006-09-30 13:21:48.000000000 +0200 +++ gdb-6.5/gdb/configure.ac 2006-09-30 14:24:56.000000000 +0200 @@ -473,6 +473,12 @@ AC_CHECK_FUNCS(socketpair) AC_CHECK_FUNCS(syscall) AC_CHECK_FUNCS(ttrace) AC_CHECK_FUNCS(wborder) +AC_CHECK_FUNCS(getaddrinfo) +AC_CHECK_FUNCS(getnameinfo) +AC_CHECK_DECLS(AF_INET6, [], [], +[#include +#include +]) # Check the return and argument types of ptrace. No canned test for # this, so roll our own. diff -u -rup gdb-6.5-orig/gdb/doc/gdb.texinfo gdb-6.5/gdb/doc/gdb.texinfo --- gdb-6.5-orig/gdb/doc/gdb.texinfo 2006-09-30 13:21:48.000000000 +0200 +++ gdb-6.5/gdb/doc/gdb.texinfo 2006-09-30 13:34:32.000000000 +0200 @@ -12358,8 +12358,10 @@ If you're using a serial line, you may w (@pxref{Remote configuration, set remotebaud}) before the @code{target} command. - at item target remote @code{@var{host}:@var{port}} + at item target remote @code{@var{host}:@var{port}} @itemx target remote @code{tcp:@var{host}:@var{port}} + at itemx target remote @code{tcp4:@var{host}:@var{port}} + at itemx target remote @code{tcp6:@var{host}:@var{port}} @cindex @acronym{TCP} port, @code{target remote} Debug using a @acronym{TCP} connection to @var{port} on @var{host}. The @var{host} may be either a host name or a numeric @acronym{IP} @@ -12368,6 +12370,9 @@ the target machine itself, if it is dire it might be a terminal server which in turn has a serial line to the target. + at code{tcp6:} prefix forces IPv6 network connection while @code{tcp4:} forces +IPv4, both on the reliable stream TCP connection. + For example, to connect to port 2828 on a terminal server named @code{manyfarms}: @@ -12388,10 +12393,15 @@ target remote :1234 Note that the colon is still required here. @item target remote @code{udp:@var{host}:@var{port}} + at itemx target remote @code{udp6:@var{host}:@var{port}} + at itemx target remote @code{udp4:@var{host}:@var{port}} @cindex @acronym{UDP} port, @code{target remote} Debug using @acronym{UDP} packets to @var{port} on @var{host}. For example, to connect to @acronym{UDP} port 2828 on a terminal server named @code{manyfarms}: + at code{udp6:} prefix forces IPv6 network connection while @code{udp4:} forces +IPv4, both on the unreliable datagram UDP connection. + @smallexample target remote udp:manyfarms:2828 @end smallexample @@ -12532,14 +12542,30 @@ The only difference from the previous ex specifying that you are communicating with the host @value{GDBN} via TCP. The @samp{host:2345} argument means that @code{gdbserver} is to expect a TCP connection from machine @samp{host} to local TCP port 2345. -(Currently, the @samp{host} part is ignored.) You can choose any number -you want for the port number as long as it does not conflict with any -TCP ports already in use on the target system (for example, @code{23} is -reserved for @code{telnet}). at footnote{If you choose a port number that -conflicts with another service, @code{gdbserver} prints an error message +(The @samp{host} part is usually omitted as it defaults to listen from any +host. You may use a local address as expected by the @code{bind} syscall.) +You can choose any number you want for the port number as long as it does not +conflict with any TCP ports already in use on the target system (for example, + at code{23} is reserved for @code{telnet}). at footnote{If you choose a port number +that conflicts with another service, @code{gdbserver} prints an error message and exits.} You must use the same port number with the host @value{GDBN} @code{target remote} command. + at item gdbserver @code{tcp:@var{host}:@var{port}} emacs foo.txt + at itemx gdbserver @code{tcp6:@var{host}:@var{port}} emacs foo.txt + at itemx gdbserver @code{tcp4:@var{host}:@var{port}} emacs foo.txt + at itemx gdbserver @code{udp:@var{host}:@var{port}} emacs foo.txt + at itemx gdbserver @code{udp6:@var{host}:@var{port}} emacs foo.txt + at itemx gdbserver @code{udp4:@var{host}:@var{port}} emacs foo.txt + +The @code{::} part can be also replaced by the optional @var{host} part as +in the sample case of @code{tcp:@var{host}:@var{port}}. +These all alternative syntaxes force either the reliable stream TCP protocol or +the unreliable datagram UDP protocol appropriately. You may also force the use +of IPv6 or IPv4 network connections; @code{tcp:} and @code{udp:} select the +network version type according to the provided @var{host}. +The connection type defaults to the @code{tcp:} prefix behavior. + On some targets, @code{gdbserver} can also attach to running programs. This is accomplished via the @code{--attach} argument. The syntax is: diff -u -rup gdb-6.5-orig/gdb/gdbserver/config.in gdb-6.5/gdb/gdbserver/config.in --- gdb-6.5-orig/gdb/gdbserver/config.in 2006-03-15 17:13:28.000000000 +0100 +++ gdb-6.5/gdb/gdbserver/config.in 2006-09-30 16:23:20.000000000 +0200 @@ -1,5 +1,9 @@ /* config.in. Generated from configure.ac by autoheader. */ +/* Define to 1 if you have the declaration of `AF_INET6', and to 0 if you + don't. */ +#undef HAVE_DECL_AF_INET6 + /* Define to 1 if you have the declaration of `strerror', and to 0 if you don't. */ #undef HAVE_DECL_STRERROR @@ -7,6 +11,12 @@ /* Define if has elf_fpregset_t. */ #undef HAVE_ELF_FPREGSET_T +/* Define to 1 if you have the `getaddrinfo' function. */ +#undef HAVE_GETADDRINFO + +/* Define to 1 if you have the `getnameinfo' function. */ +#undef HAVE_GETNAMEINFO + /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H diff -u -rup gdb-6.5-orig/gdb/gdbserver/configure gdb-6.5/gdb/gdbserver/configure --- gdb-6.5-orig/gdb/gdbserver/configure 2006-03-15 17:13:28.000000000 +0100 +++ gdb-6.5/gdb/gdbserver/configure 2006-09-30 16:23:19.000000000 +0200 @@ -947,7 +947,7 @@ esac else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi - cd "$ac_popdir" + cd $ac_popdir done fi @@ -1865,7 +1865,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -1923,7 +1924,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2039,7 +2041,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2093,7 +2096,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2138,7 +2142,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2182,7 +2187,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2708,7 +2714,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2879,7 +2886,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2956,7 +2964,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3104,7 +3113,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3179,7 +3189,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3213,6 +3224,285 @@ fi . ${srcdir}/configure.srv +for ac_func in getaddrinfo +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +for ac_func in getnameinfo +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +echo "$as_me:$LINENO: checking whether AF_INET6 is declared" >&5 +echo $ECHO_N "checking whether AF_INET6 is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_AF_INET6+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include + + +int +main () +{ +#ifndef AF_INET6 + char *p = (char *) AF_INET6; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_AF_INET6=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_AF_INET6=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_AF_INET6" >&5 +echo "${ECHO_T}$ac_cv_have_decl_AF_INET6" >&6 +if test $ac_cv_have_decl_AF_INET6 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_AF_INET6 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_AF_INET6 0 +_ACEOF + + +fi + + + if test "${srv_linux_usrregs}" = "yes"; then cat >>confdefs.h <<\_ACEOF @@ -3257,7 +3547,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3318,7 +3609,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3383,7 +3675,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3447,7 +3740,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3511,7 +3805,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3575,7 +3870,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3654,7 +3950,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3711,7 +4008,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3776,7 +4074,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3833,7 +4132,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -4686,6 +4986,11 @@ esac *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac + if test x"$ac_file" != x-; then + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ @@ -4724,12 +5029,6 @@ echo "$as_me: error: cannot find input f fi;; esac done` || { (exit 1); exit 1; } - - if test x"$ac_file" != x-; then - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - rm -f "$ac_file" - fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub diff -u -rup gdb-6.5-orig/gdb/gdbserver/configure.ac gdb-6.5/gdb/gdbserver/configure.ac --- gdb-6.5-orig/gdb/gdbserver/configure.ac 2006-03-15 17:13:29.000000000 +0100 +++ gdb-6.5/gdb/gdbserver/configure.ac 2006-09-30 16:23:06.000000000 +0200 @@ -47,6 +47,12 @@ AC_CHECK_TYPES(socklen_t, [], [], #include ]) . ${srcdir}/configure.srv +AC_CHECK_FUNCS(getaddrinfo) +AC_CHECK_FUNCS(getnameinfo) +AC_CHECK_DECLS(AF_INET6, [], [], +[#include +#include +]) if test "${srv_linux_usrregs}" = "yes"; then AC_DEFINE(HAVE_LINUX_USRREGS, 1, diff -u -rup gdb-6.5-orig/gdb/gdbserver/gdbreplay.c gdb-6.5/gdb/gdbserver/gdbreplay.c --- gdb-6.5-orig/gdb/gdbserver/gdbreplay.c 2005-12-23 19:11:55.000000000 +0100 +++ gdb-6.5/gdb/gdbserver/gdbreplay.c 2006-09-30 16:26:09.000000000 +0200 @@ -99,6 +99,8 @@ remote_close (void) static void remote_open (char *name) { + char *name_orig = name; + if (!strchr (name, ':')) { fprintf (stderr, "%s: Must specify tcp connection as host:addr\n", name); @@ -108,56 +110,232 @@ remote_open (char *name) else { char *port_str; - int port; - struct sockaddr_in sockaddr; socklen_t tmp; - int tmp_desc; + int tmp_desc = -1; + struct prefix + { + const char *string; + int family; + int socktype; + }; + const struct prefix prefixes[] = + { + { "udp:", AF_UNSPEC, SOCK_DGRAM }, + { "tcp:", AF_UNSPEC, SOCK_STREAM }, + { "udp4:", AF_INET, SOCK_DGRAM }, + { "tcp4:", AF_INET, SOCK_STREAM }, +/* We do not support `AF_INET6' without getaddrinfo(3). */ +#if defined (HAVE_GETADDRINFO) && HAVE_DECL_AF_INET6 + { "udp6:", AF_INET6, SOCK_DGRAM }, + { "tcp6:", AF_INET6, SOCK_STREAM }, +#endif /* defined (HAVE_GETADDRINFO) && HAVE_DECL_AF_INET6 */ + }; + const struct prefix *prefix; +#ifdef HAVE_GETADDRINFO + struct addrinfo hints; + struct addrinfo *addrinfo_base, *addrinfo = NULL; + int err; +#else /* !HAVE_GETADDRINFO */ + struct sockaddr_in sockaddr; +#endif /* !HAVE_GETADDRINFO */ +#ifdef HAVE_GETNAMEINFO + char back_host[64], back_port[16]; +#endif /* HAVE_GETNAMEINFO */ + char *name_base; + + name_base = strdup (name); + name = name_base; +#ifdef HAVE_GETADDRINFO + memset (&hints, 0, sizeof (hints)); + hints.ai_family = AF_UNSPEC; + hints.ai_flags = AI_ADDRCONFIG | AI_PASSIVE; +#endif /* HAVE_GETADDRINFO */ + for (prefix = prefixes; + prefix < prefixes + sizeof (prefixes) / sizeof (*prefixes); + prefix++) + if (strncmp (name, prefix->string, strlen (prefix->string)) == 0) + { + name += strlen (prefix->string); +#ifdef HAVE_GETADDRINFO + hints.ai_family = prefix->family; + hints.ai_socktype = prefix->socktype; +#endif /* HAVE_GETADDRINFO */ + break; + } + if (prefix >= prefixes + sizeof (prefixes) / sizeof (*prefixes)) + prefix = NULL; + if ((prefix == NULL || prefix->family != AF_INET) + && name[0] == '[' && (port_str = strchr (name, ']'))) + { + name++; + *port_str++ = 0; + } + else + port_str = strchr (name, ':'); + /* It may happen with IPv6 for like "[::1]". */ + if (port_str == NULL || *port_str != ':') + { + fprintf (stderr, "net_open: No colon in host name!\n"); + fflush (stderr); + exit (1); + } + *port_str++ = 0; - port_str = strchr (name, ':'); + /* Default hostname for `node == NULL' is `INADDR_ANY'/`in6addr_any'. + as we did specify `hints.ai_flags & AI_PASSIVE'. */ + if (name[0] == 0) + name = NULL; + +#ifdef HAVE_GETADDRINFO + err = getaddrinfo (name, port_str, &hints, &addrinfo_base); + if (err != 0) + { + /* `name_base' is used here for `port_str'. */ + fprintf (stderr, "%s:%s: cannot resolve name: %s\n", + name, port_str, gai_strerror (err)); + fflush (stderr); + exit (1); + } - port = atoi (port_str + 1); + for (addrinfo = addrinfo_base; + addrinfo != NULL; + addrinfo = addrinfo->ai_next) + { + tmp_desc = socket (addrinfo->ai_family, addrinfo->ai_socktype, + addrinfo->ai_protocol); + if (tmp_desc >= 0) + break; + } + if (addrinfo == NULL) + { + freeaddrinfo (addrinfo_base); + perror_with_name ("Can't open socket"); + } +#else /* !HAVE_GETADDRINFO */ + sockaddr.sin_family = PF_INET; + sockaddr.sin_port = htons (atoi (port_str)); - tmp_desc = socket (PF_INET, SOCK_STREAM, 0); + if (name == NULL) + sockaddr.sin_addr.s_addr = INADDR_ANY; + else + { + struct hostent *hostent; + + hostent = gethostbyname (name); + if (hostent == NULL) + { + fprintf (stderr, "%s: unknown host\n", name); + free (name_base); + perror_with_name ("gethostbyname(3) resolving"); + } + + memcpy (&sockaddr.sin_addr.s_addr, hostent->h_addr, + sizeof (struct in_addr)); + } + + /* We assume matching `AF_*' and `PF_*'. */ + tmp_desc = socket (sockaddr.sin_family, + (prefix != NULL ? prefix->socktype : SOCK_STREAM), + 0); if (tmp_desc < 0) - perror_with_name ("Can't open socket"); + { + free (name_base); + perror_with_name ("Can't open socket"); + } +#endif /* !HAVE_GETADDRINFO */ /* Allow rapid reuse of this port. */ tmp = 1; setsockopt (tmp_desc, SOL_SOCKET, SO_REUSEADDR, (char *) &tmp, sizeof (tmp)); - sockaddr.sin_family = PF_INET; - sockaddr.sin_port = htons (port); - sockaddr.sin_addr.s_addr = INADDR_ANY; - +#ifdef HAVE_GETADDRINFO + if (bind (tmp_desc, addrinfo->ai_addr, addrinfo->ai_addrlen) + || ((prefix == NULL || prefix->socktype != SOCK_DGRAM) + && listen (tmp_desc, 1))) +#else /* !HAVE_GETADDRINFO */ if (bind (tmp_desc, (struct sockaddr *) &sockaddr, sizeof (sockaddr)) - || listen (tmp_desc, 1)) - perror_with_name ("Can't bind address"); - - tmp = sizeof (sockaddr); - remote_desc = accept (tmp_desc, (struct sockaddr *) &sockaddr, &tmp); - if (remote_desc == -1) - perror_with_name ("Accept failed"); - - /* Enable TCP keep alive process. */ - tmp = 1; - setsockopt (tmp_desc, SOL_SOCKET, SO_KEEPALIVE, (char *) &tmp, sizeof (tmp)); - - /* Tell TCP not to delay small packets. This greatly speeds up - interactive response. */ - tmp = 1; - setsockopt (remote_desc, IPPROTO_TCP, TCP_NODELAY, - (char *) &tmp, sizeof (tmp)); + || ((prefix == NULL || prefix->socktype != SOCK_DGRAM) + && listen (tmp_desc, 1))) +#endif /* !HAVE_GETADDRINFO */ + { +#ifdef HAVE_GETADDRINFO + freeaddrinfo (addrinfo_base); +#endif /* HAVE_GETADDRINFO */ + free (name_base); + perror_with_name ("Can't bind address"); + } + +#ifdef HAVE_GETNAMEINFO + if (0 == getnameinfo (addrinfo->ai_addr, addrinfo->ai_addrlen, + back_host, sizeof (back_host), + back_port, sizeof (back_port), + NI_NUMERICHOST | NI_NUMERICSERV)) + fprintf (stderr, "Listening on port %s (on host %s)\n", + back_port, back_host); + else +#endif /* !HAVE_GETNAMEINFO */ + fprintf (stderr, "Listening on port %s (on host %s)\n", + port_str, (name != NULL ? name : "")); + fflush (stderr); - close (tmp_desc); /* No longer need this */ + /* Used for `port_str' above. */ + free (name_base); - signal (SIGPIPE, SIG_IGN); /* If we don't do this, then gdbreplay simply - exits when the remote side dies. */ + if (prefix != NULL && prefix->socktype == SOCK_DGRAM) + remote_desc = tmp_desc; + else + { + struct sockaddr_storage sockaddr; + socklen_t sockaddr_len = sizeof (sockaddr); + remote_desc = accept (tmp_desc, (struct sockaddr *) &sockaddr, &sockaddr_len); + if (remote_desc == -1) + { +#ifdef HAVE_GETADDRINFO + freeaddrinfo (addrinfo_base); +#endif /* HAVE_GETADDRINFO */ + perror_with_name ("Accept failed"); + } + + /* Enable TCP keep alive process. */ + tmp = 1; + setsockopt (tmp_desc, SOL_SOCKET, SO_KEEPALIVE, (char *) &tmp, sizeof (tmp)); + + /* Tell TCP not to delay small packets. This greatly speeds up + interactive response. */ + if (prefix == NULL || prefix->socktype == SOCK_STREAM) + { + tmp = 1; + setsockopt (remote_desc, IPPROTO_TCP, TCP_NODELAY, + (char *) &tmp, sizeof (tmp)); + } +#ifdef HAVE_GETADDRINFO + freeaddrinfo (addrinfo_base); +#endif /* HAVE_GETADDRINFO */ + + close (tmp_desc); /* No longer need this */ + + signal (SIGPIPE, SIG_IGN); /* If we don't do this, then gdbserver simply + exits when the remote side dies. */ + +#ifdef HAVE_GETNAMEINFO + /* Convert IP address to string. */ + if (0 == getnameinfo ((struct sockaddr *) &sockaddr, sockaddr_len, + back_host, sizeof (back_host), + back_port, sizeof (back_port), + NI_NUMERICHOST | NI_NUMERICSERV)) + fprintf (stderr, "Remote debugging from host %s port %s\n", + back_host, back_port); + else +#endif /* !HAVE_GETNAMEINFO */ + fprintf (stderr, "Remote debugging started\n"); + } + fflush (stderr); } fcntl (remote_desc, F_SETFL, FASYNC); - fprintf (stderr, "Replay logfile using %s\n", name); + fprintf (stderr, "Replay logfile using %s\n", name_orig); fflush (stderr); } diff -u -rup gdb-6.5-orig/gdb/gdbserver/remote-utils.c gdb-6.5/gdb/gdbserver/remote-utils.c --- gdb-6.5-orig/gdb/gdbserver/remote-utils.c 2006-03-03 15:48:55.000000000 +0100 +++ gdb-6.5/gdb/gdbserver/remote-utils.c 2006-09-30 16:25:16.000000000 +0200 @@ -124,57 +124,222 @@ remote_open (char *name) else { char *port_str; - int port; - struct sockaddr_in sockaddr; socklen_t tmp; - int tmp_desc; + int tmp_desc = -1; + struct prefix + { + const char *string; + int family; + int socktype; + }; + const struct prefix prefixes[] = + { + { "udp:", AF_UNSPEC, SOCK_DGRAM }, + { "tcp:", AF_UNSPEC, SOCK_STREAM }, + { "udp4:", AF_INET, SOCK_DGRAM }, + { "tcp4:", AF_INET, SOCK_STREAM }, +/* We do not support `AF_INET6' without getaddrinfo(3). */ +#if defined (HAVE_GETADDRINFO) && HAVE_DECL_AF_INET6 + { "udp6:", AF_INET6, SOCK_DGRAM }, + { "tcp6:", AF_INET6, SOCK_STREAM }, +#endif /* defined (HAVE_GETADDRINFO) && HAVE_DECL_AF_INET6 */ + }; + const struct prefix *prefix; +#ifdef HAVE_GETADDRINFO + struct addrinfo hints; + struct addrinfo *addrinfo_base, *addrinfo = NULL; + int err; +#else /* !HAVE_GETADDRINFO */ + struct sockaddr_in sockaddr; +#endif /* !HAVE_GETADDRINFO */ +#ifdef HAVE_GETNAMEINFO + char back_host[64], back_port[16]; +#endif /* HAVE_GETNAMEINFO */ + char *name_base; + + name_base = strdup (name); + name = name_base; +#ifdef HAVE_GETADDRINFO + memset (&hints, 0, sizeof (hints)); + hints.ai_family = AF_UNSPEC; + hints.ai_flags = AI_ADDRCONFIG | AI_PASSIVE; +#endif /* HAVE_GETADDRINFO */ + for (prefix = prefixes; + prefix < prefixes + sizeof (prefixes) / sizeof (*prefixes); + prefix++) + if (strncmp (name, prefix->string, strlen (prefix->string)) == 0) + { + name += strlen (prefix->string); +#ifdef HAVE_GETADDRINFO + hints.ai_family = prefix->family; + hints.ai_socktype = prefix->socktype; +#endif /* HAVE_GETADDRINFO */ + break; + } + if (prefix >= prefixes + sizeof (prefixes) / sizeof (*prefixes)) + prefix = NULL; + if ((prefix == NULL || prefix->family != AF_INET) + && name[0] == '[' && (port_str = strchr (name, ']'))) + { + name++; + *port_str++ = 0; + } + else + port_str = strchr (name, ':'); + /* It may happen with IPv6 for like "[::1]". */ + if (port_str == NULL || *port_str != ':') + error ("net_open: No colon in host name!"); + *port_str++ = 0; + + /* Default hostname for `node == NULL' is `INADDR_ANY'/`in6addr_any'. + as we did specify `hints.ai_flags & AI_PASSIVE'. */ + if (name[0] == 0) + name = NULL; + +#ifdef HAVE_GETADDRINFO + err = getaddrinfo (name, port_str, &hints, &addrinfo_base); + if (err != 0) + { + /* `name_base' is used here for `port_str'. */ + error ("%s:%s: cannot resolve name: %s\n", + name, port_str, gai_strerror (err)); + } + + for (addrinfo = addrinfo_base; + addrinfo != NULL; + addrinfo = addrinfo->ai_next) + { + tmp_desc = socket (addrinfo->ai_family, addrinfo->ai_socktype, + addrinfo->ai_protocol); + if (tmp_desc >= 0) + break; + } + if (addrinfo == NULL) + { + freeaddrinfo (addrinfo_base); + free (name_base); + perror_with_name ("Can't open socket"); + } +#else /* !HAVE_GETADDRINFO */ + sockaddr.sin_family = PF_INET; + sockaddr.sin_port = htons (atoi (port_str)); - port_str = strchr (name, ':'); + if (name == NULL) + sockaddr.sin_addr.s_addr = INADDR_ANY; + else + { + struct hostent *hostent; - port = atoi (port_str + 1); + hostent = gethostbyname (name); + if (hostent == NULL) + { + fprintf (stderr, "%s: unknown host\n", name); + free (name_base); + perror_with_name ("gethostbyname(3) resolving"); + } - tmp_desc = socket (PF_INET, SOCK_STREAM, 0); + memcpy (&sockaddr.sin_addr.s_addr, hostent->h_addr, + sizeof (struct in_addr)); + } + + /* We assume matching `AF_*' and `PF_*'. */ + tmp_desc = socket (sockaddr.sin_family, + (prefix != NULL ? prefix->socktype : SOCK_STREAM), + 0); if (tmp_desc < 0) - perror_with_name ("Can't open socket"); + { + free (name_base); + perror_with_name ("Can't open socket"); + } +#endif /* !HAVE_GETADDRINFO */ /* Allow rapid reuse of this port. */ tmp = 1; setsockopt (tmp_desc, SOL_SOCKET, SO_REUSEADDR, (char *) &tmp, sizeof (tmp)); - sockaddr.sin_family = PF_INET; - sockaddr.sin_port = htons (port); - sockaddr.sin_addr.s_addr = INADDR_ANY; - +#ifdef HAVE_GETADDRINFO + if (bind (tmp_desc, addrinfo->ai_addr, addrinfo->ai_addrlen) + || ((prefix == NULL || prefix->socktype != SOCK_DGRAM) + && listen (tmp_desc, 1))) +#else /* !HAVE_GETADDRINFO */ if (bind (tmp_desc, (struct sockaddr *) &sockaddr, sizeof (sockaddr)) - || listen (tmp_desc, 1)) - perror_with_name ("Can't bind address"); - - fprintf (stderr, "Listening on port %d\n", port); - - tmp = sizeof (sockaddr); - remote_desc = accept (tmp_desc, (struct sockaddr *) &sockaddr, &tmp); - if (remote_desc == -1) - perror_with_name ("Accept failed"); - - /* Enable TCP keep alive process. */ - tmp = 1; - setsockopt (tmp_desc, SOL_SOCKET, SO_KEEPALIVE, (char *) &tmp, sizeof (tmp)); + || ((prefix == NULL || prefix->socktype != SOCK_DGRAM) + && listen (tmp_desc, 1))) +#endif /* !HAVE_GETADDRINFO */ + { +#ifdef HAVE_GETADDRINFO + freeaddrinfo (addrinfo_base); +#endif /* HAVE_GETADDRINFO */ + free (name_base); + perror_with_name ("Can't bind address"); + } - /* Tell TCP not to delay small packets. This greatly speeds up - interactive response. */ - tmp = 1; - setsockopt (remote_desc, IPPROTO_TCP, TCP_NODELAY, - (char *) &tmp, sizeof (tmp)); +#ifdef HAVE_GETNAMEINFO + if (0 == getnameinfo (addrinfo->ai_addr, addrinfo->ai_addrlen, + back_host, sizeof (back_host), + back_port, sizeof (back_port), + NI_NUMERICHOST | NI_NUMERICSERV)) + fprintf (stderr, "Listening on port %s (on host %s)\n", + back_port, back_host); + else +#endif /* !HAVE_GETNAMEINFO */ + fprintf (stderr, "Listening on port %s (on host %s)\n", + port_str, (name != NULL ? name : "")); + fflush (stderr); - close (tmp_desc); /* No longer need this */ + /* Used for `port_str' above. */ + free (name_base); - signal (SIGPIPE, SIG_IGN); /* If we don't do this, then gdbserver simply - exits when the remote side dies. */ + if (prefix != NULL && prefix->socktype == SOCK_DGRAM) + remote_desc = tmp_desc; + else + { + struct sockaddr_storage sockaddr; + socklen_t sockaddr_len = sizeof (sockaddr); + remote_desc = accept (tmp_desc, (struct sockaddr *) &sockaddr, &sockaddr_len); + if (remote_desc == -1) + { +#ifdef HAVE_GETADDRINFO + freeaddrinfo (addrinfo_base); +#endif /* HAVE_GETADDRINFO */ + perror_with_name ("Accept failed"); + } - /* Convert IP address to string. */ - fprintf (stderr, "Remote debugging from host %s\n", - inet_ntoa (sockaddr.sin_addr)); + /* Enable TCP keep alive process. */ + tmp = 1; + setsockopt (tmp_desc, SOL_SOCKET, SO_KEEPALIVE, (char *) &tmp, sizeof (tmp)); + + /* Tell TCP not to delay small packets. This greatly speeds up + interactive response. */ + if (prefix == NULL || prefix->socktype == SOCK_STREAM) + { + tmp = 1; + setsockopt (remote_desc, IPPROTO_TCP, TCP_NODELAY, + (char *) &tmp, sizeof (tmp)); + } +#ifdef HAVE_GETADDRINFO + freeaddrinfo (addrinfo_base); +#endif /* HAVE_GETADDRINFO */ + + close (tmp_desc); /* No longer need this */ + + signal (SIGPIPE, SIG_IGN); /* If we don't do this, then gdbserver simply + exits when the remote side dies. */ + +#ifdef HAVE_GETNAMEINFO + /* Convert IP address to string. */ + if (0 == getnameinfo ((struct sockaddr *) &sockaddr, sockaddr_len, + back_host, sizeof (back_host), + back_port, sizeof (back_port), + NI_NUMERICHOST | NI_NUMERICSERV)) + fprintf (stderr, "Remote debugging from host %s port %s\n", + back_host, back_port); + else +#endif /* !HAVE_GETNAMEINFO */ + fprintf (stderr, "Remote debugging started\n"); + } + fflush (stderr); } #if defined(F_SETFL) && defined (FASYNC) diff -u -rup gdb-6.5-orig/gdb/ser-tcp.c gdb-6.5/gdb/ser-tcp.c --- gdb-6.5-orig/gdb/ser-tcp.c 2006-02-10 23:01:43.000000000 +0100 +++ gdb-6.5/gdb/ser-tcp.c 2006-09-30 15:53:48.000000000 +0200 @@ -68,67 +68,142 @@ void _initialize_ser_tcp (void); int net_open (struct serial *scb, const char *name) { - char *port_str, hostname[100]; - int n, port, tmp; - int use_udp; - struct hostent *hostent; - struct sockaddr_in sockaddr; + char *name_base; + char *port_str; + int n, tmp; #ifdef USE_WIN32API u_long ioarg; #else int ioarg; #endif - - use_udp = 0; - if (strncmp (name, "udp:", 4) == 0) + struct prefix + { + const char *string; + int family; + int socktype; + }; + const struct prefix prefixes[] = { - use_udp = 1; - name = name + 4; + { "udp:", AF_UNSPEC, SOCK_DGRAM }, + { "tcp:", AF_UNSPEC, SOCK_STREAM }, + { "udp4:", AF_INET, SOCK_DGRAM }, + { "tcp4:", AF_INET, SOCK_STREAM }, +/* We do not support `AF_INET6' without getaddrinfo(3). */ +#if defined (HAVE_GETADDRINFO) && HAVE_DECL_AF_INET6 + { "udp6:", AF_INET6, SOCK_DGRAM }, + { "tcp6:", AF_INET6, SOCK_STREAM }, +#endif /* defined (HAVE_GETADDRINFO) && HAVE_DECL_AF_INET6 */ + }; + const struct prefix *prefix; +#ifdef HAVE_GETADDRINFO + struct addrinfo hints; + struct addrinfo *addrinfo_base, *addrinfo = NULL; +#else /* !HAVE_GETADDRINFO */ + struct hostent *hostent; + struct sockaddr_in sockaddr; +#endif /* !HAVE_GETADDRINFO */ + /* Error by default. */ + int retval = -1; + + name_base = xstrdup (name); + name = name_base; +#ifdef HAVE_GETADDRINFO + memset (&hints, 0, sizeof (hints)); + hints.ai_family = AF_UNSPEC; + hints.ai_flags = AI_ADDRCONFIG; +#endif /* HAVE_GETADDRINFO */ + for (prefix = prefixes; prefix < prefixes + ARRAY_SIZE (prefixes); prefix++) + if (strncmp (name, prefix->string, strlen (prefix->string)) == 0) + { + name += strlen (prefix->string); +#ifdef HAVE_GETADDRINFO + hints.ai_family = prefix->family; + hints.ai_socktype = prefix->socktype; +#endif /* HAVE_GETADDRINFO */ + break; + } + if (prefix >= prefixes + ARRAY_SIZE (prefixes)) + prefix = NULL; + if ((prefix == NULL || prefix->family != AF_INET) + && name[0] == '[' && (port_str = strchr (name, ']'))) + { + name++; + *port_str++ = 0; + } + else + port_str = strchr (name, ':'); + /* It may happen with IPv6 for like "[::1]". */ + if (port_str == NULL || *port_str != ':') + error (_("net_open: No colon in host name!")); + *port_str++ = 0; + + /* Default hostname for `node == NULL' is localhost + as we did not specify `hints.ai_flags & AI_PASSIVE'. */ + if (name[0] == 0) + name = NULL; + +#ifdef HAVE_GETADDRINFO + n = getaddrinfo (name, port_str, &hints, &addrinfo_base); + if (n != 0) + { + fprintf_unfiltered (gdb_stderr, "%s:%s: cannot resolve name: %s\n", + (name != NULL ? name : ""), + port_str, gai_strerror (n)); + errno = ENOENT; + free (name_base); + return -1; } - else if (strncmp (name, "tcp:", 4) == 0) - name = name + 4; - - port_str = strchr (name, ':'); - - if (!port_str) - error (_("net_open: No colon in host name!")); /* Shouldn't ever happen */ - - tmp = min (port_str - name, (int) sizeof hostname - 1); - strncpy (hostname, name, tmp); /* Don't want colon */ - hostname[tmp] = '\000'; /* Tie off host name */ - port = atoi (port_str + 1); - /* default hostname is localhost */ - if (!hostname[0]) - strcpy (hostname, "localhost"); + /* Still used for `port_str' above. */ + free (name_base); - hostent = gethostbyname (hostname); - if (!hostent) + for (addrinfo = addrinfo_base; addrinfo != NULL; addrinfo = addrinfo->ai_next) + { + scb->fd = socket (addrinfo->ai_family, addrinfo->ai_socktype, + addrinfo->ai_protocol); + if (scb->fd >= 0) + break; + } + if (addrinfo == NULL) { - fprintf_unfiltered (gdb_stderr, "%s: unknown host\n", hostname); + freeaddrinfo (addrinfo_base); + return -1; + } +#else /* !HAVE_GETADDRINFO */ + hostent = gethostbyname ((name != NULL ? name : "localhost")); + if (hostent == NULL) + { + fprintf_unfiltered (gdb_stderr, "%s: unknown host\n", name); errno = ENOENT; + free (name_base); return -1; } - if (use_udp) - scb->fd = socket (PF_INET, SOCK_DGRAM, 0); - else - scb->fd = socket (PF_INET, SOCK_STREAM, 0); + sockaddr.sin_family = PF_INET; + sockaddr.sin_port = htons (atoi (port_str)); + memcpy (&sockaddr.sin_addr.s_addr, hostent->h_addr, + sizeof (struct in_addr)); + /* Still used for `port_str' above. */ + free (name_base); + + scb->fd = socket (sockaddr.sin_family, + (prefix != NULL ? prefix->socktype : SOCK_STREAM), + 0); if (scb->fd < 0) return -1; - - sockaddr.sin_family = PF_INET; - sockaddr.sin_port = htons (port); - memcpy (&sockaddr.sin_addr.s_addr, hostent->h_addr, - sizeof (struct in_addr)); +#endif /* !HAVE_GETADDRINFO */ /* set socket nonblocking */ ioarg = 1; ioctl (scb->fd, FIONBIO, &ioarg); /* Use Non-blocking connect. connect() will return 0 if connected already. */ +#ifdef HAVE_GETADDRINFO + n = connect (scb->fd, addrinfo->ai_addr, addrinfo->ai_addrlen); +#else /* !HAVE_GETADDRINFO */ n = connect (scb->fd, (struct sockaddr *) &sockaddr, sizeof (sockaddr)); +#endif /* !HAVE_GETADDRINFO */ if (n < 0 #ifdef USE_WIN32API @@ -143,8 +218,7 @@ net_open (struct serial *scb, const char #ifdef USE_WIN32API errno = WSAGetLastError(); #endif - net_close (scb); - return -1; + goto cleanup_scb; } if (n) @@ -165,8 +239,7 @@ net_open (struct serial *scb, const char if (deprecated_ui_loop_hook (0)) { errno = EINTR; - net_close (scb); - return -1; + goto cleanup_scb; } } @@ -192,8 +265,7 @@ net_open (struct serial *scb, const char { if (polls > TIMEOUT * POLL_INTERVAL) errno = ETIMEDOUT; - net_close (scb); - return -1; + goto cleanup_scb; } } @@ -211,8 +283,7 @@ net_open (struct serial *scb, const char { if (err) errno = err; - net_close (scb); - return -1; + goto cleanup_scb; } } @@ -220,7 +291,7 @@ net_open (struct serial *scb, const char ioarg = 0; ioctl (scb->fd, FIONBIO, &ioarg); - if (use_udp == 0) + if (prefix == NULL || prefix->socktype == SOCK_STREAM) { /* Disable Nagle algorithm. Needed in some cases. */ tmp = 1; @@ -234,7 +305,16 @@ net_open (struct serial *scb, const char signal (SIGPIPE, SIG_IGN); #endif - return 0; + retval = 0; + goto cleanup_addrinfo_base; + +cleanup_scb: + net_close (scb); +cleanup_addrinfo_base: +#ifdef HAVE_GETADDRINFO + freeaddrinfo (addrinfo_base); +#endif /* HAVE_GETADDRINFO */ + return retval; } void gdb-6.5-gcore-i386-on-amd64.patch: Makefile.in | 5 + amd64-linux-nat.c | 125 ++++++++++++++++++++++++++++++++++++++++++++ config.in | 6 ++ configure | 151 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 1 gcore.c | 5 + gdb_procfs32.h | 128 +++++++++++++++++++++++++++++++++++++++++++++ gdb_user32.h | 108 ++++++++++++++++++++++++++++++++++++++ linux-nat.c | 33 +++++++---- linux-nat.h | 9 +++ 10 files changed, 558 insertions(+), 13 deletions(-) --- NEW FILE gdb-6.5-gcore-i386-on-amd64.patch --- 2006-10-01 Jan Kratochvil Fujitsu * amd64-linux-nat.c: Support new linux_elfcore_write_prpsinfo, linux_elfcore_write_prstatus, linux_elfcore_write_prfpreg. (i386_linux_gregset32_reg_offset): New mapping for i386 on amd64. * gcore.c (gcore_create_callback): Comment vdso Linux kernel bug. * configure.ac: Check for , . * configure, config.in: Regenerated. * gdb_user32.h, gdb_procfs32.h: Define 32-bit core files even for 64-bit gdb, provide fallbacks for and . * linux-nat.c: Virtualize `elfcore_*' by (*`linux_elfcore_*'). (linux_nat_do_thread_registers): Likewise. (linux_nat_make_corefile_notes): Likewise. * linux-nat.h: Likewise. * Makefile.in: Dependencies updated. Index: gdb-6.5/gdb/Makefile.in =================================================================== --- gdb-6.5.orig/gdb/Makefile.in 21 Sep 2006 14:00:53 -0000 1.844 +++ gdb-6.5/gdb/Makefile.in 1 Oct 2006 16:22:42 -0000 @@ -696,6 +696,7 @@ gdb_h = gdb.h gdb_locale_h = gdb_locale.h gdb_obstack_h = gdb_obstack.h $(obstack_h) gdb_proc_service_h = gdb_proc_service.h $(gregset_h) +gdb_procfs32_h = gdb_procfs32.h $(gdb_user32_h) gdb_ptrace_h = gdb_ptrace.h gdb_regex_h = gdb_regex.h $(xregex_h) gdb_select_h = gdb_select.h @@ -705,6 +706,7 @@ gdb_string_h = gdb_string.h gdb_thread_db_h = gdb_thread_db.h gdbthread_h = gdbthread.h $(breakpoint_h) $(frame_h) gdbtypes_h = gdbtypes.h $(hashtab_h) +gdb_user32_h = gdb_user32.h $(gdb_stdint_h) gdb_vfork_h = gdb_vfork.h gdb_wait_h = gdb_wait.h glibc_tdep_h = glibc-tdep.h @@ -1743,7 +1745,8 @@ amd64fbsd-tdep.o: amd64fbsd-tdep.c $(def amd64-linux-nat.o: amd64-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \ $(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \ $(gdb_proc_service_h) $(gregset_h) $(amd64_tdep_h) \ - $(i386_linux_tdep_h) $(amd64_nat_h) $(target_h) + $(i386_linux_tdep_h) $(amd64_nat_h) $(target_h) \ + $(i387_tdep_h) $(elf_bfd_h) $(gdb_procfs32_h) amd64-linux-tdep.o: amd64-linux-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \ $(regcache_h) $(osabi_h) $(symtab_h) $(gdb_string_h) $(amd64_tdep_h) \ $(solib_svr4_h) Index: gdb-6.5/gdb/amd64-linux-nat.c =================================================================== --- gdb-6.5.orig/gdb/amd64-linux-nat.c 19 Aug 2006 15:15:18 -0000 1.13 +++ gdb-6.5/gdb/amd64-linux-nat.c 1 Oct 2006 16:22:42 -0000 @@ -52,6 +52,9 @@ #include "amd64-tdep.h" #include "i386-linux-tdep.h" #include "amd64-nat.h" +#include "i387-tdep.h" +#include "bfd/elf-bfd.h" +#include "gdb_procfs32.h" /* Mapping between the general-purpose registers in GNU/Linux x86-64 `struct user' format and GDB's register cache layout. */ @@ -86,6 +89,35 @@ static int amd64_linux_gregset64_reg_off GNU/Linux i386 registers are all 32-bit, but since we're little-endian we get away with that. */ +/* This info is not reusable from "i386-linux-nat.c" as gdb itself runs in + 64-bit mode and so ptrace(2) has 64-bit structure layout. + Just the corefile being generated has 32-bit layout so we need to do + a conversion specific to the i386-on-amd64 compatibility mode. */ +static int i386_linux_gregset32_reg_offset[] = +{ + 6 * 4, /* %eax */ + 1 * 4, /* %ecx */ + 2 * 4, /* %edx */ + 0 * 4, /* %ebx */ + 15 * 4, /* %esp */ + 5 * 4, /* %ebp */ + 3 * 4, /* %esi */ + 4 * 4, /* %edi */ + 12 * 4, /* %eip */ + 14 * 4, /* %eflags */ + 13 * 4, /* %cs */ + 16 * 4, /* %ss */ + 7 * 4, /* %ds */ + 8 * 4, /* %es */ + 9 * 4, /* %fs */ + 10 * 4, /* %gs */ + -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, + -1, + 11 * 4 /* "orig_eax" */ +}; + /* From on GNU/Linux i386. */ static int amd64_linux_gregset32_reg_offset[] = { @@ -104,6 +136,94 @@ static int amd64_linux_gregset32_reg_off }; +/* This functions make ELF32 32-bit elfcore note sections + on amd64 environment. */ + +static char * +amd64_linux_elfcore_write_prpsinfo (bfd *abfd, char *buf, int *bufsiz, + const char *fname, const char *psargs) +{ + if (gdbarch_ptr_bit(current_gdbarch) == 32) + { + int note_type; + char *note_name = "CORE"; + struct elf_prpsinfo32 data; + note_type = NT_PRPSINFO; + + memset (&data, 0, sizeof (data)); + strncpy (data.pr_fname, fname, sizeof (data.pr_fname)); + strncpy (data.pr_psargs, psargs, sizeof (data.pr_psargs)); + return elfcore_write_note (abfd, buf, bufsiz, + note_name, note_type, &data, sizeof (data)); + } + else + return elfcore_write_prpsinfo (abfd, buf, bufsiz, fname, psargs); +} + +static void +amd64_linux_set_registers (const gdb_byte *gregs, gdb_byte *buf) +{ + int i; + /* Copy the i386 registers in the amd64 layout into i386 layout. */ + for (i = 0; i < I386_NUM_GREGS; i++) + memcpy(buf + i386_linux_gregset32_reg_offset[i], + gregs + amd64_linux_gregset32_reg_offset[i], 4); + for (i = I386_CS_REGNUM; i <= I386_GS_REGNUM; i++) + memcpy(buf + i386_linux_gregset32_reg_offset[i], + gregs + amd64_linux_gregset32_reg_offset[i], 4); +} + +static char * +amd64_linux_elfcore_write_prstatus (bfd *abfd, char *buf, int *bufsiz, + long pid, int cursig, const void *gregs) +{ + if (gdbarch_ptr_bit(current_gdbarch) == 32) + { + char *note_name = "CORE"; + struct elf_prstatus32 prstat; + memset (&prstat, 0, sizeof (prstat)); + prstat.pr_pid = pid; + prstat.pr_cursig = cursig; + amd64_linux_set_registers (gregs, (gdb_byte *) &prstat.pr_reg); + return elfcore_write_note (abfd, buf, bufsiz, note_name, + NT_PRSTATUS, &prstat, sizeof (prstat)); + } + else + return elfcore_write_prstatus (abfd, buf, bufsiz, pid, cursig, gregs); +} + +static char * +amd64_elfcore_write_prxfpreg32 (bfd *abfd, char *buf, int *bufsiz) +{ + char *note_name = "LINUX"; + elf_fpxregset32_t fpxregs32; + + i387_fill_fxsave (&fpxregs32, -1); + return elfcore_write_note(abfd, buf, bufsiz, + note_name, NT_PRXFPREG, &fpxregs32, + sizeof(fpxregs32)); +} + +static char * +amd64_linux_elfcore_write_prfpreg (bfd *abfd, char *buf, + int *bufsiz, const void *fpregs, int size) +{ + if (gdbarch_ptr_bit(current_gdbarch) == 32) + { + char *note_name = "CORE"; + elf_fpregset32_t fpregs32; + + i387_fill_fsave (&fpregs32, -1); + buf = elfcore_write_note(abfd, buf, bufsiz, note_name, + NT_FPREGSET, &fpregs32, sizeof(fpregs32)); + + return amd64_elfcore_write_prxfpreg32 (abfd, buf, bufsiz); + } + else + return elfcore_write_prfpreg (abfd, buf, bufsiz, fpregs, size); +} + + /* Transfering the general-purpose registers between GDB, inferiors and core files. */ @@ -406,6 +526,11 @@ _initialize_amd64_linux_nat (void) t->to_fetch_registers = amd64_linux_fetch_inferior_registers; t->to_store_registers = amd64_linux_store_inferior_registers; + /* This functions make elfcore note sections. */ + linux_elfcore_write_prpsinfo = amd64_linux_elfcore_write_prpsinfo; + linux_elfcore_write_prstatus = amd64_linux_elfcore_write_prstatus; + linux_elfcore_write_prfpreg = amd64_linux_elfcore_write_prfpreg; + /* Register the target. */ linux_nat_add_target (t); } Index: gdb-6.5/gdb/config.in =================================================================== --- gdb-6.5.orig/gdb/config.in 8 Aug 2006 20:32:15 -0000 1.84 +++ gdb-6.5/gdb/config.in 1 Oct 2006 16:22:42 -0000 @@ -373,6 +373,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_POLL_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PROCFS32_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_PROCFS_H @@ -397,6 +400,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_USER32_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_USER_H Index: gdb-6.5/gdb/configure =================================================================== --- gdb-6.5.orig/gdb/configure 2006-10-01 18:43:40.000000000 +0200 +++ gdb-6.5/gdb/configure 2006-10-01 18:40:44.000000000 +0200 @@ -11949,6 +11949,157 @@ +for ac_header in sys/user32.h sys/procfs32.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + for ac_header in sys/wait.h wait.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` Index: gdb-6.5/gdb/configure.ac =================================================================== --- gdb-6.5.orig/gdb/configure.ac 8 Aug 2006 20:26:23 -0000 1.34 +++ gdb-6.5/gdb/configure.ac 1 Oct 2006 16:22:43 -0000 @@ -365,6 +365,7 @@ AC_CHECK_HEADERS(sys/user.h, [], [], # include #endif ]) +AC_CHECK_HEADERS(sys/user32.h sys/procfs32.h) AC_CHECK_HEADERS(sys/wait.h wait.h) AC_CHECK_HEADERS(termios.h termio.h sgtty.h) AC_CHECK_HEADERS(unistd.h) Index: gdb-6.5/gdb/gcore.c =================================================================== --- gdb-6.5.orig/gdb/gcore.c 17 Dec 2005 22:33:59 -0000 1.18 +++ gdb-6.5/gdb/gcore.c 1 Oct 2006 16:22:43 -0000 @@ -314,6 +314,11 @@ gcore_create_callback (CORE_ADDR vaddr, asection *osec; flagword flags = SEC_ALLOC | SEC_HAS_CONTENTS | SEC_LOAD; + /* Some Linux kernel versions around 2.6.17 have for i386 inferiors running + in compatibility mode on amd64 kernel their VSYSCALL page (at 0xffffe000) + protected as RWX==000 by default and gdb fails to read the library header + upon loading the core. This is a Linux kernel bug being fixed. */ + /* If the memory segment has no permissions set, ignore it, otherwise when we later try to access it for read/write, we'll get an error or jam the kernel. */ Index: gdb-6.5/gdb/gdb_procfs32.h =================================================================== --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ gdb-6.5/gdb/gdb_procfs32.h 1 Oct 2006 16:22:43 -0000 @@ -0,0 +1,128 @@ +#ifdef HAVE_SYS_PROCFS32_H +#include +#else + +/* Copyright (C) 2006 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#ifndef _SYS_PROCFS32_H +#define _SYS_PROCFS32_H 1 + +/* This is somewhat modelled after the file of the same name on SVR4 + systems. It provides a definition of the core file format for ELF + used on Linux. It doesn't have anything to do with the /proc file + system, even though Linux has one. + + Anyway, the whole purpose of this file is for GDB and GDB only. + Don't read too much into it. Don't use it for anything other than + GDB unless you know what you are doing. */ + +#include +#include +#include +#include "gdb_user32.h" + +/* We define here only the symbols differing from their 64-bit variant. */ +#include + +__BEGIN_DECLS + +/* Type for a general-purpose register. */ +typedef unsigned int elf_greg32_t; + +/* And the whole bunch of them. We could have used `struct + user_regs_struct' directly in the typedef, but tradition says that + the register set is an array, which does have some peculiar + semantics, so leave it that way. */ +#define ELF_NGREG32 (sizeof (struct user_regs32_struct) / sizeof(elf_greg32_t)) +typedef elf_greg32_t elf_gregset32_t[ELF_NGREG32]; + +/* Register set for the floating-point registers. */ +typedef struct user_fpregs32_struct elf_fpregset32_t; + +/* Register set for the extended floating-point registers. Includes + the Pentium III SSE registers in addition to the classic + floating-point stuff. */ +typedef struct user_fpxregs32_struct elf_fpxregset32_t; + + +/* Definitions to generate Intel SVR4-like core files. These mostly + have the same names as the SVR4 types with "elf_" tacked on the + front to prevent clashes with Linux definitions, and the typedef + forms have been avoided. This is mostly like the SVR4 structure, + but more Linuxy, with things that Linux does not support and which + GDB doesn't really use excluded. */ + +struct prstatus32_timeval + { + int tv_sec; + int tv_usec; + }; + +struct elf_prstatus32 + { + struct elf_siginfo pr_info; /* Info associated with signal. */ + short int pr_cursig; /* Current signal. */ + unsigned int pr_sigpend; /* Set of pending signals. */ + unsigned int pr_sighold; /* Set of held signals. */ + __pid_t pr_pid; + __pid_t pr_ppid; + __pid_t pr_pgrp; + __pid_t pr_sid; + struct prstatus32_timeval pr_utime; /* User time. */ + struct prstatus32_timeval pr_stime; /* System time. */ + struct prstatus32_timeval pr_cutime; /* Cumulative user time. */ + struct prstatus32_timeval pr_cstime; /* Cumulative system time. */ + elf_gregset32_t pr_reg; /* GP registers. */ + int pr_fpvalid; /* True if math copro being used. */ + }; + + +struct elf_prpsinfo32 + { + char pr_state; /* Numeric process state. */ + char pr_sname; /* Char for pr_state. */ + char pr_zomb; /* Zombie. */ + char pr_nice; /* Nice val. */ + unsigned int pr_flag; /* Flags. */ + unsigned short int pr_uid; + unsigned short int pr_gid; + int pr_pid, pr_ppid, pr_pgrp, pr_sid; + /* Lots missing */ + char pr_fname[16]; /* Filename of executable. */ + char pr_psargs[ELF_PRARGSZ]; /* Initial part of arg list. */ + }; + + +/* The rest of this file provides the types for emulation of the + Solaris interfaces that should be implemented by + users of libthread_db. */ + +/* Register sets. Linux has different names. */ +typedef elf_gregset_t prgregset32_t; +typedef elf_fpregset_t prfpregset32_t; + +/* Process status and info. In the end we do provide typedefs for them. */ +typedef struct elf_prstatus32 prstatus32_t; +typedef struct elf_prpsinfo32 prpsinfo32_t; + +__END_DECLS + +#endif /* _SYS_PROCFS32_H */ + +#endif /* HAVE_SYS_PROCFS32_H */ Index: gdb-6.5/gdb/gdb_user32.h =================================================================== --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ gdb-6.5/gdb/gdb_user32.h 1 Oct 2006 16:22:43 -0000 @@ -0,0 +1,108 @@ +#ifdef HAVE_SYS_USER32_H +#include +#else + +#ifdef HAVE_STDINT_H +#include +typedef int32_t gdb_int32_t; +typedef uint32_t gdb_uint32_t; +#else +typedef signed int gdb_uint32_t; +typedef unsigned int gdb_uint32_t; +#endif + +/* Copyright (C) 2006 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#ifndef _SYS_USER32_H +#define _SYS_USER32_H 1 + +/* These are the 32-bit x86 structures. */ + +struct user_fpregs32_struct +{ + int32_t cwd; + int32_t swd; + int32_t twd; + int32_t fip; + int32_t fcs; + int32_t foo; + int32_t fos; + int32_t st_space [20]; +}; + +struct user_fpxregs32_struct +{ + unsigned short int cwd; + unsigned short int swd; + unsigned short int twd; + unsigned short int fop; + int32_t fip; + int32_t fcs; + int32_t foo; + int32_t fos; + int32_t mxcsr; + int32_t reserved; + int32_t st_space[32]; /* 8*16 bytes for each FP-reg = 128 bytes */ + int32_t xmm_space[32]; /* 8*16 bytes for each XMM-reg = 128 bytes */ + int32_t padding[56]; +}; + +struct user_regs32_struct +{ + int32_t ebx; + int32_t ecx; + int32_t edx; + int32_t esi; + int32_t edi; + int32_t ebp; + int32_t eax; + int32_t xds; + int32_t xes; + int32_t xfs; + int32_t xgs; + int32_t orig_eax; + int32_t eip; + int32_t xcs; + int32_t eflags; + int32_t esp; + int32_t xss; +}; + +struct user32 +{ + struct user_regs32_struct regs; + int u_fpvalid; + struct user_fpregs32_struct i387; + uint32_t u_tsize; + uint32_t u_dsize; + uint32_t u_ssize; + uint32_t start_code; + uint32_t start_stack; + int32_t signal; + int reserved; + struct user_regs32_struct* u_ar0; + struct user_fpregs32_struct* u_fpstate; + uint32_t magic; + char u_comm [32]; + int u_debugreg [8]; +}; + +#endif /* _SYS_USER32_H */ + +#endif /* HAVE_SYS_USER32_H */ Index: gdb-6.5/gdb/linux-nat.c =================================================================== --- gdb-6.5.orig/gdb/linux-nat.c 16 Sep 2006 09:48:12 -0000 1.50 +++ gdb-6.5/gdb/linux-nat.c 1 Oct 2006 16:22:43 -0000 @@ -99,6 +99,15 @@ static LONGEST (*super_xfer_partial) (st const gdb_byte *, ULONGEST, LONGEST); +/* This functions make elfcore note sections. + They may get overriden by code adjusting data for multi-target builds. */ +char *(*linux_elfcore_write_prpsinfo) + (bfd *, char *, int *, const char *, const char *) = elfcore_write_prpsinfo; +char *(*linux_elfcore_write_prstatus) + (bfd *, char *, int *, long, int, const void *) = elfcore_write_prstatus; +char *(*linux_elfcore_write_prfpreg) + (bfd *, char *, int *, const void *, int) = elfcore_write_prfpreg; + static int debug_linux_nat; static void show_debug_linux_nat (struct ui_file *file, int from_tty, @@ -2562,11 +2571,11 @@ linux_nat_do_thread_registers (bfd *obfd else fill_gregset (&gregs, -1); - note_data = (char *) elfcore_write_prstatus (obfd, - note_data, - note_size, - lwp, - stop_signal, &gregs); + note_data = (char *) linux_elfcore_write_prstatus (obfd, + note_data, + note_size, + lwp, + stop_signal, &gregs); if (core_regset_p && (regset = gdbarch_regset_from_core_section (gdbarch, ".reg2", @@ -2577,10 +2586,10 @@ linux_nat_do_thread_registers (bfd *obfd else fill_fpregset (&fpregs, -1); - note_data = (char *) elfcore_write_prfpreg (obfd, - note_data, - note_size, - &fpregs, sizeof (fpregs)); + note_data = (char *) linux_elfcore_write_prfpreg (obfd, + note_data, + note_size, + &fpregs, sizeof (fpregs)); #ifdef FILL_FPXREGSET if (core_regset_p @@ -2675,9 +2684,9 @@ linux_nat_make_corefile_notes (bfd *obfd strncat (psargs, get_inferior_args (), sizeof (psargs) - strlen (psargs)); } - note_data = (char *) elfcore_write_prpsinfo (obfd, - note_data, - note_size, fname, psargs); + note_data = (char *) linux_elfcore_write_prpsinfo (obfd, note_data, + note_size, fname, + psargs); } /* Dump information for threads. */ Index: gdb-6.5/gdb/linux-nat.h =================================================================== --- gdb-6.5.orig/gdb/linux-nat.h 23 Jul 2006 21:21:01 -0000 1.12 +++ gdb-6.5/gdb/linux-nat.h 1 Oct 2006 16:22:43 -0000 @@ -96,3 +96,12 @@ void linux_nat_add_target (struct target /* Update linux-nat internal state when changing from one fork to another. */ void linux_nat_switch_fork (ptid_t new_ptid); + +/* This functions make elfcore note sections. + They may get overriden by code adjusting data for multi-target builds. */ +extern char *(*linux_elfcore_write_prpsinfo) + (bfd *, char *, int *, const char *, const char *); +extern char *(*linux_elfcore_write_prstatus) + (bfd *, char *, int *, long, int, const void *); +extern char *(*linux_elfcore_write_prfpreg) + (bfd *, char *, int *, const void *, int); Index: gdb.spec =================================================================== RCS file: /cvs/dist/rpms/gdb/devel/gdb.spec,v retrieving revision 1.199 retrieving revision 1.200 diff -u -r1.199 -r1.200 --- gdb.spec 27 Sep 2006 16:27:57 -0000 1.199 +++ gdb.spec 1 Oct 2006 19:21:15 -0000 1.200 @@ -11,7 +11,7 @@ Version: 6.5 # The release always contains a leading reserved number, start it at 0. -Release: 10%{?dist} +Release: 11%{?dist} License: GPL Group: Development/Debuggers @@ -268,7 +268,20 @@ Patch196: gdb-6.5-sharedlibrary-path.patch # Support IPv6 for gdbserver (BZ 198365). -Patch197: gdb-6.5-IPv6.patch +Patch197: gdb-6.5-bz198365-IPv6.patch + +# No longer disassemble invalid i386 opcodes of movQ/movA (BZ 172034). +Patch198: gdb-6.5-bz172034-disasm-i386-C6-C7.patch + +# Suggest fixing your target architecture for gdbserver(1) (BZ 190810). +# FIXME: It could be autodetected. +Patch199: gdb-6.5-bz190810-gdbserver-arch-advice.patch + +# Fix dereferencing registers for 32bit inferiors on 64bit hosts (BZ 181390). +Patch200: gdb-6.5-bz181390-memory-address-width.patch + +# Fix `gcore' command for 32bit inferiors on 64bit hosts. +Patch201: gdb-6.5-gcore-i386-on-amd64.patch BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo dejagnu gettext BuildRequires: flex bison sharutils @@ -378,6 +391,10 @@ %patch195 -p1 %patch196 -p1 %patch197 -p1 +%patch198 -p1 +%patch199 -p1 +%patch200 -p1 +%patch201 -p1 # Change the version that gets printed at GDB startup, so it is RedHat # specific. @@ -539,6 +556,13 @@ # don't include the files in include, they are part of binutils %changelog +* Sun Oct 1 2006 Jan Kratochvil - 6.5-11 +- No longer disassemble invalid i386 opcodes of movQ/movA (BZ 172034). +- Simplify the IPv6 patch for gdbserver (BZ 198365). +- Suggest fixing your target architecture for gdbserver(1) (BZ 190810). +- Fix dereferencing registers for 32bit inferiors on 64bit hosts (BZ 181390). +- Fix `gcore' command for 32bit inferiors on 64bit hosts. + * Wed Sep 27 2006 Jan Kratochvil - 6.5-10 - Support IPv6 for gdbserver (BZ 198365). - Temporarily disable testcase "chng-syms.exp" for a possible kernel Bug 207002. --- gdb-6.5-IPv6.patch DELETED --- From fedora-cvs-commits at redhat.com Sun Oct 1 19:46:04 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 15:46:04 -0400 Subject: rpms/valgrind/devel valgrind-3.2.1-glibc25.patch, NONE, 1.1 valgrind.spec, 1.42, 1.43 Message-ID: <200610011946.k91Jk4KO004530@cvs.devel.redhat.com> Author: jakub Update of /cvs/dist/rpms/valgrind/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv4170 Modified Files: valgrind.spec Added Files: valgrind-3.2.1-glibc25.patch Log Message: valgrind-3.2.1-4 valgrind-3.2.1-glibc25.patch: configure | 37 +++++++++ configure.in | 18 ++++ glibc-2.5.supp | 218 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 270 insertions(+), 3 deletions(-) --- NEW FILE valgrind-3.2.1-glibc25.patch --- --- valgrind-3.2.1/configure.in.jj 2006-09-15 15:04:06.000000000 +0200 +++ valgrind-3.2.1/configure.in 2006-10-01 21:31:36.000000000 +0200 @@ -349,6 +349,16 @@ AC_EGREP_CPP([GLIBC_24], [ ], glibc="2.4") +AC_EGREP_CPP([GLIBC_25], [ +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 5) + GLIBC_25 + #endif +#endif +], +glibc="2.5") + AC_MSG_CHECKING([the glibc version]) case "${glibc}" in @@ -370,9 +380,15 @@ case "${glibc}" in DEFAULT_SUPP="glibc-2.4.supp ${DEFAULT_SUPP}" ;; + 2.5) + AC_MSG_RESULT(2.5 family) + AC_DEFINE([GLIBC_2_5], 1, [Define to 1 if you're using glibc 2.5.x]) + DEFAULT_SUPP="glibc-2.5.supp ${DEFAULT_SUPP}" + ;; + *) AC_MSG_RESULT(unsupported version) - AC_MSG_ERROR([Valgrind requires glibc version 2.2, 2.3 or 2.4]) + AC_MSG_ERROR([Valgrind requires glibc version 2.2, 2.3, 2.4 or 2.5]) ;; esac --- valgrind-3.2.1/configure.jj 2006-09-15 15:06:56.000000000 +0200 +++ valgrind-3.2.1/configure 2006-10-01 21:31:45.000000000 +0200 @@ -4368,6 +4368,28 @@ fi rm -f conftest* +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 5) + GLIBC_25 + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "GLIBC_25" >/dev/null 2>&1; then + glibc="2.5" +fi +rm -f conftest* + + echo "$as_me:$LINENO: checking the glibc version" >&5 echo $ECHO_N "checking the glibc version... $ECHO_C" >&6 @@ -4405,11 +4427,22 @@ _ACEOF DEFAULT_SUPP="glibc-2.4.supp ${DEFAULT_SUPP}" ;; + 2.5) + echo "$as_me:$LINENO: result: 2.5 family" >&5 +echo "${ECHO_T}2.5 family" >&6 + +cat >>confdefs.h <<\_ACEOF +#define GLIBC_2_5 1 +_ACEOF + + DEFAULT_SUPP="glibc-2.5.supp ${DEFAULT_SUPP}" + ;; + *) echo "$as_me:$LINENO: result: unsupported version" >&5 echo "${ECHO_T}unsupported version" >&6 - { { echo "$as_me:$LINENO: error: Valgrind requires glibc version 2.2, 2.3 or 2.4" >&5 -echo "$as_me: error: Valgrind requires glibc version 2.2, 2.3 or 2.4" >&2;} + { { echo "$as_me:$LINENO: error: Valgrind requires glibc version 2.2, 2.3, 2.4 or 2.5" >&5 +echo "$as_me: error: Valgrind requires glibc version 2.2, 2.3, 2.4 or 2.5" >&2;} { (exit 1); exit 1; }; } ;; esac --- valgrind-3.2.1/glibc-2.5.supp.jj 2006-10-01 21:34:12.000000000 +0200 +++ valgrind-3.2.1/glibc-2.5.supp 2006-10-01 21:38:42.000000000 +0200 @@ -0,0 +1,218 @@ + +##----------------------------------------------------------------------## + +# Errors to suppress by default with glibc 2.5.x + +# Format of this file is: +# { +# name_of_suppression +# tool_name:supp_kind +# (optional extra info for some suppression types) +# caller0 name, or /name/of/so/file.so +# caller1 name, or ditto +# (optionally: caller2 name) +# (optionally: caller3 name) +# } +# +# For Memcheck, the supp_kinds are: +# +# Param Value1 Value2 Value4 Value8 Value16 +# Free Addr1 Addr2 Addr4 Addr8 Addr16 +# Cond (previously known as Value0) +# +# and the optional extra info is: +# if Param: name of system call param +# if Free: name of free-ing fn) + +##----------------------------------------------------------------------## +## Suppressions for Fedora Core 6 on ppc32/amd64 (glibc-2.5) + +{ + Fedora-Core-6-hack1 + Memcheck:Cond + fun:_dl_start + fun:_start +} + +{ + Fedora-Core-6-hack2 + Memcheck:Cond + obj:/lib*/ld-2.5*.so + obj:/lib*/ld-2.5*.so + obj:/lib*/ld-2.5*.so + obj:/lib*/ld-2.5*.so +} + +{ + Fedora-Core-6-hack3 + Memcheck:Cond + obj:/lib*/ld-2.5*.so + obj:/lib*/ld-2.5*.so + obj:/lib*/ld-2.5*.so + obj:/lib*/libc-2.5*.so +} + +{ + Fedora-Core-6-__strcpy_chk-64bit-hack-TODO-fix-this-properly + Memcheck:Addr8 + fun:__strcpy_chk + obj:/usr/lib64/libX11.so.6.2.0 + obj:/usr/lib64/libX11.so.6.2.0 +} + +{ + Fedora-Core-6-hack3-ld25 + Memcheck:Cond + obj:/lib*/ld-2.5*.so + obj:/lib*/ld-2.5*.so + obj:/lib*/ld-2.5*.so +} + +{ + Fedora-Core-6-yet-another-ppc32-hack + Memcheck:Addr4 + fun:_wordcopy_fwd_dest_aligned + fun:mempcpy + obj:/lib*/libc-2.5.*so +} + +##----------------------------------------------------------------------## +{ + glibc-2.3.x-on-SUSE-10.1-(PPC)-1 + Memcheck:Cond + fun:_dl_start_final + fun:_dl_start + fun:_start +} +{ + glibc-2.3.x-on-SuSE-10.1-(PPC)-2b + Memcheck:Addr4 + fun:index + fun:expand_dynamic_string_token +} +{ + index-not-intercepted-early-enough-HACK-4 + Memcheck:Cond + fun:index + fun:expand_dynamic_string_token +} + + +##----------------------------------------------------------------------## +## Various structure padding things on amd64 SuSE 10.1 +## +{ + X11-64bit-padding-1a + Memcheck:Param + write(buf) + fun:__write_nocancel + obj:/usr/lib*/libX11.so* + obj:/usr/lib*/libX11.so* + fun:X* +} +{ + X11-64bit-padding-1b + Memcheck:Param + write(buf) + fun:__write_nocancel + obj:/usr/lib*/libX11.so* + obj:/usr/lib*/libX11.so* + fun:_X* +} +{ + X11-64bit-padding-1c + Memcheck:Param + write(buf) + fun:__write_nocancel + obj:/usr/lib*/libX11.so* + obj:/usr/lib*/libX11.so* + obj:/usr/lib*/libX11.so* +} +{ + X11-64bit-padding-1d + Memcheck:Param + write(buf) + fun:__write_nocancel + obj:/usr/lib*/libICE.so* + obj:/usr/lib*/libICE.so* + obj:/usr/lib*/libICE.so* +} + + +{ + X11-64bit-padding-2a + Memcheck:Param + writev(vector[...]) + fun:do_writev + obj:/usr/lib*/libX11.so* + obj:/usr/lib*/libX11.so* + obj:/usr/lib*/libX11.so* +} +{ + X11-64bit-padding-2b + Memcheck:Param + writev(vector[...]) + fun:do_writev + fun:writev + obj:/usr/lib*/libX11.so* + obj:/usr/lib*/libX11.so* +} + +{ + glibc25-64bit-padding-1a + Memcheck:Param + socketcall.sendto(msg) + fun:send + fun:get_mapping + fun:__nscd_get_map_ref + fun:nscd* +} +{ + glibc25-64bit-padding-1b + Memcheck:Param + socketcall.sendto(msg) + fun:__sendto_nocancel + obj:/*libc-2.5*.so + obj:/*libc-2.5*.so + obj:/*libc-2.5*.so +} +{ + glibc25-64bit-padding-1c + Memcheck:Param + socketcall.send(msg) + fun:send + fun:__nscd_get_map_ref + fun:nscd_get*_r + fun:*nscd* + obj:/*libc-2.5*.so +} + + +{ + X11-64bit-padding-3a + Memcheck:Param + write(buf) + obj:/*libpthread-2.5*.so + obj:/usr/lib*/libX11.so* + obj:/usr/lib*/libX11.so* + obj:/usr/lib*/libX11.so* +} + +{ + X11-64bit-padding-4a + Memcheck:Param + socketcall.sendto(msg) + fun:send + obj:/*libc-2.5*.so + obj:/*libc-2.5*.so + obj:/*libc-2.5*.so +} +{ + X11-64bit-padding-4b + Memcheck:Param + socketcall.send(msg) + fun:send + obj:/*libc-2.5*.so + obj:/*libc-2.5*.so + obj:/*libc-2.5*.so +} Index: valgrind.spec =================================================================== RCS file: /cvs/dist/rpms/valgrind/devel/valgrind.spec,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- valgrind.spec 27 Sep 2006 08:46:28 -0000 1.42 +++ valgrind.spec 1 Oct 2006 19:46:00 -0000 1.43 @@ -1,12 +1,13 @@ Summary: Tool for finding memory management bugs in programs Name: valgrind Version: 3.2.1 -Release: 3 +Release: 4 Epoch: 1 Source0: http://www.valgrind.org/downloads/valgrind-%{version}.tar.bz2 Patch1: valgrind-3.2.0-makefile.patch Patch2: valgrind-3.2.1-openat.patch Patch3: valgrind-3.2.1-cfa-set-loc.patch +Patch4: valgrind-3.2.1-glibc25.patch License: GPL URL: http://www.valgrind.org/ Group: Development/Debuggers @@ -16,6 +17,7 @@ # Ensure glibc{,-devel} is installed for both multilib arches BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so %endif +BuildRequires: glibc-devel >= 2.5 ExclusiveArch: %{ix86} x86_64 ppc ppc64 # Disable build root strip policy @@ -37,6 +39,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build %ifarch x86_64 ppc64 @@ -51,7 +54,7 @@ # Force a specific set of default suppressions echo -n > default.supp -for file in glibc-2.4.supp xfree-4.supp ; do +for file in glibc-2.5.supp xfree-4.supp ; do cat $file >> default.supp done @@ -120,6 +123,9 @@ %{_mandir}/man1/valgrind* %changelog +* Sun Oct 1 2006 Jakub Jelinek 3.2.1-4 +- adjust for glibc-2.5 + * Wed Sep 27 2006 Jakub Jelinek 3.2.1-3 - another DW_CFA_set_loc handling fix From fedora-cvs-commits at redhat.com Sun Oct 1 19:50:00 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 15:50:00 -0400 Subject: rpms/kdelibs/devel kdelibs.spec,1.192,1.193 Message-ID: <200610011950.k91Jo0DS013572@cvs.devel.redhat.com> Author: than Update of /cvs/dist/rpms/kdelibs/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv13441 Modified Files: kdelibs.spec Log Message: fix #178320,#198828, follow menu-spec Index: kdelibs.spec =================================================================== RCS file: /cvs/dist/rpms/kdelibs/devel/kdelibs.spec,v retrieving revision 1.192 retrieving revision 1.193 diff -u -r1.192 -r1.193 --- kdelibs.spec 30 Sep 2006 12:39:47 -0000 1.192 +++ kdelibs.spec 1 Oct 2006 19:49:58 -0000 1.193 @@ -17,7 +17,7 @@ %define arts 1 Version: 3.5.4 -Release: 9%{?dist} +Release: 10%{?dist} Summary: K Desktop Environment - Libraries Name: kdelibs Url: http://www.kde.org/ @@ -305,7 +305,8 @@ done popd -mv %{buildroot}%{_sysconfdir}/xdg/menus/applications.menu %{buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu +mkdir -p %{buildroot}%{_sysconfdir}/kde/xdg/menus +mv %{buildroot}%{_sysconfdir}/xdg/menus/applications.menu %{buildroot}%{_sysconfdir}/kde/xdg/menus echo "OnlyShowIn=KDE;" >> %{buildroot}%{_datadir}/applications/kde/kresources.desktop rm -f %{buildroot}%{_datadir}/icons/hicolor/index.theme @@ -343,7 +344,10 @@ %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/profile.d/* -%{_sysconfdir}/xdg/menus/* +%dir %{_sysconfdir}/kde +%dir %{_sysconfdir}/kde/xdg +%dir %{_sysconfdir}/kde/xdg/menus +%{_sysconfdir}/kde/xdg/menus/* %{_bindir}/artsmessage %{_bindir}/checkXML %{_bindir}/cupsdconf @@ -437,6 +441,9 @@ %doc %{_docdir}/HTML/en/kdelibs* %changelog +* Sun Oct 01 2006 Than Ngo 6:3.5.4-10 +- fix #178320,#198828, follow menu-spec + * Sat Sep 30 2006 Than Ngo 6:3.5.4-9 - fix #178320,#198828, follow menu-spec - fix #119167, page rendered incorrectly at larger font sizes From fedora-cvs-commits at redhat.com Sun Oct 1 20:17:09 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:17:09 -0400 Subject: rpms/a2ps/devel a2ps.spec,1.42,1.43 Message-ID: <200610012017.k91KH93B029622@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/a2ps/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29609 Modified Files: a2ps.spec Log Message: bump for gcc bug Index: a2ps.spec =================================================================== RCS file: /cvs/dist/rpms/a2ps/devel/a2ps.spec,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- a2ps.spec 26 Sep 2006 16:13:07 -0000 1.42 +++ a2ps.spec 1 Oct 2006 20:17:06 -0000 1.43 @@ -1,7 +1,7 @@ Summary: Converts text and other types of files to PostScript(TM). Name: a2ps Version: 4.13b -Release: 56 +Release: 57 License: GPL Group: Applications/Publishing Source: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz @@ -232,6 +232,9 @@ %dir %{_datadir}/a2ps %changelog +* Sun Oct 01 2006 Jesse Keating - 4.13b-57 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Tue Sep 26 2006 Tim Waugh 4.13b-56 - Fixed build (bug #188156). From fedora-cvs-commits at redhat.com Sun Oct 1 20:19:12 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:19:12 -0400 Subject: rpms/cups/devel cups.spec,1.265,1.266 Message-ID: <200610012019.k91KJCGj029733@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/cups/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29717 Modified Files: cups.spec Log Message: bump for gcc bug Index: cups.spec =================================================================== RCS file: /cvs/dist/rpms/cups/devel/cups.spec,v retrieving revision 1.265 retrieving revision 1.266 diff -u -r1.265 -r1.266 --- cups.spec 27 Sep 2006 14:21:02 -0000 1.265 +++ cups.spec 1 Oct 2006 20:19:10 -0000 1.266 @@ -6,7 +6,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.2.4 -Release: 3 +Release: 4 License: GPL Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2 @@ -416,6 +416,9 @@ %{cups_serverbin}/daemon/cups-lpd %changelog +* Sun Oct 01 2006 Jesse Keating - 1:1.2.4-4 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Wed Sep 27 2006 Tim Waugh 1:1.2.4-3 - Add '--help' option to lpr command (bug #206380, STR #1989). From fedora-cvs-commits at redhat.com Sun Oct 1 20:19:16 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:19:16 -0400 Subject: rpms/gjdoc/devel gjdoc.spec,1.43,1.44 Message-ID: <200610012019.k91KJGVT029784@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/gjdoc/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29772 Modified Files: gjdoc.spec Log Message: bump for gcc bug Index: gjdoc.spec =================================================================== RCS file: /cvs/dist/rpms/gjdoc/devel/gjdoc.spec,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- gjdoc.spec 21 Sep 2006 15:19:28 -0000 1.43 +++ gjdoc.spec 1 Oct 2006 20:19:14 -0000 1.44 @@ -2,7 +2,7 @@ Name: gjdoc Version: 0.7.7 -Release: 9 +Release: 10 URL: http://savannah.gnu.org/projects/classpath/ License: GPL Summary: GNU Javadoc @@ -65,6 +65,9 @@ %endif %changelog +* Sun Oct 01 2006 Jesse Keating - 0.7.7-10 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Tue Sep 19 2006 Andrew Overholt - 0.7.7-9 - Don't compile with old ABI (rh#204412). - Add --disable-native and aot-compile. From fedora-cvs-commits at redhat.com Sun Oct 1 20:19:21 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:19:21 -0400 Subject: rpms/gnome-user-share/devel gnome-user-share.spec,1.15,1.16 Message-ID: <200610012019.k91KJLeu029837@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/gnome-user-share/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29825 Modified Files: gnome-user-share.spec Log Message: bump for gcc bug Index: gnome-user-share.spec =================================================================== RCS file: /cvs/dist/rpms/gnome-user-share/devel/gnome-user-share.spec,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- gnome-user-share.spec 22 Sep 2006 02:08:20 -0000 1.15 +++ gnome-user-share.spec 1 Oct 2006 20:19:19 -0000 1.16 @@ -1,7 +1,7 @@ Summary: Gnome user file sharing Name: gnome-user-share Version: 0.10 -Release: 4 +Release: 5 License: GPL Group: System Environment/Libraries URL: http://www.gnome.org @@ -63,6 +63,9 @@ %{_sysconfdir}/gconf/schemas/* %changelog +* Sun Oct 01 2006 Jesse Keating - 0.10-5 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Thu Sep 21 2006 Nalin Dahyabhai - 0.10-4 - add missing BuildRequires: on httpd, so that the configure script can find the binary From fedora-cvs-commits at redhat.com Sun Oct 1 20:19:25 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:19:25 -0400 Subject: rpms/grub/devel grub.spec,1.49,1.50 Message-ID: <200610012019.k91KJP6R029895@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/grub/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29879 Modified Files: grub.spec Log Message: bump for gcc bug Index: grub.spec =================================================================== RCS file: /cvs/dist/rpms/grub/devel/grub.spec,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- grub.spec 21 Sep 2006 14:37:07 -0000 1.49 +++ grub.spec 1 Oct 2006 20:19:23 -0000 1.50 @@ -1,6 +1,6 @@ Name: grub Version: 0.97 -Release: 12 +Release: 13 Summary: GRUB - the Grand Unified Boot Loader. Group: System Environment/Base License: GPL @@ -238,6 +238,9 @@ %{_datadir}/grub %changelog +* Sun Oct 01 2006 Jesse Keating - 0.97-13 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Thu Sep 21 2006 Peter Jones - 0.97-12 - Reenable patch 505, which fixes #116311 From fedora-cvs-commits at redhat.com Sun Oct 1 20:19:30 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:19:30 -0400 Subject: rpms/gzip/devel gzip.spec,1.27,1.28 Message-ID: <200610012019.k91KJUeA029953@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/gzip/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29937 Modified Files: gzip.spec Log Message: bump for gcc bug Index: gzip.spec =================================================================== RCS file: /cvs/dist/rpms/gzip/devel/gzip.spec,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- gzip.spec 20 Sep 2006 10:52:34 -0000 1.27 +++ gzip.spec 1 Oct 2006 20:19:28 -0000 1.28 @@ -1,7 +1,7 @@ Summary: The GNU data compression program. Name: gzip Version: 1.3.5 -Release: 8 +Release: 9 License: GPL Group: Applications/File Source: ftp://alpha.gnu.org/gnu/gzip/gzip-%{version}.tar.gz @@ -95,6 +95,9 @@ %{_infodir}/gzip.info* %changelog +* Sun Oct 01 2006 Jesse Keating - 1.3.5-9 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Wed Sep 20 2006 Ivana Varekova 1.3.5-8 - fix bug 204676 (patches by Tavis Ormandy) - cve-2006-4334 - null dereference problem From fedora-cvs-commits at redhat.com Sun Oct 1 20:19:36 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:19:36 -0400 Subject: rpms/icu/devel icu.spec,1.29,1.30 Message-ID: <200610012019.k91KJavg030014@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/icu/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv29998 Modified Files: icu.spec Log Message: bump for gcc bug Index: icu.spec =================================================================== RCS file: /cvs/dist/rpms/icu/devel/icu.spec,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- icu.spec 25 Sep 2006 12:16:26 -0000 1.29 +++ icu.spec 1 Oct 2006 20:19:34 -0000 1.30 @@ -1,6 +1,6 @@ Name: icu Version: 3.6 -Release: 3 +Release: 4 Summary: International Components for Unicode Group: System Environment/Libraries @@ -135,6 +135,9 @@ %changelog +* Sun Oct 01 2006 Jesse Keating - 3.6-4 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Mon Sep 25 2006 Caolan McNamara - 3.6-3 - rh#206615# render malayam like pango From fedora-cvs-commits at redhat.com Sun Oct 1 20:19:40 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:19:40 -0400 Subject: rpms/ipsec-tools/devel ipsec-tools.spec,1.33,1.34 Message-ID: <200610012019.k91KJe7e030069@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/ipsec-tools/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30055 Modified Files: ipsec-tools.spec Log Message: bump for gcc bug Index: ipsec-tools.spec =================================================================== RCS file: /cvs/dist/rpms/ipsec-tools/devel/ipsec-tools.spec,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- ipsec-tools.spec 25 Sep 2006 14:46:11 -0000 1.33 +++ ipsec-tools.spec 1 Oct 2006 20:19:38 -0000 1.34 @@ -1,6 +1,6 @@ Name: ipsec-tools Version: 0.6.5 -Release: 5 +Release: 6 Summary: Tools for configuring and using IPSEC License: BSD Group: System Environment/Base @@ -100,6 +100,9 @@ %config(noreplace) /etc/racoon/racoon.conf %changelog +* Sun Oct 01 2006 Jesse Keating - 0.6.5-6 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Mon Sep 25 2006 Harald Hoyer - 0.6.5-5 - added patch for selinux integration (bug #207159) From fedora-cvs-commits at redhat.com Sun Oct 1 20:19:45 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:19:45 -0400 Subject: rpms/jessie/devel jessie.spec,1.26,1.27 Message-ID: <200610012019.k91KJjH1030129@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/jessie/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30111 Modified Files: jessie.spec Log Message: bump for gcc bug Index: jessie.spec =================================================================== RCS file: /cvs/dist/rpms/jessie/devel/jessie.spec,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- jessie.spec 22 Sep 2006 03:40:41 -0000 1.26 +++ jessie.spec 1 Oct 2006 20:19:43 -0000 1.27 @@ -2,7 +2,7 @@ Name: jessie Version: 1.0.1 -Release: 6 +Release: 7 Epoch: 0 Summary: A free implementation of the Java Secure Sockets Extension @@ -114,6 +114,9 @@ %endif %changelog +* Sun Oct 01 2006 Jesse Keating - 0:1.0.1-7 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Mon Sep 21 2006 Thomas Fitzsimmons - 0:1.0.1-6 - Uncomment 1.4 methods from SSLSocket.java. (206278) From fedora-cvs-commits at redhat.com Sun Oct 1 20:19:49 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:19:49 -0400 Subject: rpms/kudzu/devel kudzu.spec,1.156,1.157 Message-ID: <200610012019.k91KJnmk030187@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/kudzu/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30171 Modified Files: kudzu.spec Log Message: bump for gcc bug Index: kudzu.spec =================================================================== RCS file: /cvs/dist/rpms/kudzu/devel/kudzu.spec,v retrieving revision 1.156 retrieving revision 1.157 diff -u -r1.156 -r1.157 --- kudzu.spec 22 Sep 2006 16:50:30 -0000 1.156 +++ kudzu.spec 1 Oct 2006 20:19:47 -0000 1.157 @@ -1,6 +1,6 @@ Name: kudzu Version: 1.2.57.1 -Release: 1 +Release: 2 License: GPL Summary: The Red Hat Linux hardware probing tool. Group: Applications/System @@ -73,6 +73,9 @@ %{_includedir}/kudzu %changelog +* Sun Oct 01 2006 Jesse Keating - 1.2.57.1-2 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Fri Sep 22 2006 Bill Nottingham - 1.2.57.1-1 - recognize scsi type 14 as disk (#207295) From fedora-cvs-commits at redhat.com Sun Oct 1 20:19:54 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:19:54 -0400 Subject: rpms/libgpg-error/devel libgpg-error.spec,1.14,1.15 Message-ID: <200610012019.k91KJsGM030250@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/libgpg-error/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30232 Modified Files: libgpg-error.spec Log Message: bump for gcc bug Index: libgpg-error.spec =================================================================== RCS file: /cvs/dist/rpms/libgpg-error/devel/libgpg-error.spec,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- libgpg-error.spec 18 Sep 2006 17:34:23 -0000 1.14 +++ libgpg-error.spec 1 Oct 2006 20:19:52 -0000 1.15 @@ -1,7 +1,7 @@ Summary: libgpg-error Name: libgpg-error Version: 1.4 -Release: 1 +Release: 2 URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/ Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2 Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig @@ -72,6 +72,9 @@ %{_datadir}/aclocal/gpg-error.m4 %changelog +* Sun Oct 01 2006 Jesse Keating - 1.4-2 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Mon Sep 18 2006 Bill Nottngham - 1.4-1 - update to 1.4 - don't ship lisp bindings From fedora-cvs-commits at redhat.com Sun Oct 1 20:19:59 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:19:59 -0400 Subject: rpms/libselinux/devel libselinux.spec,1.228,1.229 Message-ID: <200610012019.k91KJxep030301@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/libselinux/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30289 Modified Files: libselinux.spec Log Message: bump for gcc bug Index: libselinux.spec =================================================================== RCS file: /cvs/dist/rpms/libselinux/devel/libselinux.spec,v retrieving revision 1.228 retrieving revision 1.229 diff -u -r1.228 -r1.229 --- libselinux.spec 29 Sep 2006 18:12:11 -0000 1.228 +++ libselinux.spec 1 Oct 2006 20:19:56 -0000 1.229 @@ -2,7 +2,7 @@ Summary: SELinux library and simple utilities Name: libselinux Version: 1.30.29 -Release: 1 +Release: 2 License: Public domain (uncopyrighted) Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz @@ -117,6 +117,9 @@ %{_libdir}/python*/site-packages/selinux.py* %changelog +* Sun Oct 01 2006 Jesse Keating - 1.30.29-2 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Fri Sep 29 2006 Dan Walsh - 1.30.29-1 - Upgrade to latest from NSA * Merged av_permissions.h update from Steve Grubb, From fedora-cvs-commits at redhat.com Sun Oct 1 20:20:03 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:20:03 -0400 Subject: rpms/libunwind/devel libunwind.spec,1.19,1.20 Message-ID: <200610012020.k91KK3SI030356@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/libunwind/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30343 Modified Files: libunwind.spec Log Message: bump for gcc bug Index: libunwind.spec =================================================================== RCS file: /cvs/dist/rpms/libunwind/devel/libunwind.spec,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- libunwind.spec 22 Sep 2006 10:08:18 -0000 1.19 +++ libunwind.spec 1 Oct 2006 20:20:01 -0000 1.20 @@ -5,7 +5,7 @@ Name: libunwind # Latest libunwind release. Version: 0.98.5 -Release: 2 +Release: 3 License: BSD Group: Development/Debuggers Source: ftp://ftp.hpl.hp.com/pub/linux-ia64/libunwind-%{version}.tar.gz @@ -45,6 +45,9 @@ /usr/include/* %changelog +* Sun Oct 01 2006 Jesse Keating - 0.98.5-3 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Sat Sep 22 2006 Jan Kratochvil - 0.98.5-2 - SELinux compatibility fix - stack is now non-exec (Jakub Jelinek suggestion). From fedora-cvs-commits at redhat.com Sun Oct 1 20:20:13 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:20:13 -0400 Subject: rpms/libuser/devel libuser.spec,1.54,1.55 Message-ID: <200610012020.k91KKDc5030407@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/libuser/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30395 Modified Files: libuser.spec Log Message: bump for gcc bug Index: libuser.spec =================================================================== RCS file: /cvs/dist/rpms/libuser/devel/libuser.spec,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- libuser.spec 25 Sep 2006 13:59:59 -0000 1.54 +++ libuser.spec 1 Oct 2006 20:20:05 -0000 1.55 @@ -5,7 +5,7 @@ Name: libuser Version: 0.54.7 -Release: 1 +Release: 2 Group: System Environment/Base License: LGPL Source: libuser-%{version}.tar.gz @@ -95,6 +95,9 @@ %{_datadir}/gtk-doc/html/* %changelog +* Sun Oct 01 2006 Jesse Keating - 0.54.7-2 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Mon Sep 25 2006 Miloslav Trmac - 0.54.7-1 - New release with updated translations From fedora-cvs-commits at redhat.com Sun Oct 1 20:20:20 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:20:20 -0400 Subject: rpms/libXp/devel libXp.spec,1.24,1.25 Message-ID: <200610012020.k91KKKbP030459@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/libXp/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30446 Modified Files: libXp.spec Log Message: bump for gcc bug Index: libXp.spec =================================================================== RCS file: /cvs/dist/rpms/libXp/devel/libXp.spec,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- libXp.spec 20 Sep 2006 21:51:43 -0000 1.24 +++ libXp.spec 1 Oct 2006 20:20:15 -0000 1.25 @@ -12,7 +12,7 @@ Summary: X.Org X11 libXp runtime library Name: libXp Version: 1.0.0 -Release: 7 +Release: 8 License: MIT/X11 Group: System Environment/Libraries URL: http://www.x.org @@ -127,6 +127,9 @@ %endif %changelog +* Sun Oct 01 2006 Jesse Keating - 1.0.0-8 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Wed Sep 20 2006 Soren Sandmann - 1.0.0.7 - Add requires for the devel package on libXau-devel (173530) From fedora-cvs-commits at redhat.com Sun Oct 1 20:20:25 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:20:25 -0400 Subject: rpms/logrotate/devel logrotate.spec,1.51,1.52 Message-ID: <200610012020.k91KKPhB030520@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/logrotate/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30504 Modified Files: logrotate.spec Log Message: bump for gcc bug Index: logrotate.spec =================================================================== RCS file: /cvs/dist/rpms/logrotate/devel/logrotate.spec,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- logrotate.spec 26 Sep 2006 13:44:07 -0000 1.51 +++ logrotate.spec 1 Oct 2006 20:20:23 -0000 1.52 @@ -1,7 +1,7 @@ Summary: Rotates, compresses, removes and mails system log files. Name: logrotate Version: 3.7.4 -Release: 6 +Release: 7 License: GPL Group: System Environment/Base Source: logrotate-%{PACKAGE_VERSION}.tar.gz @@ -55,6 +55,9 @@ %attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) /var/lib/logrotate.status %changelog +* Sun Oct 01 2006 Jesse Keating - 3.7.4-7 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Tue Sep 26 2006 Peter Vrabec 3.7.4-6 - fix leaking file descriptor (#205072) From fedora-cvs-commits at redhat.com Sun Oct 1 20:20:29 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:20:29 -0400 Subject: rpms/mailman/devel mailman.spec,1.59,1.60 Message-ID: <200610012020.k91KKTAV030578@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/mailman/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30561 Modified Files: mailman.spec Log Message: bump for gcc bug Index: mailman.spec =================================================================== RCS file: /cvs/dist/rpms/mailman/devel/mailman.spec,v retrieving revision 1.59 retrieving revision 1.60 diff -u -r1.59 -r1.60 --- mailman.spec 25 Sep 2006 13:06:58 -0000 1.59 +++ mailman.spec 1 Oct 2006 20:20:27 -0000 1.60 @@ -1,7 +1,7 @@ Summary: Mailing list manager with built in Web access. Name: mailman Version: 2.1.9 -Release: 1 +Release: 2 Epoch: 3 Group: Applications/Internet #Source0: ftp://ftp.gnu.org/pub/gnu/mailman/mailman-%{version}.tgz @@ -324,6 +324,9 @@ %attr(0644,root,%{mmgroup}) %config(noreplace) %{mmdir}/cron/crontab.in %changelog +* Sun Oct 01 2006 Jesse Keating - 3:2.1.9-2 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Mon Sep 25 2006 Harald Hoyer - 3:2.1.9-1 - updated to mailman-2.1.9 which fixes bug #206607 From fedora-cvs-commits at redhat.com Sun Oct 1 20:20:35 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:20:35 -0400 Subject: rpms/mod_auth_kerb/devel mod_auth_kerb.spec,1.15,1.16 Message-ID: <200610012020.k91KKZhT030640@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/mod_auth_kerb/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30626 Modified Files: mod_auth_kerb.spec Log Message: bump for gcc bug Index: mod_auth_kerb.spec =================================================================== RCS file: /cvs/dist/rpms/mod_auth_kerb/devel/mod_auth_kerb.spec,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- mod_auth_kerb.spec 19 Sep 2006 14:00:17 -0000 1.15 +++ mod_auth_kerb.spec 1 Oct 2006 20:20:33 -0000 1.16 @@ -2,7 +2,7 @@ Summary: Kerberos authentication module for HTTP Name: mod_auth_kerb Version: 5.1 -Release: 2 +Release: 3 License: Apache Group: System Environment/Daemons URL: http://modauthkerb.sourceforge.net/ @@ -54,6 +54,9 @@ %{_libdir}/httpd/modules/*.so %changelog +* Sun Oct 01 2006 Jesse Keating - 5.1-3 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Tue Sep 19 2006 Joe Orton 5.1-2 - update to 5.1 From fedora-cvs-commits at redhat.com Sun Oct 1 20:20:39 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:20:39 -0400 Subject: rpms/ncompress/devel ncompress.spec,1.22,1.23 Message-ID: <200610012020.k91KKdk4030692@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/ncompress/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30679 Modified Files: ncompress.spec Log Message: bump for gcc bug Index: ncompress.spec =================================================================== RCS file: /cvs/dist/rpms/ncompress/devel/ncompress.spec,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- ncompress.spec 19 Sep 2006 12:34:22 -0000 1.22 +++ ncompress.spec 1 Oct 2006 20:20:37 -0000 1.23 @@ -1,7 +1,7 @@ Summary: Fast compression and decompression utilities. Name: ncompress Version: 4.2.4 -Release: 46 +Release: 47 License: distributable Group: Applications/File Source: ftp://metalab.unc.edu/pub/Linux/utils/compress/ncompress-4.2.4.tar.Z @@ -73,6 +73,9 @@ %doc LZW.INFO README %changelog +* Sun Oct 01 2006 Jesse Keating - 4.2.4-47 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Tue Sep 19 2006 Peter Vrabec 4.2.4-46 - fix endian problem (#207001) From fedora-cvs-commits at redhat.com Sun Oct 1 20:20:44 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:20:44 -0400 Subject: rpms/openldap/devel openldap.spec,1.59,1.60 Message-ID: <200610012020.k91KKiUx030744@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/openldap/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30731 Modified Files: openldap.spec Log Message: bump for gcc bug Index: openldap.spec =================================================================== RCS file: /cvs/dist/rpms/openldap/devel/openldap.spec,v retrieving revision 1.59 retrieving revision 1.60 diff -u -r1.59 -r1.60 --- openldap.spec 22 Sep 2006 18:32:00 -0000 1.59 +++ openldap.spec 1 Oct 2006 20:20:42 -0000 1.60 @@ -13,7 +13,7 @@ Summary: The configuration files, libraries, and documentation for OpenLDAP. Name: openldap Version: %{version_23} -Release: 3 +Release: 4 License: OpenLDAP Group: System Environment/Daemons Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version_23}.tgz @@ -692,6 +692,9 @@ %attr(0644,root,root) %{evolution_connector_libdir}/*.a %changelog +* Sun Oct 01 2006 Jesse Keating - 2.3.27-4 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Mon Sep 18 2006 Jay Fenlason 2.3.27-3 - Include --enable-multimaster to close bz#185821: adding slapd_multimaster to the configure options From fedora-cvs-commits at redhat.com Sun Oct 1 20:20:48 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:20:48 -0400 Subject: rpms/pam_krb5/devel pam_krb5.spec,1.50,1.51 Message-ID: <200610012020.k91KKm6M030799@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/pam_krb5/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30783 Modified Files: pam_krb5.spec Log Message: bump for gcc bug Index: pam_krb5.spec =================================================================== RCS file: /cvs/dist/rpms/pam_krb5/devel/pam_krb5.spec,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- pam_krb5.spec 22 Sep 2006 04:04:18 -0000 1.50 +++ pam_krb5.spec 1 Oct 2006 20:20:46 -0000 1.51 @@ -1,7 +1,7 @@ Summary: A Pluggable Authentication Module for Kerberos 5. Name: pam_krb5 Version: 2.2.11 -Release: 1 +Release: 2 Source0: pam_krb5-%{version}-%{release}.tar.gz License: LGPL Group: System Environment/Base @@ -47,6 +47,9 @@ # $Id$ %changelog +* Sun Oct 01 2006 Jesse Keating - 2.2.11-2 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Thu Sep 21 2006 Nalin Dahyabhai - 2.2.11-1 - update to 2.2.11 From fedora-cvs-commits at redhat.com Sun Oct 1 20:20:53 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:20:53 -0400 Subject: rpms/pam_pkcs11/devel pam_pkcs11.spec,1.23,1.24 Message-ID: <200610012020.k91KKrYn030855@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/pam_pkcs11/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30843 Modified Files: pam_pkcs11.spec Log Message: bump for gcc bug Index: pam_pkcs11.spec =================================================================== RCS file: /cvs/dist/rpms/pam_pkcs11/devel/pam_pkcs11.spec,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- pam_pkcs11.spec 26 Sep 2006 01:13:33 -0000 1.23 +++ pam_pkcs11.spec 1 Oct 2006 20:20:51 -0000 1.24 @@ -6,7 +6,7 @@ Name: pam_pkcs11 Version: 0.5.3 -Release: 21 +Release: 22 Summary: PKCS #11/NSS PAM login module Group: System Environment/Base @@ -158,6 +158,9 @@ %doc %{_datadir}/%{name}/pkcs11_eventmgr.conf.example %changelog +* Sun Oct 01 2006 Jesse Keating - 0.5.3-22 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Mon Sep 18 2006 Robert Relyea 0.5.3-21 - update password supported patch. - fix bug where the user and smart card prompt was coming up in login after From fedora-cvs-commits at redhat.com Sun Oct 1 20:20:57 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:20:57 -0400 Subject: rpms/ppc64-utils/devel ppc64-utils.spec,1.20,1.21 Message-ID: <200610012020.k91KKvuZ030910@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/ppc64-utils/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30898 Modified Files: ppc64-utils.spec Log Message: bump for gcc bug Index: ppc64-utils.spec =================================================================== RCS file: /cvs/dist/rpms/ppc64-utils/devel/ppc64-utils.spec,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- ppc64-utils.spec 21 Sep 2006 17:58:54 -0000 1.20 +++ ppc64-utils.spec 1 Oct 2006 20:20:55 -0000 1.21 @@ -4,7 +4,7 @@ Summary: Linux/PPC64 specific utilities Name: ppc64-utils Version: 0.9 -Release: 14 +Release: 15 License: GPL and OSL Group: System Environment/Base Source0: ppc64-utils-%{ppc64utilsver}.tar.gz @@ -69,6 +69,9 @@ %{_mandir}/man8/* %changelog +* Sun Oct 01 2006 Jesse Keating - 0.9-15 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Thu Sep 21 2006 Peter Jones - 0.9-14 - Fix iSeries support in addRamDisk From fedora-cvs-commits at redhat.com Sun Oct 1 20:21:01 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:21:01 -0400 Subject: rpms/readahead/devel readahead.spec,1.33,1.34 Message-ID: <200610012021.k91KL1A4030965@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/readahead/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv30949 Modified Files: readahead.spec Log Message: bump for gcc bug Index: readahead.spec =================================================================== RCS file: /cvs/dist/rpms/readahead/devel/readahead.spec,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- readahead.spec 22 Sep 2006 21:22:12 -0000 1.33 +++ readahead.spec 1 Oct 2006 20:20:59 -0000 1.34 @@ -1,7 +1,7 @@ Summary: Read a preset list of files into memory. Name: readahead Version: 1.3 -Release: 4 +Release: 5 Epoch: 1 Group: System Environment/Base License: GPL/OSL @@ -62,6 +62,9 @@ %changelog +* Sun Oct 01 2006 Jesse Keating - 1:1.3-5 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Fri Sep 22 2006 Karel Zak 1:1.3-4 - fix #207631 - clean up package build system and use tarball instead separated source files From fedora-cvs-commits at redhat.com Sun Oct 1 20:21:06 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:21:06 -0400 Subject: rpms/rhpxl/devel rhpxl.spec,1.42,1.43 Message-ID: <200610012021.k91KL6n5031020@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/rhpxl/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31004 Modified Files: rhpxl.spec Log Message: bump for gcc bug Index: rhpxl.spec =================================================================== RCS file: /cvs/dist/rpms/rhpxl/devel/rhpxl.spec,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- rhpxl.spec 21 Sep 2006 22:00:44 -0000 1.42 +++ rhpxl.spec 1 Oct 2006 20:21:03 -0000 1.43 @@ -3,7 +3,7 @@ Summary: Python library for configuring and running X. Name: rhpxl Version: 0.35 -Release: 1 +Release: 2 Source0: %{name}-%{version}.tar.gz License: GPL Group: System Environment/Libraries @@ -43,6 +43,9 @@ %{_sbindir}/ddcprobe %changelog +* Sun Oct 01 2006 Jesse Keating - 0.35-2 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Thu Sep 21 2006 Adam Jackson 0.35-1 - Fix resolution comparison to, uh, work. - Properly write out Display subsections so the resolution selector works again From fedora-cvs-commits at redhat.com Sun Oct 1 20:21:10 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:21:10 -0400 Subject: rpms/squashfs-tools/devel squashfs-tools.spec,1.11,1.12 Message-ID: <200610012021.k91KLAW6031070@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/squashfs-tools/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31059 Modified Files: squashfs-tools.spec Log Message: bump for gcc bug Index: squashfs-tools.spec =================================================================== RCS file: /cvs/dist/rpms/squashfs-tools/devel/squashfs-tools.spec,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- squashfs-tools.spec 18 Sep 2006 16:52:32 -0000 1.11 +++ squashfs-tools.spec 1 Oct 2006 20:21:08 -0000 1.12 @@ -1,7 +1,7 @@ Summary: squashfs utilities Name: squashfs-tools Version: 3.0 -Release: 3 +Release: 4 License: GPL Group: System Environment/Base URL: http://squashfs.sf.net @@ -42,6 +42,9 @@ /usr/sbin/unsquashfs %changelog +* Sun Oct 01 2006 Jesse Keating - 3.0-4 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Mon Sep 18 2006 Jeremy Katz - 3.0-3 - updated fragment size patch (#204638) From fedora-cvs-commits at redhat.com Sun Oct 1 20:21:14 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:21:14 -0400 Subject: rpms/sudo/devel sudo.spec,1.45,1.46 Message-ID: <200610012021.k91KLEWK031122@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/sudo/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31110 Modified Files: sudo.spec Log Message: bump for gcc bug Index: sudo.spec =================================================================== RCS file: /cvs/dist/rpms/sudo/devel/sudo.spec,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- sudo.spec 21 Sep 2006 08:41:38 -0000 1.45 +++ sudo.spec 1 Oct 2006 20:21:12 -0000 1.46 @@ -1,7 +1,7 @@ Summary: Allows restricted root access for specified users. Name: sudo Version: 1.6.8p12 -Release: 9 +Release: 10 License: BSD Group: Applications/System URL: http://www.courtesan.com/sudo/ @@ -126,6 +126,9 @@ /bin/chmod 0440 /etc/sudoers || : %changelog +* Sun Oct 01 2006 Jesse Keating - 1.6.8p12-10 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Thu Sep 21 2006 Peter Vrabec 1.6.8p12-9 - fix sudoers file, X apps didn't work (#206320) From fedora-cvs-commits at redhat.com Sun Oct 1 20:21:18 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:21:18 -0400 Subject: rpms/SysVinit/devel SysVinit.spec,1.54,1.55 Message-ID: <200610012021.k91KLIx2031173@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/SysVinit/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31161 Modified Files: SysVinit.spec Log Message: bump for gcc bug Index: SysVinit.spec =================================================================== RCS file: /cvs/dist/rpms/SysVinit/devel/SysVinit.spec,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- SysVinit.spec 21 Sep 2006 18:49:57 -0000 1.54 +++ SysVinit.spec 1 Oct 2006 20:21:16 -0000 1.55 @@ -1,7 +1,7 @@ Summary: Programs which control basic system processes. Name: SysVinit Version: 2.86 -Release: 12 +Release: 13 License: GPL Group: System Environment/Base Source: ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-%{version}.tar.gz @@ -142,6 +142,9 @@ %{_mandir}/*/* %changelog +* Sun Oct 01 2006 Jesse Keating - 2.86-13 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Thu Sep 21 2006 Bill Nottingham - 2.86-12 - set controlling tty for /etc/rc so that ctrl-c can be passed to hung services (#184340) From fedora-cvs-commits at redhat.com Sun Oct 1 20:21:23 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:21:23 -0400 Subject: rpms/usermode/devel usermode.spec,1.61,1.62 Message-ID: <200610012021.k91KLN3f031224@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/usermode/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31212 Modified Files: usermode.spec Log Message: bump for gcc bug Index: usermode.spec =================================================================== RCS file: /cvs/dist/rpms/usermode/devel/usermode.spec,v retrieving revision 1.61 retrieving revision 1.62 diff -u -r1.61 -r1.62 --- usermode.spec 21 Sep 2006 09:12:04 -0000 1.61 +++ usermode.spec 1 Oct 2006 20:21:20 -0000 1.62 @@ -6,7 +6,7 @@ Summary: Tools for certain user account management tasks. Name: usermode Version: 1.87 -Release: 1 +Release: 2 License: GPL Group: Applications/System Source: usermode-%{version}.tar.gz @@ -120,6 +120,9 @@ %{_datadir}/applications/* %changelog +* Sun Oct 01 2006 Jesse Keating - 1.87-2 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Wed Sep 20 2006 Martin Bacovsky 1.87-1 - pam-panel-icon is now transparent on GTK+ >2.10 (#207181), thanks to Bill Nottingham From fedora-cvs-commits at redhat.com Sun Oct 1 20:21:26 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:21:26 -0400 Subject: rpms/wget/devel wget.spec,1.48,1.49 Message-ID: <200610012021.k91KLQ2n031275@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/wget/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31263 Modified Files: wget.spec Log Message: bump for gcc bug Index: wget.spec =================================================================== RCS file: /cvs/dist/rpms/wget/devel/wget.spec,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- wget.spec 25 Sep 2006 15:32:19 -0000 1.48 +++ wget.spec 1 Oct 2006 20:21:24 -0000 1.49 @@ -1,7 +1,7 @@ Summary: A utility for retrieving files using the HTTP or FTP protocols. Name: wget Version: 1.10.2 -Release: 6 +Release: 7 License: GPL Group: Applications/Internet Url: http://wget.sunsite.dk/ @@ -71,6 +71,9 @@ %{_infodir}/* %changelog +* Sun Oct 01 2006 Jesse Keating - 1.10.2-7 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Mon Sep 25 2006 Karsten Hopp 1.10.2-6 - fix resumed downloads (#205723) From fedora-cvs-commits at redhat.com Sun Oct 1 20:21:31 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:21:31 -0400 Subject: rpms/xinetd/devel xinetd.spec,1.39,1.40 Message-ID: <200610012021.k91KLVVA031326@cvs.devel.redhat.com> Author: jkeating Update of /cvs/dist/rpms/xinetd/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv31314 Modified Files: xinetd.spec Log Message: bump for gcc bug Index: xinetd.spec =================================================================== RCS file: /cvs/dist/rpms/xinetd/devel/xinetd.spec,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- xinetd.spec 20 Sep 2006 21:24:12 -0000 1.39 +++ xinetd.spec 1 Oct 2006 20:21:29 -0000 1.40 @@ -4,7 +4,7 @@ Summary: A secure replacement for inetd. Name: xinetd Version: 2.3.14 -Release: 7 +Release: 8 License: Distributable (BSD-like) Group: System Environment/Daemons Epoch: 2 @@ -102,6 +102,9 @@ %{_mandir}/*/* %changelog +* Sun Oct 01 2006 Jesse Keating - 2:2.3.14-8 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + * Wed Sep 20 2006 Steve Grubb 2:2.3.14-7 - Revised labeled networking patch to not allow redirection From fedora-cvs-commits at redhat.com Sun Oct 1 20:30:35 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:30:35 -0400 Subject: rpms/kdelibs/devel kdelibs-3.5.4-kdeprint-utf8.patch, NONE, 1.1 kdelibs.spec, 1.193, 1.194 Message-ID: <200610012030.k91KUZNU009924@cvs.devel.redhat.com> Author: than Update of /cvs/dist/rpms/kdelibs/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv9816 Modified Files: kdelibs.spec Added Files: kdelibs-3.5.4-kdeprint-utf8.patch Log Message: fix utf8 issue kdeprint kdelibs-3.5.4-kdeprint-utf8.patch: kmcupsmanager.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- NEW FILE kdelibs-3.5.4-kdeprint-utf8.patch --- --- kdelibs-3.5.4/kdeprint/cups/kmcupsmanager.cpp.orig 2006-10-01 21:55:49.000000000 +0200 +++ kdelibs-3.5.4/kdeprint/cups/kmcupsmanager.cpp 2006-10-01 21:56:08.000000000 +0200 @@ -85,7 +85,7 @@ // change LANG variable so that CUPS is always using // english language: translation may only come from the PPD // itself, or from KDE. - setenv("LANG", "en", 1); + setenv("LANG", "en_US.UTF-8", 1); } KMCupsManager::~KMCupsManager() Index: kdelibs.spec =================================================================== RCS file: /cvs/dist/rpms/kdelibs/devel/kdelibs.spec,v retrieving revision 1.193 retrieving revision 1.194 diff -u -r1.193 -r1.194 --- kdelibs.spec 1 Oct 2006 19:49:58 -0000 1.193 +++ kdelibs.spec 1 Oct 2006 20:30:33 -0000 1.194 @@ -45,6 +45,7 @@ Patch37: kdelibs-3.5.2-kdebug-kmail-quiet.patch Patch38: kdelibs-3.5.2-cupsdconf2-group.patch Patch39: kdelibs-3.5.4-kabc-make.patch +Patch40: kdelibs-3.5.4-kdeprint-utf8.patch # upstream patches Patch100: kdelibs-3.5.4-kde#131933.patch @@ -195,6 +196,7 @@ %patch37 -p1 -b .kdebug-kmail-quiet %patch38 -p1 -b .cupsdconf2-group %patch39 -p1 -b .kabc-make +%patch40 -p1 -b .kdeprint-utf8 # upstream pathces %patch100 -p0 -b .kde#131933 @@ -442,6 +444,7 @@ %changelog * Sun Oct 01 2006 Than Ngo 6:3.5.4-10 +- fix utf8 issue kdeprint - fix #178320,#198828, follow menu-spec * Sat Sep 30 2006 Than Ngo 6:3.5.4-9 From fedora-cvs-commits at redhat.com Sun Oct 1 20:35:05 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:35:05 -0400 Subject: rpms/kdebase/devel env.sh,1.3,1.4 Message-ID: <200610012035.k91KZ5Mo013903@cvs.devel.redhat.com> Author: than Update of /cvs/dist/rpms/kdebase/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv13769 Modified Files: env.sh Log Message: fix #178320,#198828, follow menu-spec Index: env.sh =================================================================== RCS file: /cvs/dist/rpms/kdebase/devel/env.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- env.sh 30 Sep 2006 21:12:08 -0000 1.3 +++ env.sh 1 Oct 2006 20:35:03 -0000 1.4 @@ -1,6 +1,6 @@ # from http://standards.freedesktop.org/menu-spec/latest/ - -if [ -z "${XDG_MENU_PREFIX}" ] ; then - XDG_MENU_PREFIX="kde-" - export XDG_MENU_PREFIX +# XDG_CONFIG_DIRS: where to look for menu config(s) +if [ -z "${XDG_CONFIG_DIRS}" ] ; then + XDG_CONFIG_DIRS=/etc/kde/xdg:/etc/xdg + export XDG_CONFIG_DIRS fi From fedora-cvs-commits at redhat.com Sun Oct 1 20:52:28 2006 From: fedora-cvs-commits at redhat.com (fedora-cvs-commits at redhat.com) Date: Sun, 1 Oct 2006 16:52:28 -0400 Subject: rpms/kdelibs/devel kdelibs-3.5.4-kde#106748.patch, NONE, 1.1 kdelibs.spec, 1.194, 1.195 Message-ID: <200610012052.k91KqS4d012205@cvs.devel.redhat.com> Author: than Update of /cvs/dist/rpms/kdelibs/devel In directory cvs.devel.redhat.com:/tmp/cvs-serv11881 Modified Files: kdelibs.spec Added Files: kdelibs-3.5.4-kde#106748.patch Log Message: fix #134791, Evaluate scripts in