Hello community,
here is the log from the commit of package libdlm.1704 for openSUSE:12.3:Update checked in at 2013-06-03 11:01:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/libdlm.1704 (Old)
and /work/SRC/openSUSE:12.3:Update/.libdlm.1704.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdlm.1704"
Changes:
--------
New Changes file:
--- /dev/null 2013-05-23 01:40:31.032032505 +0200
+++ /work/SRC/openSUSE:12.3:Update/.libdlm.1704.new/libdlm.changes 2013-06-03 11:01:13.000000000 +0200
@@ -0,0 +1,297 @@
+-------------------------------------------------------------------
+Mon May 27 10:09:13 UTC 2013 - tserong@suse.com
+
+- Replace NAME= with SYMLINK+= in udev rules (bnc#779718)
+ + use-symlink-in-udev-rules.patch
+
+-------------------------------------------------------------------
+Mon Jan 28 14:48:07 UTC 2013 - coolo@suse.com
+
+- small cleanup of spec file
+
+-------------------------------------------------------------------
+Mon Jan 28 06:42:32 UTC 2013 - xli@suse.com
+
+- fix the build issue on openSuSE 12.3 Milestone 1 (bnc#798263)
+ add bnc798263-fix-opensuse123-compile-error.patch
+
+-------------------------------------------------------------------
+Fri Aug 24 02:51:55 UTC 2012 - jjzhang@suse.com
+
+- dlm_controld: fix plock dev_write no op (bnc#777137)
+ add bnc777137-fix-plock-dev_write-no-op.patch
+
+-------------------------------------------------------------------
+Sat Jun 23 07:21:44 UTC 2012 - ygao@suse.com
+
+- dlm_controld: Replace use of crm_is_member_active() with the new
+ crm_is_peer_active() from pacemaker > 1.1.7
+
+-------------------------------------------------------------------
+Thu May 24 10:38:35 UTC 2012 - idonmez@suse.com
+
+- Fix build with gcc 4.7
+
+-------------------------------------------------------------------
+Fri Dec 16 04:55:40 UTC 2011 - tserong@suse.com
+
+- fix build with current pacemaker
+ (/usr/include/pacemaker/crm/common/stack.h
+ moved to
+ /usr/include/pacemaker/crm/cluster/stack.h)
+
+-------------------------------------------------------------------
+Sun Nov 13 09:15:17 UTC 2011 - coolo@suse.com
+
+- add libtool as explicit buildrequire to avoid implicit dependency from prjconf
+
+-------------------------------------------------------------------
+Tue Sep 20 14:07:24 UTC 2011 - tserong@suse.com
+
+- dlm_controld: fix build with old (< 3.0) kernel headers
+- dlm_controld: clear waiting plocks for closed files
+- dlm_controld: Introduce RB tree for improving plock resources searching
+ efficiency
+- dlm_controld: RB tree implementation borrowed from the kernel source
+- dlm_controld: remove oom_adj
+- dlm_controld: ignore plocks until checkpoint time
+- dlm_controld: fix plock signature in stored message
+- dlm_controld: fix plock owner syncing
+- dlm_controld: fix plock owner in checkpoints
+- dlm_controld: fix plock checkpoint signatures
+- dlm_controld: wrong fencing time comparison
+- dlm_controld.pcmk: Prevent use-of-NULL by checking the node has a valid
+ address before adding it to configfs
+- dlm_controld: always return error if the daemon is not ready to operate
+
+-------------------------------------------------------------------
+Tue Aug 30 19:36:41 UTC 2011 - andrea.turrini@gmail.com
+
+- Fixed typos and removed duplicated "Authors:" entry in
+ descriptions of libdlm.spec
+
+-------------------------------------------------------------------
+Mon May 23 19:39:04 UTC 2011 - crrodriguez@opensuse.org
+
+- Avoid adding build time in binaries, breaks build-compare.
+
+-------------------------------------------------------------------
+Tue Feb 8 12:24:01 UTC 2011 - tserong@novell.com
+
+- bnc-634240_reset-fs_notified.diff : Reset fs_notified when check_fs_done
+
+
+-------------------------------------------------------------------
+Thu Aug 19 11:13:53 UTC 2010 - tserong@novell.com
+
+- Revert previous change ("allow libdlm to compile with new
+ pacemaker version")
+
+-------------------------------------------------------------------
+Mon Jun 14 15:16:06 UTC 2010 - lmb@novell.com
+
+- Allow libdlm to compile with new pacemaker version.
+
+-------------------------------------------------------------------
+Tue May 18 01:46:52 UTC 2010 - tserong@novell.com
+
+- Reverted libdlm-bug-603685-v2.diff (bug now fixed in Pacemaker)
+
+-------------------------------------------------------------------
+Fri May 14 12:54:48 UTC 2010 - lmb@novell.com
+
+- libdlm-bug-603685-v2.diff: fix dlm_controld.pcmk member processing
+ (bnc#603685)
+
+-------------------------------------------------------------------
+Mon Apr 26 16:00:24 UTC 2010 - coly.li@suse.de
+
+- update from upstream (cs fae6ee39)
+ - dlm_controld: don't log errors after disabling plocks
+ - dlm_controld: don't skip unlinking checkpoint
+ - dlm_controld: set last_plock_time for ownership operations
+ - dlm_controld: add plock checkpoint signatures
+ - dlm_controld: check all messages against enable options
+ - dlm_controld: avoid full plock unlock when no resource exists
+
+-------------------------------------------------------------------
+Wed Mar 24 18:34:58 UTC 2010 - coyli@novell.com
+
+- update from upstream:
+ - dlm_controld: set rmem for sctp
+ - misc: update copyright year and owners
+ - man pages: dlm_tool and dlm_controld
+ - dlm_controld/libdlmcontrol/dlm_tool: separate plock debug buffer
+ - dlm_controld: add more fs_notified debugging
+
+-------------------------------------------------------------------
+Fri Feb 5 10:22:31 UTC 2010 - coyli@novell.com
+
+- delete 64bytes_lvb_len.diff (bnc#573460)
+
+-------------------------------------------------------------------
+Wed Jan 27 09:32:49 UTC 2010 - lmb@novell.com
+
+- Remove libdlm2 on upgrade.
+
+-------------------------------------------------------------------
+Tue Dec 8 06:35:06 UTC 2009 - coyli@novell.com
+
+- 64bytes_lvb_len.diff: change DLM_LVB_LEN to 64 bytes (bnc#515645)
+
+-------------------------------------------------------------------
+Wed Dec 2 08:35:31 UTC 2009 - coyli@novell.com
+
+- remove already-in-upstream patches from package
+
+-------------------------------------------------------------------
+Wed Dec 2 07:44:08 UTC 2009 - coyli@novell.com
+
+- update to upstream commit 7ad436ba4a7d68a79510fd6c033568b6bb100191.
+ not pass compiling yet
+
+-------------------------------------------------------------------
+Thu Nov 26 18:31:24 UTC 2009 - coyli@novell.com
+
+- upgrade package version number from 2.99.08 to 3.00.01, no code
+ modified.
+
+-------------------------------------------------------------------
+Tue Sep 29 06:54:06 UTC 2009 - "lmb@novell.com"
+
+- libdlm-lockspace-fs_notify.diff: fix a race which could lead to an
+ infinite logging loop (bnc#532406).
+
+-------------------------------------------------------------------
+Tue Sep 22 14:19:50 UTC 2009 - "lmb@novell.com"
+
+- dlm-no-quorum-default.diff: change quorum handling to allow cluster to
+ shutdown nodes one-by-one (bnc#541042).
+
+-------------------------------------------------------------------
+Thu Sep 3 09:25:51 UTC 2009 - "lmb@novell.com"
+
+- dlm-debug.diff: Include the lockspace name in syslog().
+
+-------------------------------------------------------------------
+Thu Aug 27 16:14:16 UTC 2009 - "lmb@novell.com"
+
+- dlm-plock-optimization.diff: allow plocks to revert back to single
+ node mode (bnc#497176).
+
+-------------------------------------------------------------------
+Mon Aug 10 17:48:27 UTC 2009 - lmb@novell.com
+
+- libdlm-lockspace-recovery.patch: ensure that all lock spaces are
+ recovered (bnc#528425).
+
+-------------------------------------------------------------------
+Wed Jul 29 16:20:24 CST 2009 - coly.li@suse.de
+
+- add ocfs2-kmp to libdlm requires, since fs/dlm will be integrated
+ into ocfs2-kmp.
+
+-------------------------------------------------------------------
+Tue Jul 21 15:10:39 CEST 2009 - lmb@novell.com
+
+- Fix compilation with new pacemaker code.
++++ 100 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.3:Update/.libdlm.1704.new/libdlm.changes
New:
----
bnc777137-fix-plock-dev_write-no-op.patch
bnc798263-fix-opensuse123-compile-error.patch
libdlm-gcc47.patch
libdlm-pacemaker.patch
libdlm.changes
libdlm.spec
libdlm.tar.bz2
use-symlink-in-udev-rules.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libdlm.spec ++++++
#
# spec file for package libdlm
#
# Copyright (c) 2013 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/
#
%if 0%{?suse_version}
%define _libexecdir %{_libdir}
%endif
%define with_extra_warnings 0
%define with_debugging 0
%define without_fatal_warnings 1
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version}
%define pkg_group System Environment/Daemons
%else
%define pkg_group Productivity/Clustering/HA
%endif
Name: libdlm
Summary: Application interface to the kernel's distributed lock manager
License: GPL-2.0 and GPL-2.0+ and LGPL-2.1+
Group: Productivity/Clustering/HA
Version: 3.00.01
Release: 0
Url: http://sources.redhat.com/cluster/wiki
Source: libdlm.tar.bz2
Patch0: libdlm-pacemaker.patch
Patch1: libdlm-gcc47.patch
Patch2: bnc777137-fix-plock-dev_write-no-op.patch
Patch3: bnc798263-fix-opensuse123-compile-error.patch
Patch4: use-symlink-in-udev-rules.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: pacemaker
BuildRequires: glib2-devel
BuildRequires: kernel-source >= 2.6.26
BuildRequires: libcorosync-devel
BuildRequires: libopenais-devel
BuildRequires: libpacemaker-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
%description
Libraries and tools that allow applications, particularly filesystems
like OCFS2, to interface with the in-kernel distributed lock manager.
%package -n libdlm3
Summary: Application interface to the kernel's distributed lock manager
License: GPL-2.0 and GPL-2.0+ and LGPL-2.1+
Group: Productivity/Clustering/HA
Obsoletes: libdlm2
Conflicts: libdlm2
%description -n libdlm3
Libraries and tools that allow applications, particularly filesystems
like OCFS2, to interface with the in-kernel distributed lock manager.
%package devel
Summary: Application interface to the kernel's distributed lock manager
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Requires: libdlm3 = %{version}
%description devel
Libraries and tools that allow applications, particularly filesystems
like OCFS2, to interface with the in-kernel distributed lock manager.
%prep
###########################################################
%setup -n libdlm
%patch0
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
###########################################################
%build
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
TIME="\"$(date -d "${modified}" "+%%R")\""
find . -name '*.[ch]' -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
# TODO: revisit -all
CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
# Feature-dependent CFLAGS:
%if %with_extra_warnings
# CFLAGS="${CFLAGS} -Wshadow -Wfloat-equal -Waggregate-return -Wnested-externs -Wunreachable-code -Wendif-labels -Winline"
CFLAGS="${CFLAGS} -Wfloat-equal -Wendif-labels -Winline"
%endif
%if %with_debugging
CFLAGS="${CFLAGS} -O0"
%endif
# Distribution specific settings:
%if 0%{?suse_version} > 1001
CFLAGS="${CFLAGS} -fstack-protector-all"
%endif
%if 0%{?suse_version} > 1020
CFLAGS="$CFLAGS -fgnu89-inline"
%endif
%if 0%{?fedora_version} > 6
CFLAGS="$CFLAGS -fgnu89-inline"
%endif
export CFLAGS
./autogen.sh
%configure --enable-pacemaker --disable-cman
export MAKE="make %{?jobs:-j%jobs}"
make %{?jobs:-j%jobs}
###########################################################
%install
###########################################################
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/packages/
mv $RPM_BUILD_ROOT%{_datadir}/doc/{dlm,packages/libdlm-%{version}}
# Cleanup
[ -d $RPM_BUILD_ROOT/usr/share/libtool ] && rm -rf $RPM_BUILD_ROOT/usr/share/libtool
find $RPM_BUILD_ROOT -name '*.a' -type f -print0 | xargs -0 rm -f
find $RPM_BUILD_ROOT -name '*.la' -type f -print0 | xargs -0 rm -f
###########################################################
%clean
###########################################################
if
[ -n "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != "/" ]
then
rm -rf $RPM_BUILD_ROOT
fi
###########################################################
%post -n libdlm3 -p /sbin/ldconfig
%postun -n libdlm3 -p /sbin/ldconfig
%files
###########################################################
%defattr(-,root,root)
%dir %{_sysconfdir}/udev
%dir %{_sysconfdir}/udev/rules.d
%dir %{_datadir}/doc/packages/libdlm-%{version}
%config %{_sysconfdir}/udev/rules.d/51-dlm.rules
%{_sbindir}/dlm_controld.pcmk
%{_sbindir}/dlm_tool
%{_datadir}/man/man8/dlm_tool.8.gz
%{_datadir}/man/man8/dlm_controld.8.gz
%{_datadir}/doc/packages/libdlm-%{version}
%files -n libdlm3
%defattr(-,root,root)
%{_libdir}/libdlm.so.*
%{_libdir}/libdlm_lt.so.*
%{_libdir}/libdlmcontrol.so.*
%files devel
###########################################################
%defattr(-,root,root)
%{_libdir}/libdlm*.so
%{_libdir}/pkgconfig/libdlm.pc
%{_libdir}/pkgconfig/libdlm_lt.pc
%{_libdir}/pkgconfig/libdlmcontrol.pc
%{_includedir}/libdlm.h
%{_includedir}/libdlmcontrol.h
%{_datadir}/man/man3/dlm_*.3.gz
%{_datadir}/man/man3/libdlm.3.gz
%changelog
++++++ bnc777137-fix-plock-dev_write-no-op.patch ++++++
Index: libdlm/group/dlm_controld/plock.c
===================================================================
--- libdlm.orig/group/dlm_controld/plock.c
+++ libdlm/group/dlm_controld/plock.c
@@ -1641,8 +1641,10 @@ void process_plocks(int ci)
return;
fail:
- info.rv = rv;
- rv = write(plock_device_fd, &info, sizeof(info));
+ if (!(info.flags & DLM_PLOCK_FL_CLOSE)) {
+ info.rv = rv;
+ rv = write(plock_device_fd, &info, sizeof(info));
+ }
}
void process_saved_plocks(struct lockspace *ls)
++++++ bnc798263-fix-opensuse123-compile-error.patch ++++++
Index: libdlm/configure.ac
===================================================================
--- libdlm.orig/configure.ac
+++ libdlm/configure.ac
@@ -115,10 +115,10 @@ if test "x${enable_pacemaker}" = xno &&
AC_MSG_ERROR([At least one dlm_controld build method (cman or pacemaker) has to be selected])
fi
-AC_ARG_WITH([kernel],
- [ --with-kernel=path path to kernel source. ],
- [ KERNEL_DIR="$withval" ],
- [ KERNEL_DIR="$DEFAULT_KERNEL_DIR" ])
+#AC_ARG_WITH([kernel],
+# [ --with-kernel=path path to kernel source. ],
+# [ KERNEL_DIR="$withval" ],
+# [ KERNEL_DIR="$DEFAULT_KERNEL_DIR" ])
KERNEL_CPPFLAGS="-I$KERNEL_DIR/include"
++++++ libdlm-gcc47.patch ++++++
Index: libdlm/group/include/rbtree.h
===================================================================
--- libdlm.orig/group/include/rbtree.h
+++ libdlm/group/include/rbtree.h
@@ -91,6 +91,8 @@ static inline struct page * rb_insert_pa
-----------------------------------------------------------------------
*/
+#include