[arch-commits] Commit in gortr/repos/community-x86_64 (8 files)

Tim Meusel bastelfreak at gemini.archlinux.org
Sat Aug 14 18:42:40 UTC 2021


    Date: Saturday, August 14, 2021 @ 18:42:39
  Author: bastelfreak
Revision: 998551

archrelease: copy trunk to community-x86_64

Added:
  gortr/repos/community-x86_64/PKGBUILD
    (from rev 998550, gortr/trunk/PKGBUILD)
  gortr/repos/community-x86_64/gortr.env
    (from rev 998550, gortr/trunk/gortr.env)
  gortr/repos/community-x86_64/gortr.service
    (from rev 998550, gortr/trunk/gortr.service)
  gortr/repos/community-x86_64/gortr.sysusers
    (from rev 998550, gortr/trunk/gortr.sysusers)
Deleted:
  gortr/repos/community-x86_64/PKGBUILD
  gortr/repos/community-x86_64/gortr.env
  gortr/repos/community-x86_64/gortr.service
  gortr/repos/community-x86_64/gortr.sysusers

----------------+
 PKGBUILD       |  114 +++++++++++++++++++++++++++----------------------------
 gortr.env      |    2 
 gortr.service  |   44 ++++++++++-----------
 gortr.sysusers |    4 -
 4 files changed, 82 insertions(+), 82 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-14 18:41:40 UTC (rev 998550)
