From owner-svn-ports-head@FreeBSD.ORG Wed Nov 6 19:05:50 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 82F0BF0A; Wed, 6 Nov 2013 19:05:50 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 70164257F; Wed, 6 Nov 2013 19:05:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA6J5o29004173; Wed, 6 Nov 2013 19:05:50 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA6J5n0k004166; Wed, 6 Nov 2013 19:05:49 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201311061905.rA6J5n0k004166@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Wed, 6 Nov 2013 19:05:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333032 - in head/security/unhide: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2013 19:05:50 -0000 Author: sunpoet Date: Wed Nov 6 19:05:49 2013 New Revision: 333032 URL: http://svnweb.freebsd.org/changeset/ports/333032 Log: - Respect CC and fix build with clang - Add LICENSE - Remove leading indefinite article from COMMENT - Support STAGEDIR - Remove contiguous blank line from pkg-descr PR: ports/183114 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 17 days) Modified: head/security/unhide/Makefile head/security/unhide/files/patch-Makefile head/security/unhide/pkg-descr (contents, props changed) Modified: head/security/unhide/Makefile ============================================================================== --- head/security/unhide/Makefile Wed Nov 6 18:58:46 2013 (r333031) +++ head/security/unhide/Makefile Wed Nov 6 19:05:49 2013 (r333032) @@ -9,20 +9,20 @@ 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 -NO_WRKSUBDIR= true -PLIST_FILES= sbin/unhide sbin/unhide-tcp -MAN8= unhide.8 unhide-tcp.8 -MANCOMPRESSED= yes +LICENSE= GPLv3 -NO_STAGE= yes -.include +NO_WRKSUBDIR= true +PLIST_FILES= man/man8/unhide.8.gz \ + man/man8/unhide-tcp.8.gz \ + sbin/unhide \ + sbin/unhide-tcp -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 Modified: head/security/unhide/files/patch-Makefile ============================================================================== --- head/security/unhide/files/patch-Makefile Wed Nov 6 18:58:46 2013 (r333031) +++ head/security/unhide/files/patch-Makefile Wed Nov 6 19:05:49 2013 (r333032) @@ -1,8 +1,7 @@ --- /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 @@ -11,16 +10,14 @@ +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 Modified: head/security/unhide/pkg-descr ============================================================================== --- head/security/unhide/pkg-descr Wed Nov 6 18:58:46 2013 (r333031) +++ head/security/unhide/pkg-descr Wed Nov 6 19:05:49 2013 (r333032) @@ -11,5 +11,4 @@ unhide detects hidden processes through: 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/