summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDX372020-04-23 13:45:20 +0700
committerDX372020-04-23 13:45:20 +0700
commit89b3b001948036127e9ea3d8050c1b95456a631d (patch)
tree5441051486652061b13b51805bf2b6cadbb9a69c
parent0ce19aa57f92cbe40cffa35f61c738f0d789e875 (diff)
downloadaur-kannel.tar.gz
fix installation
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--kannel.install4
3 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 028b1b40af0..4330b3b6cba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kannel
pkgdesc = Kannel is a compact and very powerful open source WAP and SMS gateway, it comes with extras!
pkgver = 1.4.5
- pkgrel = 2
+ pkgrel = 3
url = https://kannel.org/
install = kannel.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 617635ddbff..689606dc698 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=kannel
pkgver=1.4.5
-pkgrel=2
+pkgrel=3
pkgdesc="Kannel is a compact and very powerful open source WAP and SMS gateway, it comes with extras!"
arch=('any')
license=('custom')
@@ -43,7 +43,7 @@ prepare()
build() {
cd ${srcdir}/gateway-${pkgver}
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-start-stop-daemon --with-mysql --with-sqlite3 --with-pgsql --with-redis
+ ./configure --prefix=/usr/local --mandir=/usr/share/man --enable-start-stop-daemon --with-mysql --with-sqlite3 --with-pgsql --with-redis
make libgw.a
make libgwlib.a
make
diff --git a/kannel.install b/kannel.install
index d0418ccdae1..002ef8acb20 100644
--- a/kannel.install
+++ b/kannel.install
@@ -3,10 +3,10 @@ post_install() {
getent group kannel >/dev/null 2>&1 || groupadd -r kannel
if getent passwd kannel >/dev/null 2>&1; then
usermod -d /run/kannel -c 'Kannel Daemon' \
- -s /sbin/nologin kannel >/dev/null 2>&1
+ -s /usr/bin/nologin kannel >/dev/null 2>&1
else
useradd -r -c 'Kannel Daemon' -g kannel \
- -d /run/kannel -s /sbin/nologin kannel >/dev/null 2>&1
+ -d /run/kannel -s /usr/bin/nologin kannel >/dev/null 2>&1
fi
groupmems -g uucp -a kannel >/dev/null 2>&1
passwd -l kannel >/dev/null 2>&1