summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-connectivity/smstools3/smstools3/scripts_no_bash.patch32
-rw-r--r--meta-oe/recipes-connectivity/smstools3/smstools3_3.1.21.bb3
2 files changed, 34 insertions, 1 deletions
diff --git a/meta-oe/recipes-connectivity/smstools3/smstools3/scripts_no_bash.patch b/meta-oe/recipes-connectivity/smstools3/smstools3/scripts_no_bash.patch
new file mode 100644
index 0000000000..f7529d8cb5
--- /dev/null
+++ b/meta-oe/recipes-connectivity/smstools3/smstools3/scripts_no_bash.patch
@@ -0,0 +1,32 @@
1--- smstools3.orig/scripts/sendsms 2006-02-04 11:52:06.000000000 -0800
2+++ smstools3/scripts/sendsms 2017-12-30 15:40:28.009169106 -0800
3@@ -1,4 +1,4 @@
4-#!/bin/bash
5+#!/bin/sh
6 # This script send a text sms at the command line by creating
7 # a sms file in the outgoing queue.
8
9--- smstools3.orig/scripts/sms2html 2006-02-04 11:52:06.000000000 -0800
10+++ smstools3/scripts/sms2html 2017-12-30 15:39:17.496694390 -0800
11@@ -1,4 +1,4 @@
12-#!/bin/bash
13+#!/bin/sh
14
15 # This script converts a received sms file into a html file.
16
17--- smstools3.orig/scripts/sms2unicode 2006-02-04 11:52:06.000000000 -0800
18+++ smstools3/scripts/sms2unicode 2017-12-30 15:33:14.477250179 -0800
19@@ -1,4 +1,4 @@
20-#!/bin/bash
21+#!/bin/sh
22
23 # This script converts a received sms file into a pure unicode text file.
24
25--- smstools3/scripts/unicode2sms 2006-02-04 11:52:06.000000000 -0800
26+++ smstools3/scripts/unicode2sms.new 2017-12-30 15:33:56.918536044 -0800
27@@ -1,4 +1,4 @@
28-#!/bin/bash
29+#!/bin/sh
30
31 # This script converts a pure unicode text file into an sms file for sending.
32
diff --git a/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.21.bb b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.21.bb
index 86c8ede1db..6e6413b4bc 100644
--- a/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.21.bb
+++ b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.21.bb
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4d21efa1bb2a186360dde4035f860682"
6HOMEPAGE = "http://smstools3.kekekasvi.com" 6HOMEPAGE = "http://smstools3.kekekasvi.com"
7 7
8SRC_URI = "http://smstools3.kekekasvi.com/packages/${BP}.tar.gz \ 8SRC_URI = "http://smstools3.kekekasvi.com/packages/${BP}.tar.gz \
9 file://sms_binpath.patch" 9 file://sms_binpath.patch \
10 file://scripts_no_bash.patch"
10 11
11SRC_URI[md5sum] = "6a9f038fb38a49cc3a4f8f14a88fb8af" 12SRC_URI[md5sum] = "6a9f038fb38a49cc3a4f8f14a88fb8af"
12SRC_URI[sha256sum] = "a26ba4c02b16f6cf13177bffca6c9230dc5fefaeba8e3030cd4e4905f6a92084" 13SRC_URI[sha256sum] = "a26ba4c02b16f6cf13177bffca6c9230dc5fefaeba8e3030cd4e4905f6a92084"