summaryrefslogtreecommitdiff
path: root/academic/sword-data-kjv
diff options
context:
space:
mode:
authorTim Dickson <dickson.tim@googlemail.com>2015-09-03 22:02:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-05 06:25:08 +0700
commitc721363826ad59135bfdc3aad27dd67e363f5ef9 (patch)
tree0ad429a107bd04f3ca2880a12806c8980f32bf83 /academic/sword-data-kjv
parent33adbde5304890a84ed8e0d256e96efeb4a30768 (diff)
downloadslackbuilds-c721363826ad59135bfdc3aad27dd67e363f5ef9.tar.gz
academic/sword-data-kjv: Updated for version 1.7.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/sword-data-kjv')
-rw-r--r--academic/sword-data-kjv/sword-data-kjv.SlackBuild9
-rw-r--r--academic/sword-data-kjv/sword-data-kjv.info4
2 files changed, 10 insertions, 3 deletions
diff --git a/academic/sword-data-kjv/sword-data-kjv.SlackBuild b/academic/sword-data-kjv/sword-data-kjv.SlackBuild
index a990cca9ca..8ac1ed48b0 100644
--- a/academic/sword-data-kjv/sword-data-kjv.SlackBuild
+++ b/academic/sword-data-kjv/sword-data-kjv.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sword-data-kjv
-VERSION=${VERSION:-1.7.0}
+VERSION=${VERSION:-1.7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,6 +46,13 @@ rm -rf $PRGNAM-$VERSION
DATADEST="/usr/shared/sword/"
if [ -e /etc/sword.conf ]; then
DATADEST=`cat /etc/sword.conf|grep DataPath|awk -F"=" '{print $2}'`
+ if [ "x$DATADEST" = "x" ]||[ "x$DATDEST" = "x/" ]; then
+ #this should not happen, give message and stop build
+ #it doesn't stop deliberately malicious configuration, but at least
+ #should catch a simple config file error.
+ echo "invalid data path in /etc/sword.conf" >/dev/stderr
+ exit 1
+ fi
fi
mkdir -p $PKG${DATADEST}
diff --git a/academic/sword-data-kjv/sword-data-kjv.info b/academic/sword-data-kjv/sword-data-kjv.info
index 6d82a29848..5fa790d7f0 100644
--- a/academic/sword-data-kjv/sword-data-kjv.info
+++ b/academic/sword-data-kjv/sword-data-kjv.info
@@ -1,10 +1,10 @@
PRGNAM="sword-data-kjv"
-VERSION="1.7"
+VERSION="1.7.4"
HOMEPAGE="http://www.crosswire.org/sword/modules/"
DOWNLOAD="http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/KJV.zip \
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/StrongsGreek.zip \
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/StrongsHebrew.zip"
-MD5SUM="455caa8e57e06e6b97856ed30150b36b \
+MD5SUM="64ff3295c5ca85d816c50af055eb4e64 \
2acde501e6a33e84feeeaa62f8e53d89 \
3cbbc69d7410efc9d1d7f6f6b30e3415"
DOWNLOAD_x86_64=""