summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Yantarev2017-05-24 17:36:30 +0300
committerDenis Yantarev2017-05-24 17:36:30 +0300
commiteb27d44f5a68e75ad1a288cfd00808cc5e125784 (patch)
tree6b12903842a58b28f17ce9a83b5752d0369a8b76
parent8f15b0cf511315a18b598a1a0e050df4380cbbd3 (diff)
downloadaur-eb27d44f5a68e75ad1a288cfd00808cc5e125784.tar.gz
Updated to 3.1.21
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
-rw-r--r--sendsms.patch38
3 files changed, 5 insertions, 53 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a245d378eb2..2d738005b73 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = smstools3
pkgdesc = SMS gateway which can send and receive messages through GSM modems and mobile phones
- pkgver = 3.1.20
+ pkgver = 3.1.21
pkgrel = 1
url = http://smstools3.kekekasvi.com/
install = smsd.install
@@ -10,15 +10,13 @@ pkgbase = smstools3
depends = bash
backup = etc/smsd.conf
backup = etc/logrotate.d/smsd
- source = http://smstools3.kekekasvi.com/packages/smstools3-3.1.20.tar.gz
- source = sendsms.patch
+ source = http://smstools3.kekekasvi.com/packages/smstools3-3.1.21.tar.gz
source = smsd.install
source = smsd.conf
source = smsd.tmpfiles
source = smsd.logrotate
source = smsd.service
- md5sums = 2f2c83aabc93b94a6a8f0f1e898635ef
- md5sums = eabdaf793ed2fb9883ea0923b31450d3
+ md5sums = 6a9f038fb38a49cc3a4f8f14a88fb8af
md5sums = 24b41505c471d0594174bca4a1555f8f
md5sums = ebc64ebc17f874fc0b1e6f0b4ce7fc79
md5sums = 6209da5f6d2b53bb8814f6181aa42848
diff --git a/PKGBUILD b/PKGBUILD
index fb3e166d244..54daa00dc7e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Denis Yantarev <denis dot yantarev at gmail dot com>
pkgname=smstools3
-pkgver=3.1.20
+pkgver=3.1.21
pkgrel=1
pkgdesc="SMS gateway which can send and receive messages through GSM modems and mobile phones"
arch=('i686' 'x86_64')
@@ -12,26 +12,18 @@ install=smsd.install
depends=('bash')
makedepends=()
source=(http://smstools3.kekekasvi.com/packages/$pkgname-$pkgver.tar.gz
- sendsms.patch
smsd.install
smsd.conf
smsd.tmpfiles
smsd.logrotate
smsd.service)
-md5sums=('2f2c83aabc93b94a6a8f0f1e898635ef'
- 'eabdaf793ed2fb9883ea0923b31450d3'
+md5sums=('6a9f038fb38a49cc3a4f8f14a88fb8af'
'24b41505c471d0594174bca4a1555f8f'
'ebc64ebc17f874fc0b1e6f0b4ce7fc79'
'6209da5f6d2b53bb8814f6181aa42848'
'647c58aa56c6a29d6e68e73c239715f4'
'7357a577480e95463112963f4244d2c1')
-prepare()
-{
- cd $srcdir || return 1
- patch -p0 <sendsms.patch || return 1
-}
-
build()
{
cd $srcdir/$pkgname || return 1
diff --git a/sendsms.patch b/sendsms.patch
deleted file mode 100644
index 2d697229ac2..00000000000
--- a/sendsms.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- ./smstools3/scripts/sendsms.old 2010-07-08 16:41:13.000000000 +0400
-+++ ./smstools3/scripts/sendsms 2010-10-30 13:37:44.000000000 +0400
-@@ -18,7 +18,7 @@
- # When creating keys, remember to use -n for echo:
- # echo -n "key" | md5sum
-
--smsd_user="smsd"
-+smsd_group="smsd"
-
- # Will need echo which accepts -n argument:
- ECHO=echo
-@@ -85,10 +85,10 @@
- fi
- fi
-
--owner=""
--if [ -f /etc/passwd ]; then
-- if grep $smsd_user: /etc/passwd >/dev/null; then
-- owner=$smsd_user
-+group=""
-+if [ -f /etc/group ]; then
-+ if grep $smsd_group: /etc/group >/dev/null; then
-+ group=$smsd_group
- fi
- fi
-
-@@ -107,8 +107,9 @@
- $ECHO -n "$TEXT" | iconv -t UNICODEBIG >> $TMPFILE
- fi
-
-- if [ "x$owner" != x ]; then
-- chown $owner $TMPFILE
-+ if [ "x$group" != x ]; then
-+ chgrp $group $TMPFILE
-+ chmod 0660 $TMPFILE
- fi
-
- FILE=`mktemp /var/spool/sms/outgoing/send_XXXXXX`