wok view unhide/receipt @ rev 25430
Up os-prober (1.81)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 19 06:26:39 2022 +0000 (2022-08-19) |
parents | cb67b4f8be05 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="unhide"
4 VERSION="20210124"
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="https://www.unhide-forensics.info/?Linux"
11 SOURCE="Unhide"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="iproute2 procps"
16 BUILD_DEPENDS=""
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/unhide/files/unhide/ 2>/dev/null | \
22 sed '/scope="row/!d;/tar/!d;s|.*nhide-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 CC="gcc -Wall -O2 --static"
29 $CC -pthread unhide-linux*.c unhide-output.c -o unhide
30 $CC unhide_rb.c -o unhide_rb
31 $CC unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp
33 mkdir -p $install/usr/share
34 cp -a man $install/usr/share
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/sbin
42 cp -a $src/unhide $fs/usr/sbin
43 cp -a $src/unhide_rb $fs/usr/sbin
44 cp -a $src/unhide-tcp $fs/usr/sbin
45 }