diff -u rabbitmq-server-1.7.2/debian/changelog rabbitmq-server-1.7.2/debian/changelog --- rabbitmq-server-1.7.2/debian/changelog +++ rabbitmq-server-1.7.2/debian/changelog @@ -1,3 +1,11 @@ +rabbitmq-server (1.7.2-1ubuntu1) lucid; urgency=low + + * debian/preinst, debian/rabbitmq-server.templates: Warn user about upgrading from a really old version. + (LP: #506985) + * debian/control: Update maintainer according to spec. + + -- Chuck Short Tue, 30 Mar 2010 23:10:55 -0400 + rabbitmq-server (1.7.2-1) unstable; urgency=low * New upstream release diff -u rabbitmq-server-1.7.2/debian/control rabbitmq-server-1.7.2/debian/control --- rabbitmq-server-1.7.2/debian/control +++ rabbitmq-server-1.7.2/debian/control @@ -1,7 +1,8 @@ Source: rabbitmq-server Section: net Priority: extra -Maintainer: John Leuner +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: John Leuner Build-Depends: cdbs, debhelper (>= 5), erlang-dev, python-simplejson Standards-Version: 3.8.0 only in patch2: unchanged: --- rabbitmq-server-1.7.2.orig/debian/preinst +++ rabbitmq-server-1.7.2/debian/preinst @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +if dpkg --compare-versions "$2" lt 1.6.0; then + db_version 2.0 + + db_input high rabbitmq-server/upgrade_previous || true + db_go || true +fi + +#DEBHELPER# only in patch2: unchanged: --- rabbitmq-server-1.7.2.orig/debian/rabbitmq-server.templates +++ rabbitmq-server-1.7.2/debian/rabbitmq-server.templates @@ -0,0 +1,9 @@ +Template: rabbitmq-server/upgrade_previous +Type: note +Description: Upgrading from 1.5.4 and below. + You are upgrading from a release prior to 1.7.2. When the + RabbitMQ server detects the presence of an old database, it moves it + to a backup location, creates a fresh, empty database, and logs a + warning. If your RabbitMQ installation contains important data then we + recommend you contact support@rabbitmq.com for assistance with the + upgrade.