wok view unhide/receipt @ rev 24411
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 09 17:57:59 2022 +0000 (2022-02-09) |
parents | ab5565177ad5 |
children | cb67b4f8be05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="unhide"
4 VERSION="20130526"
5 CATEGORY="security"
6 SHORT_DESC="Forensic tool to find hidden processes and TCP/UDP ports."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.unhide-forensics.info/?Linux"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/unhide/files/unhide/ 2>/dev/null | \
21 sed '/scope="row/!d;/tar/!d;s|.*nhide-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 CC="gcc -Wall -O2 --static"
28 $CC -pthread unhide-linux*.c unhide-output.c -o unhide
29 $CC unhide_rb.c -o unhide_rb
30 $CC unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/sbin
38 cp -a $src/unhide $fs/usr/sbin
39 cp -a $src/unhide_rb $fs/usr/sbin
40 cp -a $src/unhide-tcp $fs/usr/sbin
41 }