+++ PKGBUILD	2021-08-14 18:42:39 UTC (rev 998551)
@@ -1,57 +0,0 @@
-# Maintainer Tim Meusel <tim at bastelfreak.de>
-# Contributor: Nigel Kukard <nkukard at LBSD.net>
-# Contributor: Zhaofeng Li <hello at zhaofeng.li>
-
-pkgname=gortr
-pkgver=0.14.7
-pkgrel=5
-pkgdesc="The RPKI-to-Router server used at Cloudflare"
-arch=('x86_64' 'i686' 'aarch64' 'armv7l')
-url='https://github.com/cloudflare/gortr'
-license=('BSD')
-depends=()
-makedepends=('go')
-backup=('etc/conf.d/gortr')
-source=(
-  "gortr-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
-  'gortr.env'
-  'gortr.service'
-  'gortr.sysusers'
-)
-
-sha512sums=('02cd38da2af1af11a3384578c81cc07098b6e0a5abdf17cd70dcc7256c7a0ec687a60d590e7ce7a133faa28d0a768ef206c7a59672a10998e52b8a2dc2752a44'
-            '3b48c5aa6e4ee074df4e7087f664a114f9fd9b5d586f17cad9cc5af6a6bff788f46012dbec37b5c08e5b858bcbe7f59d7fc65e013104a57a5606e1c3d0b9ee61'
-            'c5a1bfb1957ef42d73811d087151c565beaec46b0d533dcd27661304e26e394040f0c4f3d75b1eedd6728e3c4a27c07db5a626cb8d8e8fe99bc6851f858df955'
-            'be46844e548f7eaf46c7f7b07db42b192c88f7c2cb980ab0dca952838ad0c80854f21414f12d47f62f51128ddd5d971e243a8846eece604228c2a4d13d64f1d7')
-
-prepare(){
-  cd "$pkgname-$pkgver"
-  mkdir -p build/
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  export GOPATH="$srcdir"/go
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
-  go build -o build ./cmd/...
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  go test ./...
-}
-
-package() {
-  install -Dm755 "${srcdir}/gortr-${pkgver}/build/gortr" "${pkgdir}/usr/bin/gortr"
-  install -Dm755 "${srcdir}/gortr-${pkgver}/build/rtrdump" "${pkgdir}/usr/bin/rtrdump"
-  install -Dm755 "${srcdir}/gortr-${pkgver}/build/rtrmon" "${pkgdir}/usr/bin/rtrmon"
-  install -Dm644 "${srcdir}/gortr.env" "${pkgdir}/etc/conf.d/gortr"
-  install -Dm644 "${srcdir}/gortr.service" "${pkgdir}/usr/lib/systemd/system/gortr.service"
-  install -Dm644 "${srcdir}/gortr.sysusers" "${pkgdir}/usr/lib/sysusers.d/gortr.conf"
-  install -Dm644 "${srcdir}/gortr-${pkgver}/cmd/gortr/cf.pub" "${pkgdir}/usr/lib/${pkgname}/cf.pub"
-  install -Dm644 "${srcdir}/gortr-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: gortr/repos/community-x86_64/PKGBUILD (from rev 998550, gortr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-14 18:42:39 UTC (rev 998551)
@@ -0,0 +1,57 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+# Contributor: Nigel Kukard <nkukard at LBSD.net>
+# Contributor: Zhaofeng Li <hello at zhaofeng.li>
+
+pkgname=gortr
+pkgver=0.14.7
+pkgrel=6
+pkgdesc="The RPKI-to-Router server used at Cloudflare"
+arch=('x86_64')
+url='https://github.com/cloudflare/gortr'
+license=('BSD')
+depends=()
+makedepends=('go')
+backup=('etc/conf.d/gortr')
+source=(
+  "gortr-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
+  'gortr.env'
+  'gortr.service'
+  'gortr.sysusers'
+)
+
+sha512sums=('02cd38da2af1af11a3384578c81cc07098b6e0a5abdf17cd70dcc7256c7a0ec687a60d590e7ce7a133faa28d0a768ef206c7a59672a10998e52b8a2dc2752a44'
+            '3b48c5aa6e4ee074df4e7087f664a114f9fd9b5d586f17cad9cc5af6a6bff788f46012dbec37b5c08e5b858bcbe7f59d7fc65e013104a57a5606e1c3d0b9ee61'
+            'c5a1bfb1957ef42d73811d087151c565beaec46b0d533dcd27661304e26e394040f0c4f3d75b1eedd6728e3c4a27c07db5a626cb8d8e8fe99bc6851f858df955'
+            'be46844e548f7eaf46c7f7b07db42b192c88f7c2cb980ab0dca952838ad0c80854f21414f12d47f62f51128ddd5d971e243a8846eece604228c2a4d13d64f1d7')
+
+prepare(){
+  cd "$pkgname-$pkgver"
+  mkdir -p build/
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  export GOPATH="$srcdir"/go
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
+  go build -o build ./cmd/...
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  go test ./...
+}
+
+package() {
+  install -Dm755 "${srcdir}/gortr-${pkgver}/build/gortr" "${pkgdir}/usr/bin/gortr"
+  install -Dm755 "${srcdir}/gortr-${pkgver}/build/rtrdump" "${pkgdir}/usr/bin/rtrdump"
+  install -Dm755 "${srcdir}/gortr-${pkgver}/build/rtrmon" "${pkgdir}/usr/bin/rtrmon"
+  install -Dm644 "${srcdir}/gortr.env" "${pkgdir}/etc/conf.d/gortr"
+  install -Dm644 "${srcdir}/gortr.service" "${pkgdir}/usr/lib/systemd/system/gortr.service"
+  install -Dm644 "${srcdir}/gortr.sysusers" "${pkgdir}/usr/lib/sysusers.d/gortr.conf"
+  install -Dm644 "${srcdir}/gortr-${pkgver}/cmd/gortr/cf.pub" "${pkgdir}/usr/lib/${pkgname}/cf.pub"
+  install -Dm644 "${srcdir}/gortr-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: gortr.env
===================================================================
--- gortr.env	2021-08-14 18:41:40 UTC (rev 998550)
+++ gortr.env	2021-08-14 18:42:39 UTC (rev 998551)
@@ -1 +0,0 @@
-GORTR_ARGS=

Copied: gortr/repos/community-x86_64/gortr.env (from rev 998550, gortr/trunk/gortr.env)
===================================================================
--- gortr.env	                        (rev 0)
+++ gortr.env	2021-08-14 18:42:39 UTC (rev 998551)
@@ -0,0 +1 @@
+GORTR_ARGS=

Deleted: gortr.service
===================================================================
--- gortr.service	2021-08-14 18:41:40 UTC (rev 998550)
+++ gortr.service	2021-08-14 18:42:39 UTC (rev 998551)
@@ -1,22 +0,0 @@
-[Unit]
-Description=GoRTR
-After=network.target
-Wants=network-online.target
-
-[Service]
-Type=simple
-Restart=on-failure
-RestartSec=10s
-EnvironmentFile=/etc/conf.d/gortr
-WorkingDirectory=/usr/lib/gortr
-ExecStart=/usr/bin/gortr $GORTR_ARGS
-User=gortr
-PrivateDevices=yes
-PrivateTmp=yes
-ProtectSystem=full
-ProtectHome=yes
-CapabilityBoundingSet=cap_net_raw
-AmbientCapabilities=cap_net_raw
-
-[Install]
-WantedBy=multi-user.target

Copied: gortr/repos/community-x86_64/gortr.service (from rev 998550, gortr/trunk/gortr.service)
===================================================================
--- gortr.service	                        (rev 0)
+++ gortr.service	2021-08-14 18:42:39 UTC (rev 998551)
@@ -0,0 +1,22 @@
+[Unit]
+Description=GoRTR
+After=network.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+Restart=on-failure
+RestartSec=10s
+EnvironmentFile=/etc/conf.d/gortr
+WorkingDirectory=/usr/lib/gortr
+ExecStart=/usr/bin/gortr $GORTR_ARGS
+User=gortr
+PrivateDevices=yes
+PrivateTmp=yes
+ProtectSystem=full
+ProtectHome=yes
+CapabilityBoundingSet=cap_net_raw
+AmbientCapabilities=cap_net_raw
+
+[Install]
+WantedBy=multi-user.target

Deleted: gortr.sysusers
===================================================================
--- gortr.sysusers	2021-08-14 18:41:40 UTC (rev 998550)
+++ gortr.sysusers	2021-08-14 18:42:39 UTC (rev 998551)
@@ -1,2 +0,0 @@
-u gortr - "User to run Cloudflares gortr Daemon"
-g gortr -

Copied: gortr/repos/community-x86_64/gortr.sysusers (from rev 998550, gortr/trunk/gortr.sysusers)
===================================================================
--- gortr.sysusers	                        (rev 0)
+++ gortr.sysusers	2021-08-14 18:42:39 UTC (rev 998551)
@@ -0,0 +1,2 @@
+u gortr - "User to run Cloudflares gortr Daemon"
+g gortr -



More information about the arch-commits mailing list