You are not logged in.
Hi, i'm trying to install Zoneminder on my arch. I need to install cambozola but "yaourt cambozola" fail with a validity package error. How i can resolve thi issue?
Thanks!
Last edited by felixita (2016-02-08 15:02:19)
Offline
this is the output (in italian):
==> Download dei sorgenti in corso...
-> Download di cambozola-latest.tar.gz in corso...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 230k 100 230k 0 0 94404 0 0:00:02 0:00:02 --:--:-- 94443
==> Validazione di source file con sha256sums...
cambozola-latest.tar.gz ... NON RIUSCITO
==> ERRORE: Uno o più file non hanno superato il controllo di validità!
==> ERRORE: Makepkg non è riuscito a compilare cambozola.
Offline
Read the PKGBUILD, it links to a very undefinedly named "cambozola-latest" file, and although, according to the readme the version didn't change, the linked to file DID change, so either replace the sha256 sum with the new and correct sum or set it to 'SKIP' and maybe leave a comment on the AUR page to notify the maintainer of the issue.
Or for the security inclined ask the author of the software if this change in sums was expected, there's a potential of the files having been swapped out without his consent.
Also you should always read, understand and verify PKGBUILDS before using yaourt to make the process easier, I'd suggest you read up on AUR and PKGBUILDS.
And for future refernce, you should always post output in english, to do so for a single invocation of a program prepend it with LC_ALL=C, like so
LC_ALL=C $programEdit: I just checked and the explicitly versioned http://www.charliemouse.com/code/camboz … 936.tar.gz is there as well, so changing the link to that should work too(and might be what the package should be doing in the first place)
Last edited by V1del (2016-02-08 10:22:22)
Offline
thank you for your reply, i've never made this. (i'm newbie in Arch). can you guide me one time please?
Offline
i've add a PGKBUILD file with this content:
# Maintainer: Vojtěch Aschenbrenner <v@asch.cz>
pkgname=cambozola
pkgver=0.936
pkgrel=1
pkgdesc="A java servlet for streaming JPEG's from ip Cameras."
url="http://www.charliemouse.com/code/cambozola/"
arch=('any')
license=('GPL')
depends=('java-runtime')
makedepends=('apache-ant')
source=("http://www.charliemouse.com/code/cambozola/cambozola-0.936.tar.gz")
sha256sums=('4e4e92d95673edd051e6b4d36bed8c5328873f5fc374073760b457d4be33415b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
ant
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir -p ${pkgdir}/usr/share/${pkgname}
cp dist/* ${pkgdir}/usr/share/${pkgname}/
}
# vim:set ts=2 sw=2 et:But when i execute makepkg -sri, i get the same validity error.
Probably i've made errors...
Last edited by felixita (2016-02-08 13:04:12)
Offline
Then the sha256sum still isn't correct, for simply installing this once you may replace the sha256sum with 'SKIP', you shouldn't make a habit of that though
Offline
Ok, thank's! solved!
Offline