Package Details: check_pacman-git 1.1.1.r1.g3a5db3e-1

Git Clone URL: (read-only, click to copy)
Package Base: check_pacman-git
Description: Nagios monitoring plugin for checking for available Pacman package updates
Upstream URL:
Licenses: custom:UNLICENSE
Submitter: dmp1ce
Maintainer: dmp1ce
Last Packager: dmp1ce
Votes: 0
Popularity: 0.000000
First Submitted: 2016-09-26 02:40
Last Updated: 2017-02-24 15:15

Latest Comments

dmp1ce commented on 2017-02-24 15:03


Thank you for reviewing the PKGBUILD. I am incorporating many of your suggestions.

I am wondering, both 'gmp' and 'libffi' are dependency of pacman. How do you have a working Arch Linux system without pacman?

namcap still complains about the following, but I'm not sure how to fix it.

check_pacman-git W: Unused shared library '/usr/lib/' by file ('usr/lib/monitoring-plugins/check_pacman')

adlerweb commented on 2017-02-24 08:28

Hi, I found several problems with the PKGBUILD in my environment:
- The package depends on gmp and libffi. Both packages are installed as dependencies of ghc/stack, they however are here only a makedepend and might be removed automatically leaving this package in a broken state
- The command "stack install" will write to $HOME/.stack during makepkg, breaking the packaging when used with environments not providing a writable home (e.g. sandboxes, su, etc)
- IMO check plugins are better placed in /usr/lib/monitoring-plugins/ rather than /usr/bin. Other AUR-packages are mixed, so I guess it's more personal preference.

Diff of my local repo:
< pkgver=1.1.0.r0.g5f20592
> pkgver=1.1.1.r1.g3a5db3e
> depends=('gmp' 'libffi')
< mkdir -p "$pkgdir/usr/bin"
< stack --local-bin-path "$pkgdir/usr/bin" install
> mkdir -p "$pkgdir/usr/lib/monitoring-plugins/"
> mkdir -p "${SRCDEST}/home"
> HOME="${SRCDEST}/home" stack --system-ghc --local-bin-path "$pkgdir/usr/lib/monitoring-plugins/" install