diff options
author | Hubert Plociniczak <hubert@lshift.net> | 2008-12-12 03:21:10 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert@lshift.net> | 2008-12-12 03:21:10 +0000 |
commit | 0e668514ab71b9ddeedb1eb428f8dd74d4ac738f (patch) | |
tree | 709620f3d7af8db5a966e21c677a122758407470 /packaging/debs | |
parent | 709e5f70b73618465a7916575cdf1c9195788d1a (diff) | |
download | rabbitmq-server-0e668514ab71b9ddeedb1eb428f8dd74d4ac738f.tar.gz |
Added po-debconf support to satisfy translated debconf
requirement. See man po-debconf for details.
Fixed minor warnings given by lintian.
Diffstat (limited to 'packaging/debs')
-rw-r--r-- | packaging/debs/Debian/debian/control | 2 | ||||
-rw-r--r-- | packaging/debs/Debian/debian/po/POTFILES.in | 1 | ||||
-rw-r--r-- | packaging/debs/Debian/debian/po/templates.pot | 53 | ||||
-rw-r--r-- | packaging/debs/Debian/debian/preinst.ex | 37 | ||||
-rw-r--r-- | packaging/debs/Debian/debian/prerm.ex | 40 | ||||
-rw-r--r-- | packaging/debs/Debian/debian/templates | 16 |
6 files changed, 65 insertions, 84 deletions
diff --git a/packaging/debs/Debian/debian/control b/packaging/debs/Debian/debian/control index f6761713..99177d0e 100644 --- a/packaging/debs/Debian/debian/control +++ b/packaging/debs/Debian/debian/control @@ -3,7 +3,7 @@ Section: net Priority: extra Maintainer: Tony Garnock-Jones <tonyg@rabbitmq.com> Build-Depends: cdbs, debhelper (>= 5), erlang-nox, erlang-dev, python-simplejson -Standards-Version: 3.7.2 +Standards-Version: 3.7.3 Package: rabbitmq-server Architecture: all diff --git a/packaging/debs/Debian/debian/po/POTFILES.in b/packaging/debs/Debian/debian/po/POTFILES.in new file mode 100644 index 00000000..cef83a34 --- /dev/null +++ b/packaging/debs/Debian/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/packaging/debs/Debian/debian/po/templates.pot b/packaging/debs/Debian/debian/po/templates.pot new file mode 100644 index 00000000..379e221c --- /dev/null +++ b/packaging/debs/Debian/debian/po/templates.pot @@ -0,0 +1,53 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: Source: rabbitmq-server@packages.debian.org\n" +"POT-Creation-Date: 2008-12-12 03:14+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "Schema changed" +msgstr "" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The RabbitMQ database schema has changed. If your RabbitMQ database contains " +"important data, such as user accounts, durable exchanges and queues, or " +"persistent messages, then it is recommended to contact support@rabbitmq.com " +"for assistance with the upgrade. If you want to experiment with the new " +"version in the meantime, simply move the database directory to a safe place. " +"In all other cases just remove the directory." +msgstr "" + +#. Type: select +#. Choices +#: ../templates:2001 +msgid "Moved, Deleted, Kept (WILL BREAK)" +msgstr "" + +#. Type: select +#. Description +#: ../templates:2002 +msgid "The old RabbitMQ database directory should be:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:3001 +msgid "Directory where the old RabbitMQ database should be moved:" +msgstr "" diff --git a/packaging/debs/Debian/debian/preinst.ex b/packaging/debs/Debian/debian/preinst.ex deleted file mode 100644 index 044ce6ba..00000000 --- a/packaging/debs/Debian/debian/preinst.ex +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# preinst script for rabbitmq -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <new-preinst> `install' -# * <new-preinst> `install' <old-version> -# * <new-preinst> `upgrade' <old-version> -# * <old-preinst> `abort-upgrade' <new-version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - install|upgrade) - ;; - - abort-upgrade) - ;; - - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff --git a/packaging/debs/Debian/debian/prerm.ex b/packaging/debs/Debian/debian/prerm.ex deleted file mode 100644 index c74dc325..00000000 --- a/packaging/debs/Debian/debian/prerm.ex +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# prerm script for rabbitmq -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <prerm> `remove' -# * <old-prerm> `upgrade' <new-version> -# * <new-prerm> `failed-upgrade' <old-version> -# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> -# * <deconfigured's-prerm> `deconfigure' `in-favour' -# <package-being-installed> <version> `removing' -# <conflicting-package> <version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove|upgrade|deconfigure) - ;; - - failed-upgrade) - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff --git a/packaging/debs/Debian/debian/templates b/packaging/debs/Debian/debian/templates index da63cae2..2d5acc15 100644 --- a/packaging/debs/Debian/debian/templates +++ b/packaging/debs/Debian/debian/templates @@ -1,16 +1,20 @@ Template: rabbitmq-server/mnesia-dir-note Type: note -Description: Schema changed - The RabbitMQ database schema has changed. If your RabbitMQ database contains important data, such as user accounts, durable exchanges and queues, or persistent messages, then it is recommended to contact support@rabbitmq.com for assistance with the upgrade. If you want to experiment with the new version in the meantime, simply move the database directory to a safe place. In all other cases just remove the directory. - +_Description: Schema changed + The RabbitMQ database schema has changed. If your RabbitMQ database + contains important data, such as user accounts, durable exchanges and + queues, or persistent messages, then it is recommended to contact + support@rabbitmq.com for assistance with the upgrade. If you want to + experiment with the new version in the meantime, simply move the database + directory to a safe place. In all other cases just remove the directory. Template: rabbitmq-server/do-what-with-mnesia-dir Type: select -Choices: Moved, Deleted, Kept (WILL BREAK) +_Choices: Moved, Deleted, Kept (WILL BREAK) Default: Moved -Description: The old RabbitMQ database directory should be: +_Description: The old RabbitMQ database directory should be: Template: rabbitmq-server/move-mnesia-dir-where Type: string Default: /var/lib/rabbitmq/mnesia-old/ -Description: Directory where the old RabbitMQ database should be moved: +_Description: Directory where the old RabbitMQ database should be moved: |