[pve-devel] r5369 - / openais openais/trunk openais/trunk/debian openais/trunk/debian/patches
svn-commits at proxmox.com
svn-commits at proxmox.com
Thu Jan 13 06:22:06 CET 2011
Author: dietmar
Date: 2011-01-13 06:22:06 +0100 (Thu, 13 Jan 2011)
New Revision: 5369
Added:
openais/
openais/trunk/
openais/trunk/Makefile
openais/trunk/debian/
openais/trunk/debian/changelog
openais/trunk/debian/compat
openais/trunk/debian/control
openais/trunk/debian/copyright
openais/trunk/debian/libopenais-pve-dev.install
openais/trunk/debian/libopenais3-pve.install
openais/trunk/debian/openais-pve.dirs
openais/trunk/debian/openais-pve.docs
openais/trunk/debian/openais-pve.examples
openais/trunk/debian/openais-pve.install
openais/trunk/debian/patches/
openais/trunk/debian/patches/00list
openais/trunk/debian/patches/01_Makefile_inc.dpatch
openais/trunk/debian/patches/02_small_fixes.dpatch
openais/trunk/debian/patches/03_lck_segfault_fix.dpatch
openais/trunk/debian/rules
openais/trunk/openais-1.1.4.orig.tar.gz
Log:
moved from private repository
Added: openais/trunk/Makefile
===================================================================
--- openais/trunk/Makefile (rev 0)
+++ openais/trunk/Makefile 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1,43 @@
+RELEASE=2.0
+
+AISVERSION=1.1.4
+AISRELEASE=1
+AISDIR=openais-${AISVERSION}
+AISSRC=openais-${AISVERSION}.orig.tar.gz
+
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+DEBS= \
+ openais-pve_${AISVERSION}-${AISRELEASE}_${ARCH}.deb \
+ libopenais3-pve_${AISVERSION}-${AISRELEASE}_${ARCH}.deb \
+ libopenais-pve-dev_${AISVERSION}-${AISRELEASE}_${ARCH}.deb
+
+all: ${DEBS}
+
+${DEBS}: ${AISSRC}
+ echo ${DEBS}
+ rm -rf ${AISDIR}
+ tar xf ${AISSRC}
+ cp -av debian ${AISDIR}/debian
+ cd ${AISDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
+
+download:
+ rm -rf openais-${AISVERSION} ${AISSRC}
+ svn checkout http://svn.fedorahosted.org/svn/openais/tags/openais-${AISVERSION}/ openais-${AISVERSION}
+ cd openais-${AISVERSION}; ./autogen.sh
+ tar czf ${AISSRC} openais-${AISVERSION}/
+
+.PHONY: upload
+upload: ${DEBS}
+ umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
+ mkdir -p /pve/${RELEASE}/extra
+ rm -f /pve/${RELEASE}/extra/openais*.deb
+ rm -f /pve/${RELEASE}/extra/libopenais*.deb
+ rm -f /pve/${RELEASE}/extra/Packages*
+ cp ${DEBS} /pve/${RELEASE}/extra
+ cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
+ umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
+
+.phony: clean
+clean:
+ rm -rf *~ debian/*~ *_${ARCH}.deb *.changes *.dsc ${AISDIR}
Added: openais/trunk/debian/changelog
===================================================================
--- openais/trunk/debian/changelog (rev 0)
+++ openais/trunk/debian/changelog 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1,36 @@
+openais-pve (1.1.4-1) unstable; urgency=low
+
+ * update to version 1.1.4
+
+ -- Proxmox Support Team <support at proxmox.com> Wed, 06 Oct 2010 13:55:16 +0200
+
+openais-pve (1.1.2-1) unstable; urgency=low
+
+ * update to version 1.1.2
+
+ -- Proxmox Support Team <support at proxmox.com> Wed, 24 Feb 2010 10:07:21 +0100
+
+openais-pve (1.1.1-1) unstable; urgency=low
+
+ * update to version 1.1.1
+
+ -- Proxmox Support Team <support at proxmox.com> Wed, 27 Jan 2010 11:13:30 +0100
+
+openais-pve (1.0-1) unstable; urgency=low
+
+ * new mainstrean version
+
+ -- root <root at lvm1.maurer-it.com> Wed, 10 Jun 2009 02:30:02 -0400
+
+openais-pve (0.94-1) unstable; urgency=low
+
+ * new mainstrean version
+
+ -- Proxmox Support Team <support at proxmox.com> Wed, 01 Apr 2009 10:26:53 -0400
+
+openais-pve (0.93-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Proxmox Support Team <support at proxmox.com> Tue, 31 Mar 2009 04:48:35 -0400
+
Added: openais/trunk/debian/compat
===================================================================
--- openais/trunk/debian/compat (rev 0)
+++ openais/trunk/debian/compat 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1 @@
+7
Added: openais/trunk/debian/control
===================================================================
--- openais/trunk/debian/control (rev 0)
+++ openais/trunk/debian/control 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1,79 @@
+Source: openais-pve
+Priority: extra
+Maintainer: Proxmox Support Team <support at proxmox.com>
+Build-Depends: dpatch, debhelper (>> 5), libcorosync-pve-dev
+Standards-Version: 3.7.3
+Section: libs
+
+Package: openais-pve
+Section: admin
+Architecture: any
+Depends: corosync-pve (>= 0.97), libopenais3-pve (= ${binary:Version}), libcorosync4-pve
+Conflicts: openais
+Provides: openais
+Description: Standards-based cluster framework (daemon and modules)
+ The openais project is a project to implement a production quality
+ "Revised BSD" licensed implementation of the SA Forum's Application
+ Interface Specification. The project implements cutting edge research
+ on virtual synchrony to provide 100% correct operation in the face of
+ failures or partitionable networks with excellent performance
+ characteristics.
+ .
+ The Application Interface Specification is a software API and policies
+ which are used to develop applications that maintain service during
+ faults.
+ The API consists of Availability Management Framework (AMF) which
+ provides application failover, Cluster Membership (CLM),
+ Checkpointing (CKPT), Event (EVT), Messaging (MSG), and
+ Distributed Locks (DLOCK).
+ .
+ This package contains the openais modules.
+
+Package: libopenais3-pve
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: libopenais3
+Provides: libopenais3
+Description: Standards-based cluster framework (libraries)
+ The openais project is a project to implement a production quality
+ "Revised BSD" licensed implementation of the SA Forum's Application
+ Interface Specification. The project implements cutting edge research
+ on virtual synchrony to provide 100% correct operation in the face of
+ failures or partitionable networks with excellent performance
+ characteristics.
+ .
+ The Application Interface Specification is a software API and policies
+ which are used to develop applications that maintain service during
+ faults.
+ The API consists of Availability Management Framework (AMF) which
+ provides application failover, Cluster Membership (CLM),
+ Checkpointing (CKPT), Event (EVT), Messaging (MSG), and
+ Distributed Locks (DLOCK).
+ .
+ This package contains libraries that should be used by openais clients.
+
+Package: libopenais-pve-dev
+Section: libdevel
+Architecture: any
+Conflicts: libopenais-dev
+Provides: libopenais-dev
+Depends: libopenais3-pve (= ${binary:Version}), libcorosync-pve-dev
+Description: Standards-based cluster framework (developer files)
+ The openais project is a project to implement a production quality
+ "Revised BSD" licensed implementation of the SA Forum's Application
+ Interface Specification. The project implements cutting edge research
+ on virtual synchrony to provide 100% correct operation in the face of
+ failures or partitionable networks with excellent performance
+ characteristics.
+ .
+ The Application Interface Specification is a software API and policies
+ which are used to develop applications that maintain service during
+ faults.
+ The API consists of Availability Management Framework (AMF) which
+ provides application failover, Cluster Membership (CLM),
+ Checkpointing (CKPT), Event (EVT), Messaging (MSG), and
+ Distributed Locks (DLOCK).
+ .
+ This package contains header files required to build clients for the
+ openais infrastructure.
Added: openais/trunk/debian/copyright
===================================================================
--- openais/trunk/debian/copyright (rev 0)
+++ openais/trunk/debian/copyright 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1,66 @@
+This package was debianized by the Proxmox Support Team
+<support at proxmox.com> on Mon, 30 Mar 2009 06:55:24 -0400.
+
+It was downloaded from <http://openais.org/>
+
+***
+All cryptographic software in this package is subject to the following legal
+notice:
+This package includes publicly available encryption source code which,
+together with object code resulting from the compiling of publicly
+available source code, may be exported from the United States under License
+Exception TSU prsuant to 15 C.F.R Section 740.13(e).
+***
+-----------------------------------------------------------------------------
+The following license applies to every file in this package except for
+the files exec/crypto.c and exec/crypto.h. The license for these files is
+described later in this document. Some files are contributed by other authors
+and hence not copyright MontaVista Software. In this case, the license is
+still as follows:
+-----------------------------------------------------------------------------
+
+Copyright (c) 2002-2004 MontaVista Software, Inc.
+
+All rights reserved.
+
+This software licensed under BSD license, the text of which follows:
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+- Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+- Neither the name of the MontaVista Software, Inc. nor the names of its
+ contributors may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
+-----------------------------------------------------------------------------
+The corosync project uses software from the LibTomCrypt project
+www.libtomcrypt.org. This software is contained the files exec/crypto.c and
+exec/crypto.h. The following license applies to the files exec/crypto.c and
+exec/crytpo.h:
+-----------------------------------------------------------------------------
+LibTomCrypt is public domain. As should all quality software be.
+
+All of the software was either written by or donated to Tom St Denis for the
+purposes of this project. The only exception is the SAFER.C source which has
+no known license status (assumed copyrighted) which is why SAFER,C is shipped
+as disabled.
+
+Tom St Denis
+
+
Added: openais/trunk/debian/libopenais-pve-dev.install
===================================================================
--- openais/trunk/debian/libopenais-pve-dev.install (rev 0)
+++ openais/trunk/debian/libopenais-pve-dev.install 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/*.a
+usr/lib/*.so
Added: openais/trunk/debian/libopenais3-pve.install
===================================================================
--- openais/trunk/debian/libopenais3-pve.install (rev 0)
+++ openais/trunk/debian/libopenais3-pve.install 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1 @@
+usr/lib/*.so.3*
Added: openais/trunk/debian/openais-pve.dirs
===================================================================
--- openais/trunk/debian/openais-pve.dirs (rev 0)
+++ openais/trunk/debian/openais-pve.dirs 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1 @@
+usr/lib/lcrso
Added: openais/trunk/debian/openais-pve.docs
===================================================================
--- openais/trunk/debian/openais-pve.docs (rev 0)
+++ openais/trunk/debian/openais-pve.docs 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1 @@
+README.amf
Added: openais/trunk/debian/openais-pve.examples
===================================================================
--- openais/trunk/debian/openais-pve.examples (rev 0)
+++ openais/trunk/debian/openais-pve.examples 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1 @@
+conf/*
Added: openais/trunk/debian/openais-pve.install
===================================================================
--- openais/trunk/debian/openais-pve.install (rev 0)
+++ openais/trunk/debian/openais-pve.install 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1,4 @@
+usr/lib/lcrso
+usr/sbin
+usr/share/man*
+
Added: openais/trunk/debian/patches/00list
===================================================================
--- openais/trunk/debian/patches/00list (rev 0)
+++ openais/trunk/debian/patches/00list 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1,4 @@
+01_Makefile_inc.dpatch
+
+#02_small_fixes.dpatch
+#03_lck_segfault_fix.dpatch
Added: openais/trunk/debian/patches/01_Makefile_inc.dpatch
===================================================================
--- openais/trunk/debian/patches/01_Makefile_inc.dpatch (rev 0)
+++ openais/trunk/debian/patches/01_Makefile_inc.dpatch 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1,45 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_Makefile_patch.dpatch by <root at lvm1.maurer-it.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: set correct paths
+
+ at DPATCH@
+
+--- a/Makefile.inc.org 2009-03-31 04:52:36.000000000 -0400
++++ b/Makefile.inc 2009-03-31 04:54:20.000000000 -0400
+@@ -1,28 +1,11 @@
+ # Common options
+ PREFIX=/usr
+ DESTDIR=
+-LCRSODIR=$(PREFIX)/libexec/lcrso
++LCRSODIR=$(PREFIX)/lib/lcrso
+
+-ARCH=$(shell uname -p)
+-
+-ifeq (,$(findstring 64,$(ARCH)))
+-PRELIBDIR=$(PREFIX)/lib
+-else
+-PRELIBDIR=$(PREFIX)/lib64
+-endif
+-ifeq (s390,$(ARCH))
+-PRELIBDIR=$(PREFIX)/lib
+-endif
+-ifeq (s390x,$(ARCH))
+-PRELIBDIR=$(PREFIX)/lib64
+-endif
+-ifeq (ia64,$(ARCH))
+-PRELIBDIR=$(PREFIX)/lib
+-endif
+-
+-LIBDIR=$(PRELIBDIR)/openais
+-COROSYNCLIBDIR=$(PRELIBDIR)/corosync
+-PKGCONFIGDIR=$(PRELIBDIR)/pkgconfig
++LIBDIR=$(PREFIX)/lib
++COROSYNCLIBDIR=$(PREFIX)/lib
++PKGCONFIGDIR=$(PREFIX)/lib/pkgconfig
+
+
+
+# Do not modify below this line
+
Property changes on: openais/trunk/debian/patches/01_Makefile_inc.dpatch
___________________________________________________________________
Added: svn:executable
+
Added: openais/trunk/debian/patches/02_small_fixes.dpatch
===================================================================
--- openais/trunk/debian/patches/02_small_fixes.dpatch (rev 0)
+++ openais/trunk/debian/patches/02_small_fixes.dpatch 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_SMALL_FIXES.dpatch by <root at lvm1.maurer-it.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: A random patch
+
+ at DPATCH@
+
+--- openais-0.94/test/Makefile.org 2009-04-01 10:31:55.000000000 -0400
++++ openais-0.94/test/Makefile 2009-04-01 10:33:00.000000000 -0400
+@@ -55,7 +55,7 @@
+ testckpt: testckpt.o sa_error.o
+ $(CC) $(LDFLAGS) -o testckpt testckpt.o $(LIBS)
+
+-ckptbench: ckptbench.o
++ckptbench: ckptbench.o sa_error.o
+ $(CC) $(LDFLAGS) -o ckptbench ckptbench.o $(LIBS)
+
+ testlck: testlck.o sa_error.o
Added: openais/trunk/debian/patches/03_lck_segfault_fix.dpatch
===================================================================
--- openais/trunk/debian/patches/03_lck_segfault_fix.dpatch (rev 0)
+++ openais/trunk/debian/patches/03_lck_segfault_fix.dpatch 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_lck_segfault_fix.dpatch by <root at lvm1.maurer-it.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix segmentation fault
+
+ at DPATCH@
+
+--- a/services/lck.c 2009-04-02 03:55:56.000000000 -0400
++++ b/services/lck.c 2009-04-02 03:56:07.000000000 -0400
+@@ -1196,9 +1196,6 @@
+ struct resource_cleanup *resource_cleanup;
+ struct lck_pd *lck_pd = (struct lck_pd *)api->ipc_private_data_get (conn);
+
+- /* DEBUG */
+- log_printf (LOG_LEVEL_NOTICE, "[DEBUG]: resource_cleanup_remove { %s }\n",
+- get_mar_name_t (&resource_cleanup->name));
+
+ for (list = lck_pd->resource_cleanup_list.next;
+ list != &lck_pd->resource_cleanup_list;
+@@ -1207,6 +1204,11 @@
+ resource_cleanup = list_entry (list, struct resource_cleanup, list);
+
+ if (resource_cleanup->resource_handle == resource_handle) {
++
++ /* DEBUG */
++ log_printf (LOG_LEVEL_NOTICE, "[DEBUG]: resource_cleanup_remove { %s }\n",
++ get_mar_name_t (&resource_cleanup->name));
++
+ list_del (&resource_cleanup->list);
+ free (resource_cleanup);
+ return;
Added: openais/trunk/debian/rules
===================================================================
--- openais/trunk/debian/rules (rev 0)
+++ openais/trunk/debian/rules 2011-01-13 05:22:06 UTC (rev 5369)
@@ -0,0 +1,103 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+#
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+ ./configure $(CROSS) --prefix=/usr --sysconfdir=/etc --mandir=\$${prefix}/share/man --localstatedir=/var --infodir=\$${prefix}/share/info --with-lcrso-dir=\$${prefix}/lib/lcrso CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+build: build-stamp
+build-stamp: config.status
+
+ # Add here commands to compile the arch part of the package.
+ #$(MAKE)
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-arch-stamp build-indep-stamp
+
+ # Add here commands to clean up after the build process.
+ [ ! -f Makefile ] || $(MAKE) distclean
+ rm -f config.sub config.guess
+
+ dh_clean
+
+install: install-stamp
+install-stamp: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the arch part of the package into
+ # debian/tmp.
+ $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+ dh_install
+ touch $@
+
+
+# Build architecture-dependent files here.
+binary: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+.PHONY: build clean binary install
Property changes on: openais/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+
Added: openais/trunk/openais-1.1.4.orig.tar.gz
===================================================================
(Binary files differ)
Property changes on: openais/trunk/openais-1.1.4.orig.tar.gz
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
More information about the pve-devel
mailing list