Skip to contentSkip to conversation

Add smstools3 http://smstools3.kekekasvi.com to meta-oe recipes-connectivity.

PATCH In review Kai Ulrich 3 participants 4 messages Mar 16, 2015 – Mar 17, 2015

lore
Share & tools
lore

Kai Ulrich

author
#0 lore raw

PATCH 1/1 Add smstools3 http://smstools3.kekekasvi.com to meta-oe recipes-connectivity.

From: kulrich <[email protected]>

---
 .../smstools3/sms_binpath_and_psops.patch          | 19 ++++++++++
 .../smstools3/smstools3_3.1.15.bb                  | 44 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch
 create mode 100644 meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb
meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch new file +19 -0
new file mode 100644
index 0000000..ffcaa09
@@ -0,0 +1,19 @@
+Index: smstools3/scripts/sms3
+===================================================================
+--- smstools3.orig/scripts/sms3	2010-05-04 11:21:44.000000000 +0200
++++ smstools3/scripts/sms3	2015-02-22 20:05:51.615074469 +0100
+@@ -24,11 +24,11 @@
+ # Logfile can also be defined in here:
+ LOGFILE="/var/log/smsd.log"
+ 
+-DAEMON=/usr/local/bin/smsd
++DAEMON=/usr/bin/smsd
+ # A program which turns power off for couple of seconds:
+-RESETMODEMS=/usr/local/bin/smsd_resetmodems
++RESETMODEMS=/usr/bin/smsd_resetmodems
+ NAME=smsd
+-PSOPT="-e"
++PSOPT=""
+ ECHO=echo
+ case `uname` in
+   *BSD|Darwin)
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +44 -0

44 lines not on this page · raw message

Signature · 1 line
1.9.1
#1 lore raw

subject should start with smstools3:

Quoted 41 lines · Kai Ulrich

From: kulrich <[email protected]>

---
 .../smstools3/sms_binpath_and_psops.patch          | 19 ++++++++++
 .../smstools3/smstools3_3.1.15.bb                  | 44 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch
 create mode 100644 meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb
meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch new file +19 -0
new file mode 100644
index 0000000..ffcaa09
@@ -0,0 +1,19 @@
+Index: smstools3/scripts/sms3
+===================================================================
+--- smstools3.orig/scripts/sms3	2010-05-04 11:21:44.000000000 +0200
++++ smstools3/scripts/sms3	2015-02-22 20:05:51.615074469 +0100
+@@ -24,11 +24,11 @@
+ # Logfile can also be defined in here:
+ LOGFILE="/var/log/smsd.log"
+ 
+-DAEMON=/usr/local/bin/smsd
++DAEMON=/usr/bin/smsd
+ # A program which turns power off for couple of seconds:
+-RESETMODEMS=/usr/local/bin/smsd_resetmodems
++RESETMODEMS=/usr/bin/smsd_resetmodems
+ NAME=smsd
+-PSOPT="-e"
++PSOPT=""
+ ECHO=echo
+ case `uname` in
+   *BSD|Darwin)
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +0 -0
new file mode 100644
index 0000000..55a2583

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb line 1

Quoted 1 line
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +1 -0
@@ -0,0 +1,44 @@
+SUMMARY = "The SMS Server Tools 3 is a SMS Gateway software which can send and receive short messages through GSM modems and mobile phones."

SUMMARY should be short, split to SUMMARY and DESCRIPTION.

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb line 7

Quoted 6 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +6 -0
+SECTION = "network"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4d21efa1bb2a186360dde4035f860682"
+HOMEPAGE = "http://smstools3.kekekasvi.com"
+
+SRC_URI = "http://smstools3.kekekasvi.com/packages/${PN}-${PV}.tar.gz \

${PN}-${PV} -> ${BP}

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb line 16

Quoted 9 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +9 -0
+           file://sms_binpath_and_psops.patch"
+
+SRC_URI[md5sum] = "0241ef60e646fac1a06254a848e61ed7"
+SRC_URI[sha256sum] = "ed00ffaeaa312a5b4f969f4e97a64603a866bbe16e393ea02f5bf05234814d59"
+
+
+S = "${WORKDIR}/${PN}"
+
+RDEPENDS_${PN} = " bash "

drop unnecessary spaces around bash.

Quoted 36 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +28 -0
+INITSCRIPT_NAME = "sms3"
+INITSCRIPT_PARAMS = "defaults"
+
+inherit update-rc.d
+
+do_install () {
+	
+	install -d ${D}${bindir}	
+	install -m 755 ${S}/src/smsd "${D}${bindir}/smsd"
+	
+	install -m 755 ${S}/scripts/sendsms "${D}${bindir}/sendsms"
+	install -m 755 ${S}/scripts/sms2html "${D}${bindir}/sms2html"
+	install -m 755 ${S}/scripts/sms2unicode "${D}${bindir}/sms2unicode" 
+	install -m 755 ${S}/scripts/unicode2sms "${D}${bindir}/unicode2sms"
+
+	install -d ${D}${sysconfdir}	
+	install -m 644 ${S}/examples/smsd.conf.easy "${D}${sysconfdir}/smsd.conf"
+
+	install -d "${D}${localstatedir}/spool"
+	install -d "${D}${localstatedir}/spool/sms"
+	install -d "${D}${localstatedir}/spool/sms/incoming"
+	install -d "${D}${localstatedir}/spool/sms/outgoing"
+	install -d "${D}${localstatedir}/spool/sms/checked"
+
+	install -d ${D}${sysconfdir}/init.d
+	install -m 755 ${S}/scripts/sms3 "${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}"
+
+}
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw

