Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2013 15:47:26 +0200
From:      Nikos Ntarmos <ntarmos@ceid.upatras.gr>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        ntarmos@ceid.upatras.gr
Subject:   ports/175103: [PATCH] security/unhide: update to 20121229
Message-ID:  <20130107134726.GA11168@Alien.Universe>
Resent-Message-ID: <201301071400.r07E02tK021605@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175103
>Category:       ports
>Synopsis:       [PATCH] security/unhide: update to 20121229
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 07 14:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Nikos Ntarmos <ntarmos@ceid.upatras.gr>
>Release:        FreeBSD 9.0-RELEASE-p5 amd64
>Organization:
NetCInS Lab, CEID, U. of Patras, Greece
>Environment:
System: FreeBSD fbsd_9_0.my.domain 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #0: Sat Dec  8 01:37:26 EET
>Description:
- Update to 20121229

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- unhide-20121229.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/unhide.o/Makefile /usr/ports/security/unhide/Makefile
--- /usr/ports/security/unhide.o/Makefile	2012-11-17 08:01:22.000000000 +0200
+++ /usr/ports/security/unhide/Makefile	2013-01-06 20:34:21.000000000 +0200
@@ -6,15 +6,16 @@
 #
 
 PORTNAME=	unhide
-PORTVERSION=	20110113
+PORTVERSION=	20121229
 CATEGORIES=	security
 MASTER_SITES=	SF/${PORTNAME}
+DISTNAME=	${PORTNAME}_${DISTVERSION}
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	ntarmos@cs.uoi.gr
+MAINTAINER=	ntarmos@ceid.upatras.gr
 COMMENT=	A forensic tool to find hidden processes and TCP/UDP ports
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
+NO_WRKSUBDIR=	true
 PLIST_FILES=	sbin/unhide sbin/unhide-tcp
 MAN8=		unhide.8 unhide-tcp.8
 MANCOMPRESSED=	yes
@@ -22,8 +23,9 @@
 .include <bsd.port.pre.mk>
 
 pre-configure:
-	@${REINPLACE_CMD} -e 's/-eLf/-axH/g' -e 's/$$2/$$1/g' ${WRKSRC}/unhide.c
-	@${REINPLACE_CMD} -e 's/-t/-p tcp -/g' -e 's/-u/-p udp -/g' \
-		${WRKSRC}/unhide-tcp.c
+	@${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 <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/security/unhide.o/distinfo /usr/ports/security/unhide/distinfo
--- /usr/ports/security/unhide.o/distinfo	2011-12-15 09:58:49.000000000 +0200
+++ /usr/ports/security/unhide/distinfo	2013-01-06 19:58:02.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (unhide-20110113.tgz) = 21ef6128232d02bba981acdf20f92b92258189f0660c4dac9a8d2dfdcc83e6ab
-SIZE (unhide-20110113.tgz) = 34207
+SHA256 (unhide_20121229.tgz) = fa2d1b4a7e9eb8dc987317566fac2c62a6b42e7bbd91f14a69efb26e3dde6b76
+SIZE (unhide_20121229.tgz) = 54700
diff -ruN --exclude=CVS /usr/ports/security/unhide.o/files/patch-Makefile /usr/ports/security/unhide/files/patch-Makefile
--- /usr/ports/security/unhide.o/files/patch-Makefile	2009-07-06 10:55:31.000000000 +0300
+++ /usr/ports/security/unhide/files/patch-Makefile	2013-01-06 20:27:19.000000000 +0200
@@ -1,6 +1,6 @@
---- /dev/null	2009-02-26 16:27:00.000000000 +0200
-+++ Makefile	2009-02-26 16:26:45.000000000 +0200
-@@ -0,0 +1,19 @@
+--- /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
 +INSTALL_PROGRAM	:= /usr/bin/install -s -m 0700
@@ -8,9 +8,13 @@
 +GZIP_CMD	:= /usr/bin/gzip -9
 +MKDIR_CMD	:= /bin/mkdir -p
 +
-+all:
-+	gcc unhide.c -o unhide
-+	gcc unhide-tcp.c -o unhide-tcp
++all: unhide unhide-tcp
++
++unhide: unhide-posix.c
++	gcc -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
 +
 +install: all
 +	${MKDIR_CMD} ${DESTDIR}/sbin ${MANDIR}/man8
--- unhide-20121229.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130107134726.GA11168>