ports/96584: [MAINTAINER UPDATE]: net/bittwist
Wesley Shields
wxs at csh.rit.edu
Mon May 1 13:20:18 UTC 2006
>Number: 96584
>Category: ports
>Synopsis: [MAINTAINER UPDATE]: net/bittwist
>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 May 01 13:20:15 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list