Also does this belong in meta-telephony?

Philip

Quoted 109 lines · Martin Jansa

subject should start with smstools3:

Quoted 41 lines · Kai Ulrich

From: kulrich <[email protected]>

---
 .../smstools3/sms_binpath_and_psops.patch          | 19 ++++++++++
 .../smstools3/smstools3_3.1.15.bb                  | 44 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch
 create mode 100644 meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb
meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch new file +19 -0
new file mode 100644
index 0000000..ffcaa09
@@ -0,0 +1,19 @@
+Index: smstools3/scripts/sms3
+===================================================================
+--- smstools3.orig/scripts/sms3	2010-05-04 11:21:44.000000000 +0200
++++ smstools3/scripts/sms3	2015-02-22 20:05:51.615074469 +0100
+@@ -24,11 +24,11 @@
+ # Logfile can also be defined in here:
+ LOGFILE="/var/log/smsd.log"
+ 
+-DAEMON=/usr/local/bin/smsd
++DAEMON=/usr/bin/smsd
+ # A program which turns power off for couple of seconds:
+-RESETMODEMS=/usr/local/bin/smsd_resetmodems
++RESETMODEMS=/usr/bin/smsd_resetmodems
+ NAME=smsd
+-PSOPT="-e"
++PSOPT=""
+ ECHO=echo
+ case `uname` in
+   *BSD|Darwin)
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +0 -0
new file mode 100644
index 0000000..55a2583

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb line 1

Quoted 1 line
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +1 -0
@@ -0,0 +1,44 @@
+SUMMARY = "The SMS Server Tools 3 is a SMS Gateway software which can send and receive short messages through GSM modems and mobile phones."

SUMMARY should be short, split to SUMMARY and DESCRIPTION.

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb line 7

Quoted 6 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +6 -0
+SECTION = "network"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4d21efa1bb2a186360dde4035f860682"
+HOMEPAGE = "http://smstools3.kekekasvi.com"
+
+SRC_URI = "http://smstools3.kekekasvi.com/packages/${PN}-${PV}.tar.gz \

${PN}-${PV} -> ${BP}

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb line 16

Quoted 9 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +9 -0
+           file://sms_binpath_and_psops.patch"
+
+SRC_URI[md5sum] = "0241ef60e646fac1a06254a848e61ed7"
+SRC_URI[sha256sum] = "ed00ffaeaa312a5b4f969f4e97a64603a866bbe16e393ea02f5bf05234814d59"
+
+
+S = "${WORKDIR}/${PN}"
+
+RDEPENDS_${PN} = " bash "

drop unnecessary spaces around bash.

Quoted 36 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +28 -0
+INITSCRIPT_NAME = "sms3"
+INITSCRIPT_PARAMS = "defaults"
+
+inherit update-rc.d
+
+do_install () {
+	
+	install -d ${D}${bindir}	
+	install -m 755 ${S}/src/smsd "${D}${bindir}/smsd"
+	
+	install -m 755 ${S}/scripts/sendsms "${D}${bindir}/sendsms"
+	install -m 755 ${S}/scripts/sms2html "${D}${bindir}/sms2html"
+	install -m 755 ${S}/scripts/sms2unicode "${D}${bindir}/sms2unicode" 
+	install -m 755 ${S}/scripts/unicode2sms "${D}${bindir}/unicode2sms"
+
+	install -d ${D}${sysconfdir}	
+	install -m 644 ${S}/examples/smsd.conf.easy "${D}${sysconfdir}/smsd.conf"
+
+	install -d "${D}${localstatedir}/spool"
+	install -d "${D}${localstatedir}/spool/sms"
+	install -d "${D}${localstatedir}/spool/sms/incoming"
+	install -d "${D}${localstatedir}/spool/sms/outgoing"
+	install -d "${D}${localstatedir}/spool/sms/checked"
+
+	install -d ${D}${sysconfdir}/init.d
+	install -m 755 ${S}/scripts/sms3 "${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}"
+
+}
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
author
#3 lore raw

Well, smstools3 main-feature is a smsgateway.
Gammu SMSD provides similar functionality and is located recipes-connectivity.
So if somebody is looking for these features, both alternatives are located in the same place.
So we might move Gammu as well?

2015-03-17 13:44 GMT+01:00 Philip Balister <[email protected]>:

Quoted 129 lines

Also does this belong in meta-telephony?

