[arch-commits] Commit in matterbridge/repos/community-x86_64 (4 files)
Bruno Pagani
archange at archlinux.org
Sat Dec 5 23:31:01 UTC 2020
Date: Saturday, December 5, 2020 @ 23:31:01
Author: archange
Revision: 770988
archrelease: copy trunk to community-x86_64
Added:
matterbridge/repos/community-x86_64/PKGBUILD
(from rev 770987, matterbridge/trunk/PKGBUILD)
matterbridge/repos/community-x86_64/matterbridge.service
(from rev 770987, matterbridge/trunk/matterbridge.service)
Deleted:
matterbridge/repos/community-x86_64/PKGBUILD
matterbridge/repos/community-x86_64/matterbridge.service
----------------------+
PKGBUILD | 82 ++++++++++++++++++++++++-------------------------
matterbridge.service | 72 +++++++++++++++++++++----------------------
2 files changed, 77 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-05 23:30:32 UTC (rev 770987)
+++ PKGBUILD 2020-12-05 23:31:01 UTC (rev 770988)
@@ -1,41 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=matterbridge
-pkgver=1.19.0
-pkgrel=1
-pkgdesc="Multi-protocols (IRC/XMPP/Mattermost/Slack/Matrix/etc) bridge"
-arch=(x86_64)
-url="https://github.com/42wim/matterbridge"
-license=(Apache)
-depends=(glibc)
-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=('b4d711942fdbcef8bc759abc83db1af043a61b33a5567ce48034018df0bc1c7313193bc8d20d0a2482b3ac46998122b0433625478c2a8894fb3df8cbd8a45254'
- 'SKIP'
- '82db20928e6ff3d259725371caf9af67550c8a7b8f5b597103cdd308772eabcfe6738442a3da711a7e54003668c4b518b246af60dacd0dcf5294790aa3e226cf')
-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 770987, matterbridge/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-05 23:31:01 UTC (rev 770988)
@@ -0,0 +1,41 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=matterbridge
+pkgver=1.20.0
+pkgrel=1
+pkgdesc="Multi-protocols (IRC/XMPP/Mattermost/Slack/Matrix/etc) bridge"
+arch=(x86_64)
+url="https://github.com/42wim/matterbridge"
+license=(Apache)
+depends=(glibc)
+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=('fd6f5591334e7101bb2b01506f5f5ed18d0eef75a086865c8ef86462ed586f0d20f0772c812182e7ea812bbe49a26b919a09350e95fa77c77ff9cdfd1b9abac4'
+ 'SKIP'
+ '82db20928e6ff3d259725371caf9af67550c8a7b8f5b597103cdd308772eabcfe6738442a3da711a7e54003668c4b518b246af60dacd0dcf5294790aa3e226cf')
+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/
+}
Deleted: matterbridge.service
===================================================================
--- matterbridge.service 2020-12-05 23:30:32 UTC (rev 770987)
+++ matterbridge.service 2020-12-05 23:31:01 UTC (rev 770988)
@@ -1,36 +0,0 @@
-[Unit]
-Description=Multi-protocols bridge for online communications
-After=network.target
-
-[Service]
-User=matterbridge
-DynamicUser=yes
-ExecStart=/usr/bin/matterbridge -conf /etc/matterbridge.toml
-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
-MemoryDenyWriteExecute=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 770987, matterbridge/trunk/matterbridge.service)
===================================================================
--- matterbridge.service (rev 0)
+++ matterbridge.service 2020-12-05 23:31:01 UTC (rev 770988)
@@ -0,0 +1,36 @@
+[Unit]
+Description=Multi-protocols bridge for online communications
+After=network.target
+
+[Service]
+User=matterbridge
+DynamicUser=yes
+ExecStart=/usr/bin/matterbridge -conf /etc/matterbridge.toml
+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
+MemoryDenyWriteExecute=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