summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2016-07-24 19:27:56 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:21 +0700
commit94bed6e5c6d71995ead333528bbc29b442641b3c (patch)
treebc5b11ffd3513a85aa2b9fbc54abbaffcbe5632f
parent23d8304e8d0e698efe70a4975ab1f42ae19742d3 (diff)
downloadslackbuilds-94bed6e5c6d71995ead333528bbc29b442641b3c.tar.gz
network/sqlrelay: Updated for version 0.65.0.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
-rw-r--r--network/sqlrelay/doinst.sh3
-rw-r--r--network/sqlrelay/sqlrelay.SlackBuild10
-rw-r--r--network/sqlrelay/sqlrelay.info6
3 files changed, 12 insertions, 7 deletions
diff --git a/network/sqlrelay/doinst.sh b/network/sqlrelay/doinst.sh
index 7722eb4e25..c0c14cd6a1 100644
--- a/network/sqlrelay/doinst.sh
+++ b/network/sqlrelay/doinst.sh
@@ -25,4 +25,5 @@ preserve_perms() {
preserve_perms etc/rc.d/rc.sqlrelay.new
preserve_perms etc/rc.d/rc.sqlrcachemanager.new
config etc/sqlrelay/sqlrelay.xsd.new
-config etc/sqlrelay/sqlrelay.dtd.new
+config etc/php.d/pdo_sqlrelay.ini.new
+config etc/php.d/sql_relay.ini.new
diff --git a/network/sqlrelay/sqlrelay.SlackBuild b/network/sqlrelay/sqlrelay.SlackBuild
index bdd0cec643..aa56ae3355 100644
--- a/network/sqlrelay/sqlrelay.SlackBuild
+++ b/network/sqlrelay/sqlrelay.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sqlrelay
-# Copyright 2015 Mario Preksavec, Zagreb, Croatia
+# Copyright 2015, 2016 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sqlrelay
-VERSION=${VERSION:-0.59}
+VERSION=${VERSION:-0.65.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -98,7 +98,11 @@ make -j1 install DESTDIR=$PKG
mv $PKG/etc/init.d $PKG/etc/rc.d
(cd $PKG/etc/rc.d ; for i in * ; do mv $i rc.$i.new; done)
-for i in $PKG/etc/sqlrelay/sqlrelay.{xsd,dtd} ; do mv $i $i.new ; done
+for i in $PKG/etc/{sqlrelay/*.xsd,php.d/*.ini} ; do mv $i $i.new ; done
+
+# Cruft removal
+rm $PKG/usr/share/licenses/sqlrelay/COPYING
+rmdir $PKG/usr/{share/licenses/sqlrelay,share/licenses}
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/network/sqlrelay/sqlrelay.info b/network/sqlrelay/sqlrelay.info
index 666922f435..99177781f8 100644
--- a/network/sqlrelay/sqlrelay.info
+++ b/network/sqlrelay/sqlrelay.info
@@ -1,8 +1,8 @@
PRGNAM="sqlrelay"
-VERSION="0.59"
+VERSION="0.65.0"
HOMEPAGE="http://sqlrelay.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/sqlrelay/sqlrelay-0.59.tar.gz"
-MD5SUM="afdc7049e01b25473193060a6e4309df"
+DOWNLOAD="http://downloads.sourceforge.net/sqlrelay/sqlrelay-0.65.0.tar.gz"
+MD5SUM="231cc46bc32f6c05dc372c2f04cdcd02"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rudiments"