diff options
author | David Woodfall <dave@dawoodfall.net> | 2017-08-15 16:25:27 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-19 07:10:41 +0700 |
commit | e0b747e954e806457fa1b73ba7893f8f9d6edbe6 (patch) | |
tree | 64b2f3b6d3a584858425e00feb510059857fbc64 | |
parent | 71293a049a8706909c2281962a54f5d4b20495d9 (diff) |
network/smstools3: Move smsd binary, remove unused option.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | network/smstools3/fixups2.diff | 2 | ||||
-rw-r--r-- | network/smstools3/smstools3.SlackBuild | 11 |
2 files changed, 5 insertions, 8 deletions
diff --git a/network/smstools3/fixups2.diff b/network/smstools3/fixups2.diff index 3f26fcf492c9..d99ee9deee9d 100644 --- a/network/smstools3/fixups2.diff +++ b/network/smstools3/fixups2.diff @@ -123,7 +123,7 @@ diff -Naur a/scripts/sms3 b/scripts/sms3 LOGFILE="/var/log/smsd.log" -DAEMON=/usr/local/bin/smsd -+DAEMON=/usr/bin/smsd ++DAEMON=/usr/sbin/smsd # A program which turns power off for couple of seconds: -RESETMODEMS=/usr/local/bin/smsd_resetmodems +RESETMODEMS=/usr/bin/smsd_resetmodems diff --git a/network/smstools3/smstools3.SlackBuild b/network/smstools3/smstools3.SlackBuild index b28085d3a4bd..4936906f9259 100644 --- a/network/smstools3/smstools3.SlackBuild +++ b/network/smstools3/smstools3.SlackBuild @@ -23,15 +23,12 @@ PRGNAM=smstools3 VERSION=${VERSION:-3.1.21} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Maximum number of supported modems -NUM_MODEMS=${NUM_MODEMS:-64} - if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +39,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" |