Date: Monday, May 8, 2023 @ 22:15:49
  Author: mtorromeo
Revision: 1459576

archrelease: copy trunk to community-x86_64

Added:
  geoipupdate/repos/community-x86_64/PKGBUILD
    (from rev 1459575, geoipupdate/trunk/PKGBUILD)
  geoipupdate/repos/community-x86_64/geoipupdate.service
    (from rev 1459575, geoipupdate/trunk/geoipupdate.service)
  geoipupdate/repos/community-x86_64/geoipupdate.timer
    (from rev 1459575, 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            |  136 +++++++++++++++++++++++++-------------------------
 geoipupdate.service |   96 +++++++++++++++++------------------
 geoipupdate.timer   |   20 +++----
 3 files changed, 126 insertions(+), 126 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-08 22:15:39 UTC (rev 1459575)
+++ PKGBUILD    2023-05-08 22:15:49 UTC (rev 1459576)
@@ -1,68 +0,0 @@
-# Maintainer: Massimiliano Torromeo <[email protected]>
-
-pkgname=geoipupdate
-pkgver=5.0.4
-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";
-depends=(glibc)
-makedepends=(go 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=('02bc5dd121dfe232bf023bd0f736ddb05ba55061034e73d6036e940b34995844'
-            'ab2899197ea4c889b6da6e2b71bd7e50bc5aca976414aa79526d0008184e0307'
-            '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
-    go build \
-        -trimpath \
-        -buildmode=pie \
-        -mod=readonly \
-        -modcacherw \
-        -ldflags "-extldflags \"$LDFLAGS\" -X main.defaultConfigFile=$CONFFILE 
-X main.defaultDatabaseDirectory=$DATADIR -X main.version=$pkgver" \
-        -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 -Dm600 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 1459575, 
geoipupdate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-05-08 22:15:49 UTC (rev 1459576)
@@ -0,0 +1,68 @@
+# Maintainer: Massimiliano Torromeo <[email protected]>
+
+pkgname=geoipupdate
+pkgver=5.1.1
+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";
+depends=(glibc)
+makedepends=(go 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=('ecd2d7c594ef53c8251e6670d439ea1808bc747669375b836f4457a448327b14'
+            'ab2899197ea4c889b6da6e2b71bd7e50bc5aca976414aa79526d0008184e0307'
+            '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
+    go build \
+        -trimpath \
+        -buildmode=pie \
+        -mod=readonly \
+        -modcacherw \
+        -ldflags "-extldflags \"$LDFLAGS\" -X main.defaultConfigFile=$CONFFILE 
-X main.defaultDatabaseDirectory=$DATADIR -X main.version=$pkgver" \
+        -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 -Dm600 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 2023-05-08 22:15:39 UTC (rev 1459575)
+++ geoipupdate.service 2023-05-08 22:15:49 UTC (rev 1459576)
@@ -1,48 +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
-
-NoNewPrivileges=true
-LockPersonality=true
-CapabilityBoundingSet=
-
-PrivateDevices=true
-PrivateTmp=true
-PrivateUsers=true
-ProtectSystem=strict
-ProtectHome=true
-ReadWritePaths=/var/lib/GeoIP
-
-MemoryDenyWriteExecute=true
-RemoveIPC=true
-RestrictRealtime=true
-RestrictNamespaces=true
-RestrictSUIDSGID=true
-
-RestrictAddressFamilies=AF_INET
-RestrictAddressFamilies=AF_INET6
-
-ProtectHostname=true
-ProtectControlGroups=true
-ProtectKernelLogs=true
-ProtectKernelTunables=true
-ProtectKernelModules=true
-ProtectClock=true
-ProtectProc=invisible
-
-SystemCallArchitectures=native
-SystemCallFilter=~@clock
-SystemCallFilter=~@cpu-emulation
-SystemCallFilter=~@debug
-SystemCallFilter=~@module
-SystemCallFilter=~@mount
-SystemCallFilter=~@obsolete
-SystemCallFilter=~@privileged
-SystemCallFilter=~@raw-io
-SystemCallFilter=~@reboot
-SystemCallFilter=~@swap

Copied: geoipupdate/repos/community-x86_64/geoipupdate.service (from rev 
1459575, geoipupdate/trunk/geoipupdate.service)
===================================================================
--- geoipupdate.service                         (rev 0)
+++ geoipupdate.service 2023-05-08 22:15:49 UTC (rev 1459576)
@@ -0,0 +1,48 @@
+[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
+
+NoNewPrivileges=true
+LockPersonality=true
+CapabilityBoundingSet=
+
+PrivateDevices=true
+PrivateTmp=true
+PrivateUsers=true
+ProtectSystem=strict
+ProtectHome=true
+ReadWritePaths=/var/lib/GeoIP
+
+MemoryDenyWriteExecute=true
+RemoveIPC=true
+RestrictRealtime=true
+RestrictNamespaces=true
+RestrictSUIDSGID=true
+
+RestrictAddressFamilies=AF_INET
+RestrictAddressFamilies=AF_INET6
+
+ProtectHostname=true
+ProtectControlGroups=true
+ProtectKernelLogs=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectClock=true
+ProtectProc=invisible
+
+SystemCallArchitectures=native
+SystemCallFilter=~@clock
+SystemCallFilter=~@cpu-emulation
+SystemCallFilter=~@debug
+SystemCallFilter=~@module
+SystemCallFilter=~@mount
+SystemCallFilter=~@obsolete
+SystemCallFilter=~@privileged
+SystemCallFilter=~@raw-io
+SystemCallFilter=~@reboot
+SystemCallFilter=~@swap

Deleted: geoipupdate.timer
===================================================================
--- geoipupdate.timer   2023-05-08 22:15:39 UTC (rev 1459575)
+++ geoipupdate.timer   2023-05-08 22:15:49 UTC (rev 1459576)
@@ -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 1459575, 
geoipupdate/trunk/geoipupdate.timer)
===================================================================
--- geoipupdate.timer                           (rev 0)
+++ geoipupdate.timer   2023-05-08 22:15:49 UTC (rev 1459576)
@@ -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

Reply via email to