severity 687449 serious
flag 687449 + patch
kthxbye
The attached patch fixed bugs #687449 and 693994.
--
Cheers,
Nik
diff -Naupr redmine-1.4.4+dfsg1.old/debian/changelog redmine-1.4.4+dfsg1/debian/changelog
--- redmine-1.4.4+dfsg1.old/debian/changelog 2012-06-18 23:26:08.000000000 +0200
+++ redmine-1.4.4+dfsg1/debian/changelog 2012-11-24 13:31:35.271480189 +0100
@@ -1,3 +1,12 @@
+redmine (1.4.4+dfsg1-2) unstable; urgency=low
+
+ * debian/control: add dependency on rubygems or recent enough ruby
+ (Closes: #693994).
+ * debian/postinst: replace exit status -1 with 2 for shell compatibility
+ (Closes: #687449).
+
+ -- Dominik George <n...@naturalnet.de> Sat, 24 Nov 2012 13:28:10 +0200
+
redmine (1.4.4+dfsg1-1) unstable; urgency=low
* Upstream update.
diff -Naupr redmine-1.4.4+dfsg1.old/debian/control redmine-1.4.4+dfsg1/debian/control
--- redmine-1.4.4+dfsg1.old/debian/control 2012-05-18 16:36:43.000000000 +0200
+++ redmine-1.4.4+dfsg1/debian/control 2012-11-24 13:26:41.522023561 +0100
@@ -16,6 +16,7 @@ Architecture: all
Pre-Depends: debconf
Depends: ruby | ruby-interpreter,
ruby-rails-2.3 (>=2.3.14) | rails (>=2.3.14),
+ rubygems | ruby (>= 4.9),
dbconfig-common,
redmine-sqlite | redmine-mysql | redmine-pgsql,
ruby-rack (>= 1.4.0),
diff -Naupr redmine-1.4.4+dfsg1.old/debian/postinst redmine-1.4.4+dfsg1/debian/postinst
--- redmine-1.4.4+dfsg1.old/debian/postinst 2012-05-14 10:50:14.000000000 +0200
+++ redmine-1.4.4+dfsg1/debian/postinst 2012-11-24 13:30:45.407232926 +0100
@@ -276,7 +276,7 @@ This may take a while."
rake -s db:migrate_plugins RAILS_ENV=$fRailsEnv X_DEBIAN_SITEID="${lInstance}" VERBOSE=$RAKE_VERBOSE || true
else
echo "Error when running rake db:migrate, check database configuration."
- exit -1
+ exit 2
fi
else
echo "Redmine instance \"${lInstance}\" database must be configured manually."