wok view unhide/receipt @ rev 25778
Up fdutils (5.6), lite (1.11), vlgothic-fonts (20230918)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 20 09:06:10 2024 +0000 (2 months ago) |
parents | 6e377a452304 |
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://github.com/YJesus/Unhide"
11 SOURCE="Unhide"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/YJesus/Unhide/archive/refs/tags/v$VERSION.tar.gz"
15 DEPENDS="iproute2 procps"
16 BUILD_DEPENDS=""
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;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 }