summaryrefslogtreecommitdiff
path: root/packaging/debs
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert@lshift.net>2008-12-12 03:21:10 +0000
committerHubert Plociniczak <hubert@lshift.net>2008-12-12 03:21:10 +0000
commite20c21acb5b5bb5e50f2114f1b0f8f07261d6b36 (patch)
tree709620f3d7af8db5a966e21c677a122758407470 /packaging/debs
parent0c7695eebbd98dafc0ebd2cce7dea81bd7e75abb (diff)
downloadrabbitmq-server-git-e20c21acb5b5bb5e50f2114f1b0f8f07261d6b36.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/control2
-rw-r--r--packaging/debs/Debian/debian/po/POTFILES.in1
-rw-r--r--packaging/debs/Debian/debian/po/templates.pot53
-rw-r--r--packaging/debs/Debian/debian/preinst.ex37
-rw-r--r--packaging/debs/Debian/debian/prerm.ex40
-rw-r--r--packaging/debs/Debian/debian/templates16
6 files changed, 65 insertions, 84 deletions
diff --git a/packaging/debs/Debian/debian/control b/packaging/debs/Debian/debian/control
index f6761713dd..99177d0e2a 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 0000000000..cef83a3407
--- /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 0000000000..379e221cb5
--- /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 044ce6ba02..0000000000
--- 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 c74dc32555..0000000000
--- 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 da63cae210..2d5acc155e 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: