From wxs@syn.csh.rit.edu  Mon May  1 13:14:32 2006
Return-Path: <wxs@syn.csh.rit.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5717716A405
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 May 2006 13:14:32 +0000 (UTC)
	(envelope-from wxs@syn.csh.rit.edu)
Received: from syn.csh.rit.edu (syn.csh.rit.edu [129.21.60.158])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C3C0543D48
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 May 2006 13:14:31 +0000 (GMT)
	(envelope-from wxs@syn.csh.rit.edu)
Received: from syn.csh.rit.edu (localhost [127.0.0.1])
	by syn.csh.rit.edu (8.13.4/8.13.4) with ESMTP id k41EJa0b066960
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 1 May 2006 09:19:36 -0500 (EST)
	(envelope-from wxs@syn.csh.rit.edu)
Received: (from wxs@localhost)
	by syn.csh.rit.edu (8.13.4/8.13.4/Submit) id k41EJatF066958;
	Mon, 1 May 2006 09:19:36 -0500 (EST)
	(envelope-from wxs)
Message-Id: <200605011419.k41EJatF066958@syn.csh.rit.edu>
Date: Mon, 1 May 2006 09:19:36 -0500 (EST)
From: Wesley Shields <wxs@csh.rit.edu>
Reply-To: Wesley Shields <wxs@csh.rit.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER UPDATE]: net/bittwist
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         96584
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE]: net/bittwist
>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 May 01 13:20:15 GMT 2006
>Closed-Date:    Mon May 01 15:06:49 GMT 2006
>Last-Modified:  Mon May 01 15:06:49 GMT 2006
>Originator:     Wesley Shields
>Release:        FreeBSD 6.0-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD syn 6.0-RELEASE-p2 FreeBSD 6.0-RELEASE-p2 #1: Wed Jan 11 11:57:33 EST 2006 root@syn:/usr/obj/usr/src/sys/GENERIC i386

>Description:
The upstream maintainer and I have worked together to produce a working
version of bittwist for FreeBSD 4, 5, and 6.  The attached patch updates
the port to this version.  It also removes files/patch-Makefile which
should not have been committed, removes the (now unnecessary) OSVERSION
check for systems that have round(), uses a more proper OSVERSION for
the libpcap check, and lastly it moves to PLIST_FILES.

>How-To-Repeat:
N/A

>Fix:

diff -ruN net/bittwist.orig/Makefile net/bittwist/Makefile
--- net/bittwist.orig/Makefile	Tue Apr 25 11:28:16 2006
+++ net/bittwist/Makefile	Mon May  1 08:39:45 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	bittwist
-PORTVERSION=	0.7
+PORTVERSION=	0.72
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -19,17 +19,11 @@
 MAKE_ARGS+=	CC="${CC}" CFLAGS="${CFLAGS}"
 
 MAN1=		bittwist.1 bittwistb.1 bittwiste.1
+PLIST_FILES=	bin/bittwist bin/bittwistb bin/bittwiste
 
 .include <bsd.port.pre.mk>
 
-# 5.3 is the first version to have round().
-.if ${OSVERSION} < 503001
-IGNORE=	does not build under 5.2 and older (no round())
-.endif
-
-# 5.3 and up do not have a new enough libpcap but does have round().
-# 6.0 and up have both a new enough libpcap and round().
-.if ${OSVERSION} >= 503001 && ${OSVERSION} < 600100
+.if ${OSVERSION} < 600032
 BUILD_DEPENDS=	${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
 .endif
 
diff -ruN net/bittwist.orig/distinfo net/bittwist/distinfo
--- net/bittwist.orig/distinfo	Tue Apr 18 10:16:53 2006
+++ net/bittwist/distinfo	Mon May  1 08:40:13 2006
@@ -1,3 +1,2 @@
-MD5 (bittwist-bsd-0.7.tar.gz) = fdb365f25903c1c49f973cdcb26868b5
-SHA256 (bittwist-bsd-0.7.tar.gz) = 62060b58b41bb6e8affbf10ea28408562faf5e77a2f180be3528bbde08a7a685
-SIZE (bittwist-bsd-0.7.tar.gz) = 38755
+MD5 (bittwist-bsd-0.72.tar.gz) = 917d5ff5eb0264dd59052d4a7f039822
+SIZE (bittwist-bsd-0.72.tar.gz) = 37138
diff -ruN net/bittwist.orig/files/patch-Makefile net/bittwist/files/patch-Makefile
--- net/bittwist.orig/files/patch-Makefile	Mon Apr 24 07:20:37 2006
+++ net/bittwist/files/patch-Makefile	Thu Jan  1 00:00:00 1970
@@ -1,15 +0,0 @@
---- Makefile.orig	Thu Apr 13 22:58:48 2006
-+++ Makefile	Sat Apr 22 21:28:25 2006
-@@ -5,10 +5,11 @@
- bindir = ${exec_prefix}/bin
- mandir = ${prefix}/man/man1
- 
--CC = gcc
-+CC ?= gcc
- DEBUG = -g
- #CFLAGS = -O2 -Wall $(DEBUG)
--CFLAGS = -O2 $(DEBUG)
-+CFLAGS ?= -O2
-+CFLAGS += $(DEBUG)
- SRC = src
- DOC = doc
diff -ruN net/bittwist.orig/pkg-plist net/bittwist/pkg-plist
--- net/bittwist.orig/pkg-plist	Tue Apr 18 10:16:53 2006
+++ net/bittwist/pkg-plist	Thu Jan  1 00:00:00 1970
@@ -1,3 +0,0 @@
-bin/bittwist
-bin/bittwistb
-bin/bittwiste
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Mon May 1 15:06:25 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

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