# SliTaz package receipt. PACKAGE="unhide" VERSION="20210124" CATEGORY="security" SHORT_DESC="Forensic tool to find hidden processes and TCP/UDP ports." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" WEB_SITE="https://www.unhide-forensics.info/?Linux" SOURCE="Unhide" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="iproute2 procps" BUILD_DEPENDS="" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/unhide/files/unhide/ 2>/dev/null | \ sed '/scope="row/!d;/tar/!d;s|.*nhide-||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { CC="gcc -Wall -O2 --static" $CC -pthread unhide-linux*.c unhide-output.c -o unhide $CC unhide_rb.c -o unhide_rb $CC unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp mkdir -p $install/usr/share cp -a man $install/usr/share } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/sbin cp -a $src/unhide $fs/usr/sbin cp -a $src/unhide_rb $fs/usr/sbin cp -a $src/unhide-tcp $fs/usr/sbin }