Date: Friday, October 28, 2022 @ 09:03:23
  Author: artafinde
Revision: 1338359

archrelease: copy trunk to community-x86_64

Added:
  goaurrpc/repos/community-x86_64/PKGBUILD
    (from rev 1338358, goaurrpc/trunk/PKGBUILD)
  goaurrpc/repos/community-x86_64/goaurrpc-local.sample
    (from rev 1338358, goaurrpc/trunk/goaurrpc-local.sample)
  goaurrpc/repos/community-x86_64/goaurrpc-remote.sample
    (from rev 1338358, goaurrpc/trunk/goaurrpc-remote.sample)
  goaurrpc/repos/community-x86_64/goaurrpc.service
    (from rev 1338358, goaurrpc/trunk/goaurrpc.service)
  goaurrpc/repos/community-x86_64/goaurrpc.sysusers
    (from rev 1338358, goaurrpc/trunk/goaurrpc.sysusers)
  goaurrpc/repos/community-x86_64/keys/
Deleted:
  goaurrpc/repos/community-x86_64/PKGBUILD
  goaurrpc/repos/community-x86_64/goaurrpc-local.sample
  goaurrpc/repos/community-x86_64/goaurrpc-remote.sample
  goaurrpc/repos/community-x86_64/goaurrpc.service
  goaurrpc/repos/community-x86_64/goaurrpc.sysusers
  goaurrpc/repos/community-x86_64/keys/

------------------------+
 PKGBUILD               |  117 +++++++++++++++++++++++------------------------
 goaurrpc-local.sample  |   42 ++++++++--------
 goaurrpc-remote.sample |   42 ++++++++--------
 goaurrpc.service       |   56 +++++++++++-----------
 goaurrpc.sysusers      |    2 
 5 files changed, 130 insertions(+), 129 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-28 09:03:14 UTC (rev 1338358)
