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

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

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

dmp1ce commented on 2017-02-24 15:03 (UTC)

@adlerweb 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/libutil.so.1' by file ('usr/lib/monitoring-plugins/check_pacman')

adlerweb commented on 2017-02-24 08:28 (UTC)

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: ---snip--- 4c4 < pkgver=1.1.0.r0.g5f20592 --- > pkgver=1.1.1.r1.g3a5db3e 8a9 > depends=('gmp' 'libffi') 27,28c28,30 < 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 ---snip---