smstools3: Add smstools3 to meta-oe/recipes-connectivity
PATCH 1/1 smstools3: Add smstools3 to meta-oe/recipes-connectivity
--- .../smstools3/sms_binpath_and_psops.patch | 19 +++++++++ .../smstools3/smstools3_3.1.15.bb | 45 ++++++++++++++++++++++ 2 files changed, 64 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
@@ -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 +45 -0
45 lines not on this page · raw message
Signature · 1 line
1.9.1
Hi,
So better move it to meta-telephonie?
Any thing more I can do?
Regardes
Kai.
Sent from my mobile
Am 18.03.2015 11:20 schrieb "Kai Ulrich" <[email protected]>:
Quoted 99 lines
Signed-off-by Kai Ulrich <[email protected]>--- .../smstools3/sms_binpath_and_psops.patch | 19 +++++++++ .../smstools3/smstools3_3.1.15.bb | 45 ++++++++++++++++++++++ 2 files changed, 64 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
diff --git
a/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patchb/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patchnew file mode 100644
index 0000000..ffcaa09
---/dev/null
+++b/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patchmeta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch new file +19
-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 ++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 +2
-0@@ -0,0 +1,45 @@ +SUMMARY = "SMS Gateway software" +DESCRIPTION = "The SMS Server Tools 3 is a SMS Gateway software which cansend and receive short messages through GSM modems and mobile phones."
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +10
-0+SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4d21efa1bb2a186360dde4035f860682" +HOMEPAGE = "http://smstools3.kekekasvi.com" + +SRC_URI = "http://smstools3.kekekasvi.com/packages/${BP}.tar.gz \ + file://sms_binpath_and_psops.patch" + +SRC_URI[md5sum] = "0241ef60e646fac1a06254a848e61ed7" +SRC_URI[sha256sum] ="
ed00ffaeaa312a5b4f969f4e97a64603a866bbe16e393ea02f5bf05234814d59"meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +22
-0+ + +S = "${WORKDIR}/${PN}" + +RDEPENDS_${PN} = "bash" +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"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}"
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +2
-1+ +} --1.9.1
Hi Martin,
I just saw you merged smstools3.
Thanx
Kai
2015-03-18 11:20 GMT+01:00 Kai Ulrich <[email protected]>:
Quoted 99 lines
Signed-off-by Kai Ulrich <[email protected]>--- .../smstools3/sms_binpath_and_psops.patch | 19 +++++++++ .../smstools3/smstools3_3.1.15.bb | 45 ++++++++++++++++++++++ 2 files changed, 64 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
diff --git
a/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patchb/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patchnew file mode 100644
index 0000000..ffcaa09
---/dev/null
+++b/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patchmeta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch new file +19
-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 ++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 +2
-0@@ -0,0 +1,45 @@ +SUMMARY = "SMS Gateway software" +DESCRIPTION = "The SMS Server Tools 3 is a SMS Gateway software which cansend and receive short messages through GSM modems and mobile phones."
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +10
-0+SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4d21efa1bb2a186360dde4035f860682" +HOMEPAGE = "http://smstools3.kekekasvi.com" + +SRC_URI = "http://smstools3.kekekasvi.com/packages/${BP}.tar.gz \ + file://sms_binpath_and_psops.patch" + +SRC_URI[md5sum] = "0241ef60e646fac1a06254a848e61ed7" +SRC_URI[sha256sum] ="
ed00ffaeaa312a5b4f969f4e97a64603a866bbe16e393ea02f5bf05234814d59"meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +22
-0+ + +S = "${WORKDIR}/${PN}" + +RDEPENDS_${PN} = "bash" +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"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}"
meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb new file +2
-1+ +} --1.9.1