mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
utils/smstools3: update to 3.1.21
Update package to 3.1.21, remove parts of patches which were already included upstream, update some OpenWrt specific things. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
--- 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;
|
||||
@@ -9,12 +9,3 @@
|
||||
|
||||
# Uncomment for Solaris
|
||||
# CFLAGS += -D SOLARIS
|
||||
@@ -43,7 +43,7 @@ smsd: smsd.c extras.o locking.o cfgfile.
|
||||
|
||||
ifneq (,$(findstring SOLARIS,$(CFLAGS)))
|
||||
ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS)))
|
||||
-override LFLAGS += -lsocket -lnsl
|
||||
+ override LFLAGS += -lsocket -lnsl
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
--- a/scripts/sendsms
|
||||
+++ b/scripts/sendsms
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/ash
|
||||
# This script send a text sms at the command line by creating
|
||||
# a sms file in the outgoing queue.
|
||||
|
||||
Reference in New Issue
Block a user