Date: Sunday, August 6, 2017 @ 18:37:20
  Author: foutrelis
Revision: 301700

archrelease: copy trunk to extra-any

Added:
  geoip-database/repos/extra-any/PKGBUILD
    (from rev 301699, geoip-database/trunk/PKGBUILD)
  geoip-database/repos/extra-any/check-last-modified.sh
    (from rev 301699, geoip-database/trunk/check-last-modified.sh)
Deleted:
  geoip-database/repos/extra-any/PKGBUILD
  geoip-database/repos/extra-any/check-last-modified.sh

------------------------+
 PKGBUILD               |  194 +++++++++++++++++++++++------------------------
 check-last-modified.sh |   52 ++++++------
 2 files changed, 123 insertions(+), 123 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2017-08-06 18:37:12 UTC (rev 301699)
+++ PKGBUILD    2017-08-06 18:37:20 UTC (rev 301700)
@@ -1,97 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evange...@foutrelis.com>
-
-pkgname=('geoip-database' 'geoip-database-extra')
-pkgver=20170704
-pkgrel=1
-arch=('any')
-url="https://dev.maxmind.com/geoip/legacy/geolite/";
-license=('custom:OPEN DATA LICENSE')
-checkdepends=('geoip')
-source=(GeoIP-$pkgver.dat.gz::https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
-        
GeoIPv6-$pkgver.dat.gz::https://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
-        
GeoLiteCity-$pkgver.dat.gz::https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
-        
GeoLiteCityv6-$pkgver.dat.gz::https://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz
-        
GeoIPASNum-$pkgver.dat.gz::https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
-        
GeoIPASNumv6-$pkgver.dat.gz::https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz
-        
GeoIP-LICENSE.txt::https://geolite.maxmind.com/download/geoip/database/LICENSE.txt)
-noextract=(GeoIP-$pkgver.dat.gz
-           GeoIPv6-$pkgver.dat.gz
-           GeoLiteCity-$pkgver.dat.gz
-           GeoLiteCityv6-$pkgver.dat.gz
-           GeoIPASNum-$pkgver.dat.gz
-           GeoIPASNumv6-$pkgver.dat.gz)
-sha256sums=('52a043ff1874d2447b6de1f1f203537bc4d7d56d0d076eb53b367965c5bf9eaf'
-            'fdea288ad8a6d58238f043720706e1a6f1657b3096581a025e915c80b6e953d2'
-            '28872c76fdc386d80d6eb74e38768f0c58d576b8856a56640b71ff4be4568785'
-            'db99c9b3a986ba0e3bb4b031921a123bda3a70894a9ffca97293a73ab6083d26'
-            'ccf02ee0516e10c722cd93d2b1c8805ae3e0a069931ad688ef05e473085c41b8'
-            'ffae87b117f6b69a685466de8436ef218814ced1a068e1ecacc34c843b7b136f'
-            '83a4cb82ef8953c0107886b49bc39fcf77590a222d30e778d48f5d92f5b5e383')
-
-prepare() {
-  cd "$srcdir"
-
-  for _database_name in GeoIP GeoLiteCity GeoIPASNum; do
-    gunzip -c $_database_name-$pkgver.dat.gz 
>${_database_name/GeoLite/GeoIP}.dat
-    gunzip -c ${_database_name}v6-$pkgver.dat.gz 
>${_database_name/GeoLite/GeoIP}v6.dat
-  done
-}
-
-check() {
-  cd "$srcdir"
-
-  if [[ $(geoiplookup -f GeoIP.dat 8.8.8.8) != *'US, United States' ]]; then
-    error 'Unable to resolve IPv4 address to country.'
-    return 1
-  fi
-
-  if [[ $(geoiplookup6 -f GeoIPv6.dat 2001:4860:4860::8888) != *'US, United 
States' ]]; then
-    error 'Unable to resolve IPv6 address to country.'
-    return 1
-  fi
-
-  if [[ $(geoiplookup -f GeoIPCity.dat 8.8.8.8) != *'US, N/A, N/A'* ]]; then
-    error 'Unable to resolve IPv4 address to city.'
-    return 1
-  fi
-
-  if [[ $(geoiplookup6 -f GeoIPCityv6.dat 2001:4860:4860::8888) != *'US, N/A, 
N/A'* ]]; then
-    error 'Unable to resolve IPv6 address to city.'
-    return 1
-  fi
-
-  if [[ $(geoiplookup -f GeoIPASNum.dat 8.8.8.8) != *'AS15169 Google Inc.' ]]; 
then
-    error 'Unable to resolve IPv4 address to ASN.'
-    return 1
-  fi
-
-  if [[ $(geoiplookup6 -f GeoIPASNumv6.dat 2001:4860:4860::8888) != *'AS15169 
Google Inc.' ]]; then
-    error 'Unable to resolve IPv6 address to ASN.'
-    return 1
-  fi
-}
-
-package_geoip-database() {
-  pkgdesc="GeoLite country geolocation database compiled by MaxMind"
-
-  cd "$srcdir"
-
-  install -d "$pkgdir/usr/share/GeoIP"
-  install -m644 -t "$pkgdir/usr/share/GeoIP" GeoIP{,v6}.dat
-
-  install -Dm644 GeoIP-LICENSE.txt 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}
-
-package_geoip-database-extra() {
-  pkgdesc="GeoLite city/ASN geolocation databases compiled by MaxMind"
-
-  cd "$srcdir"
-
-  install -d "$pkgdir/usr/share/GeoIP"
-  install -m644 -t "$pkgdir/usr/share/GeoIP" GeoIPCity{,v6}.dat 
GeoIPASNum{,v6}.dat
-
-  install -Dm644 GeoIP-LICENSE.txt 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: geoip-database/repos/extra-any/PKGBUILD (from rev 301699, 
geoip-database/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2017-08-06 18:37:20 UTC (rev 301700)
@@ -0,0 +1,97 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evange...@foutrelis.com>
+
+pkgname=('geoip-database' 'geoip-database-extra')
+pkgver=20170801
+pkgrel=1
+arch=('any')
+url="https://dev.maxmind.com/geoip/legacy/geolite/";
+license=('custom:OPEN DATA LICENSE')
+checkdepends=('geoip')
+source=(GeoIP-$pkgver.dat.gz::https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
+        
GeoIPv6-$pkgver.dat.gz::https://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
+        
GeoLiteCity-$pkgver.dat.gz::https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
+        
GeoLiteCityv6-$pkgver.dat.gz::https://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz
+        
GeoIPASNum-$pkgver.dat.gz::https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
+        
GeoIPASNumv6-$pkgver.dat.gz::https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz
+        
GeoIP-LICENSE.txt::https://geolite.maxmind.com/download/geoip/database/LICENSE.txt)
+noextract=(GeoIP-$pkgver.dat.gz
+           GeoIPv6-$pkgver.dat.gz
+           GeoLiteCity-$pkgver.dat.gz
+           GeoLiteCityv6-$pkgver.dat.gz
+           GeoIPASNum-$pkgver.dat.gz
+           GeoIPASNumv6-$pkgver.dat.gz)
+sha256sums=('aad2a5741988b787d13f9ff230bfcef7823ca2edd405a1d5e22a079a56ff7138'
+            '1baaee41be5ddb659101236cb4e971366b20d7b9fe350a2b5985223d2e945db5'
+            'cf69b7c544cba00373fc1f16f995ed0a0b433bc39af2573dd7841201e60c491f'
+            '5e9bd515a436205f413bb3bb04a67e51fb153dc987f50ccaf352d940bc5677f6'
+            'd9c35b71dd08fb1d08c47c4d0a3739b95c6fe1041d8f8854bcf2a931f772c86e'
+            '6a23fe37508c209e4cb4ec6d500ce7cb4b1ba3d8f8237b547c1fa61666ec65a6'
+            '83a4cb82ef8953c0107886b49bc39fcf77590a222d30e778d48f5d92f5b5e383')
+
+prepare() {
+  cd "$srcdir"
+
+  for _database_name in GeoIP GeoLiteCity GeoIPASNum; do
+    gunzip -c $_database_name-$pkgver.dat.gz 
>${_database_name/GeoLite/GeoIP}.dat
+    gunzip -c ${_database_name}v6-$pkgver.dat.gz 
>${_database_name/GeoLite/GeoIP}v6.dat
+  done
+}
+
+check() {
+  cd "$srcdir"
+
+  if [[ $(geoiplookup -f GeoIP.dat 8.8.8.8) != *'US, United States' ]]; then
+    error 'Unable to resolve IPv4 address to country.'
+    return 1
+  fi
+
+  if [[ $(geoiplookup6 -f GeoIPv6.dat 2001:4860:4860::8888) != *'US, United 
States' ]]; then
+    error 'Unable to resolve IPv6 address to country.'
+    return 1
+  fi
+
+  if [[ $(geoiplookup -f GeoIPCity.dat 8.8.8.8) != *'US, N/A, N/A'* ]]; then
+    error 'Unable to resolve IPv4 address to city.'
+    return 1
+  fi
+
+  if [[ $(geoiplookup6 -f GeoIPCityv6.dat 2001:4860:4860::8888) != *'US, N/A, 
N/A'* ]]; then
+    error 'Unable to resolve IPv6 address to city.'
+    return 1
+  fi
+
+  if [[ $(geoiplookup -f GeoIPASNum.dat 8.8.8.8) != *'AS15169 Google Inc.' ]]; 
then
+    error 'Unable to resolve IPv4 address to ASN.'
+    return 1
+  fi
+
+  if [[ $(geoiplookup6 -f GeoIPASNumv6.dat 2001:4860:4860::8888) != *'AS15169 
Google Inc.' ]]; then
+    error 'Unable to resolve IPv6 address to ASN.'
+    return 1
+  fi
+}
+
+package_geoip-database() {
+  pkgdesc="GeoLite country geolocation database compiled by MaxMind"
+
+  cd "$srcdir"
+
+  install -d "$pkgdir/usr/share/GeoIP"
+  install -m644 -t "$pkgdir/usr/share/GeoIP" GeoIP{,v6}.dat
+
+  install -Dm644 GeoIP-LICENSE.txt 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
+
+package_geoip-database-extra() {
+  pkgdesc="GeoLite city/ASN geolocation databases compiled by MaxMind"
+
+  cd "$srcdir"
+
+  install -d "$pkgdir/usr/share/GeoIP"
+  install -m644 -t "$pkgdir/usr/share/GeoIP" GeoIPCity{,v6}.dat 
GeoIPASNum{,v6}.dat
+
+  install -Dm644 GeoIP-LICENSE.txt 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: check-last-modified.sh
===================================================================
--- check-last-modified.sh      2017-08-06 18:37:12 UTC (rev 301699)
+++ check-last-modified.sh      2017-08-06 18:37:20 UTC (rev 301700)
@@ -1,26 +0,0 @@
-#!/bin/bash -e
-
-# Unicode characters taken from pactree.c
-UNICODE_IS_FUN="\u2514\u2500"
-
-verbose=0
-if [[ $1 == -v ]]; then
-       verbose=1
-fi
-
-URLS=(https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
-      https://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
-      https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
-      
https://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz
-      
https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
-      
https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz)
-
-for url in ${URLS[@]}; do
-       last_mod=$(curl -sI $url | grep -i ^Last-Modified: | cut -d' ' -f2- | 
tr -d '\r')
-       echo "$last_mod (${url##*/})"
-
-       if ((verbose)); then
-               build_id=$(curl -s $url | gzip -cd | grep -aoE '[0-9]{8} Build 
[0-9]*')
-               echo -e "${UNICODE_IS_FUN}$build_id"
-       fi
-done

Copied: geoip-database/repos/extra-any/check-last-modified.sh (from rev 301699, 
geoip-database/trunk/check-last-modified.sh)
===================================================================
--- check-last-modified.sh                              (rev 0)
+++ check-last-modified.sh      2017-08-06 18:37:20 UTC (rev 301700)
@@ -0,0 +1,26 @@
+#!/bin/bash -e
+
+# Unicode characters taken from pactree.c
+UNICODE_IS_FUN="\u2514\u2500"
+
+verbose=0
+if [[ $1 == -v ]]; then
+       verbose=1
+fi
+
+URLS=(https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
+      https://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
+      https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
+      
https://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz
+      
https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
+      
https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz)
+
+for url in ${URLS[@]}; do
+       last_mod=$(curl -sI $url | grep -i ^Last-Modified: | cut -d' ' -f2- | 
tr -d '\r')
+       echo "$last_mod (${url##*/})"
+
+       if ((verbose)); then
+               build_id=$(curl -s $url | gzip -cd | grep -aoE '[0-9]{8} Build 
[0-9]*')
+               echo -e "${UNICODE_IS_FUN}$build_id"
+       fi
+done

Reply via email to