summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo J. Barberis <ricardo.barberis@gmail.com>2018-03-22 10:26:36 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2018-03-22 10:26:36 +0000
commitd7991759e700125378256ddfa93d411c73c788c8 (patch)
tree91f02532dd442c465f62d12291f83619a9d72181
parentdb51177248425289c3dde10c028897f7dbec36b6 (diff)
downloadslackbuilds-d7991759e700125378256ddfa93d411c73c788c8.tar.gz
network/geoipupdate: Updated for version 2.5.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/geoipupdate/geoipupdate.SlackBuild12
-rw-r--r--network/geoipupdate/geoipupdate.info10
2 files changed, 12 insertions, 10 deletions
diff --git a/network/geoipupdate/geoipupdate.SlackBuild b/network/geoipupdate/geoipupdate.SlackBuild
index e95e7a4632..d87506da5f 100644
--- a/network/geoipupdate/geoipupdate.SlackBuild
+++ b/network/geoipupdate/geoipupdate.SlackBuild
@@ -5,6 +5,8 @@
# Copyright 2014 Oleg A. Deordiev Ukraine
# All rights reserved.
#
+# Copyright (c) 2017-2018, Modified by: Ricardo J. Barberis <ricardo.barberis@gmail.com>
+#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@@ -23,13 +25,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=geoipupdate
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-2.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +42,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"
@@ -90,7 +92,7 @@ mv $PKG/etc/GeoIP.conf $PKG/etc/GeoIP.conf.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+cp $CWD/README ChangeLog.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/geoipupdate/geoipupdate.info b/network/geoipupdate/geoipupdate.info
index 793677624a..0480e609c2 100644
--- a/network/geoipupdate/geoipupdate.info
+++ b/network/geoipupdate/geoipupdate.info
@@ -1,10 +1,10 @@
PRGNAM="geoipupdate"
-VERSION="2.1.0"
+VERSION="2.5.0"
HOMEPAGE="https://dev.maxmind.com/geoip/geoipupdate/"
-DOWNLOAD="https://github.com/maxmind/geoipupdate/releases/download/v2.1.0/geoipupdate-2.1.0.tar.gz"
-MD5SUM="9107d082f15c8e482f4b6f1080e7deaf"
+DOWNLOAD="https://github.com/maxmind/geoipupdate/releases/download/v2.5.0/geoipupdate-2.5.0.tar.gz"
+MD5SUM="28f633c49ec87ab01ad3c0fb0228a696"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Oleg A. Deordiev"
-EMAIL="admin@ifconfig.com.ua"
+MAINTAINER="Ricardo J. Barberis"
+EMAIL="ricardo.barberis@gmail.com"