Skip to content
Snippets Groups Projects
Commit 0c57de04 authored by J0WI's avatar J0WI Committed by alice
Browse files

testing/jhead: security upgrade to 3.08

parent a4333f4e
No related branches found
No related tags found
1 merge request!49095testing/jhead: security upgrade to 3.08
Pipeline #171453 canceled
# Contributor: Richard Mortier <mort@cantab.net> # Contributor: Richard Mortier <mort@cantab.net>
# Maintainer: Richard Mortier <mort@cantab.net> # Maintainer: Richard Mortier <mort@cantab.net>
pkgname=jhead pkgname=jhead
pkgver=3.06.0.1 pkgver=3.08
pkgrel=2 pkgrel=0
pkgdesc="Exif Jpeg header manipulation tool" pkgdesc="Exif Jpeg header manipulation tool"
url="http://www.sentex.net/~mwandel/jhead/" url="http://www.sentex.net/~mwandel/jhead/"
arch="all" arch="all"
license="custom" license="custom"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Matthias-Wandel/jhead/archive/refs/tags/$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/Matthias-Wandel/jhead/archive/refs/tags/$pkgver.tar.gz"
options="!check" # no test suite options="!check" # fixme: failing tests
# secfixes: # secfixes:
# 3.06.0.1-r0: # 3.06.0.1-r0:
...@@ -20,16 +20,17 @@ build() { ...@@ -20,16 +20,17 @@ build() {
make all make all
} }
package() { check() {
install -Dm755 jhead "$pkgdir"/usr/bin/jhead cd tests
./runtests
diff expected-txt results-txt
} }
doc() { package() {
cd "$builddir" install -Dm755 jhead "$pkgdir"/usr/bin/jhead
gzip -v9 jhead.1 install -Dm644 jhead.1 -t "$pkgdir"/usr/share/man/man1/
install -Dm644 jhead.1.gz "$subpkgdir"/usr/share/man/man1/jhead.1.gz
install -Dm644 readme.txt \
"$subpkgdir"/usr/share/licenses/$pkgname/readme.txt
} }
sha512sums="7804f4bab1b07eb08ed981364b3634b1c25e0657d57651871aede640254c33f9d2307ba7c9fb3bc81eb06b71ba5d27437275a3fe53859e9e9457e37e12545db9 jhead-3.06.0.1.tar.gz" sha512sums="
eb50e487eaacf2b489ce5e76f09730c8bb0c50a0e2d7c854ebe8bd204ead8f6256e052c49c72af179dc46dd5372c1eff32ff549b947637b242dc7bbe8c7b20d5 jhead-3.08.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment