🔒 Repository is read-only – file editing is disabled.

recipes/utils/unhide/PAGBUILD.yaml main

34 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334
pkgname: unhide
pkgver: '20240510'
pkgrel: '2'
pkgdesc: 'A forensic tool to find processes hidden by rootkits, LKMs or by other techniques.'
url: 'https://sourceforge.net/projects/unhide/'
arch: x86_64
depends: []
makedepends:
- iproute2
- lsof
- psmisc
- 'net-tools'
- 'procps-ng'

source:
- 'https://github.com/YJesus/Unhide/archive/refs/tags/v${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd Unhide-${pkgver}
  cc -Wall -O2 --static -pthread unhide-linux*.c unhide-output.c -o unhide-linux
  cc -Wall -O2 --static unhide_rb.c -o unhide_rb
  cc -Wall -O2 --static unhide-posix.c -o unhide-posix
  cc -Wall -O2 --static unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp
  for _p in unhide-linux unhide-posix unhide_rb unhide-tcp; do
    install -Dm0755 $_p ${PKGDIR}/usr/bin/$_p
  done
  ln -s unhide-linux ${PKGDIR}/usr/bin/unhide
  install -Dm0644 man/unhide.8 ${PKGDIR}/usr/share/man/man8/unhide.8

package: |
  true