From mohacsi@norfolk.ki.iif.hu  Mon Mar  3 03:06:44 2003
Return-Path: <mohacsi@norfolk.ki.iif.hu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C357837B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Mar 2003 03:06:44 -0800 (PST)
Received: from norfolk.ki.iif.hu (norfolk.ki.iif.hu [193.6.222.32])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B28F943FE3
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Mar 2003 03:06:18 -0800 (PST)
	(envelope-from mohacsi@norfolk.ki.iif.hu)
Received: (from mohacsi@localhost)
	by norfolk.ki.iif.hu (8.12.7/8.12.7) id h23B5NEa021454;
	Mon, 3 Mar 2003 12:05:23 +0100 (CET)
	(envelope-from mohacsi)
Message-Id: <200303031105.h23B5NEa021454@norfolk.ki.iif.hu>
Date: Mon, 3 Mar 2003 12:05:23 +0100 (CET)
From: Janos Mohacsi <mohacsi@niif.hu>
Reply-To: Janos Mohacsi <janos.mohacsi@bsd.hu>
To: FreeBSD-gnats-submit@freebsd.org
Cc: rdenis@simphalempin.com
Subject: Maintainer update: net/tcpreen to version 1.2.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48868
>Category:       ports
>Synopsis:       Maintainer update: net/tcpreen to version 1.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 03 03:10:18 PST 2003
>Closed-Date:    Sun Mar 30 17:29:20 PST 2003
>Last-Modified:  Sun Mar 30 17:29:20 PST 2003
>Originator:     Janos Mohacsi
>Release:        FreeBSD 4.8-PRERELEASE i386
>Organization:
NIIF
>Environment:
System: FreeBSD norfolk.ki.iif.hu 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #0: Wed Feb 26 09:52:28 CET 2003 root@norfolk.ki.iif.hu:/usr/obj/usr/src/sys/NORFOLK i386

>Description:
Maintainer update of net/tcpreen to version 1.2.2.

Changes:
Try to fix that GNU <getopt.th> doesn't work properly on non GNU libc-based 
platforms with GCC 3.x (FreeBSD 5.x)

Package changes:
Security fix
Compilation fix on FreeBSD
improved user name resolution.

>How-To-Repeat:
Apply this diff.

>Fix:

diff -ruN tcpreen.bak/Makefile tcpreen/Makefile
--- tcpreen.bak/Makefile	Mon Feb 24 13:14:04 2003
+++ tcpreen/Makefile	Mon Mar  3 11:35:58 2003
@@ -6,15 +6,15 @@
 #
 
 PORTNAME=	tcpreen
-PORTVERSION=	1.1.3
+PORTVERSION=	1.2.2
 CATEGORIES=	net ipv6
-MASTER_SITES=	http://rdenisc.free.fr/tcpreen/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	Janos.Mohacsi@bsd.hu
 COMMENT=	A simple TCP session re-engineering tool
 
-LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext \
-		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
@@ -23,6 +23,12 @@
 
 DOC_FILES=	README
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+.endif
+
 post-install:
 .ifndef(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
@@ -31,4 +37,4 @@
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN tcpreen.bak/distinfo tcpreen/distinfo
--- tcpreen.bak/distinfo	Tue Jan 21 12:04:08 2003
+++ tcpreen/distinfo	Mon Mar  3 11:03:09 2003
@@ -1 +1 @@
-MD5 (tcpreen-1.1.3.tar.bz2) = b683356abf8049f8a65420ecc090e45f
+MD5 (tcpreen-1.2.2.tar.bz2) = 8dfa174bb7bd781dd73357d2975cf2cb
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Sun Mar 30 17:29:16 PST 2003 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48868 
>Unformatted:
