openSUSE Commits
Threads by month
- ----- 2024 -----
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
July 2011
- 1 participants
- 1029 discussions
Hello community,
here is the log from the commit of package yast2-fingerprint-reader for openSUSE:Factory
checked in at Fri Jul 1 13:58:19 CEST 2011.
--------
--- yast2-fingerprint-reader/yast2-fingerprint-reader.changes 2010-09-01 19:44:14.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-fingerprint-reader/yast2-fingerprint-reader.changes 2011-06-30 14:25:50.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jun 30 14:23:39 CEST 2011 - jsuchome(a)suse.cz
+
+- fixed typo (bnc#703102)
+- 2.21.0
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-fingerprint-reader-2.20.0.tar.bz2
New:
----
yast2-fingerprint-reader-2.21.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-fingerprint-reader.spec ++++++
--- /var/tmp/diff_new_pack.l5K87I/_old 2011-07-01 13:56:54.000000000 +0200
+++ /var/tmp/diff_new_pack.l5K87I/_new 2011-07-01 13:56:54.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package yast2-fingerprint-reader (Version 2.20.0)
+# spec file for package yast2-fingerprint-reader
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,16 +19,16 @@
Name: yast2-fingerprint-reader
-Version: 2.20.0
+Version: 2.21.0
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-fingerprint-reader-2.20.0.tar.bz2
+Source0: yast2-fingerprint-reader-2.21.0.tar.bz2
Prefix: /usr
Group: System/YaST
-License: GPLv2+
+License: GPL v2 or later
Requires: yast2 yast2-pam
BuildRequires: libfprint-devel libfprint0 libusb-devel
BuildRequires: doxygen gcc-c++ perl-XML-Writer update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-pam yast2-testsuite
@@ -42,7 +42,7 @@
thinkfinger library.
%prep
-%setup -n yast2-fingerprint-reader-2.20.0
+%setup -n yast2-fingerprint-reader-2.21.0
%build
%{prefix}/bin/y2tool y2autoconf
++++++ yast2-fingerprint-reader-2.20.0.tar.bz2 -> yast2-fingerprint-reader-2.21.0.tar.bz2 ++++++
++++ 12219 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-fingerprint-reader-2.20.0/VERSION new/yast2-fingerprint-reader-2.21.0/VERSION
--- old/yast2-fingerprint-reader-2.20.0/VERSION 2010-08-31 10:41:33.000000000 +0200
+++ new/yast2-fingerprint-reader-2.21.0/VERSION 2011-06-30 14:24:04.000000000 +0200
@@ -1 +1 @@
-2.20.0
+2.21.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-fingerprint-reader-2.20.0/config.h.in new/yast2-fingerprint-reader-2.21.0/config.h.in
--- old/yast2-fingerprint-reader-2.20.0/config.h.in 2010-05-11 09:23:35.000000000 +0200
+++ new/yast2-fingerprint-reader-2.21.0/config.h.in 2011-06-23 15:56:31.000000000 +0200
@@ -64,6 +64,9 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
/* Define to the version of this package. */
#undef PACKAGE_VERSION
@@ -80,3 +83,6 @@
/* Version number of package */
#undef VERSION
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+#undef size_t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-fingerprint-reader-2.20.0/configure.in new/yast2-fingerprint-reader-2.21.0/configure.in
--- old/yast2-fingerprint-reader-2.20.0/configure.in 2010-05-11 09:23:25.000000000 +0200
+++ new/yast2-fingerprint-reader-2.21.0/configure.in 2011-06-23 15:56:23.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-fingerprint-reader, 2.18.1, http://bugs.opensuse.org/, yast2-fingerprint-reader)
+AC_INIT(yast2-fingerprint-reader, 2.20.0, http://bugs.opensuse.org/, yast2-fingerprint-reader)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.18.1"
+VERSION="2.20.0"
RPMNAME="yast2-fingerprint-reader"
MAINTAINER="Jiri Suchomel <jsuchome(a)suse.cz>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-fingerprint-reader-2.20.0/libtool.m4 new/yast2-fingerprint-reader-2.21.0/libtool.m4
--- old/yast2-fingerprint-reader-2.20.0/libtool.m4 2010-05-11 09:23:31.000000000 +0200
+++ new/yast2-fingerprint-reader-2.21.0/libtool.m4 2011-06-23 15:56:27.000000000 +0200
@@ -684,7 +684,6 @@
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
_LT_COPYING
@@ -1021,7 +1020,7 @@
# to the aix ld manual.
m4_defun([_LT_SYS_MODULE_PATH_AIX],
[m4_require([_LT_DECL_SED])dnl
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
+AC_LINK_IFELSE([AC_LANG_PROGRAM],[
lt_aix_libpath_sed='
/Import File Strings/,/^$/ {
/^0/ {
@@ -4826,9 +4825,18 @@
# implicitly export all symbols.
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
- AC_LINK_IFELSE(int foo(void) {},
+ AC_LINK_IFELSE(
+ [AC_LANG_SOURCE(
+ [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
+ [C++], [[int foo (void) { return 0; }]],
+ [Fortran 77], [[
+ subroutine foo
+ end]],
+ [Fortran], [[
+ subroutine foo
+ end]])])], [
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
- )
+ ])
LDFLAGS="$save_LDFLAGS"
else
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-fingerprint-reader-2.20.0/ltversion.m4 new/yast2-fingerprint-reader-2.21.0/ltversion.m4
--- old/yast2-fingerprint-reader-2.20.0/ltversion.m4 2010-05-11 09:23:31.000000000 +0200
+++ new/yast2-fingerprint-reader-2.21.0/ltversion.m4 2011-06-23 15:56:27.000000000 +0200
@@ -9,15 +9,15 @@
# Generated from ltversion.in.
-# serial 3012 ltversion.m4
+# serial 3018 ltversion.m4
# This file is part of GNU Libtool
-m4_define([LT_PACKAGE_VERSION], [2.2.6])
-m4_define([LT_PACKAGE_REVISION], [1.3012])
+m4_define([LT_PACKAGE_VERSION], [2.2.6b])
+m4_define([LT_PACKAGE_REVISION], [1.3018])
AC_DEFUN([LTVERSION_VERSION],
-[macro_version='2.2.6'
-macro_revision='1.3012'
+[macro_version='2.2.6b'
+macro_revision='1.3018'
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
_LT_DECL(, macro_revision, 0)
])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-fingerprint-reader-2.20.0/src/FingerprintReader.ycp new/yast2-fingerprint-reader-2.21.0/src/FingerprintReader.ycp
--- old/yast2-fingerprint-reader-2.20.0/src/FingerprintReader.ycp 2010-08-31 10:40:09.000000000 +0200
+++ new/yast2-fingerprint-reader-2.21.0/src/FingerprintReader.ycp 2010-09-01 19:43:49.000000000 +0200
@@ -24,7 +24,7 @@
* Summary: FingerprintReader settings, input and output functions
* Authors: Jiri Suchomel <jsuchome(a)suse.cz>
*
- * $Id: FingerprintReader.ycp 57774 2009-06-26 13:23:34Z jsuchome $
+ * $Id: FingerprintReader.ycp 62464 2010-09-01 17:43:48Z jsuchome $
*
* Representation of the configuration of fingerprint-reader.
* Input and output routines.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-fingerprint-reader-2.20.0/src/users_plugin_fingerprint_reader.ycp new/yast2-fingerprint-reader-2.21.0/src/users_plugin_fingerprint_reader.ycp
--- old/yast2-fingerprint-reader-2.20.0/src/users_plugin_fingerprint_reader.ycp 2008-12-18 14:47:06.000000000 +0100
+++ new/yast2-fingerprint-reader-2.21.0/src/users_plugin_fingerprint_reader.ycp 2011-06-30 14:23:36.000000000 +0200
@@ -271,7 +271,7 @@
details = _("Device could not be opened.");
else if (exit_status == 253)
// error message, part 2
- details = _("USB error occured.");
+ details = _("USB error occurred.");
else if (exit_status == 254)
// error message, part 2
details = _("Communication with fingerprint reader failed.");
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-XML-LibXML for openSUSE:Factory
checked in at Fri Jul 1 13:55:30 CEST 2011.
--------
--- perl-XML-LibXML/perl-XML-LibXML.changes 2010-12-01 14:57:54.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-XML-LibXML/perl-XML-LibXML.changes 2011-06-16 09:51:16.000000000 +0200
@@ -1,0 +2,27 @@
+Thu Jun 16 07:37:20 UTC 2011 - vcizek(a)novell.com
+
+- update to 1.71
+ - turn XML_LIBXML_PARSE_DEFAULTS constant to $XML::LibXML::XML_LIBXML_PARSE_DEFAULTS
+ - Apply 0001-XML-LibXML-Error-no-need-to-AUTOLOAD-domain.patch from
+ https://rt.cpan.org/Public/Bug/Display.html?id=68575 - no need to
+ AUTOLOAD 'domain' because a method like that exists.
+ - Apply 0002-XML-LibXML-Error-avoid-AUTOLOAD.patch from
+ https://rt.cpan.org/Public/Bug/Display.html?id=68575 - get rid of
+ AUTOLOAD completely.
+ - Apply 0003-XML-LibXML-Error-make-domain-work-for-unknown-domain.patch
+ from https://rt.cpan.org/Public/Bug/Display.html?id=68575 - handle
+ unknown domains.
+ - Apply 0004-XML-LibXML-Error-add-domains-from-newer-libxml2.patch
+ from https://rt.cpan.org/Public/Bug/Display.html?id=68575 - add more
+ errors.
+ - Apply 0005-XML-LibXML-Error-avoid-malformed-UTF-8-warnings.patch
+ from https://rt.cpan.org/Public/Bug/Display.html?id=68575
+ - In replaceDataString - use
+ http://perldoc.perl.org/functions/quotemeta.html instead of a long (and
+ incomplete) list of characters to escape.
+ -- With test.
+ -- also fix deleteDataString by making it use replaceDataString
+ for help.
+ -- Fixing https://rt.cpan.org/Ticket/Display.html?id=68564
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
XML-LibXML-1.70.tar.bz2
New:
----
XML-LibXML-1.71.tar.bz2
_service:format_spec_file:perl-XML-LibXML.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _service:format_spec_file:perl-XML-LibXML.spec ++++++
#
# spec file for package perl-XML-LibXML
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-XML-LibXML
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Perl Binding for libxml2
Version: 1.71
Release: 8
AutoReqProv: on
Group: Development/Libraries/Perl
License: GPL-1.0+ or Artistic
Url: http://search.cpan.org/dist/XML-LibXML/
Source: %{cpan_name}-%{version}.tar.bz2
Patch: %{name}-utf16.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: libxml2-devel >= 2.6.16
BuildRequires: perl(XML::SAX) >= 0.11
Requires: perl(XML::SAX) >= 0.11
Provides: perl-XML-LibXML-Common = %{version}
Obsoletes: perl-XML-LibXML-Common < %{version}
%description
This module implements a Perl interface to the Gnome libxml2 library which
provides interfaces for parsing and manipulating XML files. This module allows
Perl programmers to make use of the highly capable validating XML parser and
the high performance DOM implementation.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch
%build
# [2,7,1,0], # broken release, broken utf-16
%if 0%{?suse_version} == 1110
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" FORCE=1
%else
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%endif
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root)
%doc Changes LICENSE README
%changelog
++++++ perl-XML-LibXML.spec ++++++
--- /var/tmp/diff_new_pack.U701x1/_old 2011-07-01 12:39:33.000000000 +0200
+++ /var/tmp/diff_new_pack.U701x1/_new 2011-07-01 12:39:33.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package perl-XML-LibXML (Version 1.70)
+# spec file for package perl-XML-LibXML
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,11 +21,11 @@
Name: perl-XML-LibXML
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Perl Binding for libxml2
-Version: 1.70
-Release: 8
+Version: 1.71
+Release: 1
AutoReqProv: on
Group: Development/Libraries/Perl
-License: Artistic License ..
+License: GPL-1.0+ or Artistic
Url: http://search.cpan.org/dist/XML-LibXML/
Source: %{cpan_name}-%{version}.tar.bz2
Patch: %{name}-utf16.diff
@@ -45,11 +45,6 @@
Perl programmers to make use of the highly capable validating XML parser and
the high performance DOM implementation.
-Authors:
-
- Matt Sergeant, Christian Glahn, Petr Pajas
-
-
%prep
%setup -q -n %{cpan_name}-%{version}
%patch
++++++ XML-LibXML-1.70.tar.bz2 -> XML-LibXML-1.71.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/Changes new/XML-LibXML-1.71/Changes
--- old/XML-LibXML-1.70/Changes 2009-10-07 14:28:24.000000000 +0200
+++ new/XML-LibXML-1.71/Changes 2011-06-14 18:57:35.000000000 +0200
@@ -1,5 +1,40 @@
Revision history for Perl extension XML::LibXML
+1.71 Tue Jun 14 19:43:50 IDT 2011
+ - turn XML_LIBXML_PARSE_DEFAULTS constant to $XML::LibXML::XML_LIBXML_PARSE_DEFAULTS
+ - Apply 0001-XML-LibXML-Error-no-need-to-AUTOLOAD-domain.patch from
+ https://rt.cpan.org/Public/Bug/Display.html?id=68575 - no need to
+ AUTOLOAD 'domain' because a method like that exists.
+ -- Applied by SHLOMIF.
+ -- Thanks to Aaron Crane.
+ - Apply 0002-XML-LibXML-Error-avoid-AUTOLOAD.patch from
+ https://rt.cpan.org/Public/Bug/Display.html?id=68575 - get rid of
+ AUTOLOAD completely.
+ -- Applied by SHLOMIF.
+ -- Thanks to Aaron Crane.
+ - Apply 0003-XML-LibXML-Error-make-domain-work-for-unknown-domain.patch
+ from https://rt.cpan.org/Public/Bug/Display.html?id=68575 - handle
+ unknown domains.
+ -- Applied by SHLOMIF.
+ -- Thanks to Aaron Crane.
+ - Apply 0004-XML-LibXML-Error-add-domains-from-newer-libxml2.patch
+ from https://rt.cpan.org/Public/Bug/Display.html?id=68575 - add more
+ errors.
+ -- Applied by SHLOMIF.
+ -- Thanks to Aaron Crane.
+ - Apply 0005-XML-LibXML-Error-avoid-malformed-UTF-8-warnings.patch
+ from https://rt.cpan.org/Public/Bug/Display.html?id=68575
+ -- Applied by SHLOMIF.
+ -- Thanks to Aaron Crane.
+ - In replaceDataString - use
+ http://perldoc.perl.org/functions/quotemeta.html instead of a long (and
+ incomplete) list of characters to escape.
+ -- With test.
+ -- also fix deleteDataString by making it use replaceDataString
+ for help.
+ -- Fixing https://rt.cpan.org/Ticket/Display.html?id=68564
+ -- Thanks to Daniel Perrett .
+
1.70
- various fixes and improvements in the documentation
- added (convenient yet non-standard) methods nonBlankChildNodes,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/LibXML.pm new/XML-LibXML-1.71/LibXML.pm
--- old/XML-LibXML-1.70/LibXML.pm 2009-10-04 23:20:32.000000000 +0200
+++ new/XML-LibXML-1.71/LibXML.pm 2011-06-14 18:56:37.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: LibXML.pm 809 2009-10-04 21:17:41Z pajas $
+# $Id$
#
#
# This is free software, you may use it and distribute it under the same terms as
@@ -14,6 +14,7 @@
use vars qw($VERSION $ABI_VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS
$skipDTD $skipXMLDeclaration $setTagCompression
$MatchCB $ReadCB $OpenCB $CloseCB %PARSER_FLAGS
+ $XML_LIBXML_PARSE_DEFAULTS
);
use Carp;
@@ -26,7 +27,7 @@
use IO::Handle; # for FH reads called as methods
BEGIN {
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
$ABI_VERSION = 2;
require Exporter;
require DynaLoader;
@@ -256,7 +257,7 @@
XML_PARSE_OLDSAX => 1048576, # parse using SAX2 interface from before 2.7.0
};
-use constant XML_LIBXML_PARSE_DEFAULTS => ( XML_PARSE_NODICT | XML_PARSE_HUGE | XML_PARSE_DTDLOAD | XML_PARSE_NOENT );
+$XML_LIBXML_PARSE_DEFAULTS = ( XML_PARSE_NODICT | XML_PARSE_HUGE | XML_PARSE_DTDLOAD | XML_PARSE_NOENT );
# this hash is made global so that applications can add names for new
# libxml2 parser flags as temporary workaround
@@ -302,7 +303,7 @@
if (ref($self)) {
$flags = ($self->{XML_LIBXML_PARSER_OPTIONS}||0);
} else {
- $flags = XML_LIBXML_PARSE_DEFAULTS; # safety precaution
+ $flags = $XML_LIBXML_PARSE_DEFAULTS; # safety precaution
}
my ($key, $value);
@@ -374,7 +375,7 @@
$self->{$_}=$opts{$_} unless exists $PARSER_FLAGS{$_};
}
} else {
- $self->{XML_LIBXML_PARSER_OPTIONS} = XML_LIBXML_PARSE_DEFAULTS;
+ $self->{XML_LIBXML_PARSER_OPTIONS} = $XML_LIBXML_PARSE_DEFAULTS;
}
if ( defined $self->{Handler} ) {
$self->set_handler( $self->{Handler} );
@@ -1666,25 +1667,17 @@
sub attributes { return undef; }
sub deleteDataString {
- my $node = shift;
- my $string = shift;
- my $all = shift;
- my $data = $node->nodeValue();
- $string =~ s/([\\\*\+\^\{\}\&\?\[\]\(\)\$\%\@])/\\$1/g;
- if ( $all ) {
- $data =~ s/$string//g;
- }
- else {
- $data =~ s/$string//;
- }
- $node->setData( $data );
+ my ($node, $string, $all) = @_;
+
+ return $node->replaceDataString($string, '', $all);
}
sub replaceDataString {
- my ( $node, $left, $right,$all ) = @_;
+ my ( $node, $left_proto, $right,$all ) = @_;
+
+ # Assure we exchange the strings and not expressions!
+ my $left = quotemeta($left_proto);
- #ashure we exchange the strings and not expressions!
- $left =~ s/([\\\*\+\^\{\}\&\?\[\]\(\)\$\%\@])/\\$1/g;
my $datastr = $node->nodeValue();
if ( $all ) {
$datastr =~ s/$left/$right/g;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/LibXML.pod new/XML-LibXML-1.71/LibXML.pod
--- old/XML-LibXML-1.70/LibXML.pod 2009-10-07 14:20:45.000000000 +0200
+++ new/XML-LibXML-1.71/LibXML.pod 2011-06-14 18:56:41.000000000 +0200
@@ -175,14 +175,17 @@
which must be able to enforce the encoding specified by the C<<<<<< <?xml version="1.0" encoding="..."?> >>>>>> declaration. Here is an example to follow:
use XML::LibXML;
- open my $fh, "file.xml";
+ # load
+ open my $fh, '<', 'file.xml';
binmode $fh; # drop all PerlIO layers possibly created by a use open pragma
$doc = XML::LibXML->load_xml(IO => $fh);
- open my $out, "out.xml";
- binmode $fh; # as above
- $doc->toFh($fh);
+
+ # save
+ open my $out, '>', 'out.xml';
+ binmode $out; # as above
+ $doc->toFh($out);
# or
- print $fh $doc->toString();
+ print {$out} $doc->toString();
@@ -502,7 +505,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/LibXML.xs new/XML-LibXML-1.71/LibXML.xs
--- old/XML-LibXML-1.70/LibXML.xs 2009-10-07 00:02:23.000000000 +0200
+++ new/XML-LibXML-1.71/LibXML.xs 2011-06-09 16:23:09.000000000 +0200
@@ -1,4 +1,4 @@
-/* $Id: LibXML.xs 817 2009-10-06 21:59:32Z pajas $
+/* $Id$
*
* This is free software, you may use it and distribute it under the same terms as
* Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/MANIFEST new/XML-LibXML-1.71/MANIFEST
--- old/XML-LibXML-1.70/MANIFEST 2009-10-07 14:29:25.000000000 +0200
+++ new/XML-LibXML-1.71/MANIFEST 2011-06-14 19:00:15.000000000 +0200
@@ -99,6 +99,7 @@
perl-libxml-sax.h
ppport.h
README
+scripts/bump-version-number.pl
test/relaxng/badschema.rng
test/relaxng/demo.rng
test/relaxng/demo.xml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/META.yml new/XML-LibXML-1.71/META.yml
--- old/XML-LibXML-1.70/META.yml 2009-10-07 14:29:25.000000000 +0200
+++ new/XML-LibXML-1.71/META.yml 2011-06-14 19:00:15.000000000 +0200
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: XML-LibXML
-version: 1.70
+version: 1.71
abstract: Interface to Gnome libxml2 xml parsing and DOM library
author:
- Petr Pajas
@@ -11,13 +11,14 @@
build_requires:
ExtUtils::MakeMaker: 0
requires:
+ ExtUtils::MakeMaker: 6.56
XML::NamespaceSupport: 1.07
XML::SAX: 0.11
no_index:
directory:
- t
- inc
-generated_by: ExtUtils::MakeMaker version 6.52
+generated_by: ExtUtils::MakeMaker version 6.56
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/Makefile.PL new/XML-LibXML-1.71/Makefile.PL
--- old/XML-LibXML-1.70/Makefile.PL 2009-10-07 14:28:59.000000000 +0200
+++ new/XML-LibXML-1.71/Makefile.PL 2011-06-14 18:56:42.000000000 +0200
@@ -1,5 +1,5 @@
# -------------------------------------------------------------------------- #
-# $Id: Makefile.PL 818 2009-10-07 12:26:07Z pajas $
+# $Id$
# -------------------------------------------------------------------------- #
# Makefile.PL for XML::LibXML.
# This file is required to generate a localized Makefile
@@ -40,6 +40,7 @@
'PREREQ_PM' => {
'XML::SAX' => '0.11',
'XML::NamespaceSupport' => '1.07',
+ 'ExtUtils::MakeMaker' => '6.56'
},
'OBJECT' => '$(O_FILES)', # add the DOM extensions to libxml2
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/docs/libxml.dbk new/XML-LibXML-1.71/docs/libxml.dbk
--- old/XML-LibXML-1.70/docs/libxml.dbk 2009-10-07 14:20:45.000000000 +0200
+++ new/XML-LibXML-1.71/docs/libxml.dbk 2011-06-14 18:56:41.000000000 +0200
@@ -22,7 +22,7 @@
</authorgroup>
- <edition>1.70</edition>
+ <edition>1.71</edition>
<copyright>
<year>2001-2007</year>
<holder>AxKit.com Ltd</holder>
@@ -594,14 +594,17 @@
specified by the <literal><?xml version="1.0" encoding="..."?></literal>
declaration. Here is an example to follow:
<programlisting>use XML::LibXML;
-open my $fh, "file.xml";
+# load
+open my $fh, '<', 'file.xml';
binmode $fh; # drop all PerlIO layers possibly created by a <literal>use open</literal> pragma
$doc = XML::LibXML->load_xml(IO => $fh);
-open my $out, "out.xml";
-binmode $fh; # as above
-$doc->toFh($fh);
+
+# save
+open my $out, '>', 'out.xml';
+binmode $out; # as above
+$doc->toFh($out);
# or
-print $fh $doc->toString();</programlisting>
+print {$out} $doc->toString();</programlisting>
</para>
</listitem>
<listitem>
@@ -1129,7 +1132,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term>load_xml</term>
+ <term>load_html</term>
<listitem>
<funcsynopsis role="synopsis">
<funcsynopsisinfo># Parsing HTML</funcsynopsisinfo>
@@ -1999,10 +2002,6 @@
<para>Additionally to the generic functions, which are only able to process entire documents, XML::LibXML::SAX provides <emphasis>parse_chunk()</emphasis>.
This method generates SAX events from well balanced data such as is often provided by databases.</para>
-
- <para><emphasis>NOTE:</emphasis> At the moment XML::LibXML provides only an incomplete interface to libxml2's native SAX implementation. The
- current implementation is not tested in production environment. It may causes significant memory problems or shows wrong behaviour. If you run into
- specific problems using this part of XML::LibXML, let me know.</para>
</sect1>
</chapter>
@@ -2434,8 +2433,8 @@
document (see the actualEncoding() method)! This means you
can simply do:
</para>
- <programlisting>open OUT, $file;
-print OUT $doc->toString;</programlisting>
+ <programlisting>open my $out_fh, '>', $file;
+print {$out_fh} $doc->toString;</programlisting>
<para>regardless of the actual encoding of the document.
See the section on encodings in <xref linkend="XML-LibXML"/> for more details.</para>
<para>The optional <emphasis>$format</emphasis> parameter sets the indenting of the output. This parameter is expected to be an
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/dom.c new/XML-LibXML-1.71/dom.c
--- old/XML-LibXML-1.70/dom.c 2009-10-05 22:20:27.000000000 +0200
+++ new/XML-LibXML-1.71/dom.c 2011-06-09 16:23:09.000000000 +0200
@@ -1,4 +1,4 @@
-/* $Id: dom.c 816 2009-10-05 20:17:36Z pajas $
+/* $Id$
*
* This is free software, you may use it and distribute it under the same terms as
* Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/dom.h new/XML-LibXML-1.71/dom.h
--- old/XML-LibXML-1.70/dom.h 2009-09-24 10:38:57.000000000 +0200
+++ new/XML-LibXML-1.71/dom.h 2011-06-09 16:23:09.000000000 +0200
@@ -1,5 +1,5 @@
/* dom.h
- * $Id: dom.h 792 2009-09-24 08:36:11Z pajas $
+ * $Id$
* Author: Christian Glahn (2001)
*
* This header file provides some definitions for wrapper functions.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/example/xpath.pl new/XML-LibXML-1.71/example/xpath.pl
--- old/XML-LibXML-1.70/example/xpath.pl 2008-10-27 13:44:02.000000000 +0100
+++ new/XML-LibXML-1.71/example/xpath.pl 2011-06-09 16:23:09.000000000 +0200
@@ -1,6 +1,6 @@
#! /usr/bin/perl -w
-# $Id: xpath.pl 246 2002-05-08 00:39:56Z phish $
+# $Id$
use XML::LibXML;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Attr.pod new/XML-LibXML-1.71/lib/XML/LibXML/Attr.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Attr.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Attr.pod 2011-06-14 18:56:42.000000000 +0200
@@ -121,7 +121,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Boolean.pm new/XML-LibXML-1.71/lib/XML/LibXML/Boolean.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/Boolean.pm 2009-09-23 10:11:58.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Boolean.pm 2011-06-14 18:56:37.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Boolean.pm 785 2009-07-16 14:17:46Z pajas $
+# $Id$
#
#
# This is free software, you may use it and distribute it under the same terms as
@@ -15,7 +15,7 @@
use vars qw ($VERSION);
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
use overload
'""' => \&value,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/CDATASection.pod new/XML-LibXML-1.71/lib/XML/LibXML/CDATASection.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/CDATASection.pod 2009-10-07 14:20:45.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/CDATASection.pod 2011-06-14 18:56:42.000000000 +0200
@@ -45,7 +45,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Comment.pod new/XML-LibXML-1.71/lib/XML/LibXML/Comment.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Comment.pod 2009-10-07 14:20:45.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Comment.pod 2011-06-14 18:56:42.000000000 +0200
@@ -46,7 +46,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Common.pm new/XML-LibXML-1.71/lib/XML/LibXML/Common.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/Common.pm 2009-09-23 10:11:58.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Common.pm 2011-06-14 18:56:37.000000000 +0200
@@ -23,7 +23,7 @@
@ISA = qw(Exporter);
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
use XML::LibXML qw(:libxml);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Common.pod new/XML-LibXML-1.71/lib/XML/LibXML/Common.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Common.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Common.pod 2011-06-14 18:56:42.000000000 +0200
@@ -116,7 +116,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/DOM.pod new/XML-LibXML-1.71/lib/XML/LibXML/DOM.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/DOM.pod 2009-10-07 14:20:45.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/DOM.pod 2011-06-14 18:56:41.000000000 +0200
@@ -129,7 +129,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Document.pod new/XML-LibXML-1.71/lib/XML/LibXML/Document.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Document.pod 2009-10-07 14:20:45.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Document.pod 2011-06-14 18:56:41.000000000 +0200
@@ -245,8 +245,8 @@
- open OUT, $file;
- print OUT $doc->toString;
+ open my $out_fh, '>', $file;
+ print {$out_fh} $doc->toString;
regardless of the actual encoding of the document. See the section on encodings
in L<<<<<< XML::LibXML >>>>>> for more details.
@@ -683,7 +683,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/DocumentFragment.pod new/XML-LibXML-1.71/lib/XML/LibXML/DocumentFragment.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/DocumentFragment.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/DocumentFragment.pod 2011-06-14 18:56:42.000000000 +0200
@@ -27,7 +27,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Dtd.pod new/XML-LibXML-1.71/lib/XML/LibXML/Dtd.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Dtd.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Dtd.pod 2011-06-14 18:56:42.000000000 +0200
@@ -89,7 +89,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Element.pod new/XML-LibXML-1.71/lib/XML/LibXML/Element.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Element.pod 2009-10-07 14:20:45.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Element.pod 2011-06-14 18:56:42.000000000 +0200
@@ -371,7 +371,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/ErrNo.pm new/XML-LibXML-1.71/lib/XML/LibXML/ErrNo.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/ErrNo.pm 2009-09-23 10:11:58.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/ErrNo.pm 2011-06-14 18:56:37.000000000 +0200
@@ -13,7 +13,7 @@
use strict;
use vars qw($VERSION);
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
use constant ERR_OK => 0;
use constant ERR_INTERNAL_ERROR => 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/ErrNo.pod new/XML-LibXML-1.71/lib/XML/LibXML/ErrNo.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/ErrNo.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/ErrNo.pod 2011-06-14 18:56:42.000000000 +0200
@@ -14,7 +14,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Error.pm new/XML-LibXML-1.71/lib/XML/LibXML/Error.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/Error.pm 2009-10-04 21:39:39.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Error.pm 2011-06-14 18:56:37.000000000 +0200
@@ -9,7 +9,7 @@
package XML::LibXML::Error;
use strict;
-use vars qw($AUTOLOAD @error_domains $VERSION $WARNINGS);
+use vars qw(@error_domains $VERSION $WARNINGS);
use Carp;
use overload
'""' => \&as_string,
@@ -22,7 +22,7 @@
fallback => 1;
$WARNINGS = 0; # 0: supress, 1: report via warn, 2: report via die
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
use constant XML_ERR_NONE => 0;
use constant XML_ERR_WARNING => 1; # A simple warning
@@ -52,14 +52,28 @@
use constant XML_ERR_FROM_CATALOG => 20; # The Catalog module
use constant XML_ERR_FROM_C14N => 21; # The Canonicalization module
use constant XML_ERR_FROM_XSLT => 22; # The XSLT engine from libxslt
-use constant XML_ERR_FROM_VALID => 23; # The validaton module
+use constant XML_ERR_FROM_VALID => 23; # The DTD validation module with valid context
+use constant XML_ERR_FROM_CHECK => 24; # The error-checking module
+use constant XML_ERR_FROM_WRITER => 25; # The xmlwriter module
+use constant XML_ERR_FROM_MODULE => 26; # The dynamically-loaded module module
+use constant XML_ERR_FROM_I18N => 27; # The module handling character conversion
+use constant XML_ERR_FROM_SCHEMATRONV=> 28; # The Schematron validator module
@error_domains = ("", "parser", "tree", "namespace", "validity",
"HTML parser", "memory", "output", "I/O", "ftp",
"http", "XInclude", "XPath", "xpointer", "regexp",
"Schemas datatype", "Schemas parser", "Schemas validity",
"Relax-NG parser", "Relax-NG validity",
- "Catalog", "C14N", "XSLT", "validity");
+ "Catalog", "C14N", "XSLT", "validity", "error-checking",
+ "xmlwriter", "dynamic loading", "i18n",
+ "Schematron validity");
+
+for my $field (qw<code _prev level file line nodename message column context
+ str1 str2 str3 num1 num2>) {
+ my $method = sub { $_[0]{$field} };
+ no strict 'refs';
+ *$field = $method;
+}
{
@@ -149,28 +163,17 @@
}
-sub AUTOLOAD {
- my $self=shift;
- return undef unless ref($self);
- my $sub = $AUTOLOAD;
- $sub =~ s/.*:://;
- if ($sub=~/^(?:code|_prev|level|file|line|domain|nodename|message|column|context|str[123]|num[12])$/) {
- return $self->{$sub};
- } else {
- croak("Unknown error field $sub");
- }
-}
-
# backward compatibility
sub int1 { $_[0]->num1 }
sub int2 { $_[0]->num2 }
-sub DESTROY {}
-
sub domain {
my ($self)=@_;
return undef unless ref($self);
- return $error_domains[$self->{domain}];
+ my $domain = $self->{domain};
+ # Newer versions of libxml2 might yield errors in domains that aren't
+ # listed above. Invent something reasonable in that case.
+ return $domain < @error_domains ? $error_domains[$domain] : "domain_$domain";
}
sub as_string {
@@ -202,7 +205,7 @@
$where.=": element ".$self->{nodename};
}
$msg.=$where.": " if $where ne "";
- $msg.=$error_domains[$self->{domain}]." ".$level." :";
+ $msg.=$self->domain." ".$level." :";
my $str=$self->{message}||"";
chomp($str);
$msg.=" ".$str."\n";
@@ -211,6 +214,12 @@
$msg.=$self->{str1}."\n";
$msg.=(" " x $self->{num1})."^\n";
} elsif (defined $self->{context}) {
+ # If the error relates to character-encoding problems in the context,
+ # then doing textual operations on it will spew warnings that
+ # XML::LibXML can do nothing to fix. So just disable all such
+ # warnings. This has the pleasing benefit of making the test suite
+ # run warning-free.
+ no warnings 'utf8';
my $context = $self->{context};
$msg.=$context."\n";
$context = substr($context,0,$self->{column});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Error.pod new/XML-LibXML-1.71/lib/XML/LibXML/Error.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Error.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Error.pod 2011-06-14 18:56:42.000000000 +0200
@@ -241,7 +241,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/InputCallback.pod new/XML-LibXML-1.71/lib/XML/LibXML/InputCallback.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/InputCallback.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/InputCallback.pod 2011-06-14 18:56:42.000000000 +0200
@@ -279,7 +279,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Literal.pm new/XML-LibXML-1.71/lib/XML/LibXML/Literal.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/Literal.pm 2009-09-23 10:11:58.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Literal.pm 2011-06-14 18:56:37.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Literal.pm 785 2009-07-16 14:17:46Z pajas $
+# $Id$
#
# This is free software, you may use it and distribute it under the same terms as
# Perl itself.
@@ -13,7 +13,7 @@
use strict;
use vars qw ($VERSION);
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
use overload
'""' => \&value,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Namespace.pod new/XML-LibXML-1.71/lib/XML/LibXML/Namespace.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Namespace.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Namespace.pod 2011-06-14 18:56:42.000000000 +0200
@@ -130,7 +130,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Node.pod new/XML-LibXML-1.71/lib/XML/LibXML/Node.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Node.pod 2009-10-07 14:20:45.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Node.pod 2011-06-14 18:56:41.000000000 +0200
@@ -739,7 +739,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/NodeList.pm new/XML-LibXML-1.71/lib/XML/LibXML/NodeList.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/NodeList.pm 2009-09-23 10:11:58.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/NodeList.pm 2011-06-14 18:56:37.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: NodeList.pm 785 2009-07-16 14:17:46Z pajas $
+# $Id$
#
# This is free software, you may use it and distribute it under the same terms as
# Perl itself.
@@ -14,7 +14,7 @@
use XML::LibXML::Number;
use vars qw ($VERSION);
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
use overload
'""' => \&to_literal,
@@ -189,10 +189,4 @@
Given a nodelist, prepends the list of nodes in $nodelist to the front of
the current list.
-=head2 iterator()
-
-Will return a new nodelist iterator for the current nodelist. A
-nodelist iterator is usefull if more complex nodelist processing is
-needed.
-
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Number.pm new/XML-LibXML-1.71/lib/XML/LibXML/Number.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/Number.pm 2009-09-23 10:11:58.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Number.pm 2011-06-14 18:56:37.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Number.pm 785 2009-07-16 14:17:46Z pajas $
+# $Id$
#
# This is free software, you may use it and distribute it under the same terms as
# Perl itself.
@@ -13,7 +13,7 @@
use strict;
use vars qw ($VERSION);
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
use overload
'""' => \&value,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/PI.pod new/XML-LibXML-1.71/lib/XML/LibXML/PI.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/PI.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/PI.pod 2011-06-14 18:56:42.000000000 +0200
@@ -74,7 +74,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Parser.pod new/XML-LibXML-1.71/lib/XML/LibXML/Parser.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Parser.pod 2009-10-07 14:20:45.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Parser.pod 2011-06-14 18:56:41.000000000 +0200
@@ -175,7 +175,7 @@
to the new parser. See the constructor C<<<<<< new >>>>>> and L<<<<<< Parser Options >>>>>> for more information.
-=item load_xml
+=item load_html
$dom = XML::LibXML->load_html(...);
@@ -953,7 +953,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Pattern.pod new/XML-LibXML-1.71/lib/XML/LibXML/Pattern.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Pattern.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Pattern.pod 2011-06-14 18:56:42.000000000 +0200
@@ -94,7 +94,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Reader.pm new/XML-LibXML-1.71/lib/XML/LibXML/Reader.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/Reader.pm 2009-09-23 10:11:58.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Reader.pm 2011-06-14 18:56:37.000000000 +0200
@@ -14,7 +14,7 @@
use warnings;
use vars qw ($VERSION);
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
use 5.008_000;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Reader.pod new/XML-LibXML-1.71/lib/XML/LibXML/Reader.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Reader.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Reader.pod 2011-06-14 18:56:42.000000000 +0200
@@ -656,7 +656,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/RegExp.pod new/XML-LibXML-1.71/lib/XML/LibXML/RegExp.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/RegExp.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/RegExp.pod 2011-06-14 18:56:42.000000000 +0200
@@ -58,7 +58,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/RelaxNG.pod new/XML-LibXML-1.71/lib/XML/LibXML/RelaxNG.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/RelaxNG.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/RelaxNG.pod 2011-06-14 18:56:42.000000000 +0200
@@ -68,7 +68,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/SAX/Builder.pm new/XML-LibXML-1.71/lib/XML/LibXML/SAX/Builder.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/SAX/Builder.pm 2009-09-23 10:11:58.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/SAX/Builder.pm 2011-06-14 18:56:37.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Builder.pm 785 2009-07-16 14:17:46Z pajas $
+# $Id$
#
# This is free software, you may use it and distribute it under the same terms as
# Perl itself.
@@ -18,7 +18,7 @@
return $XML::LibXML::__threads_shared ? 0 : 1;
}
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
sub new {
my $class = shift;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/SAX/Builder.pod new/XML-LibXML-1.71/lib/XML/LibXML/SAX/Builder.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/SAX/Builder.pod 2009-10-07 14:20:45.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/SAX/Builder.pod 2011-06-14 18:56:41.000000000 +0200
@@ -38,7 +38,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/SAX/Generator.pm new/XML-LibXML-1.71/lib/XML/LibXML/SAX/Generator.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/SAX/Generator.pm 2009-09-23 10:11:58.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/SAX/Generator.pm 2011-06-14 18:56:37.000000000 +0200
@@ -14,7 +14,7 @@
use XML::LibXML;
use vars qw ($VERSION);
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
sub CLONE_SKIP {
return $XML::LibXML::__threads_shared ? 0 : 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/SAX/Parser.pm new/XML-LibXML-1.71/lib/XML/LibXML/SAX/Parser.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/SAX/Parser.pm 2009-09-23 10:11:58.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/SAX/Parser.pm 2011-06-14 18:56:37.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Parser.pm 785 2009-07-16 14:17:46Z pajas $
+# $Id$
#
# This is free software, you may use it and distribute it under the same terms as
# Perl itself.
@@ -17,7 +17,7 @@
use XML::SAX::Base;
use XML::SAX::DocumentLocator;
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
@ISA = ('XML::SAX::Base');
sub CLONE_SKIP {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/SAX.pm new/XML-LibXML-1.71/lib/XML/LibXML/SAX.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/SAX.pm 2009-09-23 10:11:58.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/SAX.pm 2011-06-14 18:56:37.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: SAX.pm 785 2009-07-16 14:17:46Z pajas $
+# $Id$
#
# This is free software, you may use it and distribute it under the same terms as
# Perl itself.
@@ -12,7 +12,7 @@
use strict;
use vars qw($VERSION @ISA);
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
use XML::LibXML;
use XML::SAX::Base;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/SAX.pod new/XML-LibXML-1.71/lib/XML/LibXML/SAX.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/SAX.pod 2009-10-07 14:20:45.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/SAX.pod 2011-06-14 18:56:41.000000000 +0200
@@ -21,12 +21,6 @@
documents, XML::LibXML::SAX provides I<<<<<< parse_chunk() >>>>>>. This method generates SAX events from well balanced data such as is often
provided by databases.
-I<<<<<< NOTE: >>>>>> At the moment XML::LibXML provides only an incomplete interface to libxml2's
-native SAX implementation. The current implementation is not tested in
-production environment. It may causes significant memory problems or shows
-wrong behaviour. If you run into specific problems using this part of
-XML::LibXML, let me know.
-
=head1 AUTHORS
Matt Sergeant,
@@ -36,7 +30,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Schema.pod new/XML-LibXML-1.71/lib/XML/LibXML/Schema.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Schema.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Schema.pod 2011-06-14 18:56:42.000000000 +0200
@@ -65,7 +65,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/Text.pod new/XML-LibXML-1.71/lib/XML/LibXML/Text.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/Text.pod 2009-10-07 14:20:45.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/Text.pod 2011-06-14 18:56:42.000000000 +0200
@@ -170,7 +170,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/XPathContext.pm new/XML-LibXML-1.71/lib/XML/LibXML/XPathContext.pm
--- old/XML-LibXML-1.70/lib/XML/LibXML/XPathContext.pm 2009-09-23 10:11:58.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/XPathContext.pm 2011-06-14 18:56:37.000000000 +0200
@@ -16,7 +16,7 @@
use XML::LibXML;
use XML::LibXML::NodeList;
-$VERSION = "1.70"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.71"; # VERSION TEMPLATE: DO NOT CHANGE
# should LibXML XPath data types be used for simple objects
# when passing parameters to extension functions (default: no)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/XPathContext.pod new/XML-LibXML-1.71/lib/XML/LibXML/XPathContext.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/XPathContext.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/XPathContext.pod 2011-06-14 18:56:42.000000000 +0200
@@ -359,7 +359,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/lib/XML/LibXML/XPathExpression.pod new/XML-LibXML-1.71/lib/XML/LibXML/XPathExpression.pod
--- old/XML-LibXML-1.70/lib/XML/LibXML/XPathExpression.pod 2009-10-07 14:20:46.000000000 +0200
+++ new/XML-LibXML-1.71/lib/XML/LibXML/XPathExpression.pod 2011-06-14 18:56:42.000000000 +0200
@@ -52,7 +52,7 @@
=head1 VERSION
-1.70
+1.71
=head1 COPYRIGHT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/perl-libxml-mm.c new/XML-LibXML-1.71/perl-libxml-mm.c
--- old/XML-LibXML-1.70/perl-libxml-mm.c 2009-09-23 10:11:59.000000000 +0200
+++ new/XML-LibXML-1.71/perl-libxml-mm.c 2011-06-09 16:23:10.000000000 +0200
@@ -1,6 +1,6 @@
/**
* perl-libxml-mm.c
- * $Id: perl-libxml-mm.c 785 2009-07-16 14:17:46Z pajas $
+ * $Id$
*
* This is free software, you may use it and distribute it under the same terms as
* Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/perl-libxml-mm.h new/XML-LibXML-1.71/perl-libxml-mm.h
--- old/XML-LibXML-1.70/perl-libxml-mm.h 2009-10-05 22:20:27.000000000 +0200
+++ new/XML-LibXML-1.71/perl-libxml-mm.h 2011-06-09 16:23:10.000000000 +0200
@@ -1,6 +1,6 @@
/**
* perl-libxml-mm.h
- * $Id: perl-libxml-mm.h 816 2009-10-05 20:17:36Z pajas $
+ * $Id$
*
* Basic concept:
* perl varies in the implementation of UTF8 handling. this header (together
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/perl-libxml-sax.c new/XML-LibXML-1.71/perl-libxml-sax.c
--- old/XML-LibXML-1.70/perl-libxml-sax.c 2009-09-24 10:38:57.000000000 +0200
+++ new/XML-LibXML-1.71/perl-libxml-sax.c 2011-06-09 16:23:10.000000000 +0200
@@ -1,6 +1,6 @@
/**
* perl-libxml-sax.c
- * $Id: perl-libxml-sax.c 792 2009-09-24 08:36:11Z pajas $
+ * $Id$
*
* This is free software, you may use it and distribute it under the same terms as
* Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/perl-libxml-sax.h new/XML-LibXML-1.71/perl-libxml-sax.h
--- old/XML-LibXML-1.70/perl-libxml-sax.h 2009-09-24 10:38:57.000000000 +0200
+++ new/XML-LibXML-1.71/perl-libxml-sax.h 2011-06-09 16:23:10.000000000 +0200
@@ -1,6 +1,6 @@
/**
* perl-libxml-sax.h
- * $Id: perl-libxml-sax.h 792 2009-09-24 08:36:11Z pajas $
+ * $Id$
*/
#ifndef __PERL_LIBXML_SAX_H__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/02parse.t new/XML-LibXML-1.71/t/02parse.t
--- old/XML-LibXML-1.70/t/02parse.t 2009-10-04 21:15:14.000000000 +0200
+++ new/XML-LibXML-1.71/t/02parse.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: 02parse.t 737 2008-11-02 20:29:59Z pajas $
+# $Id$
##
# this test checks the parsing capabilities of XML::LibXML
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/03doc.t new/XML-LibXML-1.71/t/03doc.t
--- old/XML-LibXML-1.70/t/03doc.t 2009-09-30 15:29:25.000000000 +0200
+++ new/XML-LibXML-1.71/t/03doc.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: 03doc.t 802 2009-09-30 13:26:35Z pajas $
+# $Id$
##
# this test checks the DOM Document interface of XML::LibXML
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/04node.t new/XML-LibXML-1.71/t/04node.t
--- old/XML-LibXML-1.70/t/04node.t 2009-10-04 23:20:32.000000000 +0200
+++ new/XML-LibXML-1.71/t/04node.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,5 +1,5 @@
# -*- cperl -*-
-# $Id: 04node.t 809 2009-10-04 21:17:41Z pajas $
+# $Id$
##
# this test checks the DOM Node interface of XML::LibXML
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/05text.t new/XML-LibXML-1.71/t/05text.t
--- old/XML-LibXML-1.70/t/05text.t 2008-10-27 13:44:03.000000000 +0100
+++ new/XML-LibXML-1.71/t/05text.t 2011-06-09 16:51:39.000000000 +0200
@@ -1,11 +1,11 @@
-# $Id: 05text.t 618 2006-11-10 18:18:24Z pajas $
+# $Id$
##
# this test checks the DOM Characterdata interface of XML::LibXML
use Test;
-BEGIN { plan tests => 32 };
+BEGIN { plan tests => 36 };
use XML::LibXML;
my $doc = XML::LibXML::Document->new();
@@ -87,6 +87,26 @@
$textnode->replaceDataString( "e?s", 'ne\w' );
ok( $textnode->nodeValue(), 'tne\wt' );
+ # check if "." is encoded properly
+ $textnode->setData( "h.thrt");
+ $textnode->replaceDataString( "h.t", 'new', 1 );
+ ok( $textnode->nodeValue(), 'newhrt' );
+
+ # check if deleteDataString does not delete dots.
+ $textnode->setData( 'hitpit' );
+ $textnode->deleteDataString( 'h.t' );
+ ok( $textnode->nodeValue(), 'hitpit' );
+
+ # check if deleteDataString works
+ $textnode->setData( 'hitpithit' );
+ $textnode->deleteDataString( 'hit' );
+ ok( $textnode->nodeValue(), 'pithit' );
+
+ # check if deleteDataString all works
+ $textnode->setData( 'hitpithit' );
+ $textnode->deleteDataString( 'hit', 1 );
+ ok( $textnode->nodeValue(), 'pit' );
+
# check if entities don't get translated
$textnode->setData(q(foo&bar));
ok ( $textnode->getData eq q(foo&bar) );
@@ -130,4 +150,4 @@
my $node = XML::LibXML::DocumentFragment->new();
ok( $node->nodeName(), "#document-fragment" );
-}
\ No newline at end of file
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/06elements.t new/XML-LibXML-1.71/t/06elements.t
--- old/XML-LibXML-1.70/t/06elements.t 2009-10-05 01:12:01.000000000 +0200
+++ new/XML-LibXML-1.71/t/06elements.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: 06elements.t 755 2008-11-05 12:04:34Z pajas $
+# $Id$
##
# this test checks the DOM element and attribute interface of XML::LibXML
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/07dtd.t new/XML-LibXML-1.71/t/07dtd.t
--- old/XML-LibXML-1.70/t/07dtd.t 2008-10-27 13:44:03.000000000 +0100
+++ new/XML-LibXML-1.71/t/07dtd.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: 07dtd.t 587 2006-08-28 18:14:24Z pajas $
+# $Id$
use Test;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/17callbacks.t new/XML-LibXML-1.71/t/17callbacks.t
--- old/XML-LibXML-1.70/t/17callbacks.t 2008-10-27 13:44:03.000000000 +0100
+++ new/XML-LibXML-1.71/t/17callbacks.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: 17callbacks.t 527 2004-04-25 18:08:17Z phish $
+# $Id$
use Test;
BEGIN { plan tests => 43 }
END { ok(0) unless $loaded }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/19encoding.t new/XML-LibXML-1.71/t/19encoding.t
--- old/XML-LibXML-1.70/t/19encoding.t 2008-10-27 13:44:03.000000000 +0100
+++ new/XML-LibXML-1.71/t/19encoding.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,5 +1,5 @@
##
-# $Id: 19encoding.t 485 2003-11-07 16:49:51Z pajas $
+# $Id$
#
# This should test the XML::LibXML internal encoding/ decoding.
# Since most of the internal encoding code is depentend to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/20extras.t new/XML-LibXML-1.71/t/20extras.t
--- old/XML-LibXML-1.70/t/20extras.t 2008-10-27 13:44:03.000000000 +0100
+++ new/XML-LibXML-1.71/t/20extras.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: 20extras.t 486 2003-11-07 18:09:05Z pajas $
+# $Id$
use Test;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/24c14n.t new/XML-LibXML-1.71/t/24c14n.t
--- old/XML-LibXML-1.70/t/24c14n.t 2009-10-04 22:15:31.000000000 +0200
+++ new/XML-LibXML-1.71/t/24c14n.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,5 +1,5 @@
# -*- cperl -*-
-# $Id: 24c14n.t 807 2009-10-04 20:12:40Z pajas $
+# $Id$
##
# these testcases are for xml canonization interfaces.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/25relaxng.t new/XML-LibXML-1.71/t/25relaxng.t
--- old/XML-LibXML-1.70/t/25relaxng.t 2009-09-23 10:11:59.000000000 +0200
+++ new/XML-LibXML-1.71/t/25relaxng.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: 25relaxng.t 785 2009-07-16 14:17:46Z pajas $
+# $Id$
##
# Testcases for the RelaxNG interface
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/26schema.t new/XML-LibXML-1.71/t/26schema.t
--- old/XML-LibXML-1.70/t/26schema.t 2008-10-27 13:44:03.000000000 +0100
+++ new/XML-LibXML-1.71/t/26schema.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: 26schema.t 497 2004-02-26 18:52:37Z phish $
+# $Id$
##
# Testcases for the XML Schema interface
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/27new_callbacks_simple.t new/XML-LibXML-1.71/t/27new_callbacks_simple.t
--- old/XML-LibXML-1.70/t/27new_callbacks_simple.t 2008-10-27 13:44:03.000000000 +0100
+++ new/XML-LibXML-1.71/t/27new_callbacks_simple.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: 27new_callbacks_simple.t 540 2004-11-06 21:34:58Z phish $
+# $Id$
use Test;
BEGIN { plan tests => 21 }
END { ok(0) unless $loaded }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/28new_callbacks_multiple.t new/XML-LibXML-1.71/t/28new_callbacks_multiple.t
--- old/XML-LibXML-1.70/t/28new_callbacks_multiple.t 2008-10-27 13:44:03.000000000 +0100
+++ new/XML-LibXML-1.71/t/28new_callbacks_multiple.t 2011-06-09 16:23:10.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: 28new_callbacks_multiple.t 540 2004-11-06 21:34:58Z phish $
+# $Id$
use Test;
BEGIN { plan tests => 50 }
END { ok(0) unless $loaded }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/t/60struct_error.t new/XML-LibXML-1.71/t/60struct_error.t
--- old/XML-LibXML-1.70/t/60struct_error.t 2008-10-27 13:44:03.000000000 +0100
+++ new/XML-LibXML-1.71/t/60struct_error.t 2011-06-09 16:23:10.000000000 +0200
@@ -5,7 +5,7 @@
BEGIN {
use XML::LibXML;
if ( XML::LibXML::HAVE_STRUCT_ERRORS() ) {
- plan tests => 6;
+ plan tests => 8;
} else {
plan tests => 1;
}
@@ -37,4 +37,16 @@
fail() for 1..3;
}
+ my $fake_err = XML::LibXML::Error->new('fake error');
+ my $domain_num = @XML::LibXML::Error::error_domains; # too big
+ $fake_err->{domain} = $domain_num; # white-box test
+ ok($fake_err->domain, "domain_$domain_num",
+ '$err->domain is reasonable on unknown domain');
+ {
+ my $warnings = 0;
+ local $SIG{__WARN__} = sub { $warnings++; warn "@_\n" };
+ my $s = $fake_err->as_string;
+ ok($warnings, 0,
+ 'no warnings when stringifying unknown-domain error');
+ }
} # HAVE_STRUCT_ERRORS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXML-1.70/xpath.c new/XML-LibXML-1.71/xpath.c
--- old/XML-LibXML-1.70/xpath.c 2009-09-23 10:11:59.000000000 +0200
+++ new/XML-LibXML-1.71/xpath.c 2011-06-09 16:23:10.000000000 +0200
@@ -1,4 +1,4 @@
-/* $Id: xpath.c 785 2009-07-16 14:17:46Z pajas $
+/* $Id$
*
* This is free software, you may use it and distribute it under the same terms as
* Perl itself.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package sysconfig for openSUSE:11.4
checked in at Fri Jul 1 13:28:30 CEST 2011.
--------
--- old-versions/11.4/all/sysconfig/sysconfig.changes 2011-02-14 14:59:46.000000000 +0100
+++ 11.4/sysconfig/sysconfig.changes 2011-06-09 17:27:35.000000000 +0200
@@ -1,0 +2,18 @@
+Thu Jun 9 14:58:52 UTC 2011 - mt(a)suse.de
+
+- Fixed get_depending_ifaces to not return bonding slaves by
+ default as it is not required to stop the slaves before the
+ bonding master goes down and in fact it may cause a system
+ hang, when the slaves are infiniband child interfaces, that
+ are deleted while ifdown (bnc#698478).
+- Fixed to use 600 mode in spec attr for ifcfg-lo to avoid that
+ rpm -V report it as modified because of the chmod added to the
+ post-install script in bnc#670871.
+
+-------------------------------------------------------------------
+Tue Jun 7 19:20:43 CEST 2011 - vbotka(a)suse.cz
+
+- Added WIRELESS_AUTH_MODE='no-encryption' option handling to
+ ifup-wireless, because YaST sets it (bnc#648830).
+
+-------------------------------------------------------------------
Package does not exist at destination yet. Using Fallback old-versions/11.4/all/sysconfig
Destination is old-versions/11.4/UPDATES/all/sysconfig
calling whatdependson for 11.4-i586
New:
----
0001-ifup-wireless-no-encryption-option.bnc648830.patch
0002-do-not-stop-bonding-slaves-first.bnc698478.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sysconfig.spec ++++++
--- /var/tmp/diff_new_pack.S8RHJO/_old 2011-07-01 13:28:07.000000000 +0200
+++ /var/tmp/diff_new_pack.S8RHJO/_new 2011-07-01 13:28:07.000000000 +0200
@@ -20,7 +20,7 @@
Name: sysconfig
Version: 0.74.5
-Release: 2
+Release: 6.<RELEASE7>
Summary: The system configuration scheme
Url: http://gitorious.org/opensuse/sysconfig
Group: System/Base
@@ -32,6 +32,8 @@
Requires: iproute2 dbus-1 procps
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %name-%version.tar.bz2
+Patch1: 0001-ifup-wireless-no-encryption-option.bnc648830.patch
+Patch2: 0002-do-not-stop-bonding-slaves-first.bnc698478.patch
%description
This package provides the SuSE system configuration scheme and
@@ -51,6 +53,8 @@
%prep
%setup -n sysconfig-%{version}
+%patch1 -p1
+%patch2 -p1
%build
autoreconf --force --install
@@ -87,7 +91,7 @@
/etc/init.d/*
%ghost /etc/sysconfig/network/config
%ghost /etc/sysconfig/network/dhcp
-%config(noreplace) /etc/sysconfig/network/ifcfg-lo
+%config(noreplace) %attr(600,root,root) /etc/sysconfig/network/ifcfg-lo
%config(noreplace) /etc/sysconfig/network/ifroute-lo
%config(noreplace) /etc/ppp/ip-up
%config(noreplace) /etc/ppp/ip-down
++++++ 0001-ifup-wireless-no-encryption-option.bnc648830.patch ++++++
>From b1bcb44dfd2cae8ee771ad7988d357e17e692687 Mon Sep 17 00:00:00 2001
From: Vladimir Botka <vbotka(a)suse.de>
Date: Wed, 8 Jun 2011 22:00:08 +0200
Subject: [PATCH] no-encryption option added to the WIRELESS_AUTH_MODE
(bnc#213001) introduced no-encryption option in Yast, but this option has
never been implemented in the sysconfig. The differnece between no-encryption
and open is that open system can use user authentication. In both cases
key_mgmt=NONE option shall be put into the wpa_supplicant.conf (bnc#648830).
Signed-off-by: Marius Tomaschewski <mt(a)suse.de>
---
scripts/ifup-wireless | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/ifup-wireless b/scripts/ifup-wireless
index 105ebe9..45f27af 100755
--- a/scripts/ifup-wireless
+++ b/scripts/ifup-wireless
@@ -304,7 +304,7 @@ EOL
# special hack for madwifi
test "$DRIVER" = "ath_pci" && run_iw_tool priv authmode 2
;;
- open|opensystem|"") WIRELESS_SEC_MODE="open";;
+ open|opensystem|no-encryption|"") WIRELESS_SEC_MODE="open";;
esac
fi
if [ -n "$WIRELESS_KEY_0" -a \
@@ -403,7 +403,7 @@ setup_wlanngdev()
wlanctl dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
AUTHTYPE=sharedkey
;;
- open|opensystem|"")
+ open|opensystem|no-encryption|"")
wlanctl dot11req_mibset mibattribute=dot11ExcludeUnencrypted=false
AUTHTYPE=opensystem
;;
@@ -540,7 +540,7 @@ print_network_block()
print_network_line ssid WIRELESS_ESSID "$SUFFIX"
print_network_line_unquoted priority WIRELESS_PRIORITY "$SUFFIX"
case "`eval echo \\$WIRELESS_AUTH_MODE$SUFFIX`" in
- open)
+ open|no-encryption)
echo " key_mgmt=NONE"
for i in 0 1 2 3 ; do
KEY="`eval print_key \\"\\$WIRELESS_KEY_$i$SUFFIX\\" \\$WIRELESS_KEY_LENGTH$SUFFIX`"
--
1.7.3.4
++++++ 0002-do-not-stop-bonding-slaves-first.bnc698478.patch ++++++
>From bea597d39433da54a55f9c95f832aade6852fc9a Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <mt(a)suse.de>
Date: Tue, 7 Jun 2011 17:18:59 +0200
Subject: [PATCH] Do not return bonding slaves in get_depending_ifaces
Fixed get_depending_ifaces to not return bonding slaves by
default as it is not required to stop the slaves before the
bonding master goes down and in fact it may cause a system
hang, when the slaves are infiniband child interfaces, that
are deleted while ifdown (bnc#698478).
Signed-off-by: Marius Tomaschewski <mt(a)suse.de>
---
scripts/functions | 34 ++++++++++++++++++++++------------
1 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/scripts/functions b/scripts/functions
index 9bcd575..f3ad06e 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -555,14 +555,24 @@ has_link () {
# This function looks for interfaces which depend on the given interface. It
# prints a list with all depending interfaces. It returns 0 if there are
# depending interfaces and !=0 if not.
-# Currently it checks only for vlan and bonding interfaces.
+# Currently it checks only for vlan and optionally bonding slave interfaces.
# FIXME: Add other types of interfaces that depend on others.
get_depending_ifaces() {
- local VLAN_PATH BOND_PATH DEP_IFACES DEP_VLANS DEP_BONDS BASE_IFACE i
+ local VLAN_PATH BOND_PATH DEP_VLANS DEP_BONDS BASE_IFACE i
+ local -a DEP_IFACES=()
VLAN_PATH="/proc/net/vlan"
- BOND_PATH="/proc/net/bonding"
+ BOND_PATH=""
+ while [ $# -gt 0 ]; do
+ case $1 in
+ --with-bonding-slaves)
+ BOND_PATH="/proc/net/bonding"
+ shift
+ ;;
+ -*) shift ;;
+ *) break ;;
+ esac
+ done
BASE_IFACE="$1"
- DEP_IFACES=""
if [ -z "$BASE_IFACE" ]; then
return 1
@@ -571,14 +581,14 @@ get_depending_ifaces() {
if [ -d "$VLAN_PATH" ]; then
DEP_VLANS=`cd "$VLAN_PATH"
grep -lws "Device: *$BASE_IFACE" *`
- DEP_IFACES="$DEP_VLANS"
+ DEP_IFACES+=($DEP_VLANS)
fi
- if [ -d "$BOND_PATH" ]; then
+ if [ -n "$BOND_PATH" -a -d "$BOND_PATH" ]; then
DEP_BONDS=`cd "$BOND_PATH"
grep -s '^Slave Interface:' $BASE_IFACE |
while IFS=':' read text iface ; do echo -n "$iface" ; done`
- DEP_IFACES="$DEP_IFACES${DEP_BONDS:+ $DEP_BONDS}"
+ DEP_IFACES+=($DEP_BONDS)
fi
case $BASE_IFACE in
@@ -587,18 +597,18 @@ get_depending_ifaces() {
for i in `ls -1 /sys/class/net/ 2>/dev/null` ; do
test -d /sys/class/net/$i || continue
case $i in (${BASE_IFACE}.*)
- DEP_IFACES="${DEP_IFACES}${i:+ $i}"
+ DEP_IFACES+=($i)
;;
esac
done
;;
esac
- if [ -z "$DEP_IFACES" ]; then
- return 1
- else
- echo "$DEP_IFACES"
+ if [ ${#DEP_IFACES[*]} -gt 0 ]; then
+ echo "${DEP_IFACES[*]}"
return 0
+ else
+ return 1
fi
}
--
1.7.3.4
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package sysconfig for openSUSE:11.3
checked in at Fri Jul 1 13:26:28 CEST 2011.
--------
--- old-versions/11.3/UPDATES/all/sysconfig/sysconfig.changes 2011-02-14 14:59:51.000000000 +0100
+++ 11.3/sysconfig/sysconfig.changes 2011-06-09 17:28:10.000000000 +0200
@@ -1,0 +2,18 @@
+Thu Jun 9 14:58:52 UTC 2011 - mt(a)suse.de
+
+- Fixed get_depending_ifaces to not return bonding slaves by
+ default as it is not required to stop the slaves before the
+ bonding master goes down and in fact it may cause a system
+ hang, when the slaves are infiniband child interfaces, that
+ are deleted while ifdown (bnc#698478).
+- Fixed to use 600 mode in spec attr for ifcfg-lo to avoid that
+ rpm -V report it as modified because of the chmod added to the
+ post-install script in bnc#670871.
+
+-------------------------------------------------------------------
+Tue Jun 7 19:20:43 CEST 2011 - vbotka(a)suse.cz
+
+- Added WIRELESS_AUTH_MODE='no-encryption' option handling to
+ ifup-wireless, because YaST sets it (bnc#648830).
+
+-------------------------------------------------------------------
calling whatdependson for 11.3-i586
New:
----
0008-ifup-wireless-no-encryption-option.bnc648830.patch
0009-do-not-stop-bonding-slaves-first.bnc698478.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sysconfig.spec ++++++
--- /var/tmp/diff_new_pack.9egB9H/_old 2011-07-01 13:25:11.000000000 +0200
+++ /var/tmp/diff_new_pack.9egB9H/_new 2011-07-01 13:25:11.000000000 +0200
@@ -20,7 +20,7 @@
Name: sysconfig
Version: 0.73.7
-Release: 2.<RELEASE7>
+Release: 2.<RELEASE9>
Summary: The system configuration scheme
Group: System/Base
License: GPLv2+
@@ -36,6 +36,8 @@
Patch5: 0005-Fixed-link_wait-scriptname-check-and-ping-usage.patch
Patch6: 0006-Fixed-ifup-bonding-to-not-fail-on-enslave-errors.patch
Patch7: 0007-udevmountd-allow-mounting-of-multipath-devices.patch
+Patch8: 0008-ifup-wireless-no-encryption-option.bnc648830.patch
+Patch9: 0009-do-not-stop-bonding-slaves-first.bnc698478.patch
%description
This package provides the SuSE system configuration scheme and
@@ -62,6 +64,8 @@
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
+%patch9 -p1
%build
autoreconf --force --install
@@ -98,7 +102,7 @@
/etc/init.d/*
%ghost /etc/sysconfig/network/config
%ghost /etc/sysconfig/network/dhcp
-%config(noreplace) /etc/sysconfig/network/ifcfg-lo
+%config(noreplace) %attr(600,root,root) /etc/sysconfig/network/ifcfg-lo
%config(noreplace) /etc/sysconfig/network/ifroute-lo
%config(noreplace) /etc/ppp/ip-up
%config(noreplace) /etc/ppp/ip-down
++++++ 0008-ifup-wireless-no-encryption-option.bnc648830.patch ++++++
>From 8064ca59488527584852bdc2e8d20c7b3eb051c3 Mon Sep 17 00:00:00 2001
From: Vladimir Botka <vbotka(a)suse.de>
Date: Wed, 8 Jun 2011 22:00:08 +0200
Subject: [PATCH] no-encryption option added to the WIRELESS_AUTH_MODE
(bnc#213001) introduced no-encryption option in Yast, but this option has
never been implemented in the sysconfig. The differnece between no-encryption
and open is that open system can use user authentication. In both cases
key_mgmt=NONE option shall be put into the wpa_supplicant.conf (bnc#648830).
Signed-off-by: Marius Tomaschewski <mt(a)suse.de>
---
scripts/ifup-wireless | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/ifup-wireless b/scripts/ifup-wireless
index 259d2f2..fb0582b 100755
--- a/scripts/ifup-wireless
+++ b/scripts/ifup-wireless
@@ -301,7 +301,7 @@ EOL
# special hack for madwifi
test "$DRIVER" = "ath_pci" && run_iw_tool priv authmode 2
;;
- open|opensystem|"") WIRELESS_SEC_MODE="open";;
+ open|opensystem|no-encryption|"") WIRELESS_SEC_MODE="open";;
esac
fi
if [ -n "$WIRELESS_KEY_0" -a \
@@ -400,7 +400,7 @@ setup_wlanngdev()
wlanctl dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
AUTHTYPE=sharedkey
;;
- open|opensystem|"")
+ open|opensystem|no-encryption|"")
wlanctl dot11req_mibset mibattribute=dot11ExcludeUnencrypted=false
AUTHTYPE=opensystem
;;
@@ -537,7 +537,7 @@ print_network_block()
print_network_line ssid WIRELESS_ESSID "$SUFFIX"
print_network_line_unquoted priority WIRELESS_PRIORITY "$SUFFIX"
case "`eval echo \\$WIRELESS_AUTH_MODE$SUFFIX`" in
- open)
+ open|no-encryption)
echo " key_mgmt=NONE"
for i in 0 1 2 3 ; do
KEY="`eval print_key \\"\\$WIRELESS_KEY_$i$SUFFIX\\" \\$WIRELESS_KEY_LENGTH$SUFFIX`"
--
1.7.3.4
++++++ 0009-do-not-stop-bonding-slaves-first.bnc698478.patch ++++++
>From 5a97c780567a8005e1ac1f25a005008301c091a3 Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <mt(a)suse.de>
Date: Tue, 7 Jun 2011 17:18:59 +0200
Subject: [PATCH] Do not return bonding slaves in get_depending_ifaces
Fixed get_depending_ifaces to not return bonding slaves by
default as it is not required to stop the slaves before the
bonding master goes down and in fact it may cause a system
hang, when the slaves are infiniband child interfaces, that
are deleted while ifdown (bnc#698478).
Signed-off-by: Marius Tomaschewski <mt(a)suse.de>
---
scripts/functions | 34 ++++++++++++++++++++++------------
1 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/scripts/functions b/scripts/functions
index 9000c16..3948bca 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -537,14 +537,24 @@ has_link () {
# This function looks for interfaces which depend on the given interface. It
# prints a list with all depending interfaces. It returns 0 if there are
# depending interfaces and !=0 if not.
-# Currently it checks only for vlan and bonding interfaces.
+# Currently it checks only for vlan and optionally bonding slave interfaces.
# FIXME: Add other types of interfaces that depend on others.
get_depending_ifaces() {
- local VLAN_PATH BOND_PATH DEP_IFACES DEP_VLANS DEP_BONDS BASE_IFACE i
+ local VLAN_PATH BOND_PATH DEP_VLANS DEP_BONDS BASE_IFACE i
+ local -a DEP_IFACES=()
VLAN_PATH="/proc/net/vlan"
- BOND_PATH="/proc/net/bonding"
+ BOND_PATH=""
+ while [ $# -gt 0 ]; do
+ case $1 in
+ --with-bonding-slaves)
+ BOND_PATH="/proc/net/bonding"
+ shift
+ ;;
+ -*) shift ;;
+ *) break ;;
+ esac
+ done
BASE_IFACE="$1"
- DEP_IFACES=""
if [ -z "$BASE_IFACE" ]; then
return 1
@@ -553,14 +563,14 @@ get_depending_ifaces() {
if [ -d "$VLAN_PATH" ]; then
DEP_VLANS=`cd "$VLAN_PATH"
grep -lws "Device: *$BASE_IFACE" *`
- DEP_IFACES="$DEP_VLANS"
+ DEP_IFACES+=($DEP_VLANS)
fi
- if [ -d "$BOND_PATH" ]; then
+ if [ -n "$BOND_PATH" -a -d "$BOND_PATH" ]; then
DEP_BONDS=`cd "$BOND_PATH"
grep -s '^Slave Interface:' $BASE_IFACE |
while IFS=':' read text iface ; do echo -n "$iface" ; done`
- DEP_IFACES="$DEP_IFACES${DEP_BONDS:+ $DEP_BONDS}"
+ DEP_IFACES+=($DEP_BONDS)
fi
case $BASE_IFACE in
@@ -569,18 +579,18 @@ get_depending_ifaces() {
for i in `ls -1 /sys/class/net/ 2>/dev/null` ; do
test -d /sys/class/net/$i || continue
case $i in (${BASE_IFACE}.*)
- DEP_IFACES="${DEP_IFACES}${i:+ $i}"
+ DEP_IFACES+=($i)
;;
esac
done
;;
esac
- if [ -z "$DEP_IFACES" ]; then
- return 1
- else
- echo "$DEP_IFACES"
+ if [ ${#DEP_IFACES[*]} -gt 0 ]; then
+ echo "${DEP_IFACES[*]}"
return 0
+ else
+ return 1
fi
}
--
1.7.3.4
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-MailTools for openSUSE:Factory
checked in at Fri Jul 1 12:39:24 CEST 2011.
--------
--- perl-MailTools/perl-MailTools.changes 2010-11-30 20:26:59.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-MailTools/perl-MailTools.changes 2011-06-03 12:15:57.000000000 +0200
@@ -1,0 +2,13 @@
+Fri Jun 3 10:12:07 UTC 2011 - vcizek(a)novell.com
+
+- corrected license (same as Perl)
+- removed authors
+
+-------------------------------------------------------------------
+Wed Jun 1 22:14:00 UTC 2011 - pascal.bleser(a)opensuse.org
+
+- update to 2.08:
+ * respect errors on closing an Mail::Mailer::smtp/::smtps connection
+ * Mail::Internet should accept Net::SMTP::SSL as well (RT#68590)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
MailTools-2.07.tar.bz2
New:
----
MailTools-2.08.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MailTools.spec ++++++
--- /var/tmp/diff_new_pack.VTv0dK/_old 2011-07-01 12:38:56.000000000 +0200
+++ /var/tmp/diff_new_pack.VTv0dK/_new 2011-07-01 12:38:56.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package perl-MailTools (Version 2.07)
+# spec file for package perl-MailTools
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,15 +20,14 @@
Name: perl-MailTools
Url: http://cpan.org/modules/by-module/Mail/
-Version: 2.07
-Release: 3
-Provides: p_mtools
-Obsoletes: p_mtools
-AutoReqProv: on
-License: Artistic
+Version: 2.08
+Release: 1
+Provides: p_mtools = %{version}
+Obsoletes: p_mtools < %{version}
+License: GPL-1.0+ or Artistic
Group: Development/Libraries/Perl
-Summary: a set of perl modules related to mail applications
-Source: MailTools-%{version}.tar.bz2
+Summary: Set of perl modules related to mail applications
+Source: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-%{version}.tar…
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
@@ -38,11 +37,6 @@
a set of perl modules related to mail applications
-
-Authors:
---------
- Graham Barr <gbarr(a)pobox.com>
-
%prep
%setup -q -n MailTools-%{version}
# ---------------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package pcsc-acsccid for openSUSE:Factory
checked in at Fri Jul 1 09:28:23 CEST 2011.
--------
New Changes file:
--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/pcsc-acsccid/pcsc-acsccid.changes 2011-06-22 08:11:15.000000000 +0200
@@ -0,0 +1,13 @@
+-------------------------------------------------------------------
+Wed Jun 22 03:16:13 UTC 2011 - godfrey.chung(a)acs.com.hk
+
+- Updated to version 1.0.2 (22/6/2011):
+ * Fix non-redistributable reference manual problem.
+- Updated Url and Source.
+
+-------------------------------------------------------------------
+Fri Apr 29 04:00:51 UTC 2011 - godfrey.chung(a)acs.com.hk
+
+- Created package.
+- Based on pcsc-ccid.spec.
+
calling whatdependson for head-i586
New:
----
acsccid-1.0.2-pcscd-autostart.patch
acsccid-1.0.2.tar.bz2
pcsc-acsccid-rpmlintrc
pcsc-acsccid.changes
pcsc-acsccid.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pcsc-acsccid.spec ++++++
#
# spec file for package pcsc-acsccid
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Advanced Card Systems Ltd.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pcsc-acsccid
%define _name acsccid
BuildRequires: flex libusb-devel pcsc-lite-devel pkg-config
%if 0%{?suse_version} >= 1140
BuildRequires: udev
%endif
Version: 1.0.2
Release: 1
Group: Productivity/Security
License: LGPLv2.1+
Url: http://acsccid.sourceforge.net/
Summary: PCSC Driver for ACS CCID Based Smart Card Readers
Source: http://downloads.sourceforge.net/%{_name}/%{_name}-%{version}.tar.bz2
Source1: %{name}-rpmlintrc
%if 0%{?suse_version} >= 1140
Patch: acsccid-1.0.2-pcscd-autostart.patch
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: pcsc-lite >= 1.3.3
%define ifddir %(pkg-config libpcsclite --variable=usbdropdir)
Enhances: modalias(usb:v072fp90ccd*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp90d8d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp90d2d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp8306d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp2011d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp1204d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp1205d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp1206d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp2200d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp2207d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp1280d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp2206d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp2203d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp2100d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp220fd*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp2208d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp0901d*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp220ad*dc*dsc*dp*ic*isc*ip*)
Enhances: modalias(usb:v072fp8201d*dc*dsc*dp*ic*isc*ip*)
%description
This package contains a ACS USB CCID (Chip/Smart Card Interface
Devices) driver.
This driver is meant to be used with the PCSC-Lite daemon from the
pcsc-lite package.
%prep
%setup -q -n %{_name}-%{version}
%if 0%{?suse_version} >= 1140
%patch
%endif
cp -a src/openct/LICENSE LICENSE.openct
cp -a src/towitoko/README README.towitoko
%build
%configure --enable-composite-as-multislot
make %{?jobs:-j%jobs}
%install
%makeinstall
%if 0%{?suse_version} >= 1140
mkdir -p $RPM_BUILD_ROOT/lib/udev
mkdir $RPM_BUILD_ROOT/lib/udev/rules.d
sed 's:GROUP="pcscd":GROUP="scard":' <src/92_pcscd_acsccid.rules >$RPM_BUILD_ROOT/lib/udev/rules.d/92_pcscd_acsccid.rules
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
# NEWS and ChangeLog are empty
%doc AUTHORS COPYING LICENSE.openct README README.towitoko
%{ifddir}/*
%if 0%{?suse_version} >= 1140
/lib/udev/rules.d/*.rules
%endif
%changelog
++++++ acsccid-1.0.2-pcscd-autostart.patch ++++++
diff -Naur src.orig/92_pcscd_acsccid.rules src/92_pcscd_acsccid.rules
--- src.orig/92_pcscd_acsccid.rules 1970-01-01 08:00:00.000000000 +0800
+++ src/92_pcscd_acsccid.rules 2011-04-27 17:13:05.153556000 +0800
@@ -0,0 +1,23 @@
+# udev rules to set the access rights of ACS CCID smart card readers
+# so they can be used by pcscd
+
+# If not adding the device, go away
+ACTION!="add", GOTO="pcscd_acsccid_rules_end"
+SUBSYSTEM!="usb", GOTO="pcscd_acsccid_rules_end"
+ENV{DEVTYPE}!="usb_device", GOTO="pcscd_acsccid_rules_end"
+
+# generic CCID device (bInterfaceClass = 0x0b)
+ENV{ID_USB_INTERFACES}=="*:0b0000:*", GROUP="pcscd"
+
+# non CCID generic (InterfaceClass: 0x00)
+# ACS ACR83U
+ATTRS{idVendor}=="072f", ATTRS{idProduct}=="90d2", GROUP="pcscd"
+# ACS ACR88U
+ATTRS{idVendor}=="072f", ATTRS{idProduct}=="2011", GROUP="pcscd"
+# ACS ACR128U
+ATTRS{idVendor}=="072f", ATTRS{idProduct}=="2100", GROUP="pcscd"
+# ACS APG8201
+ATTRS{idVendor}=="072f", ATTRS{idProduct}=="8201", GROUP="pcscd"
+
+# All done
+LABEL="pcscd_acsccid_rules_end"
++++++ pcsc-acsccid-rpmlintrc ++++++
# These links are needed. We should probably use unversioned libraries.
addFilter("devel-file-in-non-devel-package")
# This is not an error. rpmlint cannot handle %() properly.
addFilter("specfile-error")
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package yast2-apparmor for openSUSE:Factory
checked in at Fri Jul 1 09:00:44 CEST 2011.
--------
--- yast2-apparmor/yast2-apparmor.changes 2011-06-14 15:45:40.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-apparmor/yast2-apparmor.changes 2011-06-30 14:53:12.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jun 30 12:48:43 UTC 2011 - jreidinger(a)novell.com
+
+- fix typos (bnc#702639)
+- 2.21.1
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-apparmor-2.21.0.tar.bz2
New:
----
yast2-apparmor-2.21.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-apparmor.spec ++++++
--- /var/tmp/diff_new_pack.onLI0o/_old 2011-07-01 08:46:59.000000000 +0200
+++ /var/tmp/diff_new_pack.onLI0o/_new 2011-07-01 08:46:59.000000000 +0200
@@ -19,11 +19,11 @@
Name: yast2-apparmor
-Version: 2.21.0
+Version: 2.21.1
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-apparmor-2.21.0.tar.bz2
+Source0: yast2-apparmor-2.21.1.tar.bz2
Prefix: /usr
@@ -53,7 +53,7 @@
SubDomain.
%prep
-%setup -n yast2-apparmor-2.21.0
+%setup -n yast2-apparmor-2.21.1
%build
%{prefix}/bin/y2tool y2autoconf
++++++ yast2-apparmor-2.21.0.tar.bz2 -> yast2-apparmor-2.21.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-apparmor-2.21.0/VERSION new/yast2-apparmor-2.21.1/VERSION
--- old/yast2-apparmor-2.21.0/VERSION 2011-06-14 15:29:28.000000000 +0200
+++ new/yast2-apparmor-2.21.1/VERSION 2011-06-30 14:49:17.000000000 +0200
@@ -1 +1 @@
-2.21.0
+2.21.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-apparmor-2.21.0/src/clients/apparmor.ycp new/yast2-apparmor-2.21.1/src/clients/apparmor.ycp
--- old/yast2-apparmor-2.21.0/src/clients/apparmor.ycp 2011-06-14 15:38:18.000000000 +0200
+++ new/yast2-apparmor-2.21.1/src/clients/apparmor.ycp 2011-06-30 14:48:05.000000000 +0200
@@ -10,7 +10,7 @@
any startDialog(){
/* AppArmor dialog caption */
- string caption = _("App Armor Configuration");
+ string caption = _("AppArmor Configuration");
/* AppArmor dialog help */
string help = _("<p>Choose one of the available apparmor modules to configure
@@ -29,7 +29,7 @@
`item(`id("subdomain"), _("Settings"), true),
`item(`id("GenProf"), _("Generate Profile")),
`item(`id("LogProf"), _("Update Profile")),
- `item(`id("SD_Report"), _("Repors")),
+ `item(`id("SD_Report"), _("Reports")),
`item(`id("SD_EditProfile"), _("Edit Profile")),
`item(`id("SD_AddProfile"), _("Add Manually Profile")),
`item(`id("SD_DeleteProfile"), _("Delete Profile"))
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package rfc for openSUSE:Factory
checked in at Fri Jul 1 08:46:49 CEST 2011.
--------
--- AUTO/all/rfc/rfc.changes 2011-06-23 21:45:13.000000000 +0200
+++ /mounts/work_src_done/STABLE/rfc/rfc.changes 2011-06-30 22:44:39.000000000 +0200
@@ -2 +2 @@
-Thu Jun 23 21:45:12 CEST 2011 - autobuild(a)suse.de
+Thu Jun 30 22:44:38 CEST 2011 - autobuild(a)suse.de
@@ -4 +4 @@
-- automated update on 2011-06-23
+- automated update on 2011-06-30
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rfc.spec ++++++
--- /var/tmp/diff_new_pack.DImd6v/_old 2011-07-01 08:43:31.000000000 +0200
+++ /var/tmp/diff_new_pack.DImd6v/_new 2011-07-01 08:43:31.000000000 +0200
@@ -25,7 +25,7 @@
Summary: The RFCs (Request For Comments)
Source: rfc.tgz
BuildArch: noarch
-Version: 2011.6.23
+Version: 2011.6.30
Release: 1
Url: ftp://ftp.isi.edu/in-notes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ rfc.tgz ++++++
AUTO/all/rfc/rfc.tgz /mounts/work_src_done/STABLE/rfc/rfc.tgz differ: char 5, line 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package flickcurl for openSUSE:Factory
checked in at Fri Jul 1 08:43:20 CEST 2011.
--------
New Changes file:
--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/flickcurl/flickcurl.changes 2011-03-29 01:02:53.000000000 +0200
@@ -0,0 +1,216 @@
+-------------------------------------------------------------------
+Mon Mar 28 15:59:07 UTC 2011 - pascal.bleser(a)opensuse.org
+
+- split out documentation into -doc subpackage, symlinked
+
+- update to 1.21:
+ * a memory leak when building photo list results was fixed
+ * flickcurl_photos_setPerms() was fixed to allow false boolean permissions
+ * flickcurl_photosets_getPhotos_params() was fixed to just work
+ * the flickcurl(1) utility now handles Raptor V1, V2, or none
+
+-------------------------------------------------------------------
+Thu Nov 18 10:59:34 UTC 2010 - pascal.bleser(a)opensuse.org
+
+- update to 1.20:
+ * fixes support for several major API calls that return standard photo
+ responses (SPR), such as searching for photos, getting recent photos,
+ listing photosets, and several others
+
+-------------------------------------------------------------------
+Sun Jul 25 06:48:47 UTC 2010 - pascal.bleser(a)opensuse.org
+
+- update to 1.19:
+ * support was added for the new photosets APIs:
+ + flickr.photosets.removePhotos
+ + flickr.photosets.reorderPhotos
+ + flickr.photosets.setPrimaryPhoto
+ * support was added for photo notes when getting photo information
+ * the flickcurl utility was updated to support all of the new APIs
+
+-------------------------------------------------------------------
+Tue Apr 27 06:04:46 UTC 2010 - pascal.bleser(a)opensuse.org
+
+- update to 1.18:
+ * adds support for the (rest of the) Galleries API
+ * adds a new People API call
+ * adds new functions for controlling curl handle options
+ * the flickcurl(1) utility was updated to support all of the new APIs
+
+-------------------------------------------------------------------
+Fri Mar 5 22:19:41 UTC 2010 - pascal.bleser(a)opensuse.org
+
+- update to 1.17:
+ * support for the new stats API, the people API, the "photos of"
+ people API, and the gallery API have been added
+ * the flickcurl utility has been updated to support all of the
+ new APIs
+
+-------------------------------------------------------------------
+Thu Jan 14 08:49:47 UTC 2010 - pascal.bleser(a)opensuse.org
+
+- update to 1.16:
+ * the flickcurl utility configuration file generation was fixed
+ to use a key=value format as documented
+ * flickcurl now accepts files with spaces around the "="
+ * the authentication documentation was updated to add a picture
+ showing the result of fetching the mobile authentication URLs
+
+-------------------------------------------------------------------
+Sun Jan 3 21:16:15 UTC 2010 - pascal.bleser(a)opensuse.org
+
+- update to 1.15:
+ * documentation updates
+ * the flickcurl_search_params struct gained an in_gallery boolean
+ field to restrict searches to photos in a gallery
+ * the flickcurl utility photos.search commands gained
+ geographical context, taking an integer argument for inside/
+ outside, an is-commons boolean flag, and an is-gallery boolean
+ flag
+ * a few minor bugs and typographical errors were fixed
+
+-------------------------------------------------------------------
+Tue Sep 22 00:00:00 CEST 2009 - pascal.bleser(a)opensuse.org
+
+- update to 1.14:
+ * adds a tutorial for using the search API along with a simple example program
+ * adds support for search parameters (geo_context and is_commons) and new
+ extras path_alias, url_m, url_o, url_s, url_sq, and url_t
+ * fixes a few minor bugs and typos
+
+-------------------------------------------------------------------
+Sun Aug 2 00:00:00 CEST 2009 - pascal.bleser(a)opensuse.org
+
+- update to 1.13:
+ * two new utility functions were added to
+ + get photo IDs from "farm" image URLs
+ + to get the current webservice delay time
+ * requests were fixed to be dynamically allocated rather than use a fixed
+ buffer
+ * a resource leak bug for the HTTP user agent was fixed
+
+-------------------------------------------------------------------
+Sun Jul 5 00:00:00 CEST 2009 - pascal.bleser(a)opensuse.org
+
+- update to 1.12:
+ * support for the two new collections API calls and four other new general
+ API calls were added
+ * functions were added for generating flic.kr short URIs for photos
+ * a bug with resetting curl during sequences of mixed read and write API
+ calls was fixed
+ * the flickcurl(1) utility was updated to support the new API calls
+ * several other minor improvements and fixes were made
+
+-------------------------------------------------------------------
+Wed May 27 00:00:00 CEST 2009 - pascal.bleser(a)opensuse.org
+
+- update to 1.11
+
+-------------------------------------------------------------------
+Sat May 2 00:00:00 CEST 2009 - pascal.bleser(a)opensuse.org
+
+- update to 1.10:
+ * uploading images and replacing images was made to work again
+ * functions were added to set the service URIs for the image upload and image
+ replacing Web services
+ * fixes were made to allow compiling and using the library from C++
+
+-------------------------------------------------------------------
+Sun Apr 5 00:00:00 CEST 2009 - pascal.bleser(a)opensuse.org
+
+- update to 1.9:
+ * the Pandas API was added to get interesting photos from pandas
+ * groups members get list method was added
+ * some other minor bugfixes and improvements were made
+- changes from 1.8:
+ * the Places API was updated for 6 new API calls, including shape history
+ * the Photos Geo API was updated for 5 new API calls for setting/getting
+ locations
+ * the Commons API was added with new support for 1 API call to get a list of
+ institutions
+ * some other minor fixes and improvements were also made
+
+-------------------------------------------------------------------
+Mon Dec 1 00:00:00 CET 2008 - guru(a)unixtech.be
+
+- update to 1.7:
+ * support for the new Machine Tags API was added, handling machine tag
+ namespaces, predicates, and values
+ * support for the updated Places API calls was added with access to ESRI
+ shape data and URLs
+ * support for the (not announced) flickr.tags.getClusterPhotos was added
+ * some other minor fixes and improvements were made
+
+-------------------------------------------------------------------
+Fri Sep 5 00:00:00 CEST 2008 - guru(a)unixtech.be
+
+- added missing ldconfig post/postun scriptlets
+- update to 1.6:
+ * neighborhood place support was added
+ * a new Photos List class was added to handle the standard result format
+ * photos list results can now take a feed format parameter to return XML
+ feed results
+ * flickcurl_places_forUser support was added
+ * the flickcurl utility was updated to help with authentication
+ * many other minor fixes and improvements were made
+
+-------------------------------------------------------------------
+Mon Aug 18 00:00:00 CEST 2008 - guru(a)unixtech.be
+
+- update to 1.5:
+ * support for the Tag Clusters API
+ * new photo search API parameters contacts: has_geo, lat, lon, radius, and
+ radius_units fields was added
+
+-------------------------------------------------------------------
+Thu Jun 26 00:00:00 CEST 2008 - guru(a)unixtech.be
+
+- new upstream version:
+ * support for Flickr video in requests and responses was added
+ * the recent API additions for getting content type, getting safety type,
+ and getting geo perms were added to the library
+ * a new RDF triples serializer class was added for turning photo metadata
+ into RDF which uses new namespaces under machinetags.org/ns
+
+-------------------------------------------------------------------
+Sat Mar 8 00:00:00 CET 2008 - guru(a)unixtech.be
+
+- new upstream version
+
+-------------------------------------------------------------------
+Tue Jan 29 00:00:00 CET 2008 - guru(a)unixtech.be
+
+- new upstream version
+
+-------------------------------------------------------------------
+Sun Jan 13 00:00:00 CET 2008 - guru(a)unixtech.be
+
+- new upstream version
+
+-------------------------------------------------------------------
+Wed Dec 26 00:00:00 CET 2007 - guru(a)unixtech.be
+
+- rebuild against raptor 1.4.16
+
+-------------------------------------------------------------------
+Sat Dec 22 00:00:00 CET 2007 - guru(a)unixtech.be
+
++++ 19 more lines (skipped)
++++ between /dev/null
++++ and /mounts/work_src_done/STABLE/flickcurl/flickcurl.changes
calling whatdependson for head-i586
New:
----
baselibs.conf
flickcurl-1.21.tar.bz2
flickcurl-rpmlintrc
flickcurl.changes
flickcurl.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ flickcurl.spec ++++++
#
# spec file for package flickcurl
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define soname 0
Name: flickcurl
Version: 1.21
Release: 1
License: LGPLv2.1
Summary: Command-Line Tools for the Flickr Web Service
Url: http://librdf.org/flickcurl/
Group: Productivity/Networking/Other
# http://download.dajobe.org/flickcurl/flickcurl-%{version}.tar.gz
Source: flickcurl-%{version}.tar.bz2
Source99: flickcurl-rpmlintrc
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: curl
BuildRequires: fdupes
BuildRequires: gtkdoc
BuildRequires: libcurl-devel
BuildRequires: libraptor-devel >= 1.4.0
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(libxml-2.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Flickcurl is a C library for calling the Flickr Web service API. It handles the
API signing, token management, and parameter encoding and decoding, resulting
in C functions for the Web services APIs. It... uses libcurl to call the REST
Web service, and libxml2 to manipulate the XML responses. The library supports
reading photo, tag, and comments information, the photo upload and searching
APIs, and writing tags and comments. It provides utilities such as "flickcurl"
to exercise the API and "flickrdf" to get RDF metadata descriptions out of
photos, tags, and machine tags.
%package doc
Summary: C Library API to the Flickr Web Service (Documentation)
Group: Documentation/Other
%description doc
Flickcurl is a C library for calling the Flickr Web service API. It handles the
API signing, token management, and parameter encoding and decoding, resulting
in C functions for the Web services APIs. It... uses libcurl to call the REST
Web service, and libxml2 to manipulate the XML responses. The library supports
reading photo, tag, and comments information, the photo upload and searching
APIs, and writing tags and comments. It provides utilities such as "flickcurl"
to exercise the API and "flickrdf" to get RDF metadata descriptions out of
photos, tags, and machine tags.
This subpackage contains the developer documentation for %{name}.
%package -n libflickcurl%{soname}
Summary: C Library API to the Flickr Web Service
Group: System/Libraries
%description -n libflickcurl%{soname}
Flickcurl is a C library for calling the Flickr Web service API. It handles the
API signing, token management, and parameter encoding and decoding, resulting
in C functions for the Web services APIs. It... uses libcurl to call the REST
Web service, and libxml2 to manipulate the XML responses. The library supports
reading photo, tag, and comments information, the photo upload and searching
APIs, and writing tags and comments. It provides utilities such as "flickcurl"
to exercise the API and "flickrdf" to get RDF metadata descriptions out of
photos, tags, and machine tags.
%package -n libflickcurl-devel
Summary: C Library API to the Flickr Web Service
Group: Development/Libraries/C and C++
Requires: libcurl-devel
Requires: libflickcurl%{soname} = %{version}
Requires: libraptor-devel >= 1.4.0
Requires: pkgconfig(libxml-2.0)
%description -n libflickcurl-devel
Flickcurl is a C library for calling the Flickr Web service API. It handles the
API signing, token management, and parameter encoding and decoding, resulting
in C functions for the Web services APIs. It... uses libcurl to call the REST
Web service, and libxml2 to manipulate the XML responses. The library supports
reading photo, tag, and comments information, the photo upload and searching
APIs, and writing tags and comments. It provides utilities such as "flickcurl"
to exercise the API and "flickrdf" to get RDF metadata descriptions out of
photos, tags, and machine tags.
%prep
%setup -q
%build
%configure \
--enable-gtk-doc \
--enable-gtk-doc-html
make %{?_smp_flags}
%install
%make_install
%fdupes -s %{buildroot}
install -d "%{buildroot}%{_docdir}/lib%{name}%{soname}"
install -m0644 AUTHORS ChangeLog COPYING.LIB LICENSE* NEWS* NOTICE README* "%{buildroot}%{_docdir}/lib%{name}%{soname}"
mkdir -p .doc
ln -s ../lib%{name}%{soname} .doc/%{name}
%post -n libflickcurl%{soname} -p /sbin/ldconfig
%postun -n libflickcurl%{soname} -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc .doc/%{name}
%{_bindir}/flickcurl
%{_bindir}/flickrdf
%doc %{_mandir}/man1/flickcurl.1%{ext_man}
%doc %{_mandir}/man1/flickrdf.1%{ext_man}
%files -n libflickcurl%{soname}
%defattr(-,root,root)
%doc %{_docdir}/lib%{name}%{soname}
%doc %{_docdir}/lib%{name}%{soname}/COPYING*
%doc %{_docdir}/lib%{name}%{soname}/LICENSE*
%{_libdir}/libflickcurl.so.%{soname}
%{_libdir}/libflickcurl.so.%{soname}.*.*
%files -n libflickcurl-devel
%defattr(-,root,root)
%{_bindir}/flickcurl-config
%{_includedir}/flickcurl.h
%{_libdir}/libflickcurl.so
%{_libdir}/libflickcurl.la
%{_libdir}/libflickcurl.a
%{_libdir}/pkgconfig/flickcurl.pc
%doc %{_mandir}/man1/flickcurl-config.1%{ext_man}
%files doc
%defattr(-,root,root)
%doc %dir %{_docdir}/lib%{name}%{soname}
%doc %{_docdir}/lib%{name}%{soname}/AUTHORS
%doc %{_docdir}/lib%{name}%{soname}/ChangeLog
%doc %{_docdir}/lib%{name}%{soname}/NEWS*
%doc %{_docdir}/lib%{name}%{soname}/NOTICE
%doc %{_docdir}/lib%{name}%{soname}/README*
%{_datadir}/gtk-doc/html/flickcurl
%changelog
++++++ baselibs.conf ++++++
libflickcurl0
++++++ flickcurl-rpmlintrc ++++++
addFilter("package-with-huge-docs")
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0