[arch-commits] Commit in matterbridge/repos/community-x86_64 (4 files)

Justin Kromlinger hashworks at gemini.archlinux.org
Sun Dec 5 15:38:29 UTC 2021


    Date: Sunday, December 5, 2021 @ 15:38:29
  Author: hashworks
Revision: 1065174

archrelease: copy trunk to community-x86_64

Added:
  matterbridge/repos/community-x86_64/PKGBUILD
    (from rev 1065173, matterbridge/trunk/PKGBUILD)
  matterbridge/repos/community-x86_64/matterbridge.service
    (from rev 1065173, matterbridge/trunk/matterbridge.service)
Deleted:
  matterbridge/repos/community-x86_64/PKGBUILD
  matterbridge/repos/community-x86_64/matterbridge.service

----------------------+
 PKGBUILD             |   82 ++++++++++++++++++++++++-------------------------
 matterbridge.service |   76 +++++++++++++++++++++++----------------------
 2 files changed, 80 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-05 15:38:26 UTC (rev 1065173)
+++ PKGBUILD	2021-12-05 15:38:29 UTC (rev 1065174)
@@ -1,41 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=matterbridge
-pkgver=1.23.2
-pkgrel=2
-pkgdesc="Multi-protocols (IRC/XMPP/Mattermost/Slack/Matrix/etc) bridge"
-arch=(x86_64)
-url="https://github.com/42wim/matterbridge"
-license=(Apache)
-depends=(glibc gcc-libs)
-makedepends=(go git)
-backup=(etc/matterbridge.toml)
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz"
-        ${pkgname}-${pkgver}.tar.gz.asc::"${url}/releases/download/v${pkgver}/v${pkgver}.tar.gz.asc"
-        matterbridge.service)
-sha512sums=('30c5fa8ed47ad68e331b8c6037169c7f17ff45f5ab2e896756b100deb37b6db4249ab54d7d5d9817cf76770cb573fb058df91b20e82a9d3d081396c52c2557c1'
-            'SKIP'
-            '920d96f9427df21ccf3d87ae9fe4343543c2db19c1ad8bf8356939f4ffa261f51e54589d6eb63b1c56e2cd3ea527a9d3e0b5e2afd29658629747837ec1ec4fd3')
-validpgpkeys=(CC7D978417C1AEA1E4CDD7240E41AB4BF4C610B4) # wim <wim at 42.be>
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  go mod vendor
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
-  go build -v -o ${pkgname} .
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm755 ${pkgname} -t "${pkgdir}"/usr/bin/
-  install -Dm644 matterbridge.toml.sample "${pkgdir}"/etc/matterbridge.toml
-  install -Dm644 ../${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
-}

Copied: matterbridge/repos/community-x86_64/PKGBUILD (from rev 1065173, matterbridge/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-05 15:38:29 UTC (rev 1065174)
@@ -0,0 +1,41 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=matterbridge
+pkgver=1.23.2
+pkgrel=3
+pkgdesc="Multi-protocols (IRC/XMPP/Mattermost/Slack/Matrix/etc) bridge"
+arch=(x86_64)
+url="https://github.com/42wim/matterbridge"
+license=(Apache)
+depends=(glibc gcc-libs)
+makedepends=(go git)
+backup=(etc/matterbridge.toml)
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz"
+        ${pkgname}-${pkgver}.tar.gz.asc::"${url}/releases/download/v${pkgver}/v${pkgver}.tar.gz.asc"
+        matterbridge.service)
+sha512sums=('30c5fa8ed47ad68e331b8c6037169c7f17ff45f5ab2e896756b100deb37b6db4249ab54d7d5d9817cf76770cb573fb058df91b20e82a9d3d081396c52c2557c1'
+            'SKIP'
+            'a16c6fd5593c63dce375ba7c572afed8f9494a1f3ccb8b51a6358fe72305c59f5f77bee0f6927ee2df7a1e2c02acc3a805d28e673fc05ff5fb55a51b6ca964ea')
+validpgpkeys=(CC7D978417C1AEA1E4CDD7240E41AB4BF4C610B4) # wim <wim at 42.be>
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  go mod vendor
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
+  go build -v -o ${pkgname} .
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm755 ${pkgname} -t "${pkgdir}"/usr/bin/
+  install -Dm600 matterbridge.toml.sample "${pkgdir}"/etc/matterbridge.toml
+  install -Dm644 ../${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
+}

Deleted: matterbridge.service
===================================================================
--- matterbridge.service	2021-12-05 15:38:26 UTC (rev 1065173)
+++ matterbridge.service	2021-12-05 15:38:29 UTC (rev 1065174)
@@ -1,37 +0,0 @@
-[Unit]
-Description=Multi-protocols bridge for online communications
-After=network-online.target
-
-[Service]
-User=matterbridge
-DynamicUser=yes
-ExecStart=/usr/bin/matterbridge -conf /etc/matterbridge.toml
-Restart=on-failure
-RestartSec=5s
-Type=simple
-CapabilityBoundingSet=
-AmbientCapabilities=
-NoNewPrivileges=true
-#SecureBits=
-ProtectSystem=strict
-ProtectHome=true
-PrivateTmp=true
-PrivateDevices=true
-PrivateNetwork=false
-PrivateUsers=true
-ProtectHostname=true
-ProtectClock=true
-ProtectKernelTunables=true
-ProtectKernelModules=true
-ProtectKernelLogs=true
-ProtectControlGroups=true
-RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
-RestrictNamespaces=true
-LockPersonality=true
-RestrictRealtime=true
-RestrictSUIDSGID=true
-SystemCallFilter=@system-service
-SystemCallArchitectures=native
-
-[Install]
-WantedBy=multi-user.target

Copied: matterbridge/repos/community-x86_64/matterbridge.service (from rev 1065173, matterbridge/trunk/matterbridge.service)
===================================================================
--- matterbridge.service	                        (rev 0)
+++ matterbridge.service	2021-12-05 15:38:29 UTC (rev 1065174)
@@ -0,0 +1,39 @@
+[Unit]
+Description=Multi-protocols bridge for online communications
+After=network-online.target
+
+[Service]
+User=matterbridge
+DynamicUser=yes
+StateDirectory=matterbridge
+ExecStartPre=+/usr/bin/install --owner=matterbridge --mode=400 -T /etc/matterbridge.toml %S/matterbridge/matterbridge.toml
+ExecStart=/usr/bin/matterbridge -conf %S/matterbridge/matterbridge.toml
+Restart=on-failure
+RestartSec=5s
+Type=simple
+CapabilityBoundingSet=
+AmbientCapabilities=
+NoNewPrivileges=true
+#SecureBits=
+ProtectSystem=strict
+ProtectHome=true
+PrivateTmp=true
+PrivateDevices=true
+PrivateNetwork=false
+PrivateUsers=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
+RestrictNamespaces=true
+LockPersonality=true
+RestrictRealtime=true
+RestrictSUIDSGID=true
+SystemCallFilter=@system-service
+SystemCallArchitectures=native
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list