Package Details: znc-push-git 1.1.0.r0.b203070-1

Git Clone URL: https://aur.archlinux.org/znc-push-git.git (read-only, click to copy)
Package Base: znc-push-git
Description: A module for ZNC that sends notifications to push notification services
Upstream URL: https://noswap.com/projects/znc-push
Keywords: boxcar nma prowl push znc
Licenses: MIT
Submitter: Tojeski
Maintainer: Dotz0cat
Last Packager: Dotz0cat
Votes: 5
Popularity: 0.000003
First Submitted: 2016-01-01 12:48 (UTC)
Last Updated: 2022-05-18 18:22 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

kescherAUR commented on 2022-01-11 12:09 (UTC)

This package uses the unauthenticated git protocol, which no longer works with GitHub sources. Please apply the following diff for all pending changes that should be applied:

diff --git a/.SRCINFO b/.SRCINFO
index 4263f96..e3d4929 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
 pkgbase = znc-push-git
        pkgdesc = A module for ZNC that sends notifications to push notification services
-       pkgver = v1.0.0.r167.5f95488
+       pkgver = 1.0.0.r181.gb203070
        pkgrel = 1
-       url = http://noswap.com/projects/znc-push
+       url = https://noswap.com/projects/znc-push
        arch = i686
        arch = x86_64
        arch = armv6h
@@ -13,8 +13,7 @@ pkgbase = znc-push-git
        makedepends = python
        makedepends = cmake
        depends = znc
-       source = znc-push-git::git+git://github.com/jreese/znc-push.git
+       source = znc-push-git::git+https://github.com/jreese/znc-push.git
        md5sums = SKIP

 pkgname = znc-push-git
-
diff --git a/PKGBUILD b/PKGBUILD
index ee65187..2f93370 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,20 @@
 # Maintainer: Leela Ross <leela@leela-ross.com>
 # Maintainer: Ethan Skinner <aur@etskinner.com>
 pkgname=znc-push-git
-pkgver=v1.0.0.r167.5f95488
+pkgver=1.0.0.r181.gb203070
 pkgrel=1
 pkgdesc="A module for ZNC that sends notifications to push notification services"
 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
-url="http://noswap.com/projects/znc-push"
+url="https://noswap.com/projects/znc-push"
 license=('MIT')
 depends=('znc')
 makedepends=('git' 'python' 'cmake')
-source=("${pkgname}::git+git://github.com/jreese/znc-push.git")
+source=("${pkgname}::git+https://github.com/jreese/znc-push.git")
 md5sums=('SKIP')

 pkgver() {
   cd "$srcdir/${pkgname}"
-  printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+  git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }

 build() {

Thaodan commented on 2021-03-16 05:04 (UTC)

Please strip out the v from the pkg version that one should not go to the pkg version. See: https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git

etskinner commented on 2018-12-18 00:09 (UTC) (edited on 2018-12-18 00:10 (UTC) by etskinner)

Fixed, details follow. Recent discussion at [2] seems to be relevant.

In the future, you can check this sort of thing by building in a clean chroot.[1] I went ahead and did that, and I can confirm the error I believe @xelra saw:

CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack -protector-strong -fno-plt -DPUSHVERSION=\"\\\"v1.0.0-16 7-g5f95488\\\"\" -DUSE_CURL -lcurl" LIBS=" -DUSE_CURL -l curl" \ znc-buildmod push.cpp Error: znc-buildmod requires python Either install python, or use cmake directly

As you can see, it says to either install python or use cmake. I tried installing python in the clean chroot, but that didn't seem to help. However, after installing cmake, the build completed successfully. It appears both are needed.

I confirmed that either autoconf and automake or cmake are required to build znc, so that may be related.[3]

[1] https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot

[2] https://aur.archlinux.org/packages/znc-clientbuffer-git/

[3] https://github.com/znc/znc#minimal-requirements

xelra commented on 2018-12-11 20:41 (UTC)

It is too late to test this now. The system has a lot of stuff installed now. I cannot tell anymore whether base-devel was already installed at that point or not.

What I can tell with absolute certainty though is that I got a build error specifically pointing out cmake. Then I installed cmake and immediately afterwards it built successfully. Then I commented here.

etskinner commented on 2018-12-10 18:24 (UTC)

I may be wrong here, but it appears the upstream package only needs make, not cmake. And since having base-devel (includes make) installed is a prerequisite to using the AUR, it should already be available. Does the fresh system have base-devel / make installed?

xelra commented on 2018-12-08 17:53 (UTC)

The package doesn't build on a fresh system. cmake is missing from the dependencies. Could you please add cmake?

Tojeski commented on 2018-05-26 00:39 (UTC)

I have pushed an update, i anyone runs into any problems please let me know.

Thanks :)

Tojeski commented on 2018-05-24 21:20 (UTC)

Looks like a problem upstream that needs modification to the make file.

https://github.com/jreese/znc-push/issues/212

One user reports "My solution is to replace -DPUSHVERSION=\"$(version)\" with -DPUSHVERSION=\"\\"$(version)\\"\" in the Makefile. New znc-buildmod seems to treating strings differently."

When I have a bit of time I'll try an update. We could just sed that line in the make file, but I cant say I am keen to modify the make file if it's just a (hopefully) temporary upstream problem.

arcnmx commented on 2018-05-02 22:06 (UTC)

With znc 1.7 now in testing this no longer builds. See https://github.com/jreese/znc-push/issues/212

S13ntist commented on 2018-04-23 20:28 (UTC)

Git needs to be added as a make dep. Else this fails to build in a clean chroot