Package Details: mattermost-push-proxy 6.3.0-1

Git Clone URL: https://aur.archlinux.org/mattermost-push-proxy.git (read-only, click to copy)
Package Base: mattermost-push-proxy
Description: Mattermost Push Notifications Service
Upstream URL: https://github.com/mattermost/mattermost-push-proxy
Keywords: mattermost networking
Licenses: Apache
Submitter: None
Maintainer: VVL
Last Packager: VVL
Votes: 2
Popularity: 0.25
First Submitted: 2016-09-08 20:33 (UTC)
Last Updated: 2024-10-07 08:27 (UTC)

Latest Comments

VVL commented on 2024-07-07 12:30 (UTC)

Very strange. It compiles without problems for me. Can you describe your environment?

ColdSphinX commented on 2024-07-05 15:17 (UTC)

==> Starting build()...
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
basename: missing operand
Try 'basename --help' for more information.
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
/bin/sh: line 1: [: master: unary operator expected
/bin/sh: line 1: [: master: unary operator expected
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
/bin/sh: line 1: [: master: unary operator expected
/bin/sh: line 1: [: master: unary operator expected
/bin/sh: line 1: [: master: unary operator expected
make: Nothing to be done for 'go-build'.

most errors are because of:

./src/mattermost-push-proxy-6.1.0/Makefile:APP_NAME    := $(shell basename -s .git `git config --get remote.origin.url`)

and fixed by this:

--- a/PKGBUILD   2024-07-05 13:42:21.000000000 +0200
+++ b/PKGBUILD     2024-07-05 17:16:03.328059511 +0200
@@ -10,21 +10,21 @@
 license=("Apache")
 makedepends=('go' 'git')
 backup=('etc/mattermost-push-proxy/config.json')
-source=("https://github.com/mattermost/${pkgname}/archive/v${pkgver}.tar.gz"
+source=("git+https://github.com/mattermost/mattermost-push-proxy.git#tag=v${pkgver}"
         "${pkgname}.service"
         "${pkgname}.sysusers")
-sha512sums=('12b0ac69d0e6a69e783e57f2c8aebf146744e3c0242411518dbab3c570df6f27bca47b2ed89ac781f1555c55a893cf2e5e5861a4e49ff81c74cef987cf73865b'
+sha512sums=('SKIP'
             '6d646673f10d2e291d37bbfa53c0314f076922bf76ceadcecad8febb7ac377fedc1bbbc82d118e161ad662e1f363fb5ca0b3750a0601eedf56bdb9c5e084ede4'
             '8f92e38eb6918850af6a84402a13f56977d5a8c767c258c2efc8b5fe22bfb266a4f1e5bfbf440324cbb2228df0cf2feb9d4bb77c8b04d9b6731e7a654de90f84')

 build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
+    cd "${srcdir}/${pkgname}/"
     GOPATH="${srcdir}" make go-build
 }

 package() {
-    install -Dm755 "${srcdir}/${pkgname}-${pkgver}/dist/${pkgname}-linux-amd64" "${pkgdir}/usr/bin/${pkgname}"
-    install -Dm644 "${srcdir}/${pkgname}-${pkgver}/config/${pkgname}.sample.json" "${pkgdir}/etc/${pkgname}/config.json"
+    install -Dm755 "${srcdir}/${pkgname}/dist/${pkgname}-linux-amd64" "${pkgdir}/usr/bin/${pkgname}"
+    install -Dm644 "${srcdir}/${pkgname}/config/${pkgname}.sample.json" "${pkgdir}/etc/${pkgname}/config.json"
     install -Dm644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
     install -Dm644 "${srcdir}/${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
 }

wget commented on 2019-09-13 22:14 (UTC)

Package updated with latest sources.

wget commented on 2018-11-25 23:09 (UTC)

Package updated with PIE support.

wget commented on 2018-08-18 09:59 (UTC)

I updated the package, but since I haven't spent the time to compile the mobile application nor publish them rebranded to the stores, I haven't been able to check if this service is working properly or not.