wok annotate unhide/receipt @ rev 25513
memtest: update sleep()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 15:41:57 2023 +0000 (21 months ago) |
parents | cb67b4f8be05 |
children | d32586bf7d69 |
rev | line source |
---|---|
pascal@15888 | 1 # SliTaz package receipt. |
pascal@15888 | 2 |
pascal@15888 | 3 PACKAGE="unhide" |
Hans-G?nter@25380 | 4 VERSION="20210124" |
pascal@15888 | 5 CATEGORY="security" |
pascal@15888 | 6 SHORT_DESC="Forensic tool to find hidden processes and TCP/UDP ports." |
pascal@15888 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15888 | 8 LICENSE="GPL3" |
pascal@24746 | 9 WEB_SITE="https://www.unhide-forensics.info/?Linux" |
Hans-G?nter@23717 | 10 |
Hans-G?nter@25380 | 11 SOURCE="Unhide" |
Hans-G?nter@25380 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@15888 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15888 | 14 |
Hans-G?nter@25380 | 15 DEPENDS="iproute2 procps" |
pascal@15888 | 16 BUILD_DEPENDS="" |
pascal@15888 | 17 |
pascal@24340 | 18 # What is the latest version available today? |
pascal@24340 | 19 current_version() |
pascal@24340 | 20 { |
pascal@24340 | 21 wget -O - https://sourceforge.net/projects/unhide/files/unhide/ 2>/dev/null | \ |
pascal@24340 | 22 sed '/scope="row/!d;/tar/!d;s|.*nhide-||;s|.tar.*||;q' |
pascal@24340 | 23 } |
pascal@24340 | 24 |
pascal@15888 | 25 # Rules to configure and make the package. |
pascal@15888 | 26 compile_rules() |
pascal@15888 | 27 { |
pascal@15888 | 28 CC="gcc -Wall -O2 --static" |
pascal@15888 | 29 $CC -pthread unhide-linux*.c unhide-output.c -o unhide |
pascal@15888 | 30 $CC unhide_rb.c -o unhide_rb |
pascal@15888 | 31 $CC unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp |
Hans-G?nter@25380 | 32 |
Hans-G?nter@25380 | 33 mkdir -p $install/usr/share |
Hans-G?nter@25380 | 34 cp -a man $install/usr/share |
pascal@15888 | 35 } |
pascal@15888 | 36 |
pascal@15888 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15888 | 38 genpkg_rules() |
pascal@15888 | 39 { |
pascal@15888 | 40 mkdir -p $fs/usr/sbin |
Hans-G?nter@23717 | 41 |
Hans-G?nter@23717 | 42 cp -a $src/unhide $fs/usr/sbin |
Hans-G?nter@23717 | 43 cp -a $src/unhide_rb $fs/usr/sbin |
Hans-G?nter@23717 | 44 cp -a $src/unhide-tcp $fs/usr/sbin |
pascal@15888 | 45 } |