Hello community,
here is the log from the commit of package libHX
checked in at Fri Aug 15 00:48:17 CEST 2008.
--------
--- libHX/libHX.changes 2008-08-01 17:32:14.000000000 +0200
+++ libHX/libHX.changes 2008-08-14 17:58:45.339476000 +0200
@@ -1,0 +2,8 @@
+Thu Aug 14 17:57:13 CEST 2008 - mc@suse.de
+
+- update to version 1.22
+ * need to use lstat() on directory operations such as mkdir and rmdir
+ * use RTLD_LAZY when opening dynamic libraries
+ * add libxml_helper
+
+-------------------------------------------------------------------
Old:
----
libHX-1.18.tar.bz2
New:
----
libHX-1.22.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libHX.spec ++++++
--- /var/tmp/diff_new_pack.Q20891/_old 2008-08-15 00:46:45.000000000 +0200
+++ /var/tmp/diff_new_pack.Q20891/_new 2008-08-15 00:46:45.000000000 +0200
@@ -1,10 +1,17 @@
#
-# spec file for package libHX (Version 1.18)
+# spec file for package libHX (Version 1.22)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
#
+# 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/
#
@@ -15,15 +22,15 @@
%define lname libHX13
BuildRequires: gcc-c++ libxml2-devel
Summary: General-purpose Library
-Version: 1.18
-Release: 2
+Version: 1.22
+Release: 1
License: LGPL v2.1 or later; LGPL v3 or later
Prefix: /usr
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libHX13 = %{version}
-Url: http://jengelh.hopto.org/f/libHX
+Url: http://jengelh.medozas.de/projects/libHX/
%description
A library for: * A+R/B trees to use for lists or maps (associative
@@ -155,6 +162,11 @@
%_libdir/pkgconfig/*.pc
%changelog
+* Thu Aug 14 2008 mc@suse.de
+- update to version 1.22
+ * need to use lstat() on directory operations such as mkdir and rmdir
+ * use RTLD_LAZY when opening dynamic libraries
+ * add libxml_helper
* Fri Aug 01 2008 ro@suse.de
- fix requires for debuginfo package
* Mon Jun 23 2008 mc@suse.de
++++++ libHX-1.18.tar.bz2 -> libHX-1.22.tar.bz2 ++++++
++++ 3665 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/libHX-1.18/configure.ac new/libHX-1.22/configure.ac
--- old/libHX-1.18/configure.ac 2008-06-10 12:10:45.000000000 +0200
+++ new/libHX-1.22/configure.ac 2008-07-16 21:08:33.000000000 +0200
@@ -1,5 +1,5 @@
-AC_INIT([libHX], [1.18])
+AC_INIT([libHX], [1.22])
AC_CONFIG_HEADERS([libHX/config.h])
AC_PROG_INSTALL
AM_INIT_AUTOMAKE
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/libHX-1.18/dist/suse/libHX.spec new/libHX-1.22/dist/suse/libHX.spec
--- old/libHX-1.18/dist/suse/libHX.spec 1970-01-01 01:00:00.000000000 +0100
+++ new/libHX-1.22/dist/suse/libHX.spec 2008-07-16 21:08:33.000000000 +0200
@@ -0,0 +1,78 @@
+
+Name: libHX13
+%define lname libHX
+Version: 1.22
+Release: 0
+Group: System/Libraries
+URL: http://jengelh.medozas.de/projects/libHX/
+Summary: Library for commonly needed tasks in C
+License: LGPL2 LGPL3
+Source: http://jengelh.medozas.de/files/libHX/libHX-%version.tar.bz2
+BuildRoot: %_tmppath/%name-%version-build
+BuildRequires: gcc-c++
+
+%description
+A library for:
+- rbtree with key-value pair extension ("maps")
+- deques (double-ended queues) (Stacks (LIFO) / Queues (FIFOs))
+- platform-independent opendir-style directory access
+- platform-independent dlopen-style shared library access
+- auto-storage strings with direct access
+- command line option (argv) parser
+- shconfig-style config file parser
+- platform-independent random number generator with transparent
+ /dev/urandom support
+- various string, memory and zvec ops
+
+%package -n libHX-devel
+Group: Development/Libraries/C and C++
+Summary: Development files for libHX
+Requires: libHX13 = %version
+
+%description -n libHX-devel
+A library for:
+- rbtree with key-value pair extension
+- deques (double-ended queues) (Stacks (LIFO) / Queues (FIFOs))
+- platform independent opendir-style directory access
+- platform independent dlopen-style shared library access
+- auto-storage strings with direct access
+- command line option (argv) parser
+- shconfig-style config file parser
+- platform independent random number generator with transparent
+ /dev/urandom support
+- various string, memory and zvec ops
+
+%debug_package
+%prep
+%setup -n %lname-%version
+
+%build
+%configure
+make %{?jobs:-j%jobs};
+
+%install
+b="%buildroot";
+rm -Rf "$b";
+mkdir "$b";
+make install DESTDIR="$b";
+rm -f "$b/%_libdir/%lname.la";
+mkdir -p "$b/%_docdir";
+cp -a doc "$b/%_docdir/%lname";
+
+%post
+%run_ldconfig
+
+%postun
+%run_ldconfig
+
+%files
+%defattr(-,root,root)
+%_libdir/%{lname}*.so.*
+
+%files -n libHX-devel
+%defattr(-,root,root)
+%_libdir/%{lname}*.so
+%_libdir/pkgconfig/*
+%_includedir/*
+%docdir %_docdir/%lname
+%doc %_docdir/%lname/*
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/libHX-1.18/doc/changelog.txt new/libHX-1.22/doc/changelog.txt
--- old/libHX-1.18/doc/changelog.txt 2008-06-10 12:10:45.000000000 +0200
+++ new/libHX-1.22/doc/changelog.txt 2008-07-16 21:08:33.000000000 +0200
@@ -1,5 +1,12 @@
+libHX 1.22 (July 16 2008)
+=========================
+- need to use lstat() on directory operations such as mkdir and rrmdir
+- use RTLD_LAZY when opening dynamic libraries
+- add libxml_helper
+
+
libHX 1.18 (June 10 2008)
=========================
- implement reverse iterating through HXlist
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/libHX-1.18/libHX.spec new/libHX-1.22/libHX.spec
--- old/libHX-1.18/libHX.spec 2008-06-10 12:10:45.000000000 +0200
+++ new/libHX-1.22/libHX.spec 1970-01-01 01:00:00.000000000 +0100
@@ -1,78 +0,0 @@
-
-Name: libHX13
-%define lname libHX
-Version: 1.18
-Release: 0
-Group: System/Libraries
-URL: http://jengelh.medozas.de/projects/libHX/
-Summary: Library for commonly needed tasks in C
-License: LGPL2 LGPL3 but NOT LATER
-Source: http://jengelh.medozas.de/files/libHX/libHX-%version.tar.bz2
-BuildRoot: %_tmppath/%name-%version-build
-BuildRequires: gcc-c++
-
-%description
-A library for:
-- rbtree with key-value pair extension ("maps")
-- deques (double-ended queues) (Stacks (LIFO) / Queues (FIFOs))
-- platform-independent opendir-style directory access
-- platform-independent dlopen-style shared library access
-- auto-storage strings with direct access
-- command line option (argv) parser
-- shconfig-style config file parser
-- platform-independent random number generator with transparent
- /dev/urandom support
-- various string, memory and zvec ops
-
-%package -n libHX-devel
-Group: Development/Libraries/C and C++
-Summary: Development files for libHX
-Requires: libHX13 = %version
-
-%description -n libHX-devel
-A library for:
-- rbtree with key-value pair extension
-- deques (double-ended queues) (Stacks (LIFO) / Queues (FIFOs))
-- platform independent opendir-style directory access
-- platform independent dlopen-style shared library access
-- auto-storage strings with direct access
-- command line option (argv) parser
-- shconfig-style config file parser
-- platform independent random number generator with transparent
- /dev/urandom support
-- various string, memory and zvec ops
-
-%debug_package
-%prep
-%setup -n %lname-%version
-
-%build
-%configure
-make %{?jobs:-j%jobs};
-
-%install
-b="%buildroot";
-rm -Rf "$b";
-mkdir "$b";
-make install DESTDIR="$b";
-rm -f "$b/%_libdir/%lname.la";
-mkdir -p "$b/%_docdir";
-cp -a doc "$b/%_docdir/%lname";
-
-%post
-%run_ldconfig
-
-%postun
-%run_ldconfig
-
-%files
-%defattr(-,root,root)
-%_libdir/%{lname}*.so.*
-
-%files -n libHX-devel
-%defattr(-,root,root)
-%_libdir/%{lname}*.so
-%_libdir/pkgconfig/*
-%_includedir/*
-%docdir %_docdir/%lname
-%doc %_docdir/%lname/*
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/libHX-1.18/Makefile.am new/libHX-1.22/Makefile.am
--- old/libHX-1.18/Makefile.am 2008-06-10 12:10:45.000000000 +0200
+++ new/libHX-1.22/Makefile.am 2008-07-16 21:08:33.000000000 +0200
@@ -7,7 +7,8 @@
pkgconfig_DATA = libHX.pc
nobase_include_HEADERS = libHX.h libHX/arbtree.h libHX/clist.h \
- libHX/deque.h libHX/list.h libHX/option.h libHX/string.h
+ libHX/deque.h libHX/list.h libHX/option.h libHX/string.h \
+ libHX/libxml_helper.h
$(pkgconfig_DATA): config.status
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/libHX-1.18/src/dir.c new/libHX-1.22/src/dir.c
--- old/libHX-1.18/src/dir.c 2008-06-10 12:10:45.000000000 +0200
+++ new/libHX-1.22/src/dir.c 2008-07-16 21:08:33.000000000 +0200
@@ -274,7 +274,7 @@
hmc_strasg(&fn, dir);
hmc_strcat(&fn, "/");
hmc_strcat(&fn, trav);
- if (stat(fn, &sb) < 0) {
+ if (lstat(fn, &sb) < 0) {
ret = -errno;
break;
}
@@ -301,7 +301,7 @@
static int mkdir_gen(const char *d)
{
struct stat sb;
- if (stat(d, &sb) < 0) {
+ if (lstat(d, &sb) < 0) {
#if defined(_WIN32)
if (mkdir(d) < 0)
#else
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/libHX-1.18/src/dl.c new/libHX-1.22/src/dl.c
--- old/libHX-1.18/src/dl.c 2008-06-10 12:10:45.000000000 +0200
+++ new/libHX-1.22/src/dl.c 2008-07-16 21:08:33.000000000 +0200
@@ -10,7 +10,7 @@
#ifdef _WIN32
return LoadLibrary(file);
#else
- return dlopen(file, RTLD_NOW);
+ return dlopen(file, RTLD_LAZY);
#endif
}
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/libHX-1.18/src/libxml_helper.h new/libHX-1.22/src/libxml_helper.h
--- old/libHX-1.18/src/libxml_helper.h 1970-01-01 01:00:00.000000000 +0100
+++ new/libHX-1.22/src/libxml_helper.h 2008-07-16 21:08:33.000000000 +0200
@@ -0,0 +1,61 @@
+#ifndef _LIBHX_LIBXML_HELPER_H
+#define _LIBHX_LIBXML_HELPER_H 1
+
+#ifdef __cplusplus
+# include <cstring>
+#else
+# include
participants (1)
-
root@Hilbert.suse.de