Date: Wednesday, November 29, 2017 @ 16:40:55
  Author: mtorromeo
Revision: 270720

archrelease: copy trunk to community-any

Added:
  geoip2-database/repos/community-any/PKGBUILD
    (from rev 270719, geoip2-database/trunk/PKGBUILD)
  geoip2-database/repos/community-any/check-last-modified.sh
    (from rev 270719, 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    2017-11-29 16:40:43 UTC (rev 270719)
+++ PKGBUILD    2017-11-29 16:40:55 UTC (rev 270720)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com>
-
-pkgname='geoip2-database'
-pkgver=20171004
-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=('06f63b7da6baceb07e2b7f67830478b41340afbbfaec823e2bcbed5d6f651762'
-            '5b82a399d242f24a23f64b1b3fdec68ed14548f5656564486041c0bb8e2b1c73'
-            'd17081082b3557be08ba615ac40df323627bd1f2a7026d879cd185d4aac805c3')
-
-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 270719, 
geoip2-database/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2017-11-29 16:40:55 UTC (rev 270720)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com>
+
+pkgname='geoip2-database'
+pkgver=20171128
+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=('c3a6ad2d44ce3c3cb3e7859e2cf7f68f9554f592efb162694051aba51f189a3e'
+            'ad497e127835fd5af30aa512ab063e36b561aaa5f91281b1b92ad089b7c659ec'
+            '80ea94475f258576221e9607449e4cc7ea6119fd1bfe151ce8b854cedb85899b')
+
+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      2017-11-29 16:40:43 UTC (rev 270719)
+++ check-last-modified.sh      2017-11-29 16:40:55 UTC (rev 270720)
@@ -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 
270719, geoip2-database/trunk/check-last-modified.sh)
===================================================================
--- check-last-modified.sh                              (rev 0)
+++ check-last-modified.sh      2017-11-29 16:40:55 UTC (rev 270720)
@@ -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