* [meta-oe][PATCH] Add smstools3 http://smstools3.kekekasvi.com to meta-oe recipes-connectivity.
@ 2015-03-16 17:48 Kai Ulrich
2015-03-17 12:05 ` Martin Jansa
0 siblings, 1 reply; 4+ messages in thread
From: Kai Ulrich @ 2015-03-16 17:48 UTC (permalink / raw)
To: openembedded-devel; +Cc: kulrich
From: kulrich <ulrich.kai@gmail.com>
Signed-off-by: kulrich <ulrich.kai@gmail.com>
---
.../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
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
new file mode 100644
index 0000000..ffcaa09
--- /dev/null
+++ b/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch
@@ -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)
diff --git a/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb
new file mode 100644
index 0000000..55a2583
--- /dev/null
+++ b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb
@@ -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."
+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 \
+ file://sms_binpath_and_psops.patch"
+
+SRC_URI[md5sum] = "0241ef60e646fac1a06254a848e61ed7"
+SRC_URI[sha256sum] = "ed00ffaeaa312a5b4f969f4e97a64603a866bbe16e393ea02f5bf05234814d59"
+
+
+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"
+
+ 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}"
+
+}
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-oe][PATCH] Add smstools3 http://smstools3.kekekasvi.com to meta-oe recipes-connectivity.
2015-03-16 17:48 [meta-oe][PATCH] Add smstools3 http://smstools3.kekekasvi.com to meta-oe recipes-connectivity Kai Ulrich
@ 2015-03-17 12:05 ` Martin Jansa
2015-03-17 12:44 ` Philip Balister
0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2015-03-17 12:05 UTC (permalink / raw)
To: openembedded-devel; +Cc: kulrich
[-- Attachment #1: Type: text/plain, Size: 4005 bytes --]
subject should start with smstools3:
On Mon, Mar 16, 2015 at 06:48:17PM +0100, Kai Ulrich wrote:
> From: kulrich <ulrich.kai@gmail.com>
>
> Signed-off-by: kulrich <ulrich.kai@gmail.com>
> ---
> .../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
>
> 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
> new file mode 100644
> index 0000000..ffcaa09
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch
> @@ -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)
> diff --git a/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb
> new file mode 100644
> index 0000000..55a2583
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb
> @@ -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.
> +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}
> + 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.
> +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}"
> +
> +}
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-oe][PATCH] Add smstools3 http://smstools3.kekekasvi.com to meta-oe recipes-connectivity.
2015-03-17 12:05 ` Martin Jansa
@ 2015-03-17 12:44 ` Philip Balister
2015-03-17 14:52 ` Kai Ulrich
0 siblings, 1 reply; 4+ messages in thread
From: Philip Balister @ 2015-03-17 12:44 UTC (permalink / raw)
To: openembedded-devel; +Cc: kulrich, Holger Freyther
[-- Attachment #1: Type: text/plain, Size: 4171 bytes --]
Also does this belong in meta-telephony?
Philip
On 03/17/2015 08:05 AM, Martin Jansa wrote:
>
> subject should start with smstools3:
>
> On Mon, Mar 16, 2015 at 06:48:17PM +0100, Kai Ulrich wrote:
>> From: kulrich <ulrich.kai@gmail.com>
>>
>> Signed-off-by: kulrich <ulrich.kai@gmail.com>
>> ---
>> .../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
>>
>> 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
>> new file mode 100644
>> index 0000000..ffcaa09
>> --- /dev/null
>> +++ b/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch
>> @@ -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)
>> diff --git a/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb
>> new file mode 100644
>> index 0000000..55a2583
>> --- /dev/null
>> +++ b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb
>> @@ -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.
>
>> +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}
>
>> + 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.
>
>> +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}"
>> +
>> +}
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 484 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-oe][PATCH] Add smstools3 http://smstools3.kekekasvi.com to meta-oe recipes-connectivity.
2015-03-17 12:44 ` Philip Balister
@ 2015-03-17 14:52 ` Kai Ulrich
0 siblings, 0 replies; 4+ messages in thread
From: Kai Ulrich @ 2015-03-17 14:52 UTC (permalink / raw)
To: openembedded-devel
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 <philip@balister.org>:
> Also does this belong in meta-telephony?
>
> Philip
>
> On 03/17/2015 08:05 AM, Martin Jansa wrote:
> >
> > subject should start with smstools3:
> >
> > On Mon, Mar 16, 2015 at 06:48:17PM +0100, Kai Ulrich wrote:
> >> From: kulrich <ulrich.kai@gmail.com>
> >>
> >> Signed-off-by: kulrich <ulrich.kai@gmail.com>
> >> ---
> >> .../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
> >>
> >> 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
> >> new file mode 100644
> >> index 0000000..ffcaa09
> >> --- /dev/null
> >> +++
> b/meta-oe/recipes-connectivity/smstools3/smstools3/sms_binpath_and_psops.patch
> >> @@ -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)
> >> diff --git a/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb
> b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb
> >> new file mode 100644
> >> index 0000000..55a2583
> >> --- /dev/null
> >> +++ b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb
> >> @@ -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.
> >
> >> +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}
> >
> >> + 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.
> >
> >> +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}"
> >> +
> >> +}
> >> --
> >> 1.9.1
> >>
> >> --
> >> _______________________________________________
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> >
> >
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-03-17 14:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-16 17:48 [meta-oe][PATCH] Add smstools3 http://smstools3.kekekasvi.com to meta-oe recipes-connectivity Kai Ulrich
2015-03-17 12:05 ` Martin Jansa
2015-03-17 12:44 ` Philip Balister
2015-03-17 14:52 ` Kai Ulrich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.