--- corosync-1.1.2.orig/debian/copyright +++ corosync-1.1.2/debian/copyright @@ -0,0 +1,82 @@ +This is the Ubuntu / Debian GNU/Linux prepackaged version of corosync. + +Mainly packaged by Fabio M. Di Nitto . + +It was downloaded from http://corosync.org + +Upstream Authors: + + Steven Dake + Christine Caulfield + Fabien Thomas + Hans Feldt + Angus Salkeld + Lon Hohberger + Fabio Di Nitt + Jim Meyering + Andrew Beekhof + Dave Teigland + Jan Friesse + Jérôme Flesch + +Copyright: + + These companies hold copyrights on parts of the code. Please see the + individual files for detailed copyright information. + + 2002-2006 MontaVista Software, Inc + 2005-2009 Red Hat, Inc. + 2008 Allied Telesis Labs NZ + 2006 Steven Dake (sdake@redhat.com) + 1996 Bob Jenkins + 2003 David S. Miller + +License: + + *** + 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). + *** + + All files unless noted otherwise: + + This software licensed under BSD license. On Debian systems, the + complete text of the BSD License can be found in + `/usr/share/common-licenses/BSD'. + + exec/crypto.c: + exec/crypto.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 + + include/corosync/jhash.h: + + /* Copyright (C) 1996 Bob Jenkins (bob_jenkins@burtleburtle.net) + * + * http://burtleburtle.net/bob/hash/ + * + * These are the credits from Bob's sources: + * + * lookup2.c, by Bob Jenkins, December 1996, Public Domain. + * hash(), hash2(), hash3, and mix() are externally useful functions. + * Routines to test the hash are included if SELF_TEST is defined. + * You can use this free for any purpose. It has no warranty. + * + * Copyright (C) 2003 David S. Miller (davem@redhat.com) + * + * I've modified Bob's hash to be useful in the Linux kernel, and + * any bugs present are surely my fault. -DaveM + */ + + --- corosync-1.1.2.orig/debian/corosync.examples +++ corosync-1.1.2/debian/corosync.examples @@ -0,0 +1 @@ +conf/* --- corosync-1.1.2.orig/debian/control +++ corosync-1.1.2/debian/control @@ -0,0 +1,88 @@ +Source: corosync +Section: admin +Priority: optional +Maintainer: Debian HA Maintainers +Uploaders: Martin Gerhard Loschwitz , Guido Günther +Standards-Version: 3.8.3 +Build-Depends: debhelper (>> 5), libnss3-dev, pkg-config, groff, quilt +Vcs-Git: git://git.debian.org/debian-ha/corosync.git +Vcs-Browser: http://git.debian.org/?p=debian-ha/corosync.git;a=summary + +Package: corosync +Section: admin +Architecture: any +Depends: ${shlibs:Depends}, lsb-base (>= 3.0-6), libcorosync4 (>= ${binary:Verson}), adduser +Conflicts: openais (<< 0.85), openais-legacy (<< 1.0.0) +Description: Standards-based cluster framework (daemon and modules) + The corosync project is a project to implement a production quality + "Revised BSD" licensed implementation of all core functionalities + required by openais. 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. + . + This package contains the corosync daemon and modules. + +Package: corosync-dbg +Section: debug +Priority: extra +Architecture: any +Depends: ${shlibs:Depends}, libcorosync4 (= ${binary:Version}), + corosync (= ${binary:Version}) +Description: Standards-based cluster framework (debugging symbols) + The corosync project is a project to implement a production quality + "Revised BSD" licensed implementation of all core functionalities + required by openais. 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. + . + This package contains the debug information. + +Package: libcorosync4 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libopenais2 (<< 0.85) +Description: Standards-based cluster framework (libraries) + The corosync project is a project to implement a production quality + "Revised BSD" licensed implementation of all core functionalities + required by openais. 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. + . + This package contains libraries that should be used by corosync clients. + +Package: libcorosync-dev +Section: libdevel +Architecture: any +Depends: libcorosync4 (= ${binary:Version}) +Conflicts: libopenais-dev (<< 0.85), libopenais-legacy-dev (<< 1.0.0) +Description: Standards-based cluster framework (developer files) + The corosync project is a project to implement a production quality + "Revised BSD" licensed implementation of all core functionalities + required by openais. 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. + . + This package contains header files required to build clients for the + corosync infrastructure. + --- corosync-1.1.2.orig/debian/corosync.postinst +++ corosync-1.1.2/debian/corosync.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +# we need ais user + +if [ "$1" = "configure" ]; then + adduser --quiet --group --system --no-create-home ais +fi + +#DEBHELPER# --- corosync-1.1.2.orig/debian/corosync.init +++ corosync-1.1.2/debian/corosync.init @@ -0,0 +1,117 @@ +#! /bin/sh +# +### BEGIN INIT INFO +# Provides: corosync +# Required-Start: $network $remote_fs +# Required-Stop: $network $remote_fs +# Default-Start: S +# Default-Stop: 0 1 6 +# Short-Description: corosync cluster framework +### END INIT INFO + +# Author: Fabio M. Di Nitto + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/usr/sbin:/usr/bin:/sbin:/bin +DESC="corosync daemon" +NAME=corosync +DAEMON=/usr/sbin/$NAME +DAEMON_ARGS="" +PIDFILE=/var/run/$NAME.pid +SCRIPTNAME=/etc/init.d/$NAME +PIDFILE=/var/run/corosync.pid + +# Exit if the package is not installed +[ -x "$DAEMON" ] || exit 0 + +# Read configuration variable file if it is present +[ -r /etc/default/corosync ] && . /etc/default/corosync + +if [ "$START" != "yes" ]; then + exit 0 +fi + +# Define LSB log_* functions. +# Depend on lsb-base (>= 3.0-6) to ensure that this file is present. +. /lib/lsb/init-functions + +# +# Function that starts the daemon/service +# +do_start() +{ + # Return + # 0 if daemon has been started + # 1 if daemon was already running + # 2 if daemon could not be started + start-stop-daemon --start --quiet --exec $DAEMON --test > /dev/null \ + || return 1 + start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_ARGS \ + || return 2 + # Add code here, if necessary, that waits for the process to be ready + # to handle requests from services started subsequently which depend + # on this one. As a last resort, sleep for some time. + pidof corosync > $PIDFILE +} + +# +# Function that stops the daemon/service +# +do_stop() +{ + # Return + # 0 if daemon has been stopped + # 1 if daemon was already stopped + # 2 if daemon could not be stopped + # other if a failure occurred + start-stop-daemon --stop --quiet --signal=QUIT --retry=5 --pidfile $PIDFILE + RETVAL="$?" + [ "$RETVAL" = 2 ] && return 2 + # Many daemons don't delete their pidfiles when they exit. + rm -f $PIDFILE + return "$RETVAL" +} + +case "$1" in + start) + log_daemon_msg "Starting $DESC" "$NAME" + do_start + case "$?" in + 0|1) log_end_msg 0 ;; + 2) log_end_msg 1 ;; + esac + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + case "$?" in + 0|1) log_end_msg 0 ;; + 2) log_end_msg 1 ;; + esac + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + case "$?" in + 0|1) + do_start + case "$?" in + 0) log_end_msg 0 ;; + 1) log_end_msg 1 ;; # Old process is still running + *) log_end_msg 1 ;; # Failed to start + esac + ;; + *) + # Failed to stop + log_end_msg 1 + ;; + esac + ;; + *) + #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 + exit 3 + ;; +esac + +: --- corosync-1.1.2.orig/debian/changelog +++ corosync-1.1.2/debian/changelog @@ -0,0 +1,562 @@ +corosync (1.1.2-1) unstable; urgency=low + + * [993b951] Imported Upstream version 1.1.2 + * [899b956] add watch file + + -- Guido Günther Thu, 10 Dec 2009 10:50:11 +0100 + +corosync (1.1.0-2) unstable; urgency=low + + * upload to unstable + * [bd8a0c9] remove unused variables and targets + + -- Guido Günther Sun, 15 Nov 2009 16:21:05 +0100 + +corosync (1.1.0-1) experimental; urgency=low + + * Upload to experimental + * [3cbe5b0] Imported Upstream version 1.1.0 + * [8d4f362] Drop patches applied upstream + + -- Guido Günther Mon, 05 Oct 2009 20:57:27 +0200 + +corosync (1.0.0-7) unstable; urgency=low + + * [a300993] Conflict on openais (Closes: #549634) + * [00d0531] Conflict openais-legacy-dev (Closes: #549636) + * [64f4fa2] Add missing init script dependency on $remote_fs since we use + files in /usr/. (Closes: #549571) - thanks to Petter Reinholdtsen + + -- Guido Günther Mon, 05 Oct 2009 17:54:22 +0200 + +corosync (1.0.0-6) unstable; urgency=low + + * upload to unstable + * [dbac633] Stop corosync in runlevels 0 and 6 + + -- Guido Günther Sat, 03 Oct 2009 19:10:31 +0200 + +corosync (1.0.0-5) experimental; urgency=low + + [ Ante Karamatić ] + * [8cac11c] fix corodefs for pacemaker + * [2d84b1e] don't install config file as example + * [4cc60fc] Fix patching and cleaning + + [ Guido Günther ] + * [51b386c] install lcrso into default location + * [dbb6b6b] bump standards version + * [53e63e0] add README.source + * [0fb550e] use QUIT to terminate processes uset pidfile to avoid + sending SIGQUIT to the init script itself + * [b8424d7] fix init script logging + + -- Guido Günther Fri, 28 Aug 2009 07:56:27 +0200 + +corosync (1.0.0-4) experimental; urgency=low + + * [5b1180a] fix debian-ha address + * [6d5347e] add Vcs-{Git,Browser} + + -- Guido Günther Tue, 14 Jul 2009 17:49:38 +0200 + +corosync (1.0.0-3) experimental; urgency=low + + * [c235864] add debug package + * [8a65dc8] update copyright information + + -- Guido Günther Sat, 11 Jul 2009 17:05:09 +0200 + +corosync (1.0.0-2) unstable; urgency=low + + * [28b621c] install files in etc/ + * [e506cbc] don't install LICENSE and INSTALL + * [4827444] change maintainer to Debian HA maintainers + * [dff4236] add LSB header to init script + * [aea67b7] use quilt + * [4489e03] add missing NAME entries to manpages + + -- Guido Günther Sat, 11 Jul 2009 13:50:57 +0200 + +corosync (1.0.0-1ubuntu0ivoks2) unstable; urgency=low + + * [28b621c] install files in etc/ + * [e506cbc] don't install LICENSE and INSTALL + * [4827444] change maintainer to Debian HA maintainers + * [dff4236] add LSB header + + -- Guido Günther Sat, 11 Jul 2009 13:37:50 +0200 + +corosync (1.0.0-1ubuntu0ivoks1) karmic; urgency=low + + * debian/rules: + - add configuration switches + - add and install corosync.conf example + - move *.lcrso to /usr/lib/corosync/lcrso/ + + -- Ante Karamatic Fri, 10 Jul 2009 19:32:17 +0200 + +corosync (1.0.0-1) unstable; urgency=low + + * [f5b3b0e] depend on adduser since we create a group in the postinst and + add missing build-dep on libnss3-dev. + * [24bd855] don't ignore errors in postinst + * [7e4833d] Imported Upstream version 1.0.0 + + -- Guido Günther Thu, 09 Jul 2009 14:29:03 +0200 + +corosync (0.100-1) unstable; urgency=low + + * [9c10653] Imported Upstream version 0.100 + * [f8652d9] bump standards version + * [490d6bc] drop all patches + + -- Guido Günther Tue, 07 Jul 2009 13:26:46 +0200 + +corosync (0.98-1) unstable; urgency=low + + * [8de0f26] Imported Upstream version 0.98 + * [421c337] we need groff + * [47bdb6c] drop all patches for now + * [3e2730b] Update build for new upstream version + + -- Guido Günther Mon, 06 Jul 2009 15:35:11 +0200 + +corosync (0.92-0ubuntu3) jaunty; urgency=low + + * Update to trunk svn 1750. + + -- Fabio M. Di Nitto Wed, 28 Jan 2009 14:11:54 +0100 + +corosync (0.92-0ubuntu2.3) jaunty; urgency=low + + * Update to trunk svn 1749. + + -- Fabio M. Di Nitto Tue, 27 Jan 2009 07:25:54 +0100 + +corosync (0.92-0ubuntu2.2) jaunty; urgency=low + + * Update to trunk svn 1738. + + -- Fabio M. Di Nitto Fri, 23 Jan 2009 05:48:30 +0100 + +corosync (0.92-0ubuntu2.1) jaunty; urgency=low + + * Add ckpt forward port and bug fixes. + + -- Fabio M. Di Nitto Wed, 21 Jan 2009 10:42:06 +0100 + +corosync (0.92-0ubuntu2) jaunty; urgency=low + + * Up to svn trunk 1727. + * Remove old OPENAIS_BUILD option in favour of COROSYNC + + -- Fabio M. Di Nitto Wed, 14 Jan 2009 14:33:47 +0100 + +corosync (0.92-0ubuntu1.1) jaunty; urgency=low + + * Fix logging crash. + + -- Fabio M. Di Nitto Wed, 14 Jan 2009 11:25:55 +0100 + +corosync (0.92-0ubuntu1) jaunty; urgency=low + + * New upstream version + svn trunk at 1718. + + -- Fabio M. Di Nitto Tue, 06 Jan 2009 09:50:54 +0100 + +corosync (0.91-0ubuntu2) intrepid; urgency=low + + * Upload to intrepid. Obsolete version in PPA. + + -- Fabio M. Di Nitto Wed, 20 Aug 2008 12:49:16 +0200 + +corosync (0.91-0ubuntu1) intrepid; urgency=low + + * New upstream release. + * Update to svn1659. + + -- Fabio M. Di Nitto Wed, 20 Aug 2008 07:33:14 +0200 + +corosync (0.90-0ubuntu3) intrepid; urgency=low + + * Update to svn trunk at 1631. + + -- Fabio M. Di Nitto Thu, 14 Aug 2008 14:54:15 +0200 + +corosync (0.90-0ubuntu2) intrepid; urgency=low + + * Update to svn trunk at 1629. + * debian/control: update descriptions and dependencies. + * debian/copyright: update upstream location and other bits. + * debian/*: general fixup for binaries split up from openais. + * Move lcrso files to /usr/lib/lcrso (common with new openais). + + -- Fabio M. Di Nitto Wed, 13 Aug 2008 06:31:28 +0200 + +corosync (0.90-0ubuntu1) intrepid; urgency=low + + * New source based on upstream split of the tree into corosync and openais. + + -- Fabio M. Di Nitto Thu, 24 Jul 2008 08:53:47 +0200 + +openais (0.84-0ubuntu2) intrepid; urgency=low + + * Update to latest SVN + + -- Fabio M. Di Nitto Tue, 15 Jul 2008 12:18:03 +0200 + +openais (0.84-0ubuntu1) intrepid; urgency=low + + * New upstream release + + -- Fabio M. Di Nitto Tue, 24 Jun 2008 08:41:53 +0200 + +openais (0.83-1ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - Drop parisc/hppa workaround bits from debian/rules. + - Drop debian/README.Debian. It doesn't apply to Ubuntu. + - Ship and install init script. + - Install logrotate bit. + - Fix lcrso permissions. + + -- Fabio M. Di Nitto Mon, 09 Jun 2008 09:25:11 +0200 + +openais (0.83-1) unstable; urgency=low + + * New upstream version. + * Merge (partially) with Ubuntu: + - Fix dh_* invokation order in debian/rules. + - drop unrequired patches. + - Fix executive startup issue if it can't open a logging file. + - Fix liblogsys linking issues. + - create logrotate script + - add postrm + + -- Frederik Schüler Tue, 03 Jun 2008 22:44:19 +0200 + +openais (0.83-0ubuntu3) intrepid; urgency=low + + * Fix liblogsys linking issues. + + * Fix executive startup issue if it can't open a logging file. + + -- Fabio M. Di Nitto Tue, 20 May 2008 10:02:59 +0200 + +openais (0.83-0ubuntu2) intrepid; urgency=low + + * debian/rules: + - Fix dh_* invokation order. + + -- Fabio M. Di Nitto Tue, 13 May 2008 06:38:08 +0200 + +openais (0.83-0ubuntu1) intrepid; urgency=low + + * New upstream release: + - drop unrequired patches. + + -- Fabio M. Di Nitto Tue, 13 May 2008 05:53:19 +0200 + +openais (0.82-3ubuntu2) hardy; urgency=low + + * New svn snapshot "Getting close to 0.83" release: + - Update patch 000. + - Drop patch 001. Now upstream. + - Drop patch 004 as final decision with upstream. + It will be reintroduced after 1.0 release for the new + development tree. + + -- Fabio M. Di Nitto Mon, 21 Jan 2008 06:54:28 +0100 + +openais (0.82-3ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - Ubuntu maintainer foobar. + - Provide init script for standalone aisexec. + - Run trunk in preparation of 0.83 release. + - debian/rules: add ARCH in build and stamp targets. + - debian/rules: adapt to install trunk. + - debian/rules: chmod lcrso file instead of patching upstream Makefiles. + - provide log rotate bits for aisexec standalone logs. + - debian/patches/: + + use trunk. + + slightly change default conf (required for init scripts). + + increase max rings from 2 to 4. + - drop all debian patches in favours of ubuntu ones as they are + the same, but based on trunk. + + -- Fabio M. Di Nitto Wed, 09 Jan 2008 07:31:36 +0100 + +openais (0.82-3) unstable; urgency=low + + * Fix FTBFS on hppa. + * Update to new standards version. + + -- Frederik Schüler Mon, 24 Dec 2007 23:55:27 +0100 + +openais (0.82-2) unstable; urgency=low + + * Install openais/service/logsys.h + + -- Frederik Schüler Mon, 03 Dec 2007 00:35:46 +0100 + +openais (0.82-1) unstable; urgency=low + + [ Bastian Blank ] + * Drop unnecessary patches. + + [ Frederik Schüler ] + * New upstream release (Closes: #453438) + * Add myself to uploaders. + * Rediff 001_makefile.dpatch + * Drop 002_fix_include_path.dpatch + + -- Frederik Schüler Sun, 02 Dec 2007 15:27:15 +0100 + +openais (0.82-0ubuntu14) hardy; urgency=low + + * Re-enable patch 004. Found the bug in cman and fix is about + to be uploaded. + + -- Fabio M. Di Nitto Wed, 02 Jan 2008 11:34:56 +0100 + +openais (0.82-0ubuntu13) hardy; urgency=low + + * Temporary disable patch 004 introduced in 0.82-0ubuntu7: + Part of the code does not use this value directly but rather some + embedded "version" of it. The result is memory corruption all over + the place. A bug has been filed upstream. + + -- Fabio M. Di Nitto Tue, 01 Jan 2008 06:55:48 +0100 + +openais (0.82-0ubuntu12) hardy; urgency=low + + * Update patch 001: re-add call to log_printf + error_string. + The bug was triggered by bad code in rhcs/cman. + + -- Fabio M. Di Nitto Mon, 31 Dec 2007 06:11:10 +0100 + +openais (0.82-0ubuntu11) hardy; urgency=low + + * Update patch 001 to fix install of EXECLIBS. Doesn't affect packaging. + + * Update patch 001 to remove unsafe call to log_printf + error_string. + + * Update patch 001 to better handle close of file descriptors. + + * debian/rules: add $ARCH to build and stamp dirs. Very helpful when + building on several arches at the same time. + + -- Fabio M. Di Nitto Sun, 30 Dec 2007 09:40:18 +0100 + +openais (0.82-0ubuntu10) hardy; urgency=low + + * Fix once again closing of fd's upstream borkage. + + -- Fabio M. Di Nitto Mon, 24 Dec 2007 07:58:57 +0100 + +openais (0.82-0ubuntu9) hardy; urgency=low + + * Add workaround to build on hppa/parisc by reducing the optimization + to -O1. Both -O2 and -O3 trigger a gcc ICE. + + -- Fabio M. Di Nitto Sun, 23 Dec 2007 08:43:26 +0100 + +openais (0.82-0ubuntu8) hardy; urgency=low + + * Also install openais-cfgtool. + + -- Soren Hansen Fri, 14 Dec 2007 13:13:40 +0100 + +openais (0.82-0ubuntu7) hardy; urgency=low + + [ Fabio M. Di Nitto ] + * Update to SVN trunk in preparation of 0.83. + * rediff all patches. + + [ Soren Hansen ] + * 004_increase_max_rings.dpatch: Increase INTERFACE_MAX to 4 (LP: #176299) + Thanks Fabio! + + -- Soren Hansen Fri, 14 Dec 2007 09:34:53 +0100 + +openais (0.82-0ubuntu6) hardy; urgency=low + + * Add patch to fix closing fd's in daemonized mode. + + -- Fabio M. Di Nitto Tue, 30 Oct 2007 08:20:58 +0100 + +openais (0.82-0ubuntu5) hardy; urgency=low + + * Switch to trunk as 0.83 is about to be released. + + -- Fabio M. Di Nitto Tue, 30 Oct 2007 06:21:31 +0100 + +openais (0.82-0ubuntu4) hardy; urgency=low + + * Add one more case for RH bugzilla 314641. + + -- Fabio M. Di Nitto Mon, 29 Oct 2007 20:20:51 +0100 + +openais (0.82-0ubuntu3) hardy; urgency=low + + * Add fix for RH bugzilla 314641. + + -- Fabio M. Di Nitto Mon, 29 Oct 2007 19:06:02 +0100 + +openais (0.82-0ubuntu2) hardy; urgency=low + + * Add missing 001_Makefile patch. + + -- Fabio M. Di Nitto Wed, 24 Oct 2007 05:49:36 +0200 + +openais (0.82-0ubuntu1) hardy; urgency=low + + * Switch to 0.82 release. + + * Sync with Debian - remaining changes: + - debian/control: + + Ubuntu maintainer foobar. + + openais: retain Depends: lsb-base for init script. + - debian/rules: + + chmod 644 *.lcrso + + dh_installinit + + dh_installlogrotate + + define STATICLIBS=yes in install target + - debian/openais.install: + + etc/ais + - debian/openais.{default,dirs,init,logrotate,postinst,postrm}: + + required for the overall init system not shipped in Debian + - debian/patches: + + 000_for_upstream: required to install 0.82 properly (pushed) + + 001_makefile: different from debian and resynced for 0.82 + + 003_default_conf: fix default conf to match FHS (not in Debian) + + -- Fabio M. Di Nitto Mon, 22 Oct 2007 05:37:06 +0200 + +openais (0.81-1) unstable; urgency=low + + * Initial Release (closes: #421816). + - Pull tarball from Ubuntu. + + -- Bastian Blank Thu, 07 Jun 2007 10:21:43 +0200 + +openais (0.81-0ubuntu5) gutsy; urgency=low + + * Import a bunch of bugfixes from svn trunk. + + -- Fabio M. Di Nitto Mon, 01 Oct 2007 04:47:48 +0200 + +openais (0.81-0ubuntu4) gutsy; urgency=low + + * Switch to trunk (r1384) + + -- Fabio M. Di Nitto Tue, 22 May 2007 07:01:39 +0200 + +openais (0.81-0ubuntu3) gutsy; urgency=low + + * Fix include madness with patch reworked with upstream. + + -- Fabio M. Di Nitto Thu, 03 May 2007 16:30:38 +0200 + +openais (0.81-0ubuntu2) gutsy; urgency=low + + * Remove recursive link in /usr/include/openais. It's not required + anylonger. + + -- Fabio M. Di Nitto Thu, 03 May 2007 15:02:37 +0200 + +openais (0.81-0ubuntu1) gutsy; urgency=low + + * New upstream release: + - generated orig.tar.gz from svn export (not available from main download + web site) + - fix openais ../include madness. Add patch 002_fix_include_path.dpatch. + - update patch 003_default_conf.dpatch + + -- Fabio M. Di Nitto Fri, 20 Apr 2007 10:24:58 +0200 + +openais (0.80.2-0ubuntu1) feisty; urgency=low + + * New upstream release from whitetank branch. + + -- Fabio M. Di Nitto Wed, 10 Jan 2007 07:16:50 +0100 + +openais (0.80.1-0ubuntu2) feisty; urgency=low + + * Update from svn whitetank branch (r1284). + + -- Fabio M. Di Nitto Mon, 23 Oct 2006 07:45:10 +0200 + +openais (0.80.1-0ubuntu1) edgy; urgency=low + + * New upstream release. Exception granted by Matt Zimmerman. + (Closes Ubuntu: #61854) + + * Fix debian/rules to not remove wrong files. + + * Fix clean target in test/Makefile and lib/Makefile. + + -- Fabio M. Di Nitto Wed, 27 Sep 2006 18:57:12 +0200 + +openais (0.79-0ubuntu6) edgy; urgency=low + + * Update to whitetank stable branch. + + -- Fabio M. Di Nitto Tue, 22 Aug 2006 10:06:14 +0200 + +openais (0.79-0ubuntu5) edgy; urgency=low + + * Drop patch 007 to prefer IPv6 over IPv4. cman now tells us what to prefer + according to the select multicast address. + + -- Fabio M. Di Nitto Tue, 25 Jul 2006 09:45:16 +0200 + +openais (0.79-0ubuntu4) edgy; urgency=low + + * Import another big fat bunch of bug fixes from upstream. + + -- Fabio M. Di Nitto Mon, 24 Jul 2006 06:21:17 +0200 + +openais (0.79-0ubuntu3) edgy; urgency=low + + * Fix libopenais2 for good. + + -- Fabio M. Di Nitto Thu, 20 Jul 2006 04:49:28 +0200 + +openais (0.79-0ubuntu2) edgy; urgency=low + + * Fix libopenais-dev Depends. + + -- Fabio M. Di Nitto Thu, 20 Jul 2006 04:36:48 +0200 + +openais (0.79-0ubuntu1) edgy; urgency=low + + * New upstream release: + - bump soname. + - rediff patches. + - UVF exception granted by Colin Watson. + + * Fix init scripts to stop the daemon properly. + + * Add patch to fix ipv6 multicast parsing. + + * Add patch to fix ipv6 resolver order. + + -- Fabio M. Di Nitto Tue, 18 Jul 2006 09:27:20 +0200 + +openais (0.78-0ubuntu2) edgy; urgency=low + + * Wrap call to adduser. + + * Use lsb init scripts. + + -- Fabio M. Di Nitto Mon, 17 Jul 2006 11:49:51 +0200 + +openais (0.78-0ubuntu1) edgy; urgency=low + + * First release. + + -- Fabio M. Di Nitto Fri, 07 Jul 2006 08:23:23 +0200 + --- corosync-1.1.2.orig/debian/corosync.postrm +++ corosync-1.1.2/debian/corosync.postrm @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +if [ "$1" = purge ]; then + rm -rf /var/lib/corosync + rm -rf /var/log/corosync +fi + +#DEBHELPER# --- corosync-1.1.2.orig/debian/corosync.docs +++ corosync-1.1.2/debian/corosync.docs @@ -0,0 +1,6 @@ +README.recovery +SECURITY +AUTHORS +README.devmap +SECURITY +TODO --- corosync-1.1.2.orig/debian/libcorosync-dev.install +++ corosync-1.1.2/debian/libcorosync-dev.install @@ -0,0 +1,5 @@ +usr/include +usr/lib/*.a +usr/lib/*.so +usr/share/man/man3 +usr/lib/pkgconfig --- corosync-1.1.2.orig/debian/watch +++ corosync-1.1.2/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 3; this line is compulsory! +version=3 +ftp://ftp%40corosync%2Eorg:downloads@corosync.org/downloads/corosync-([\d\.]*)/corosync-([\d\.]*)\.tar\.gz --- corosync-1.1.2.orig/debian/corosync.default +++ corosync-1.1.2/debian/corosync.default @@ -0,0 +1,2 @@ +# start corosync at boot [yes|no] +START=no --- corosync-1.1.2.orig/debian/compat +++ corosync-1.1.2/debian/compat @@ -0,0 +1 @@ +5 --- corosync-1.1.2.orig/debian/libcorosync4.install +++ corosync-1.1.2/debian/libcorosync4.install @@ -0,0 +1 @@ +usr/lib/*.so.4* --- corosync-1.1.2.orig/debian/corosync.logrotate +++ corosync-1.1.2/debian/corosync.logrotate @@ -0,0 +1,10 @@ +/var/log/corosync/*.log { + weekly + missingok + rotate 52 + compress + delaycompress + notifempty + create 640 root adm + sharedscripts +} --- corosync-1.1.2.orig/debian/rules +++ corosync-1.1.2/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +STAMPS_DIR = debian/stamps + +export COROSYNC_BUILD=$(if $(findstring debug,$(DEB_BUILD_OPTIONS)),DEBUG,RELEASE) + +configure-stamp: patch + dh_testdir + ./configure --prefix=/usr \ + --libexecdir=/usr/lib/ \ + --localstatedir=/var \ + --sysconfdir=/etc \ + --with-socket-dir=/var/run/corosync + touch configure-stamp + +build: configure-stamp + $(MAKE) + +clean: unpatch + dh_testdir + -$(MAKE) distclean + dh_clean configure-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/ STATICLIBS=YES + dh_install --sourcedir=debian/tmp --list-missing + dh_installchangelogs CHANGELOG + dh_installdirs + dh_installdocs + dh_installexamples + dh_installinit -p corosync -- start 59 S . stop 7 0 1 6 . + dh_installlogrotate + dh_strip --dbg-package=corosync-dbg +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/corosync/usr/lib/lcrso/* +endif + # install example configuration file + cp -ax $(CURDIR)/debian/corosync.example-config $(CURDIR)/debian/corosync/etc/corosync/corosync.conf + dh_compress + chmod 644 debian/corosync/usr/lib/lcrso/*.lcrso + dh_fixperms + dh_makeshlibs -V + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: install + +binary-indep: + +binary: binary-arch binary-indep + --- corosync-1.1.2.orig/debian/corosync.install +++ corosync-1.1.2/debian/corosync.install @@ -0,0 +1,6 @@ +usr/sbin +usr/share/man/man5 +usr/share/man/man8 +usr/lib/lcrso +usr/share/doc/corosync/html/ +etc/corosync/ --- corosync-1.1.2.orig/debian/corosync.example-config +++ corosync-1.1.2/debian/corosync.example-config @@ -0,0 +1,76 @@ +# Please read the openais.conf.5 manual page + +totem { + version: 2 + + # How long before declaring a token lost (ms) + token: 3000 + + # How many token retransmits before forming a new configuration + token_retransmits_before_loss_const: 10 + + # How long to wait for join messages in the membership protocol (ms) + join: 60 + + # How long to wait for consensus to be achieved before starting a new round of membership configuration (ms) + consensus: 1500 + + # Turn off the virtual synchrony filter + vsftype: none + + # Number of messages that may be sent by one processor on receipt of the token + max_messages: 20 + + # Limit generated nodeids to 31-bits (positive signed integers) + clear_node_high_bit: yes + + # Disable encryption + secauth: off + + # How many threads to use for encryption/decryption + threads: 0 + + # Optionally assign a fixed node id (integer) + # nodeid: 1234 + + # This specifies the mode of redundant ring, which may be none, active, or passive. + rrp_mode: none + + interface { + # The following values need to be set based on your environment + ringnumber: 0 + bindnetaddr: 127.0.0.1 + mcastaddr: 226.94.1.1 + mcastport: 5405 + } +} + +amf { + mode: disabled +} + +service { + # Load the Pacemaker Cluster Resource Manager + ver: 0 + name: pacemaker +} + +aisexec { + user: root + group: root +} + +logging { + fileline: off + to_stderr: yes + to_logfile: no + to_syslog: yes + syslog_facility: daemon + debug: off + timestamp: on + logger_subsys { + subsys: AMF + debug: off + tags: enter|leave|trace1|trace2|trace3|trace4|trace6 + } +} --- corosync-1.1.2.orig/debian/corosync.dirs +++ corosync-1.1.2/debian/corosync.dirs @@ -0,0 +1,2 @@ +var/lib/corosync +var/log/corosync --- corosync-1.1.2.orig/debian/README.source +++ corosync-1.1.2/debian/README.source @@ -0,0 +1,6 @@ +Building corosync for Debian +---------------------------- + +The corosync source package uses quilt to apply and remove its patches. Please +refer to /usr/share/doc/quilt/README.source for information about how to use +quilt for source packages.