You are not logged in.

#1 2016-02-08 09:38:54

felixita
Member
From: Venezia
Registered: 2016-02-02
Posts: 32

[SOLVED] Cambozola package validity error

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

#2 2016-02-08 09:53:07

felixita
Member
From: Venezia
Registered: 2016-02-02
Posts: 32

Re: [SOLVED] Cambozola package validity error

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

#3 2016-02-08 09:58:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] Cambozola package validity error

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 $program

Edit: 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

#4 2016-02-08 12:50:11

felixita
Member
From: Venezia
Registered: 2016-02-02
Posts: 32

Re: [SOLVED] Cambozola package validity error

thank you for your reply, i've never made this. (i'm newbie in Arch). can you guide me one time please?

Offline

#5 2016-02-08 13:01:06

felixita
Member
From: Venezia
Registered: 2016-02-02
Posts: 32

Re: [SOLVED] Cambozola package validity error

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

#6 2016-02-08 14:41:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] Cambozola package validity error

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

#7 2016-02-08 14:58:09

felixita
Member
From: Venezia
Registered: 2016-02-02
Posts: 32

Re: [SOLVED] Cambozola package validity error

Ok, thank's! solved!

Offline

Board footer

Powered by FluxBB