Date: Monday, February 19, 2018 @ 09:25:50
  Author: mtorromeo
Revision: 296348

archrelease: copy trunk to community-any

Added:
  geoip2-database/repos/community-any/PKGBUILD
    (from rev 296347, geoip2-database/trunk/PKGBUILD)
  geoip2-database/repos/community-any/check-last-modified.sh
    (from rev 296347, geoip2-database/trunk/check-last-modified.sh)
Deleted:
  geoip2-database/repos/community-any/PKGBUILD
  geoip2-database/repos/community-any/check-last-modified.sh

------------------------+
 PKGBUILD               |   78 +++++++++++++++++++++++------------------------
 check-last-modified.sh |   46 +++++++++++++--------------
 2 files changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-19 09:25:41 UTC (rev 296347)
+++ PKGBUILD    2018-02-19 09:25:50 UTC (rev 296348)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com>
-
-pkgname='geoip2-database'
-pkgver=20180119
-pkgrel=1
-pkgdesc="GeoLite2 IP geolocation databases compiled by MaxMind"
-arch=('any')
-url="https://dev.maxmind.com/geoip/geoip2/geolite2/";
-license=('custom:OPEN DATA LICENSE')
-source=(GeoLite2-City-$pkgver.tar.gz::https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
-        
GeoLite2-Country-$pkgver.tar.gz::https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz
-        
GeoLite2-ASN-$pkgver.tar.gz::https://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN.tar.gz)
-noextract=(GeoLite2-City-$pkgver.tar.gz
-           GeoLite2-Country-$pkgver.tar.gz
-           GeoLite2-ASN-$pkgver.tar.gz)
-sha256sums=('025932f30ad6b5e77e1501cb953c87c77ca46eed5e22034e6cc3f206547db419'
-            '788ec447ffbb408f484fbf43454141553882c214bd5b8d39accb82bcc3be9f27'
-            'f717a9f562ff84bc129be75bb4fecd6fb1f66f384fd7202eca8872e83efa2afa')
-
-prepare() {
-  cd "$srcdir"
-
-  for _db in GeoLite2-{City,Country,ASN}; do
-    tar --strip-components=1 -xf $_db-$pkgver.tar.gz --wildcards "*/$_db.mmdb"
-  done
-
-  tar --strip-components=1 -xf GeoLite2-ASN-$pkgver.tar.gz --wildcards 
"*/COPYRIGHT.txt" "*/LICENSE.txt"
-}
-
-package() {
-  cd "$srcdir"
-
-  install -d "$pkgdir/usr/share/GeoIP"
-  install -m644 -t "$pkgdir/usr/share/GeoIP" GeoLite2-{City,Country,ASN}.mmdb
-
-  install -Dm644 COPYRIGHT.txt 
"$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT.txt"
-  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}

Copied: geoip2-database/repos/community-any/PKGBUILD (from rev 296347, 
geoip2-database/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-02-19 09:25:50 UTC (rev 296348)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com>
+
+pkgname='geoip2-database'
+pkgver=20180207
+pkgrel=1
+pkgdesc="GeoLite2 IP geolocation databases compiled by MaxMind"
+arch=('any')
+url="https://dev.maxmind.com/geoip/geoip2/geolite2/";
+license=('custom:OPEN DATA LICENSE')
+source=(GeoLite2-City-$pkgver.tar.gz::https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
+        
GeoLite2-Country-$pkgver.tar.gz::https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz
+        
GeoLite2-ASN-$pkgver.tar.gz::https://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN.tar.gz)
+noextract=(GeoLite2-City-$pkgver.tar.gz
+           GeoLite2-Country-$pkgver.tar.gz
+           GeoLite2-ASN-$pkgver.tar.gz)
+sha256sums=('f6593b6cb1c645d98b51ab99e6f6e1330885af3be01f54e24e740e64954484c4'
+            '0e0611d5f86e08432e68a1989923a61357deceb81eecabe45e89b3da79af169c'
+            '6fb001aac55dd247cf1e7d2642801ea4d29f2c75e886a92cd6736ebd0970eb96')
+
+prepare() {
+  cd "$srcdir"
+
+  for _db in GeoLite2-{City,Country,ASN}; do
+    tar --strip-components=1 -xf $_db-$pkgver.tar.gz --wildcards "*/$_db.mmdb"
+  done
+
+  tar --strip-components=1 -xf GeoLite2-ASN-$pkgver.tar.gz --wildcards 
"*/COPYRIGHT.txt" "*/LICENSE.txt"
+}
+
+package() {
+  cd "$srcdir"
+
+  install -d "$pkgdir/usr/share/GeoIP"
+  install -m644 -t "$pkgdir/usr/share/GeoIP" GeoLite2-{City,Country,ASN}.mmdb
+
+  install -Dm644 COPYRIGHT.txt 
"$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT.txt"
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}

Deleted: check-last-modified.sh
===================================================================
--- check-last-modified.sh      2018-02-19 09:25:41 UTC (rev 296347)
+++ check-last-modified.sh      2018-02-19 09:25:50 UTC (rev 296348)
@@ -1,23 +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=(http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
-      
http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz
-      http://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN.tar.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: geoip2-database/repos/community-any/check-last-modified.sh (from rev 
296347, geoip2-database/trunk/check-last-modified.sh)
===================================================================
--- check-last-modified.sh                              (rev 0)
+++ check-last-modified.sh      2018-02-19 09:25:50 UTC (rev 296348)
@@ -0,0 +1,23 @@
+#!/bin/bash -e
+
+# Unicode characters taken from pactree.c
+UNICODE_IS_FUN="\u2514\u2500"
+
+verbose=0
+if [[ $1 == -v ]]; then
+       verbose=1
+fi
+
+URLS=(http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
+      
http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz
+      http://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN.tar.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