wok view traceroute/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 7dd01dedad38 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="traceroute"
4 VERSION="2.1.0"
5 CATEGORY="network"
6 SHORT_DESC="The full-featured traceroute program."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://traceroute.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://sourceforge.net/projects/traceroute/files/traceroute/ 2>/dev/null | \
18 sed '/scope="row/!d;/unstable/d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
19 sed '/scope="row/!d;s|.*/traceroute-||;s|/.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make &&
26 make prefix=/usr DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp $install/usr/bin/traceroute $fs/usr/bin
34 }
36 post_remove()
37 {
38 # Restore the symbolic link to busybox.
39 ln -s /bin/busybox /usr/bin/traceroute
40 }