[arch-commits] Commit in matterbridge/repos/community-x86_64 (4 files)
Bruno Pagani
archange at archlinux.org
Tue Aug 25 19:59:42 UTC 2020
Date: Tuesday, August 25, 2020 @ 19:59:41
Author: archange
Revision: 688692
archrelease: copy trunk to community-x86_64
Added:
matterbridge/repos/community-x86_64/PKGBUILD
(from rev 688691, matterbridge/trunk/PKGBUILD)
matterbridge/repos/community-x86_64/matterbridge.service
(from rev 688691, 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-08-25 19:59:10 UTC (rev 688691)
+++ PKGBUILD 2020-08-25 19:59:41 UTC (rev 688692)
@@ -1,41 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=matterbridge
-pkgver=1.18.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=('bce8a441e309cf82c03ab78ac8dbc95cff7c145defd2cc3c1946fa224c5fe66d85688742d4637acf0703191a61f3dc3a8676c53daa3d778f4186591630cfe600'
- '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/
-}
Copied: matterbridge/repos/community-x86_64/PKGBUILD (from rev 688691, matterbridge/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-25 19:59:41 UTC (rev 688692)
@@ -0,0 +1,41 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=matterbridge
+pkgver=1.18.2
+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=('b2eac61f7b762c7d87004e92bd8f56dbfbad90c32ac3e721443cb58721a8770f9f86a30154b2ddbdd533d9781901ac2833090a40935149b456ea7616685645d1'
+ '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-08-25 19:59:10 UTC (rev 688691)
+++ matterbridge.service 2020-08-25 19:59:41 UTC (rev 688692)
@@ -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 688691, matterbridge/trunk/matterbridge.service)
===================================================================
--- matterbridge.service (rev 0)
+++ matterbridge.service 2020-08-25 19:59:41 UTC (rev 688692)
@@ -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