Index: head/security/unhide/Makefile =================================================================== --- head/security/unhide/Makefile (revision 333031) +++ head/security/unhide/Makefile (revision 333032) @@ -1,28 +1,28 @@ # Created by: ntarmos@cs.uoi.gr # $FreeBSD$ PORTNAME= unhide PORTVERSION= 20121229 CATEGORIES= security MASTER_SITES= SF/${PORTNAME} DISTNAME= ${PORTNAME}_${DISTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= ntarmos@ceid.upatras.gr -COMMENT= A forensic tool to find hidden processes and TCP/UDP ports +COMMENT= Forensic tool to find hidden processes and TCP/UDP ports +LICENSE= GPLv3 + NO_WRKSUBDIR= true -PLIST_FILES= sbin/unhide sbin/unhide-tcp -MAN8= unhide.8 unhide-tcp.8 -MANCOMPRESSED= yes +PLIST_FILES= man/man8/unhide.8.gz \ + man/man8/unhide-tcp.8.gz \ + sbin/unhide \ + sbin/unhide-tcp -NO_STAGE= yes -.include - -pre-configure: +post-patch: @${REINPLACE_CMD} -e 's/-eLf/-axH/g' -e 's/$$2/$$1/g' ${WRKDIR}/unhide-posix.c @${REINPLACE_CMD} -e 's/linux\/limits/limits/g' ${WRKDIR}/unhide-output.c @${REINPLACE_CMD} -e 's/-tan/-p tcp -an/g' -e 's/-uan/-p udp -an/g' \ -e 's/use_ss = 1/use_ss = 0/g' ${WRKDIR}/unhide-tcp.c -.include +.include Index: head/security/unhide/files/patch-Makefile =================================================================== --- head/security/unhide/files/patch-Makefile (revision 333031) +++ head/security/unhide/files/patch-Makefile (revision 333032) @@ -1,26 +1,23 @@ --- /dev/null 2013-01-06 20:26:43.000000000 +0200 +++ Makefile 2013-01-06 20:26:46.000000000 +0200 -@@ -0,0 +1,23 @@ -+DESTDIR := ${PREFIX} -+MANDIR := ${DESTDIR}/man +@@ -0,0 +1,20 @@ ++MANDIR := ${PREFIX}/man +INSTALL_PROGRAM := /usr/bin/install -s -m 0700 +INSTALL_MAN := /usr/bin/install -m 0444 +GZIP_CMD := /usr/bin/gzip -9 +MKDIR_CMD := /bin/mkdir -p + +all: unhide unhide-tcp + +unhide: unhide-posix.c -+ gcc -Wall -O2 --static unhide-posix.c -o unhide ++ ${CC} -Wall -O2 --static unhide-posix.c -o unhide + +unhide-tcp: unhide-tcp.c unhide-tcp-fast.c unhide-output.c -+ gcc -Wall -O2 --static unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp ++ ${CC} -Wall -O2 --static unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp + +install: all -+ ${MKDIR_CMD} ${DESTDIR}/sbin ${MANDIR}/man8 -+ ${INSTALL_PROGRAM} unhide ${DESTDIR}/sbin/unhide -+ ${INSTALL_PROGRAM} unhide-tcp ${DESTDIR}/sbin/unhide-tcp -+ ${INSTALL_MAN} man/unhide.8 ${MANDIR}/man8 && \ -+ ${GZIP_CMD} ${MANDIR}/man8/unhide.8 -+ ${INSTALL_MAN} man/unhide-tcp.8 ${MANDIR}/man8 && \ -+ ${GZIP_CMD} ${MANDIR}/man8/unhide-tcp.8 ++ ${MKDIR_CMD} ${DESTDIR}${PREFIX}/sbin ${DESTDIR}${MANDIR}/man8 ++ ${INSTALL_PROGRAM} unhide ${DESTDIR}${PREFIX}/sbin/unhide ++ ${INSTALL_PROGRAM} unhide-tcp ${DESTDIR}${PREFIX}/sbin/unhide-tcp ++ ${INSTALL_MAN} man/unhide.8 ${DESTDIR}${MANDIR}/man8 ++ ${INSTALL_MAN} man/unhide-tcp.8 ${DESTDIR}${MANDIR}/man8 Index: head/security/unhide/pkg-descr =================================================================== --- head/security/unhide/pkg-descr (revision 333031) +++ head/security/unhide/pkg-descr (revision 333032) @@ -1,15 +1,14 @@ Unhide is a forensic tool to find hidden processes and TCP/UDP ports by rootkits / LKMs or by another hidden technique. It consists of two programs: unhide and unhide-tcp. unhide detects hidden processes through: * Comparison of /proc vs /bin/ps output. * Comparison of info gathered from /bin/ps with info gathered from. * Syscalls (syscall scanning). * Full PIDs space ocupation (PIDs bruteforcing). unhide-tcp identifies TCP/UDP ports that are listening but not listed in /bin/netstat by doing brute forcing of all TCP/UDP ports availables. - WWW: http://www.unhide-forensics.info/ Property changes on: head/security/unhide/pkg-descr ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property