[magics] 44/63: Convert ksh scripts to bash

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Mar 24 10:41:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository magics.

commit 5348c8a9568a67a23db7b6554edab2b81931e5bd
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Thu Nov 10 23:47:19 2016 +0000

    Convert ksh scripts to bash
---
 debian/changelog            |  6 ++++++
 debian/control              |  3 +--
 debian/patches/rm-ksh.patch | 35 +++++++++++++++++++++++++++++++++++
 debian/patches/series       |  1 +
 4 files changed, 43 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b2f4666..8048be0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+magics++ (2.29.6-2) unstable; urgency=medium
+
+  * Convert ksh scripts to bash
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Thu, 10 Nov 2016 23:47:11 +0000
+
 magics++ (2.29.6-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/control b/debian/control
index 572da88..7d87d6f 100644
--- a/debian/control
+++ b/debian/control
@@ -62,8 +62,7 @@ Package: magics++
 Architecture: any
 Multi-Arch: foreign
 Depends: libmagplus3v5 ( = ${binary:Version} ),
- ${misc:Depends}, ${shlibs:Depends}, ksh | mksh | pdksh | zsh,
- ${python:Depends}
+ ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}
 Description: Executables for the magics++ library
  Magics++ is the latest generation of the ECMWF's Meteorological plotting
  software MAGICS. Although completely redesigned in C++, it is intended to be
diff --git a/debian/patches/rm-ksh.patch b/debian/patches/rm-ksh.patch
new file mode 100644
index 0000000..fb2802b
--- /dev/null
+++ b/debian/patches/rm-ksh.patch
@@ -0,0 +1,35 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Remove ksh, as unsupported in Debian right now
+Last-Updated: 2016-11-13
+Forwarded: not-needed
+
+Index: magics++-2.29.6/apps/MagMLInterpretor/magjson-script.in
+===================================================================
+--- magics++-2.29.6.orig/apps/MagMLInterpretor/magjson-script.in
++++ magics++-2.29.6/apps/MagMLInterpretor/magjson-script.in
+@@ -1,4 +1,4 @@
+-#!/bin/ksh
++#!/bin/sh
+ #set -x
+ 
+ # Platform dependent variables
+Index: magics++-2.29.6/apps/MagMLInterpretor/magml-script.in
+===================================================================
+--- magics++-2.29.6.orig/apps/MagMLInterpretor/magml-script.in
++++ magics++-2.29.6/apps/MagMLInterpretor/magml-script.in
+@@ -1,4 +1,4 @@
+-#!/bin/ksh
++#!/bin/sh
+ #set -x
+ 
+ # Platform dependent variables
+Index: magics++-2.29.6/apps/metgram/metgram-script.in
+===================================================================
+--- magics++-2.29.6.orig/apps/metgram/metgram-script.in
++++ magics++-2.29.6/apps/metgram/metgram-script.in
+@@ -1,4 +1,4 @@
+-#!/bin/ksh
++#!/bin/sh
+ #set -x
+ 
+ # Platform dependent variables
diff --git a/debian/patches/series b/debian/patches/series
index 4b600a5..734381f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ pkgconfig-fix.patch
 cmake-config.patch
 unique-ptr.patch
 numpy-fixes.patch
+rm-ksh.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/magics.git



More information about the debian-science-commits mailing list