[arch-commits] Commit in matterbridge/repos/community-x86_64 (4 files)
Morten Linderud
foxboron at archlinux.org
Sun Jul 5 14:49:05 UTC 2020
Date: Sunday, July 5, 2020 @ 14:49:04
Author: foxboron
Revision: 657852
archrelease: copy trunk to community-x86_64
Added:
matterbridge/repos/community-x86_64/PKGBUILD
(from rev 657851, matterbridge/trunk/PKGBUILD)
matterbridge/repos/community-x86_64/matterbridge.service
(from rev 657851, matterbridge/trunk/matterbridge.service)
Deleted:
matterbridge/repos/community-x86_64/PKGBUILD
matterbridge/repos/community-x86_64/matterbridge.service
----------------------+
PKGBUILD | 77 ++++++++++++++++++++++++++-----------------------
matterbridge.service | 72 ++++++++++++++++++++++-----------------------
2 files changed, 77 insertions(+), 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-05 14:48:55 UTC (rev 657851)
+++ PKGBUILD 2020-07-05 14:49:04 UTC (rev 657852)
@@ -1,36 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=matterbridge
-pkgver=1.17.5
-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-pie 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=('e6fc9d9c060c98969cc278db38583c20f98bcb80d9d6da3940d1cefc07e53675af212dc87d0769a40daf94154a151ed5f80d79dcb01bfc97d13431c828527b9f'
- 'SKIP'
- '82db20928e6ff3d259725371caf9af67550c8a7b8f5b597103cdd308772eabcfe6738442a3da711a7e54003668c4b518b246af60dacd0dcf5294790aa3e226cf')
-validpgpkeys=(CC7D978417C1AEA1E4CDD7240E41AB4BF4C610B4) # wim <wim at 42.be>
-
-prepare() {
- cd ${pkgname}-${pkgver}
- go mod vendor
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- go build -v -o ${pkgname} -trimpath -ldflags "-extldflags ${LDFLAGS}" .
-}
-
-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 657851, matterbridge/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-05 14:49:04 UTC (rev 657852)
@@ -0,0 +1,41 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=matterbridge
+pkgver=1.17.5
+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)
+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=('e6fc9d9c060c98969cc278db38583c20f98bcb80d9d6da3940d1cefc07e53675af212dc87d0769a40daf94154a151ed5f80d79dcb01bfc97d13431c828527b9f'
+ '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"
+ 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-07-05 14:48:55 UTC (rev 657851)
+++ matterbridge.service 2020-07-05 14:49:04 UTC (rev 657852)
@@ -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 657851, matterbridge/trunk/matterbridge.service)
===================================================================
--- matterbridge.service (rev 0)
+++ matterbridge.service 2020-07-05 14:49:04 UTC (rev 657852)
@@ -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