From 87e3213e099c642d9b705c1ef3666fb81cee6908 Mon Sep 17 00:00:00 2001 From: Lon Willett Date: Wed, 29 Apr 2020 05:52:50 +0200 Subject: [PATCH] ipv6calc: enable external and GeoIP2 databases Also fix tool scripts to use bash instead of sh --- .../ipv6calc/patches/use-bash-for-scripts.patch | 16 ++++++++++++++++ srcpkgs/ipv6calc/template | 6 +++--- 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/ipv6calc/patches/use-bash-for-scripts.patch diff --git a/srcpkgs/ipv6calc/patches/use-bash-for-scripts.patch b/srcpkgs/ipv6calc/patches/use-bash-for-scripts.patch new file mode 100644 index 00000000000..969285fbfc9 --- /dev/null +++ b/srcpkgs/ipv6calc/patches/use-bash-for-scripts.patch @@ -0,0 +1,16 @@ +--- tools/ipv6calc-update-registries.sh~ 2019-10-11 07:15:53.000000000 +0200 ++++ tools/ipv6calc-update-registries.sh 2020-04-28 20:56:41.367743447 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + # + # Project : ipv6calc/databases/registries + # File : update-registries.sh +--- tools/ipv6calc-registries-check-run-create.sh~ 2019-10-11 07:15:53.000000000 +0200 ++++ tools/ipv6calc-registries-check-run-create.sh 2020-04-28 20:56:42.704763285 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + # + # Project : ipv6calc/databases/ipv4-assignment + # File : ipv6calc-registries-check-run-create.sh diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template index f26bb1ec990..5ebe843eabc 100644 --- a/srcpkgs/ipv6calc/template +++ b/srcpkgs/ipv6calc/template @@ -1,11 +1,11 @@ # Template file for 'ipv6calc' pkgname=ipv6calc version=2.2.0 -revision=1 +revision=2 build_style=gnu-configure -configure_args="--enable-geoip" +configure_args="--enable-geoip --enable-mmdb --enable-external" hostmakedepends="perl" -makedepends="geoip-devel" +makedepends="geoip-devel libmaxminddb-devel db-devel" short_desc="Small utility to manipulate IPv6 addresses" maintainer="Lon Willett " license="GPL-2.0-only"