mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/ipv6calc: Updated for version 4.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a57dc3751b
commit
d23bc324fe
3 changed files with 7 additions and 13 deletions
|
@ -10,14 +10,13 @@ external databases. The following build options may be used to include
|
|||
support for these:
|
||||
|
||||
IP2LOCATION=yes Enable IP2Location support (requires ip2location-c)
|
||||
GEOIP=yes Enable GeoIP support (requires GeoIP)
|
||||
GEOIP2=yes Enable GeoIP2 support (requires libmaxminddb)
|
||||
EXTERNAL=yes Enable external db support
|
||||
|
||||
where each build option is passed to the slackbuild. Example of
|
||||
enabling the IP2Location and GeoIP external database:
|
||||
|
||||
IP2LOCATION=yes GEOIP=yes ./ipv6calc.SlackBuild
|
||||
IP2LOCATION=yes GEOIP2=yes ./ipv6calc.SlackBuild
|
||||
|
||||
The ipv6calc Apache module can be built by passing MOD_IPV6CALC=yes to
|
||||
the slackbuild as:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
# Copyright 2012, 2013 Chris Abela, Malta
|
||||
# Copyright 2014 Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
|
||||
# Copyright 2018-2019 Jason Graham, MD <jgraham@compukix.net>
|
||||
# Copyright 2018-2019, 2023 Jason Graham, MD <jgraham@compukix.net>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -27,7 +27,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=ipv6calc
|
||||
VERSION=${VERSION:-4.0.1}
|
||||
VERSION=${VERSION:-4.1.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -82,7 +82,6 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
ENABLE_IP2LOCATION="--disable-ip2location"
|
||||
ENABLE_GEOIP="--disable-geoip"
|
||||
ENABLE_GEOIP2="--disable-geoip2"
|
||||
ENABLE_EXTERNAL="--disable-external"
|
||||
ENABLE_MOD_IPV6CALC="--disable-mod_ipv6calc"
|
||||
|
@ -91,10 +90,6 @@ if [ "$IP2LOCATION" = "yes" ]; then
|
|||
ENABLE_IP2LOCATION="--enable-ip2location --with-ip2location-db=/usr/share/IP2Loc"
|
||||
fi
|
||||
|
||||
if [ "$GEOIP" = "yes" ]; then
|
||||
ENABLE_GEOIP="--enable-geoip --with-geoip-db=/usr/share/GeoIP"
|
||||
fi
|
||||
|
||||
if [ "$GEOIP2" = "yes" ]; then
|
||||
ENABLE_GEOIP2="--enable-mmdb --with-geoip-db=/usr/share/GeoIP"
|
||||
fi
|
||||
|
@ -119,7 +114,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--build=$ARCH-slackware-linux \
|
||||
--disable-dbip \
|
||||
--disable-dbip2 \
|
||||
$ENABLE_IP2LOCATION $ENABLE_GEOIP $ENABLE_GEOIP2 $ENABLE_EXTERNAL $ENABLE_MOD_IPV6CALC
|
||||
$ENABLE_IP2LOCATION $ENABLE_GEOIP2 $ENABLE_EXTERNAL $ENABLE_MOD_IPV6CALC
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="ipv6calc"
|
||||
VERSION="4.0.1"
|
||||
VERSION="4.1.0"
|
||||
HOMEPAGE="http://www.deepspace6.net/projects/ipv6calc.html"
|
||||
DOWNLOAD="https://github.com/pbiering/ipv6calc/archive/4.0.1/ipv6calc-4.0.1.tar.gz"
|
||||
MD5SUM="b5269b9ade885b787471ac2301f32b94"
|
||||
DOWNLOAD="https://github.com/pbiering/ipv6calc/archive/4.1.0/ipv6calc-4.1.0.tar.gz"
|
||||
MD5SUM="4891e8f53606c78c77a8185fe1b02fde"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue