rpms/autofs/devel autofs-5.0.4-fix-dumb-libxml2-check.patch, NONE, 1.1 autofs.spec, 1.259, 1.260
Ian Kent
iankent at fedoraproject.org
Wed Nov 19 07:45:33 UTC 2008
- Previous message (by thread): rpms/eric/F-10 eric.spec,1.32,1.33 sources,1.14,1.15
- Next message (by thread): rpms/taginfo/devel import.log, NONE, 1.1 taginfo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: iankent
Update of /cvs/pkgs/rpms/autofs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28470
Modified Files:
autofs.spec
Added Files:
autofs-5.0.4-fix-dumb-libxml2-check.patch
Log Message:
* Wed Nov 19 2008 Ian Kent <kent at redhat.com> - 5.0.4-3
- fix libxml2 version check for deciding whether to use workaround.
autofs-5.0.4-fix-dumb-libxml2-check.patch:
--- NEW FILE autofs-5.0.4-fix-dumb-libxml2-check.patch ---
autofs-5.0.4 - fix dumb libxml2 check
From: Ian Kent <raven at themaw.net>
The workaround for libxml2 not deleting its thread specific data
key at library unload has become broken. It was foolish of me to
think that the libxml2 folks would fix this in any reasonable time.
This patch changes the version check to 99 for the major and minor
revisions, the same as the check for the revision to ensure that
the workaround is always used and adds the setting to the build
information produced by the -V option.
---
CHANGELOG | 4 ++++
aclocal.m4 | 4 ++--
configure | 4 ++--
daemon/automount.c | 10 ++++++++++
4 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
index a618d7e..4e8209e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+??/??/2009 autofs-5.0.5
+-----------------------
+- fix dumb libxml2 check
+
4/11/2008 autofs-5.0.4
-----------------------
- correct configure test for ldapr page control functions.
diff --git a/aclocal.m4 b/aclocal.m4
index 52a1e47..bb0ab21 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -201,10 +201,10 @@ else
XML_FLAGS=`$XML_CONFIG --cflags`
XML_VER=`$XML_CONFIG --version`
XML_MAJOR=`echo $XML_VER|cut -d\. -f1`
- if test $XML_MAJOR -le 2
+ if test $XML_MAJOR -le 99
then
XML_MINOR=`echo $XML_VER|cut -d\. -f2`
- if test $XML_MINOR -le 6
+ if test $XML_MINOR -le 99
then
XML_REV=`echo $XML_VER|cut -d\. -f3`
if test $XML_REV -le 99; then
diff --git a/configure b/configure
index b8cc62f..ed17660 100755
--- a/configure
+++ b/configure
@@ -2564,10 +2564,10 @@ echo "${ECHO_T}yes" >&6; }
XML_FLAGS=`$XML_CONFIG --cflags`
XML_VER=`$XML_CONFIG --version`
XML_MAJOR=`echo $XML_VER|cut -d\. -f1`
- if test $XML_MAJOR -le 2
+ if test $XML_MAJOR -le 99
then
XML_MINOR=`echo $XML_VER|cut -d\. -f2`
- if test $XML_MINOR -le 6
+ if test $XML_MINOR -le 99
then
XML_REV=`echo $XML_VER|cut -d\. -f3`
if test $XML_REV -le 99; then
diff --git a/daemon/automount.c b/daemon/automount.c
index 863aac5..6f078c1 100644
--- a/daemon/automount.c
+++ b/daemon/automount.c
@@ -1743,6 +1743,16 @@ static void show_build_info(void)
#ifdef WITH_DMALLOC
printf("WITH_DMALLOC ");
count = count + 13;
+
+ if (count > 60) {
+ printf("\n ");
+ count = 0;
+ }
+#endif
+
+#ifdef LIBXML2_WORKAROUND
+ printf("LIBXML2_WORKAROUND ");
+ count = count + 19;
#endif
printf("\n\n");
Index: autofs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/devel/autofs.spec,v
retrieving revision 1.259
retrieving revision 1.260
diff -u -r1.259 -r1.260
--- autofs.spec 11 Nov 2008 08:13:12 -0000 1.259
+++ autofs.spec 19 Nov 2008 07:45:02 -0000 1.260
@@ -4,12 +4,13 @@
Summary: A tool for automatically mounting and unmounting filesystems
Name: autofs
Version: 5.0.4
-Release: 2
+Release: 3
Epoch: 1
License: GPLv2+
Group: System Environment/Daemons
URL: http://wiki.autofs.net/
Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/autofs-%{version}.tar.bz2
+Patch1: autofs-5.0.4-fix-dumb-libxml2-check.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel module-init-tools util-linux nfs-utils e2fsprogs
Requires: kernel >= 2.6.17
@@ -51,6 +52,7 @@
%prep
%setup -q
echo %{version}-%{release} > .version
+%patch1 -p1
%build
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -103,6 +105,9 @@
%{_libdir}/autofs/
%changelog
+* Wed Nov 19 2008 Ian Kent <kent at redhat.com> - 5.0.4-3
+- fix libxml2 version check for deciding whether to use workaround.
+
* Tue Nov 11 2008 Ian Kent <kent at redhat.com> - 5.0.4-2
- Fix tag confusion.
- Previous message (by thread): rpms/eric/F-10 eric.spec,1.32,1.33 sources,1.14,1.15
- Next message (by thread): rpms/taginfo/devel import.log, NONE, 1.1 taginfo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list