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

George Rawlinson grawlinson at gemini.archlinux.org
Fri Apr 29 02:03:04 UTC 2022


    Date: Friday, April 29, 2022 @ 02:03:03
  Author: grawlinson
Revision: 1191741

archrelease: copy trunk to community-x86_64

Added:
  promscale/repos/community-x86_64/PKGBUILD
    (from rev 1191740, promscale/trunk/PKGBUILD)
  promscale/repos/community-x86_64/systemd.service
    (from rev 1191740, promscale/trunk/systemd.service)
  promscale/repos/community-x86_64/sysusers.conf
    (from rev 1191740, promscale/trunk/sysusers.conf)
Deleted:
  promscale/repos/community-x86_64/PKGBUILD
  promscale/repos/community-x86_64/systemd.service
  promscale/repos/community-x86_64/sysusers.conf

-----------------+
 PKGBUILD        |  174 +++++++++++++++++++++++++++---------------------------
 systemd.service |   96 ++++++++++++++---------------
 sysusers.conf   |    2 
 3 files changed, 136 insertions(+), 136 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-29 02:02:15 UTC (rev 1191740)
+++ PKGBUILD	2022-04-29 02:03:03 UTC (rev 1191741)
@@ -1,87 +0,0 @@
-# Maintainer: George Rawlinson <george at rawlinson.net.nz>
-
-pkgname=promscale
-pkgver=0.10.0
-pkgrel=1
-pkgdesc="An analytical platform for Prometheus metrics"
-arch=('x86_64')
-url="https://github.com/timescale/promscale"
-license=('Apache')
-depends=('glibc')
-makedepends=('git' 'go')
-optdepends=(
-  'timescaledb: for a local timescaledb instance'
-  'prometheus: for a local prometheus instance'
-  'promscale_extension: for optimised postgresql performance'
-)
-backup=('etc/promscale.conf')
-options=('!lto')
-_commit='0742e64f1c1371f6d83fa761f45b54dc4e69e5a8'
-source=(
-  "$pkgname::git+$url.git#commit=$_commit"
-  'systemd.service'
-  'sysusers.conf'
-)
-sha512sums=('SKIP'
-            '28a4f7b02c7ba36887c4b3906048fc7574d0c66424d20aad5c5c191954c7416adf19d14d6ac7dbb0fef7ff2f4457ed1014c324e9a56f9d08fc47257d8d915ddd'
-            'ec5e6ec6b967119722d8fdaaaaf1a4d8dea9ad0b78707a1ddd6b55da524b571c7ecd4c2b97776c6ce9f49d4549d760482a2346c11ab287650469448d9c662726')
-b2sums=('SKIP'
-        '00c948fad197fcedcb4171d253b430304673681dd5761f25a6ee545a3c146e37e00f89c4f9d44fdd5ffafcfee5d5eaa5bc3cacd43a0cf46467a9eb7a7f82a281'
-        '1e720f8e453d9acad5f0ed39a51b59c429322b9e9e885f3d71d0e2fd37276268e639422f8d39ca9fca14e0e5ccf646d717fbe89e0dd696980d03467cfb7d3e0f')
-
-pkgver() {
-  cd "$pkgname"
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  cd "$pkgname"
-
-  # create directory for build output
-  mkdir build_output
-
-  # download dependencies
-  go mod download
-}
-
-build() {
-  cd "$pkgname"
-
-  # set Go flags
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-
-  # generate
-  go generate ./...
-
-  go build -v \
-    -buildmode=pie \
-    -trimpath \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -extldflags ${LDFLAGS} \
-    -X github.com/timescale/promscale/pkg/version.CommitHash=$(git rev-parse HEAD) \
-    -X telemetry.BuildPlatform=archlinux" \
-    -o build_output ./cmd/...
-}
-
-package() {
-  # systemd integration
-  install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-  install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
-
-  # documentation
-  cd "$pkgname"
-  install -vDm644 cmd/prom-migrator/README.md "$pkgdir/usr/share/doc/$pkgname/prom-migrator.md"
-  install -vDm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
-  cp -vr docs "$pkgdir/usr/share/doc/$pkgname"
-
-  # binaries
-  install -vDm755 -t "$pkgdir/usr/bin" \
-    "build_output/$pkgname" \
-    build_output/prom-migrator
-
-  # configuration
-  install -vDm644 -t "$pkgdir/etc" build/conf/promscale.conf
-}