Philip

Quoted 10 lines · Martin Jansa

subject should start with smstools3:

Quoted 6 lines · Kai Ulrich

From: kulrich <[email protected]>

---
 .../smstools3/sms_binpath_and_psops.patch          | 19 ++++++++++
 .../smstools3/smstools3_3.1.15.bb                  | 44

++++++++++++++++++++++

Quoted 2 lines
Quoted 2 lines
 2 files changed, 63 insertions(+)
 create mode 100644

meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch

Quoted 1 line
Quoted 1 line
 create mode 100644 meta-oe/recipes-connectivity/smstools3/

smstools3_3.1.15.bb

Quoted 2 lines
Quoted 2 lines

diff --git

a/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch b/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch

Quoted 4 lines
Quoted 4 lines

new file mode 100644
index 0000000..ffcaa09
--- /dev/null
+++

b/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch

Quoted 13 lines
Quoted 13 lines
meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch new file +12 -0
@@ -0,0 +1,19 @@
+Index: smstools3/scripts/sms3
+===================================================================
+--- smstools3.orig/scripts/sms3     2010-05-04 11:21:44.000000000 +0200
++++ smstools3/scripts/sms3  2015-02-22 20:05:51.615074469 +0100
+@@ -24,11 +24,11 @@
+ # Logfile can also be defined in here:
+ LOGFILE="/var/log/smsd.log"
+
+-DAEMON=/usr/local/bin/smsd
++DAEMON=/usr/bin/smsd
+ # A program which turns power off for couple of seconds:
+-RESETMODEMS=/usr/local/bin/smsd_resetmodems
Quoted 8 lines

Review

Quoted 8 lines
meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch new file +7 -0
++RESETMODEMS=/usr/bin/smsd_resetmodems
+ NAME=smsd
+-PSOPT="-e"
++PSOPT=""
+ ECHO=echo
+ case `uname` in
+   *BSD|Darwin)
(quoted diff) +0 -0

b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb

Quoted 6 lines

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb line 1

Quoted 6 lines

new file mode 100644
index 0000000..55a2583

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +1 -0
@@ -0,0 +1,44 @@
+SUMMARY = "The SMS Server Tools 3 is a SMS Gateway software which can

send and receive short messages through GSM modems and mobile phones."

Quoted 6 lines

SUMMARY should be short, split to SUMMARY and DESCRIPTION.

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb

Quoted 3 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +3 -0
+SECTION = "network"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=4d21efa1bb2a186360dde4035f860682"

Quoted 3 lines

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb

Quoted 3 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +3 -0
+HOMEPAGE = "http://smstools3.kekekasvi.com"
+
+SRC_URI = "http://smstools3.kekekasvi.com/packages/${PN}-${PV}.tar.gz

\

Quoted 7 lines

${PN}-${PV} -> ${BP}

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb

Quoted 4 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +4 -0
+           file://sms_binpath_and_psops.patch"
+
+SRC_URI[md5sum] = "0241ef60e646fac1a06254a848e61ed7"
+SRC_URI[sha256sum] =

"ed00ffaeaa312a5b4f969f4e97a64603a866bbe16e393ea02f5bf05234814d59"

Quoted 17 lines

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb line 16

Quoted 5 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +5 -0
+
+
+S = "${WORKDIR}/${PN}"
+
+RDEPENDS_${PN} = " bash "

drop unnecessary spaces around bash.

Quoted 9 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +9 -0
+INITSCRIPT_NAME = "sms3"
+INITSCRIPT_PARAMS = "defaults"
+
+inherit update-rc.d
+
+do_install () {
+
+    install -d ${D}${bindir}
+    install -m 755 ${S}/src/smsd "${D}${bindir}/smsd"
Quoted 8 lines

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb

Quoted 8 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +8 -0
+
+    install -m 755 ${S}/scripts/sendsms "${D}${bindir}/sendsms"
+    install -m 755 ${S}/scripts/sms2html "${D}${bindir}/sms2html"
+    install -m 755 ${S}/scripts/sms2unicode "${D}${bindir}/sms2unicode"
+    install -m 755 ${S}/scripts/unicode2sms "${D}${bindir}/unicode2sms"
+
+    install -d ${D}${sysconfdir}
+    install -m 644 ${S}/examples/smsd.conf.easy

"${D}${sysconfdir}/smsd.conf"

Quoted 9 lines

meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb

Quoted 9 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +9 -0
+
+    install -d "${D}${localstatedir}/spool"
+    install -d "${D}${localstatedir}/spool/sms"
+    install -d "${D}${localstatedir}/spool/sms/incoming"
+    install -d "${D}${localstatedir}/spool/sms/outgoing"
+    install -d "${D}${localstatedir}/spool/sms/checked"
+
+    install -d ${D}${sysconfdir}/init.d
+    install -m 755 ${S}/scripts/sms3

"${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}"

Quoted 13 lines
Quoted 10 lines
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +2 -1
+
+}
--

1.9.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel