wok annotate zonecheck/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (7 months ago) |
parents | b9659e3c2111 |
children |
rev | line source |
---|---|
pascal@13740 | 1 # SliTaz package receipt. |
pascal@13740 | 2 |
pascal@13740 | 3 PACKAGE="zonecheck" |
pascal@13740 | 4 VERSION="3.0.5" |
pascal@13740 | 5 CATEGORY="network" |
pascal@13740 | 6 SHORT_DESC="Check that a zone or domain name is correctly configured in the DNS." |
pascal@13740 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15021 | 8 LICENSE="GPL3" |
pascal@20794 | 9 WEB_SITE="https://www.zonemaster.fr/" |
pascal@13740 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@25504 | 11 WGET_URL="https://github.com/sdelafond/zonecheck/archive/refs/tags/upstream/$VERSION.tar.gz" |
pascal@13740 | 12 CONFIG_FILES="/etc/zonecheck" |
pascal@13740 | 13 |
pascal@13740 | 14 DEPENDS="ruby" |
pascal@17723 | 15 BUILD_DEPENDS="rubygems" |
pascal@13740 | 16 |
pascal@24545 | 17 # What is the latest version available today? |
pascal@24545 | 18 current_version() |
pascal@24545 | 19 { |
pascal@24545 | 20 wget -O - https://github.com/sdelafond/zonecheck/tags 2>/dev/null | \ |
pascal@24545 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24545 | 22 } |
pascal@24545 | 23 |
pascal@13740 | 24 # Rules to configure and make the package. |
pascal@13740 | 25 compile_rules() |
pascal@13740 | 26 { |
pascal@19283 | 27 ruby ./installer.rb all -DPREFIX=$DESTDIR/usr -DETCDIR=$DESTDIR/etc \ |
pascal@19283 | 28 -DMANDIR=$DESTDIR/usr/share/man |
pascal@13740 | 29 grep -rl $DESTDIR $DESTDIR/usr/libexec | xargs sed -i "s|$DESTDIR||" |
pascal@13740 | 30 } |
pascal@13740 | 31 |
pascal@13740 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13740 | 33 genpkg_rules() |
pascal@13740 | 34 { |
pascal@13740 | 35 cp -a $install/* $fs |
pascal@13740 | 36 tmp=$(readlink $fs/usr/bin/zonecheck) |
pascal@13740 | 37 rm -f $fs/usr/bin/zonecheck |
pascal@13740 | 38 ln -s ${tmp#$install} $fs/usr/bin/zonecheck |
pascal@13740 | 39 } |