+++ PKGBUILD    2022-10-28 09:03:23 UTC (rev 1338359)
@@ -1,58 +0,0 @@
-# Maintainer: Leonidas Spyropoulos <[email protected]>
-
-pkgname=goaurrpc
-pkgver=1.1.11
-pkgrel=1
-license=('MIT')
-pkgdesc="An implementation of the aurweb /rpc service in go"
-depends=('glibc')
-makedepends=('go' 'git')
-arch=('x86_64')
-url="https://github.com/moson-mo/goaurrpc";
-source=("git+https://github.com/moson-mo/goaurrpc.git#tag=v${pkgver}?signed";
-        goaurrpc-local.sample
-        goaurrpc-remote.sample
-        goaurrpc.service
-        goaurrpc.sysusers)
-sha256sums=('SKIP'
-            '3a2921bed5695e9c0ebb957cd42630047fbce71af7876b449016a82473a1a89d'
-            'fcea00cbaee4d3e336cfae8faeca589b044d9b82c486ba012d9a9fc3b949039e'
-            'e6a298e647fcf3b255d9886180b992f0dc447e763509c50513473f6d9b9ac5e3'
-            '45ac878e62e8e43c55645ebbd71fc8e10ce32c81d1a769979f48ac5f25392ff3')
-validpgpkeys=(
-  D5AD89388A7C6C9C22E790994A4760AB4EE15296  # Mario Oenning 
<[email protected]>, retrieved from 
https://github.com/moson-mo.gpg
-  )
-
-prepare() {
-  cd ${pkgname}
-  mkdir -p dist/
-}
-
-build() {
-  cd ${pkgname}
-  go build \
-    -trimpath \
-    -buildmode=pie \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
-    -o dist/goaurrpc \
-    .
-}
-
-check() {
-  cd ${pkgname}
-  go test ./...
-}
-
-package() {
-  cd ${pkgname}
-  install -vDm 755 dist/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
-  install -vDm 644 LICENSE  "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -vDm 644 "${srcdir}"/${pkgname}.service 
"${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
-  install -vDm 644 "${srcdir}"/${pkgname}.sysusers 
"${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
-  install -vDm 644 "${srcdir}"/goaurrpc-local.sample -t 
"${pkgdir}/usr/share/doc/${pkgname}/"
-  install -vDm 644 "${srcdir}"/goaurrpc-remote.sample -t 
"${pkgdir}/usr/share/doc/${pkgname}/"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: goaurrpc/repos/community-x86_64/PKGBUILD (from rev 1338358, 
goaurrpc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-28 09:03:23 UTC (rev 1338359)
@@ -0,0 +1,59 @@
+# Maintainer: Leonidas Spyropoulos <[email protected]>
+
+pkgname=goaurrpc
+pkgver=1.1.11
+pkgrel=2
+license=('MIT')
+pkgdesc="An implementation of the aurweb /rpc service in go"
+depends=('glibc')
+makedepends=('go' 'git')
+arch=('x86_64')
+url="https://github.com/moson-mo/goaurrpc";
+source=("git+https://github.com/moson-mo/goaurrpc.git#tag=v${pkgver}?signed";
+        goaurrpc-local.sample
+        goaurrpc-remote.sample
+        goaurrpc.service
+        goaurrpc.sysusers)
+sha256sums=('SKIP'
+            '3a2921bed5695e9c0ebb957cd42630047fbce71af7876b449016a82473a1a89d'
+            'fcea00cbaee4d3e336cfae8faeca589b044d9b82c486ba012d9a9fc3b949039e'
+            'e6a298e647fcf3b255d9886180b992f0dc447e763509c50513473f6d9b9ac5e3'
+            '45ac878e62e8e43c55645ebbd71fc8e10ce32c81d1a769979f48ac5f25392ff3')
+validpgpkeys=(
+  D5AD89388A7C6C9C22E790994A4760AB4EE15296  # Mario Oenning 
<[email protected]>, retrieved from 
https://github.com/moson-mo.gpg
+  )
+
+prepare() {
+  cd ${pkgname}
+  mkdir -p dist/
+}
+
+build() {
+  cd ${pkgname}
+  local _BUILDINFO="-X 'main.version=v${pkgver}'"
+  go build \
+    -trimpath \
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-linkmode external -extldflags \"${LDFLAGS}\" ${_BUILDINFO}" \
+    -o dist/goaurrpc \
+    .
+}
+
+check() {
+  cd ${pkgname}
+  go test ./...
+}
+
+package() {
+  cd ${pkgname}
+  install -vDm 755 dist/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+  install -vDm 644 LICENSE  "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 "${srcdir}"/${pkgname}.service 
"${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
+  install -vDm 644 "${srcdir}"/${pkgname}.sysusers 
"${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+  install -vDm 644 "${srcdir}"/goaurrpc-local.sample -t 
"${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 "${srcdir}"/goaurrpc-remote.sample -t 
"${pkgdir}/usr/share/doc/${pkgname}/"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: goaurrpc-local.sample
===================================================================
--- goaurrpc-local.sample       2022-10-28 09:03:14 UTC (rev 1338358)
+++ goaurrpc-local.sample       2022-10-28 09:03:23 UTC (rev 1338359)
@@ -1,21 +0,0 @@
-{
-       "Port": 10666,
-       "AurFileLocation": "data/packages-meta-ext-v1.json.gz",
-       "MaxResults": 5000,
-       "RefreshInterval": 300,
-       "RateLimit": 4000,
-       "LoadFromFile": true,
-       "RateLimitCleanupInterval": 600,
-       "RateLimitTimeWindow": 86400,
-       "TrustedReverseProxies": [
-               "127.0.0.1",
-               "::1"
-       ],
-       "EnableSSL": false,
-       "CertFile": "",
-       "KeyFile": "",
-       "EnableSearchCache": true,
-       "CacheCleanupInterval": 60,
-       "CacheExpirationTime": 180,
-       "EnableMetrics": true
-}

Copied: goaurrpc/repos/community-x86_64/goaurrpc-local.sample (from rev 
1338358, goaurrpc/trunk/goaurrpc-local.sample)
===================================================================
--- goaurrpc-local.sample                               (rev 0)
+++ goaurrpc-local.sample       2022-10-28 09:03:23 UTC (rev 1338359)
@@ -0,0 +1,21 @@
+{
+       "Port": 10666,
+       "AurFileLocation": "data/packages-meta-ext-v1.json.gz",
+       "MaxResults": 5000,
+       "RefreshInterval": 300,
+       "RateLimit": 4000,
+       "LoadFromFile": true,
+       "RateLimitCleanupInterval": 600,
+       "RateLimitTimeWindow": 86400,
+       "TrustedReverseProxies": [
+               "127.0.0.1",
+               "::1"
+       ],
+       "EnableSSL": false,
+       "CertFile": "",
+       "KeyFile": "",
+       "EnableSearchCache": true,
+       "CacheCleanupInterval": 60,
+       "CacheExpirationTime": 180,
+       "EnableMetrics": true
+}

Deleted: goaurrpc-remote.sample
===================================================================
--- goaurrpc-remote.sample      2022-10-28 09:03:14 UTC (rev 1338358)
+++ goaurrpc-remote.sample      2022-10-28 09:03:23 UTC (rev 1338359)
@@ -1,21 +0,0 @@
-{
-       "Port": 10666,
-       "AurFileLocation": 
"https://aur.archlinux.org/packages-meta-ext-v1.json.gz";,
-       "MaxResults": 5000,
-       "RefreshInterval": 300,
-       "RateLimit": 4000,
-       "LoadFromFile": false,
-       "RateLimitCleanupInterval": 600,
-       "RateLimitTimeWindow": 86400,
-       "TrustedReverseProxies": [
-               "127.0.0.1",
-               "::1"
-       ],
-       "EnableSSL": false,
-       "CertFile": "",
-       "KeyFile": "",
-       "EnableSearchCache": true,
-       "CacheCleanupInterval": 60,
-       "CacheExpirationTime": 180,
-       "EnableMetrics": true
-}

Copied: goaurrpc/repos/community-x86_64/goaurrpc-remote.sample (from rev 
1338358, goaurrpc/trunk/goaurrpc-remote.sample)
===================================================================
--- goaurrpc-remote.sample                              (rev 0)
+++ goaurrpc-remote.sample      2022-10-28 09:03:23 UTC (rev 1338359)
@@ -0,0 +1,21 @@
+{
+       "Port": 10666,
+       "AurFileLocation": 
"https://aur.archlinux.org/packages-meta-ext-v1.json.gz";,
+       "MaxResults": 5000,
+       "RefreshInterval": 300,
+       "RateLimit": 4000,
+       "LoadFromFile": false,
+       "RateLimitCleanupInterval": 600,
+       "RateLimitTimeWindow": 86400,
+       "TrustedReverseProxies": [
+               "127.0.0.1",
+               "::1"
+       ],
+       "EnableSSL": false,
+       "CertFile": "",
+       "KeyFile": "",
+       "EnableSearchCache": true,
+       "CacheCleanupInterval": 60,
+       "CacheExpirationTime": 180,
+       "EnableMetrics": true
+}

Deleted: goaurrpc.service
===================================================================
--- goaurrpc.service    2022-10-28 09:03:14 UTC (rev 1338358)
+++ goaurrpc.service    2022-10-28 09:03:23 UTC (rev 1338359)
@@ -1,28 +0,0 @@
-[Unit]
-Description=goaurrpc daemon
-Requires=network-online.target
-After=network-online.target
-
-[Service]
-User=goaurrpc
-Group=goaurrpc
-Restart=on-failure
-ExecStart=/usr/bin/goaurrpc -c /etc/goaurrpc.conf -v
-TimeoutStopSec=0
-KillSignal=SIGTERM
-
-# Hardening options
-CapabilityBoundingSet=
-AmbientCapabilities=
-NoNewPrivileges=true
-ProtectHome=true
-ProtectSystem=strict
-ProtectKernelTunables=true
-ProtectKernelModules=true
-ProtectControlGroups=true
-PrivateTmp=true
-PrivateDevices=true
-LockPersonality=true
-
-[Install]
-WantedBy=multi-user.target

Copied: goaurrpc/repos/community-x86_64/goaurrpc.service (from rev 1338358, 
goaurrpc/trunk/goaurrpc.service)
===================================================================
--- goaurrpc.service                            (rev 0)
+++ goaurrpc.service    2022-10-28 09:03:23 UTC (rev 1338359)
@@ -0,0 +1,28 @@
+[Unit]
+Description=goaurrpc daemon
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+User=goaurrpc
+Group=goaurrpc
+Restart=on-failure
+ExecStart=/usr/bin/goaurrpc -c /etc/goaurrpc.conf -v
+TimeoutStopSec=0
+KillSignal=SIGTERM
+
+# Hardening options
+CapabilityBoundingSet=
+AmbientCapabilities=
+NoNewPrivileges=true
+ProtectHome=true
+ProtectSystem=strict
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectControlGroups=true
+PrivateTmp=true
+PrivateDevices=true
+LockPersonality=true
+
+[Install]
+WantedBy=multi-user.target

Deleted: goaurrpc.sysusers
===================================================================
--- goaurrpc.sysusers   2022-10-28 09:03:14 UTC (rev 1338358)
+++ goaurrpc.sysusers   2022-10-28 09:03:23 UTC (rev 1338359)
@@ -1 +0,0 @@
-u goaurrpc - "goaurrpc systemd user"

Copied: goaurrpc/repos/community-x86_64/goaurrpc.sysusers (from rev 1338358, 
goaurrpc/trunk/goaurrpc.sysusers)
===================================================================
--- goaurrpc.sysusers                           (rev 0)
+++ goaurrpc.sysusers   2022-10-28 09:03:23 UTC (rev 1338359)
@@ -0,0 +1 @@
+u goaurrpc - "goaurrpc systemd user"

Reply via email to