smstools3 : ADD smstools3 package

Add smstools3 package from http://smstools3.kekekasvi.com/

Tested successfull as an email/sms gateway with :
- Device: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
- Trunk: OpenWrt Chaos Calmer r43753
- Kirkwood : Globalscale Technologies Guruplug Server Plus

Send and receive SMS with modem : OK
Forward received SMS to mailhub : OK

Signed-off-by: Gerald Kerma <dreagle@doukki.net>
This commit is contained in:
Gerald Kerma
2014-12-23 06:37:09 +01:00
parent c79483ef5b
commit e8c7a93415
5 changed files with 271 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
--- a/src/smsd.c 2010-09-21 13:47:48.000000000 +0300
+++ b/src/smsd.c 2013-03-05 05:26:26.000000000 +0300
@@ -5200,8 +5200,8 @@
int result = 1;
char *cmd;
char *p;
- char answer[500];
- char buffer[600];
+ char answer[1024];
+ char buffer[1024];
int fd;
int log_retry = 3;
int i;
@@ -0,0 +1,12 @@
--- a/src/Makefile 2014-12-20 18:33:55.654252867 +0100
+++ b/src/Makefile 2014-12-20 18:31:10.241359741 +0100
@@ -43,7 +43,7 @@
ifneq (,$(findstring SOLARIS,$(CFLAGS)))
ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS)))
-override LFLAGS += -lsocket -lnsl
+ override LFLAGS += -lsocket -lnsl
endif
endif