Copied: promscale/repos/community-x86_64/PKGBUILD (from rev 1191740, promscale/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-29 02:03:03 UTC (rev 1191741)
@@ -0,0 +1,87 @@
+# Maintainer: George Rawlinson <george at rawlinson.net.nz>
+
+pkgname=promscale
+pkgver=0.10.0
+pkgrel=2
+pkgdesc="An analytical platform for Prometheus metrics"
+arch=('x86_64')
+url="https://github.com/timescale/promscale"
+license=('Apache')
+depends=('glibc')
+makedepends=('git' 'go')
+optdepends=(
+  'timescaledb: for a local timescaledb instance'
+  'prometheus: for a local prometheus instance'
+  'promscale_extension: for optimised postgresql performance'
+)
+backup=('etc/promscale.conf')
+options=('!lto')
+_commit='0742e64f1c1371f6d83fa761f45b54dc4e69e5a8'
+source=(
+  "$pkgname::git+$url.git#commit=$_commit"
+  'systemd.service'
+  'sysusers.conf'
+)
+sha512sums=('SKIP'
+            '28a4f7b02c7ba36887c4b3906048fc7574d0c66424d20aad5c5c191954c7416adf19d14d6ac7dbb0fef7ff2f4457ed1014c324e9a56f9d08fc47257d8d915ddd'
+            'ec5e6ec6b967119722d8fdaaaaf1a4d8dea9ad0b78707a1ddd6b55da524b571c7ecd4c2b97776c6ce9f49d4549d760482a2346c11ab287650469448d9c662726')
+b2sums=('SKIP'
+        '00c948fad197fcedcb4171d253b430304673681dd5761f25a6ee545a3c146e37e00f89c4f9d44fdd5ffafcfee5d5eaa5bc3cacd43a0cf46467a9eb7a7f82a281'
+        '1e720f8e453d9acad5f0ed39a51b59c429322b9e9e885f3d71d0e2fd37276268e639422f8d39ca9fca14e0e5ccf646d717fbe89e0dd696980d03467cfb7d3e0f')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # create directory for build output
+  mkdir build_output
+
+  # download dependencies
+  go mod download
+}
+
+build() {
+  cd "$pkgname"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  # generate
+  go generate ./...
+
+  go build -v \
+    -buildmode=pie \
+    -trimpath \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-linkmode external -extldflags ${LDFLAGS} \
+    -X github.com/timescale/promscale/pkg/version.CommitHash=$(git rev-parse HEAD) \
+    -X telemetry.BuildPlatform=archlinux" \
+    -o build_output ./cmd/...
+}
+
+package() {
+  # systemd integration
+  install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+  install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+
+  # documentation
+  cd "$pkgname"
+  install -vDm644 cmd/prom-migrator/README.md "$pkgdir/usr/share/doc/$pkgname/prom-migrator.md"
+  install -vDm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+  cp -vr docs "$pkgdir/usr/share/doc/$pkgname"
+
+  # binaries
+  install -vDm755 -t "$pkgdir/usr/bin" \
+    "build_output/$pkgname" \
+    build_output/prom-migrator
+
+  # configuration
+  install -vDm644 -t "$pkgdir/etc" build/conf/promscale.conf
+}

Deleted: systemd.service
===================================================================
--- systemd.service	2022-04-29 02:02:15 UTC (rev 1191740)
+++ systemd.service	2022-04-29 02:03:03 UTC (rev 1191741)
@@ -1,48 +0,0 @@
-[Unit]
-Description=TimescaleDB Promscale Service
-Documentation=https://github.com/timescale/promscale
-Requires=network-online.target
-After=network-online.target
-
-[Service]
-User=promscale
-Group=promscale
-EnvironmentFile=-/etc/promscale.conf
-ExecStart=/usr/bin/promscale $OPTIONS
-Restart=on-failure
-RestartSec=5s
-KillMode=mixed
-KillSignal=SIGINT
-
-# Hardening
-NoNewPrivileges=true
-ProtectSystem=strict
-ProtectHome=true
-PrivateTmp=true
-PrivateDevices=true
-ProtectHostname=true
-ProtectClock=true
-ProtectKernelTunables=true
-ProtectKernelModules=true
-ProtectKernelLogs=true
-ProtectControlGroups=true
-RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
-RestrictNamespaces=true
-LockPersonality=true
-MemoryDenyWriteExecute=true
-RestrictRealtime=true
-RestrictSUIDSGID=true
-RemoveIPC=true
-CapabilityBoundingSet=
-AmbientCapabilities=
-PrivateUsers=true
-
-SystemCallFilter=@system-service
-SystemCallFilter=~@privileged @resources
-SystemCallArchitectures=native
-
-LimitNOFILE=1048576
-UMask=0077
-
-[Install]
-WantedBy=multi-user.target

Copied: promscale/repos/community-x86_64/systemd.service (from rev 1191740, promscale/trunk/systemd.service)
===================================================================
--- systemd.service	                        (rev 0)
+++ systemd.service	2022-04-29 02:03:03 UTC (rev 1191741)
@@ -0,0 +1,48 @@
+[Unit]
+Description=TimescaleDB Promscale Service
+Documentation=https://github.com/timescale/promscale
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+User=promscale
+Group=promscale
+EnvironmentFile=-/etc/promscale.conf
+ExecStart=/usr/bin/promscale $OPTIONS
+Restart=on-failure
+RestartSec=5s
+KillMode=mixed
+KillSignal=SIGINT
+
+# Hardening
+NoNewPrivileges=true
+ProtectSystem=strict
+ProtectHome=true
+PrivateTmp=true
+PrivateDevices=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
+RestrictNamespaces=true
+LockPersonality=true
+MemoryDenyWriteExecute=true
+RestrictRealtime=true
+RestrictSUIDSGID=true
+RemoveIPC=true
+CapabilityBoundingSet=
+AmbientCapabilities=
+PrivateUsers=true
+
+SystemCallFilter=@system-service
+SystemCallFilter=~@privileged @resources
+SystemCallArchitectures=native
+
+LimitNOFILE=1048576
+UMask=0077
+
+[Install]
+WantedBy=multi-user.target

Deleted: sysusers.conf
===================================================================
--- sysusers.conf	2022-04-29 02:02:15 UTC (rev 1191740)
+++ sysusers.conf	2022-04-29 02:03:03 UTC (rev 1191741)
@@ -1 +0,0 @@
-u promscale - "Promscale daemon user"

Copied: promscale/repos/community-x86_64/sysusers.conf (from rev 1191740, promscale/trunk/sysusers.conf)
===================================================================
--- sysusers.conf	                        (rev 0)
+++ sysusers.conf	2022-04-29 02:03:03 UTC (rev 1191741)
@@ -0,0 +1 @@
+u promscale - "Promscale daemon user"



More information about the arch-commits mailing list