forked from pool/ocfs2-tools
This commit is contained in:
parent
e0e17299c6
commit
60f8b72761
@ -1,19 +1,41 @@
|
|||||||
Index: ocfs2-tools/vendor/common/o2cb.init
|
---
|
||||||
===================================================================
|
debugfs.ocfs2/Makefile | 5 ++--
|
||||||
--- ocfs2-tools.orig/vendor/common/o2cb.init
|
vendor/common/o2cb.init | 53 ++++++++++++++++++++++++++++++++++++++++++++---
|
||||||
+++ ocfs2-tools/vendor/common/o2cb.init
|
vendor/common/ocfs2.init | 4 ---
|
||||||
@@ -6,8 +6,8 @@
|
3 files changed, 54 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
--- a/debugfs.ocfs2/Makefile
|
||||||
|
+++ b/debugfs.ocfs2/Makefile
|
||||||
|
@@ -12,10 +12,11 @@ INCLUDES = -Iinclude -I$(TOPDIR)/libocfs
|
||||||
|
INCLUDES += $(GLIB_CFLAGS)
|
||||||
|
|
||||||
|
ifdef OCFS2_DEBUG
|
||||||
|
-CFLAGS = -Wall -O -ggdb
|
||||||
|
+OPTS = -O -ggdb
|
||||||
|
else
|
||||||
|
-CFLAGS = -Wall -O2
|
||||||
|
+OPTS = -O2
|
||||||
|
endif
|
||||||
|
+CFLAGS=-Wall $(OPTS)
|
||||||
|
|
||||||
|
CFILES = main.c commands.c dump.c utils.c journal.c find_block_inode.c find_inode_paths.c dump_fs_locks.c
|
||||||
|
|
||||||
|
--- a/vendor/common/o2cb.init
|
||||||
|
+++ b/vendor/common/o2cb.init
|
||||||
|
@@ -6,9 +6,9 @@
|
||||||
#
|
#
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: o2cb
|
# Provides: o2cb
|
||||||
-# Required-Start: $network
|
-# Required-Start: $network
|
||||||
-# Should-Start:
|
-# Should-Start:
|
||||||
|
-# Required-Stop:
|
||||||
+# Required-Start: $network $syslog $named
|
+# Required-Start: $network $syslog $named
|
||||||
+# Should-Start: sshd iscsi
|
+# Should-Start: sshd iscsi
|
||||||
# Required-Stop:
|
+# Required-Stop: $null
|
||||||
# Default-Start: 2 3 5
|
# Default-Start: 2 3 5
|
||||||
# Default-Stop:
|
# Default-Stop:
|
||||||
@@ -130,6 +130,10 @@ O2CB_BOOTCLUSTER=${O2CB_BOOTCLUSTER}
|
# Description: Load O2CB cluster services at system boot.
|
||||||
|
@@ -151,6 +151,10 @@ O2CB_KEEPALIVE_DELAY_MS=${O2CB_KEEPALIVE
|
||||||
# O2CB_RECONNECT_DELAY_MS: Min time in ms between connection attempts
|
# O2CB_RECONNECT_DELAY_MS: Min time in ms between connection attempts
|
||||||
O2CB_RECONNECT_DELAY_MS=${O2CB_RECONNECT_DELAY_MS}
|
O2CB_RECONNECT_DELAY_MS=${O2CB_RECONNECT_DELAY_MS}
|
||||||
|
|
||||||
@ -24,7 +46,7 @@ Index: ocfs2-tools/vendor/common/o2cb.init
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [ $? != 0 ]
|
if [ $? != 0 ]
|
||||||
@@ -208,6 +212,34 @@ EOF
|
@@ -354,6 +358,34 @@ EOF
|
||||||
read_timeout "network reconnect delay in ms" "$O2CB_RECONNECT_DELAY_MS" "$MIN_RECONNECT_DELAY_MS" "$DEF_RECONNECT_DELAY_MS"
|
read_timeout "network reconnect delay in ms" "$O2CB_RECONNECT_DELAY_MS" "$MIN_RECONNECT_DELAY_MS" "$DEF_RECONNECT_DELAY_MS"
|
||||||
O2CB_RECONNECT_DELAY_MS="$RET_VAL"
|
O2CB_RECONNECT_DELAY_MS="$RET_VAL"
|
||||||
|
|
||||||
@ -59,7 +81,7 @@ Index: ocfs2-tools/vendor/common/o2cb.init
|
|||||||
# XXX ask about mount point base
|
# XXX ask about mount point base
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -526,6 +558,21 @@ load()
|
@@ -707,6 +739,21 @@ load()
|
||||||
eval ${LOAD_ACTIONS[i]}
|
eval ${LOAD_ACTIONS[i]}
|
||||||
if_fail "$?"
|
if_fail "$?"
|
||||||
done
|
done
|
||||||
@ -81,21 +103,16 @@ Index: ocfs2-tools/vendor/common/o2cb.init
|
|||||||
}
|
}
|
||||||
|
|
||||||
load_status()
|
load_status()
|
||||||
Index: ocfs2-tools/debugfs.ocfs2/Makefile
|
--- a/vendor/common/ocfs2.init
|
||||||
===================================================================
|
+++ b/vendor/common/ocfs2.init
|
||||||
--- ocfs2-tools.orig/debugfs.ocfs2/Makefile
|
@@ -8,9 +8,7 @@
|
||||||
+++ ocfs2-tools/debugfs.ocfs2/Makefile
|
### BEGIN INIT INFO
|
||||||
@@ -12,10 +12,11 @@ INCLUDES = -Iinclude -I$(TOPDIR)/libocfs
|
# Provides: ocfs2
|
||||||
INCLUDES += $(GLIB_CFLAGS)
|
# Required-Start: $network o2cb
|
||||||
|
-# Required-Stop:
|
||||||
ifdef OCFS2_DEBUG
|
-# X-UnitedLinux-Should-Start:
|
||||||
-CFLAGS = -Wall -O -ggdb
|
-# X-UnitedLinux-Should-Stop:
|
||||||
+OPTS = -O -ggdb
|
+# Required-Stop: $null
|
||||||
else
|
# Default-Start: 2 3 5
|
||||||
-CFLAGS = -Wall -O2
|
# Default-Stop:
|
||||||
+OPTS = -O2
|
# Description: Mount OCFS2 volumes at boot.
|
||||||
endif
|
|
||||||
+CFLAGS=-Wall $(OPTS)
|
|
||||||
|
|
||||||
CFILES = main.c commands.c dump.c utils.c journal.c find_block_inode.c find_inode_paths.c dump_fs_locks.c
|
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 26 20:54:05 CEST 2008 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Made init scripts LSB compliant.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 22 17:05:56 CET 2008 - jeffm@suse.com
|
Fri Feb 22 17:05:56 CET 2008 - jeffm@suse.com
|
||||||
|
|
||||||
|
@ -2,9 +2,16 @@
|
|||||||
# spec file for package ocfs2-tools (Version 1.3.9)
|
# spec file for package ocfs2-tools (Version 1.3.9)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
|
||||||
# package are under the same license as the package itself.
|
|
||||||
#
|
#
|
||||||
|
# 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/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -15,7 +22,7 @@ Name: ocfs2-tools
|
|||||||
BuildRequires: e2fsprogs-devel glib2-devel python-devel python-gtk-devel readline-devel update-desktop-files
|
BuildRequires: e2fsprogs-devel glib2-devel python-devel python-gtk-devel readline-devel update-desktop-files
|
||||||
Summary: Oracle Cluster File System 2 Core Tools
|
Summary: Oracle Cluster File System 2 Core Tools
|
||||||
Version: 1.3.9
|
Version: 1.3.9
|
||||||
Release: 4
|
Release: 58
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
Source: ocfs2-tools-%{version}.tar.bz2
|
Source: ocfs2-tools-%{version}.tar.bz2
|
||||||
@ -44,6 +51,7 @@ Authors:
|
|||||||
Oracle Corporation
|
Oracle Corporation
|
||||||
|
|
||||||
%package -n ocfs2console
|
%package -n ocfs2console
|
||||||
|
License: GPL v2 or later
|
||||||
Summary: Oracle Cluster Filesystem 2 GUI tools
|
Summary: Oracle Cluster Filesystem 2 GUI tools
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
Obsoletes: ocfs2-support
|
Obsoletes: ocfs2-support
|
||||||
@ -64,6 +72,7 @@ Authors:
|
|||||||
Oracle Corporation
|
Oracle Corporation
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
|
License: GPL v2 or later
|
||||||
Summary: Oracle Cluster File System 2 Development files
|
Summary: Oracle Cluster File System 2 Development files
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
Requires: ocfs2-tools = %{version}, libcom_err, libcom_err-devel
|
Requires: ocfs2-tools = %{version}, libcom_err, libcom_err-devel
|
||||||
@ -182,13 +191,15 @@ fi
|
|||||||
%{_libdir}/pkgconfig/ocfs2.pc
|
%{_libdir}/pkgconfig/ocfs2.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 26 2008 jeffm@suse.com
|
||||||
|
- Made init scripts LSB compliant.
|
||||||
* Fri Feb 22 2008 jeffm@suse.com
|
* Fri Feb 22 2008 jeffm@suse.com
|
||||||
- Re-added init script support for userspace heartbeat.
|
- Re-added init script support for userspace heartbeat.
|
||||||
* Tue Feb 19 2008 jeffm@suse.com
|
* Tue Feb 19 2008 jeffm@suse.com
|
||||||
- Statically link glib-2.0 with tunefs and o2cb_ctl.
|
- Statically link glib-2.0 with tunefs and o2cb_ctl.
|
||||||
* Mon Jan 28 2008 jeffm@suse.com
|
* Mon Jan 28 2008 jeffm@suse.com
|
||||||
- Update to 1.3.9
|
- Update to 1.3.9
|
||||||
* Mon Jan 14 2008 jeffm@suse.com
|
* Tue Jan 15 2008 jeffm@suse.com
|
||||||
- Update to 1.2.7
|
- Update to 1.2.7
|
||||||
- Add shrinking journal size support
|
- Add shrinking journal size support
|
||||||
- Fix crash in slotmap
|
- Fix crash in slotmap
|
||||||
@ -202,14 +213,14 @@ fi
|
|||||||
- Multiple fsck fixes
|
- Multiple fsck fixes
|
||||||
- Offline resize
|
- Offline resize
|
||||||
- Documentation updates
|
- Documentation updates
|
||||||
* Sun Nov 19 2006 schwab@suse.de
|
* Mon Nov 20 2006 schwab@suse.de
|
||||||
- Don't use kernel headers.
|
- Don't use kernel headers.
|
||||||
* Sun Nov 19 2006 ro@suse.de
|
* Mon Nov 20 2006 ro@suse.de
|
||||||
- define offsetof locally if it does not come from kernel header
|
- define offsetof locally if it does not come from kernel header
|
||||||
* Mon Oct 30 2006 lmb@suse.de
|
* Mon Oct 30 2006 lmb@suse.de
|
||||||
- Upgrade to version 1.2.2 to match in-kernel version.
|
- Upgrade to version 1.2.2 to match in-kernel version.
|
||||||
- Split-off devel subpackage.
|
- Split-off devel subpackage.
|
||||||
* Sat Oct 28 2006 meissner@suse.de
|
* Sun Oct 29 2006 meissner@suse.de
|
||||||
- use RPM_OPT_FLAGS
|
- use RPM_OPT_FLAGS
|
||||||
* Sat Sep 30 2006 aj@suse.de
|
* Sat Sep 30 2006 aj@suse.de
|
||||||
- Cleanup BuildRequires.
|
- Cleanup BuildRequires.
|
||||||
@ -233,7 +244,7 @@ fi
|
|||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Fri Nov 11 2005 lmb@suse.de
|
* Fri Nov 11 2005 lmb@suse.de
|
||||||
- Should-Start: iscsi added (from SLES9) (#114733)
|
- Should-Start: iscsi added (from SLES9) (#114733)
|
||||||
* Wed Nov 02 2005 dmueller@suse.de
|
* Thu Nov 03 2005 dmueller@suse.de
|
||||||
- don't build as root
|
- don't build as root
|
||||||
* Wed Nov 02 2005 jeffm@suse.com
|
* Wed Nov 02 2005 jeffm@suse.com
|
||||||
- Update to version 1.1.3 - SVN 1105
|
- Update to version 1.1.3 - SVN 1105
|
||||||
|
Loading…
Reference in New Issue
Block a user