Hello community,
here is the log from the commit of package cvs
checked in at Tue Jul 8 16:41:03 CEST 2008.
--------
--- cvs/cvs.changes 2007-11-09 16:44:22.000000000 +0100
+++ cvs/cvs.changes 2008-06-27 16:43:51.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jun 27 16:36:32 CEST 2008 - schwab@suse.de
+
+- Fix gnulib macros.
+- Fix printf format strings.
+
+-------------------------------------------------------------------
New:
----
cvs-gnulib.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cvs.spec ++++++
--- /var/tmp/diff_new_pack.U29565/_old 2008-07-08 16:40:09.000000000 +0200
+++ /var/tmp/diff_new_pack.U29565/_new 2008-07-08 16:40:09.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package cvs (Version 1.12.12)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -10,6 +10,7 @@
# norootforbuild
+
Name: cvs
BuildRequires: gdbm-devel zlib-devel
License: GPL v2 or later; LGPL v2.1 or later
@@ -17,7 +18,7 @@
Url: http://www.cvshome.org/
AutoReqProv: on
Version: 1.12.12
-Release: 89
+Release: 129
Summary: Concurrent Versions System
Requires: /bin/mktemp, /usr/bin/csh
Source: %name-%version.tar.bz2
@@ -49,6 +50,7 @@
Patch25: cvs-no_AM_GETTEXT_VERSION.diff
Patch26: cvs-request_rcs_installation.diff
Patch27: cvs-fix_printf_format.diff
+Patch28: cvs-gnulib.diff
PreReq: %install_info_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -65,6 +67,7 @@
Jeff Polk
%package doc
+License: GPL v2 or later; LGPL v2.1 or later
Summary: Open Source Development with CVS, 2nd Edition Book
Group: Development/Tools/Version Control
@@ -100,6 +103,7 @@
%patch25
%patch26
%patch27
+%patch28
%build
autoreconf -fi
@@ -196,8 +200,12 @@
%doc %_infodir/cvsclient.info.gz
%doc %{_datadir}/%{name}/contrib/intro.doc
%doc %_defaultdocdir/%name/OpenSourceDevWithCVS_2E.pdf
+
%changelog
-* Fri Nov 09 2007 - pth@suse.de
+* Fri Jun 27 2008 schwab@suse.de
+- Fix gnulib macros.
+- Fix printf format strings.
+* Fri Nov 09 2007 pth@suse.de
- Make rcs2log request the installation of the rcs package if
/usr/bin/rlog isn't found (#331967).
- Install man page for rcs2log.
@@ -206,48 +214,48 @@
- Resync patches.
- Give every patch a cvs- prefix.
- Recompress additional sources with bzip2.
-* Tue Jun 19 2007 - mkoenig@suse.de
+* Tue Jun 19 2007 mkoenig@suse.de
- adjust path to vitmp [#264909]
-* Wed May 02 2007 - coolo@suse.de
+* Wed May 02 2007 coolo@suse.de
- remove support for susehelp - as cvs is a base pack and susehelp
isn't really used anymore
-* Thu Mar 22 2007 - rguenther@suse.de
+* Thu Mar 22 2007 rguenther@suse.de
- add zlib-devel and gdbm-devel BuildRequires
-* Wed Mar 07 2007 - rguenther@suse.de
+* Thu Mar 08 2007 rguenther@suse.de
- use vitmp as default editor
-* Wed Sep 20 2006 - rguenther@suse.de
+* Wed Sep 20 2006 rguenther@suse.de
- reference existing file in desktop file
-* Mon Sep 04 2006 - rguenther@suse.de
+* Mon Sep 04 2006 rguenther@suse.de
- get rid of postfix build dependency by making /sbin/sendmail
the default
- patch configure.in in use_vitmp.diff because configure gets
overwritten by autoconf invocation
-* Wed Jan 25 2006 - mls@suse.de
+* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
-* Fri Nov 04 2005 - od@suse.de
+* Fri Nov 04 2005 od@suse.de
- corrected fix of type punned pointer warning in ls.c:327
-* Mon Oct 31 2005 - od@suse.de
+* Mon Oct 31 2005 od@suse.de
- fix type punned pointer warning in ls.c:327
-* Thu Oct 20 2005 - od@suse.de
+* Thu Oct 20 2005 od@suse.de
- fix "cvs up" segfault on corrupt repository file (#129681)
-* Tue Aug 30 2005 - lnussel@suse.de
+* Tue Aug 30 2005 lnussel@suse.de
- fix /tmp issue in cvsbug (#59450)
-* Thu Aug 11 2005 - schwab@suse.de
+* Thu Aug 11 2005 schwab@suse.de
- Don't use [v]asnprintf.
-* Wed Aug 10 2005 - hvogel@suse.de
+* Thu Aug 11 2005 hvogel@suse.de
- update to version 1.12.12 to get rid of bugs of locales that use
"GMT" for one of their UTC offsets. [Bug #86422]
-* Sun Feb 06 2005 - meissner@suse.de
+* Sun Feb 06 2005 meissner@suse.de
- added format string markup for 2 functions
-* Mon Jan 31 2005 - adrian@suse.de
+* Mon Jan 31 2005 adrian@suse.de
- update to version 1.12.11
-* Mon Jan 24 2005 - meissner@suse.de
+* Mon Jan 24 2005 meissner@suse.de
- 0 -> NULL for 1 execl, fixed return type of a
function.
-* Fri Aug 20 2004 - adrian@suse.de
+* Fri Aug 20 2004 adrian@suse.de
- update to version 1.12.9
- remove obsolete security patches
-* Fri Jun 04 2004 - adrian@suse.de
+* Fri Jun 04 2004 adrian@suse.de
- update last patch to fix WinCVS support (20040521 version)
- new krahmer+esser security fix for (#39773)
* error_prog_name "double-free()" (SE)
@@ -256,121 +264,121 @@
CAN-2004-0417
* serve_notify() out of bound writes (SK)
CAN-2004-0418
-* Mon May 24 2004 - adrian@suse.de
+* Mon May 24 2004 adrian@suse.de
- update to version 1.12.7
* cleanup obsolete patches
all work made by Dirk Mueller
-* Mon May 03 2004 - adrian@suse.de
+* Mon May 03 2004 adrian@suse.de
- expoit-fix for malformed Entry lines. This can be exploited via
a buffer overflow (#39773)
-* Tue Apr 20 2004 - adrian@suse.de
+* Tue Apr 20 2004 adrian@suse.de
- update to cvslock 0.2
- add the cvs book from red-bean into new subpackage -doc
- general cleanup
-* Sat Apr 17 2004 - mmj@suse.de
+* Sat Apr 17 2004 mmj@suse.de
- Fix typepunning
-* Thu Mar 25 2004 - mmj@suse.de
+* Thu Mar 25 2004 mmj@suse.de
- Add postfix to # neededforbuild
-* Mon Mar 22 2004 - adrian@suse.de
+* Mon Mar 22 2004 adrian@suse.de
- apply security fix from Derek
* CVS pserver client side exploit (#36659)
-* Sat Mar 13 2004 - adrian@suse.de
+* Sat Mar 13 2004 adrian@suse.de
- update to new version 1.11.14
(fixes #35890)
-* Thu Jan 08 2004 - adrian@suse.de
+* Thu Jan 08 2004 adrian@suse.de
- update to new version 1.11.11
-* Fri Dec 12 2003 - fehr@suse.de
+* Fri Dec 12 2003 fehr@suse.de
- update to new version 1.11.10
-* Tue Nov 18 2003 - meissner@suse.de
+* Tue Nov 18 2003 meissner@suse.de
- norootforbuild.
- no longer require tcsh, patch configure.in to
fall back to /usr/bin/csh directly.
-* Thu Oct 16 2003 - fehr@suse.de
+* Thu Oct 16 2003 fehr@suse.de
- update to new version 1.11.9
-* Wed Aug 13 2003 - fehr@suse.de
+* Wed Aug 13 2003 fehr@suse.de
- provide /etc/profile.d/cvs.{sh,csh} and make cvs use ssh as
default (#28702)
-* Mon Jul 14 2003 - fehr@suse.de
+* Mon Jul 14 2003 fehr@suse.de
- update to new version 1.11.6
-* Wed Jul 09 2003 - fehr@suse.de
+* Wed Jul 09 2003 fehr@suse.de
- use new parameters for sort (#26448)
-* Fri May 23 2003 - fehr@suse.de
+* Fri May 23 2003 fehr@suse.de
- adopt patches for tmp-race fixes and vitmp usage from OpenWall
Project
- use zlib from system instead of sources provided with cvs
-* Thu Apr 24 2003 - ro@suse.de
+* Thu Apr 24 2003 ro@suse.de
- fix install_info --delete call and move from preun to postun
-* Wed Apr 16 2003 - coolo@suse.de
+* Wed Apr 16 2003 coolo@suse.de
- use BuildRoot
-* Wed Mar 05 2003 - fehr@suse.de
+* Wed Mar 05 2003 fehr@suse.de
- add missing file /etc/xinetd.d/cvs (#24671)
-* Fri Feb 07 2003 - fehr@suse.de
+* Fri Feb 07 2003 fehr@suse.de
- Use %%install_info macro
Fri Jan 31 15:27:08 CET 2003 fehr@suse.de
- fix race that may lead to aborted checkouts of large files
(fix_sigpipe_flowcontrol.diff, #23178)
- allow trailing slashes on directories (e.g. cvs up src/)
(allow_trailing_dir_slash.diff, #13165)
-* Wed Jan 22 2003 - fehr@suse.de
+* Wed Jan 22 2003 fehr@suse.de
- make the feature Checkin-prog/Update-prog configurable
(default is off)
- update to version 1.11.5
-* Mon Jan 20 2003 - fehr@suse.de
+* Mon Jan 20 2003 fehr@suse.de
- disable the commands Checkin-prog/Update-prog in cvs server
decision was made by SuSE security team (security@suse.de)
-* Thu Jan 16 2003 - fehr@suse.de
+* Thu Jan 16 2003 fehr@suse.de
- update to cvs version 1.11.4
- add a patch that fixes a possible double free in cvs server
-* Sat Feb 23 2002 - kukuk@suse.de
+* Sat Feb 23 2002 kukuk@suse.de
- Don't require tcsh [Bug #13424]
-* Fri Feb 08 2002 - draht@suse.de
+* Fri Feb 08 2002 draht@suse.de
- added patch cvs-1.11.1p1-zlib-zfree.dif against duplicate calls
of free() in zlib
-* Fri Dec 14 2001 - fehr@suse.de
+* Fri Dec 14 2001 fehr@suse.de
- update to new version 1.11.1p1
-* Tue May 08 2001 - mfabian@suse.de
+* Tue May 08 2001 mfabian@suse.de
- bzip2 sources
-* Mon Mar 19 2001 - fehr@suse.de
+* Mon Mar 19 2001 fehr@suse.de
- add diff-k.possible.patch which fixes problem when using
cvs diff -k.. (#6653)
-* Fri Feb 09 2001 - schwab@suse.de
+* Fri Feb 09 2001 schwab@suse.de
- Ignore $HOME when running as server (#6293).
-* Tue Jan 16 2001 - werner@suse.de
+* Tue Jan 16 2001 werner@suse.de
- Make last security patch smarter: Ignore not existing temp files
-* Wed Jan 10 2001 - werner@suse.de
+* Wed Jan 10 2001 werner@suse.de
- Add temp file patch of Olaf Kirch
-* Mon Sep 25 2000 - fehr@suse.de
+* Mon Sep 25 2000 fehr@suse.de
- changed to new version 1.11
-* Fri Aug 25 2000 - fehr@suse.de
+* Fri Aug 25 2000 fehr@suse.de
- changed to new version 1.10.8
-* Tue Jul 11 2000 - fehr@suse.de
+* Tue Jul 11 2000 fehr@suse.de
- add tcsh to needforbuild to fix a csh-dependet script
-* Mon Mar 13 2000 - ro@suse.de
+* Mon Mar 13 2000 ro@suse.de
- fixed possible segfault
-* Fri Feb 25 2000 - kukuk@suse.de
+* Fri Feb 25 2000 kukuk@suse.de
- Move /usr/{info,man} -> /usr/share/{info,man}
-* Mon Sep 13 1999 - bs@suse.de
+* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-* Fri Sep 03 1999 - fehr@suse.de
+* Fri Sep 03 1999 fehr@suse.de
- changed to version 1.10.7
-* Fri Aug 27 1999 - fehr@suse.de
+* Fri Aug 27 1999 fehr@suse.de
- added cvslock package
-* Tue Jul 20 1999 - florian@suse.de
+* Tue Jul 20 1999 florian@suse.de
- update to 1.10.6, add server patch
-* Fri Feb 19 1999 - uli@suse.de
+* Fri Feb 19 1999 uli@suse.de
- update 1.9.28 -> 1.10.5
- eliminated Makefile.Linux
-* Thu Jul 23 1998 - werner@suse.de
+* Thu Jul 23 1998 werner@suse.de
- use mktemp
-* Thu Jul 16 1998 - florian@suse.de
+* Fri Jul 17 1998 florian@suse.de
- update to version 1.9.28
-* Wed Jul 15 1998 - werner@suse.de
+* Thu Jul 16 1998 werner@suse.de
- Fix possible exploit of rcs2log.sh
-* Mon Mar 02 1998 - florian@suse.de
+* Mon Mar 02 1998 florian@suse.de
- update to version 1.9.24
-* Fri Oct 10 1997 - florian@suse.de
+* Fri Oct 10 1997 florian@suse.de
- update to version 1.9.16
-* Wed Apr 30 1997 - florian@suse.de
+* Wed Apr 30 1997 florian@suse.de
- update to version 1.9.8
-* Sun Apr 13 1997 - florian@suse.de
+* Mon Apr 14 1997 florian@suse.de
- update to new version 1.9.2
++++++ cvs-fix_printf_format.diff ++++++
--- /var/tmp/diff_new_pack.U29565/_old 2008-07-08 16:40:09.000000000 +0200
+++ /var/tmp/diff_new_pack.U29565/_new 2008-07-08 16:40:09.000000000 +0200
@@ -1,43 +1,43 @@
--- src/parseinfo.c
+++ src/parseinfo.c
-@@ -249,7 +249,7 @@
+@@ -249,7 +249,7 @@ readSizeT (const char *infopath, const c
infopath, option, p[strlen(p)]);
return false;
}
- TRACE (TRACE_DATA, "readSizeT(): Found factor %u for %s",
-+ TRACE (TRACE_DATA, "readSizeT(): Found factor %z for %s",
++ TRACE (TRACE_DATA, "readSizeT(): Found factor %zu for %s",
factor, option);
}
-@@ -273,9 +273,9 @@
+@@ -273,9 +273,9 @@ readSizeT (const char *infopath, const c
/* Don't return an error, just max out. */
num = SIZE_MAX;
- TRACE (TRACE_DATA, "readSizeT(): read number %u for %s", num, option);
-+ TRACE (TRACE_DATA, "readSizeT(): read number %z for %s", num, option);
++ TRACE (TRACE_DATA, "readSizeT(): read number %zu for %s", num, option);
*val = xtimes (strtoul (p, NULL, 10), factor);
- TRACE (TRACE_DATA, "readSizeT(): returnning %u for %s", *val, option);
-+ TRACE (TRACE_DATA, "readSizeT(): returnning %z for %s", *val, option);
++ TRACE (TRACE_DATA, "readSizeT(): returnning %zu for %s", *val, option);
return true;
}
--- src/subr.c
+++ src/subr.c
-@@ -1336,7 +1336,7 @@
+@@ -1336,7 +1336,7 @@ format_cmdline (const char *format, ...)
dellist(&pflist);
free(b);
error (1, 0,
-"internal error: unknown integer arg size (%d)",
-+"internal error: unknown integer arg size (%z)",
++"internal error: unknown integer arg size (%zu)",
length);
break;
}
-@@ -1379,7 +1379,7 @@
+@@ -1379,7 +1379,7 @@ format_cmdline (const char *format, ...)
dellist(&pflist);
free(b);
error (1, 0,
-"internal error: unknown floating point arg size (%d)",
-+"internal error: unknown floating point arg size (%z)",
++"internal error: unknown floating point arg size (%zu)",
length);
break;
}
++++++ cvs-gnulib.diff ++++++
--- m4/extensions.m4
+++ m4/extensions.m4
@@ -1,26 +1,82 @@
+# serial 5 -*- Autoconf -*-
# Enable extensions on systems that normally disable them.
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006-2008 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.
-# gl_USE_SYSTEM_EXTENSIONS
+# This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from CVS
+# Autoconf. Perhaps we can remove this once we can assume Autoconf
+# 2.62 or later everywhere, but since CVS Autoconf mutates rapidly
+# enough in this area it's likely we'll need to redefine
+# AC_USE_SYSTEM_EXTENSIONS for quite some time.
+
+# AC_USE_SYSTEM_EXTENSIONS
# ------------------------
# Enable extensions on systems that normally disable them,
# typically due to standards-conformance issues.
-AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], [
- AC_BEFORE([$0], [AC_COMPILE_IFELSE])
- AC_BEFORE([$0], [AC_RUN_IFELSE])
-
- AC_REQUIRE([AC_GNU_SOURCE])
- AC_REQUIRE([AC_AIX])
- AC_REQUIRE([AC_MINIX])
+# Remember that #undef in AH_VERBATIM gets replaced with #define by
+# AC_DEFINE. The goal here is to define all known feature-enabling
+# macros, then, if reports of conflicts are made, disable macros that
+# cause problems on some platforms (such as __EXTENSIONS__).
+AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
+[AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
+AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
+
+ AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=])
+ if test "$MINIX" = yes; then
+ AC_DEFINE([_POSIX_SOURCE], [1],
+ [Define to 1 if you need to in order for `stat' and other
+ things to work.])
+ AC_DEFINE([_POSIX_1_SOURCE], [2],
+ [Define to 2 if the system does not provide POSIX.1 features
+ except with this defined.])
+ AC_DEFINE([_MINIX], [1],
+ [Define to 1 if on MINIX.])
+ fi
AH_VERBATIM([__EXTENSIONS__],
-[/* Enable extensions on Solaris. */
+[/* Enable extensions on AIX 3, Interix. */
+#ifndef _ALL_SOURCE
+# undef _ALL_SOURCE
+#endif
+/* Enable GNU extensions on systems that have them. */
+#ifndef _GNU_SOURCE
+# undef _GNU_SOURCE
+#endif
+/* Enable threading extensions on Solaris. */
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# undef _POSIX_PTHREAD_SEMANTICS
+#endif
+/* Enable extensions on HP NonStop. */
+#ifndef _TANDEM_SOURCE
+# undef _TANDEM_SOURCE
+#endif
+/* Enable general extensions on Solaris. */
#ifndef __EXTENSIONS__
# undef __EXTENSIONS__
-#endif])
- AC_DEFINE([__EXTENSIONS__])
+#endif
])
+ AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__],
+ [ac_cv_safe_to_define___extensions__],
+ [AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM([[
+# define __EXTENSIONS__ 1
+ ]AC_INCLUDES_DEFAULT])],
+ [ac_cv_safe_to_define___extensions__=yes],
+ [ac_cv_safe_to_define___extensions__=no])])
+ test $ac_cv_safe_to_define___extensions__ = yes &&
+ AC_DEFINE([__EXTENSIONS__])
+ AC_DEFINE([_ALL_SOURCE])
+ AC_DEFINE([_GNU_SOURCE])
+ AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
+ AC_DEFINE([_TANDEM_SOURCE])
+])# AC_USE_SYSTEM_EXTENSIONS
+
+# gl_USE_SYSTEM_EXTENSIONS
+# ------------------------
+# Enable extensions on systems that normally disable them,
+# typically due to standards-conformance issues.
+AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS],
+ [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])])
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org