[arch-commits] Commit in geoipupdate/repos/community-x86_64 (6 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Wed Apr 22 14:42:34 UTC 2020


    Date: Wednesday, April 22, 2020 @ 14:42:34
  Author: mtorromeo
Revision: 617657

archrelease: copy trunk to community-x86_64

Added:
  geoipupdate/repos/community-x86_64/PKGBUILD
    (from rev 617656, geoipupdate/trunk/PKGBUILD)
  geoipupdate/repos/community-x86_64/geoipupdate.service
    (from rev 617656, geoipupdate/trunk/geoipupdate.service)
  geoipupdate/repos/community-x86_64/geoipupdate.timer
    (from rev 617656, geoipupdate/trunk/geoipupdate.timer)
Deleted:
  geoipupdate/repos/community-x86_64/PKGBUILD
  geoipupdate/repos/community-x86_64/geoipupdate.service
  geoipupdate/repos/community-x86_64/geoipupdate.timer

---------------------+
 PKGBUILD            |  122 +++++++++++++++++++++++++-------------------------
 geoipupdate.service |   16 +++---
 geoipupdate.timer   |   20 ++++----
 3 files changed, 79 insertions(+), 79 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-22 14:42:13 UTC (rev 617656)
+++ PKGBUILD	2020-04-22 14:42:34 UTC (rev 617657)
@@ -1,61 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=geoipupdate
-pkgver=4.2.2
-pkgrel=1
-pkgdesc="Update GeoIP2 and GeoIP Legacy binary databases from MaxMind"
-license=('Apache' 'MIT')
-arch=('x86_64')
-url="https://dev.maxmind.com/geoip/geoipupdate"
-makedepends=(go-pie pandoc)
-backup=(etc/GeoIP.conf)
-provides=(geoip2-database)
-replaces=(geoip2-database)
-
-source=(
-    "https://github.com/maxmind/geoipupdate/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
-    "geoipupdate.service"
-    "geoipupdate.timer"
-)
-
-sha256sums=('a9267a1fbbadc4686198002d3de0ef60a65e3b47c4e050bcdccf692aa1791092'
-            '94d120a089524b91b2c3095332dee66b346bc97f1496cbff677ff02afa37a6cc'
-            'ba9039ae9cc3dea4fe48480527b515cab2ad3a2f69aea5bf55f551e6895779e3')
-
-prepare() {
-    cd "$srcdir/$pkgname-$pkgver"
-    sed -i 's/EditionIDs .*/EditionIDs GeoLite2-ASN GeoLite2-City GeoLite2-Country/' conf/GeoIP.conf.default
-}
-
-build() {
-    cd "$srcdir/$pkgname-$pkgver"
-
-    export CONFFILE=/etc/GeoIP.conf
-    export DATADIR=/var/lib/GeoIP
-
-    make BUILDDIR="$srcdir/build" data
-
-    cd cmd/geoipupdate
-    export LDFLAGS="$LDFLAGS -X main.defaultConfigFile=$CONFFILE -X main.defaultDatabaseDirectory=$DATADIR -X main.version=$pkgver"
-    go build -trimpath -ldflags "-extldflags $LDFLAGS" -o "$srcdir/build/geoipupdate" .
-}
-
-package() {
-    install -dm755 "$pkgdir/var/lib/GeoIP"
-
-    cd "$srcdir"
-    install -Dm644 geoipupdate.service "$pkgdir/usr/lib/systemd/system/geoipupdate.service"
-    install -Dm644 geoipupdate.timer "$pkgdir/usr/lib/systemd/system/geoipupdate.timer"
-
-    cd "$srcdir/build"
-    install -Dm755 geoipupdate "$pkgdir/usr/bin/geoipupdate"
-    install -Dm644 GeoIP.conf "$pkgdir/etc/GeoIP.conf"
-    install -Dm644 geoipupdate.md "$pkgdir/usr/share/doc/$pkgname/geoipupdate.md"
-    install -Dm644 GeoIP.conf.md "$pkgdir/usr/share/doc/$pkgname/GeoIP.conf.md"
-    install -Dm644 geoipupdate.1 "$pkgdir/usr/share/man/man1/geoipupdate.1"
-    install -Dm644 GeoIP.conf.5 "$pkgdir/usr/share/man/man5/GeoIP.conf.5"
-
-    cd "$srcdir/$pkgname-$pkgver"
-    install -Dm644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
-    install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
-}

Copied: geoipupdate/repos/community-x86_64/PKGBUILD (from rev 617656, geoipupdate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-22 14:42:34 UTC (rev 617657)
@@ -0,0 +1,61 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=geoipupdate
+pkgver=4.3.0
+pkgrel=1
+pkgdesc="Update GeoIP2 and GeoIP Legacy binary databases from MaxMind"
+license=('Apache' 'MIT')
+arch=('x86_64')
+url="https://dev.maxmind.com/geoip/geoipupdate"
+makedepends=(go-pie pandoc)
+backup=(etc/GeoIP.conf)
+provides=(geoip2-database)
+replaces=(geoip2-database)
+
+source=(
+    "https://github.com/maxmind/geoipupdate/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+    "geoipupdate.service"
+    "geoipupdate.timer"
+)
+
+sha256sums=('0c6df6a563203e87e80c9998975c287cd4e3a5eb6c83b90dd5a0597298b098f0'
+            '94d120a089524b91b2c3095332dee66b346bc97f1496cbff677ff02afa37a6cc'
+            'ba9039ae9cc3dea4fe48480527b515cab2ad3a2f69aea5bf55f551e6895779e3')
+
+prepare() {
+    cd "$srcdir/$pkgname-$pkgver"
+    sed -i 's/EditionIDs .*/EditionIDs GeoLite2-ASN GeoLite2-City GeoLite2-Country/' conf/GeoIP.conf.default
+}
+
+build() {
+    cd "$srcdir/$pkgname-$pkgver"
+
+    export CONFFILE=/etc/GeoIP.conf
+    export DATADIR=/var/lib/GeoIP
+
+    make BUILDDIR="$srcdir/build" data
+
+    cd cmd/geoipupdate
+    export LDFLAGS="$LDFLAGS -X main.defaultConfigFile=$CONFFILE -X main.defaultDatabaseDirectory=$DATADIR -X main.version=$pkgver"
+    go build -trimpath -ldflags "-extldflags $LDFLAGS" -o "$srcdir/build/geoipupdate" .
+}
+
+package() {
+    install -dm755 "$pkgdir/var/lib/GeoIP"
+
+    cd "$srcdir"
+    install -Dm644 geoipupdate.service "$pkgdir/usr/lib/systemd/system/geoipupdate.service"
+    install -Dm644 geoipupdate.timer "$pkgdir/usr/lib/systemd/system/geoipupdate.timer"
+
+    cd "$srcdir/build"
+    install -Dm755 geoipupdate "$pkgdir/usr/bin/geoipupdate"
+    install -Dm644 GeoIP.conf "$pkgdir/etc/GeoIP.conf"
+    install -Dm644 geoipupdate.md "$pkgdir/usr/share/doc/$pkgname/geoipupdate.md"
+    install -Dm644 GeoIP.conf.md "$pkgdir/usr/share/doc/$pkgname/GeoIP.conf.md"
+    install -Dm644 geoipupdate.1 "$pkgdir/usr/share/man/man1/geoipupdate.1"
+    install -Dm644 GeoIP.conf.5 "$pkgdir/usr/share/man/man5/GeoIP.conf.5"
+
+    cd "$srcdir/$pkgname-$pkgver"
+    install -Dm644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
+    install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
+}

Deleted: geoipupdate.service
===================================================================
--- geoipupdate.service	2020-04-22 14:42:13 UTC (rev 617656)
+++ geoipupdate.service	2020-04-22 14:42:34 UTC (rev 617657)
@@ -1,8 +0,0 @@
-[Unit]
-Description=Update GeoIP2 and GeoIP Legacy binary databases
-Wants=network.target
-After=network.target
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/geoipupdate --config-file /etc/GeoIP.conf

Copied: geoipupdate/repos/community-x86_64/geoipupdate.service (from rev 617656, geoipupdate/trunk/geoipupdate.service)
===================================================================
--- geoipupdate.service	                        (rev 0)
+++ geoipupdate.service	2020-04-22 14:42:34 UTC (rev 617657)
@@ -0,0 +1,8 @@
+[Unit]
+Description=Update GeoIP2 and GeoIP Legacy binary databases
+Wants=network.target
+After=network.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/geoipupdate --config-file /etc/GeoIP.conf

Deleted: geoipupdate.timer
===================================================================
--- geoipupdate.timer	2020-04-22 14:42:13 UTC (rev 617656)
+++ geoipupdate.timer	2020-04-22 14:42:34 UTC (rev 617657)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Weekly update of GeoIP2 and GeoIP Legacy databases
-
-[Timer]
-OnCalendar=weekly
-AccuracySec=1h
-Persistent=true
-
-[Install]
-WantedBy=timers.target

Copied: geoipupdate/repos/community-x86_64/geoipupdate.timer (from rev 617656, geoipupdate/trunk/geoipupdate.timer)
===================================================================
--- geoipupdate.timer	                        (rev 0)
+++ geoipupdate.timer	2020-04-22 14:42:34 UTC (rev 617657)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Weekly update of GeoIP2 and GeoIP Legacy databases
+
+[Timer]
+OnCalendar=weekly
+AccuracySec=1h
+Persistent=true
+
+[Install]
+WantedBy=timers.target



More information about the arch-commits mailing list