git: 3c8a7fea72cd - main - net/bittwist: Update to 3.7

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 10:34:12 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3c8a7fea72cd7613f733cf38b407adb587d9b8a1

commit 3c8a7fea72cd7613f733cf38b407adb587d9b8a1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:17:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:17:33 +0000

    net/bittwist: Update to 3.7
    
    - Update WWW
    
    Changes:        https://github.com/ayeowch/bittwist/releases
                    https://bittwist.sourceforge.io/news.html
---
 net/bittwist/Makefile | 7 ++++---
 net/bittwist/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/net/bittwist/Makefile b/net/bittwist/Makefile
index 29e46943d012..3d1e55d75b0a 100644
--- a/net/bittwist/Makefile
+++ b/net/bittwist/Makefile
@@ -1,12 +1,13 @@
 PORTNAME=	bittwist
-PORTVERSION=	3.2
+PORTVERSION=	3.7
 DISTVERSIONPREFIX=	bsd-
 CATEGORIES=	net
 MASTER_SITES=	SF/bittwist/BSD/Bit-Twist%20${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Libpcap-based Ethernet packet generator, with PCAP editor
-WWW=		https://bittwist.sourceforge.io/
+WWW=		https://bittwist.sourceforge.io/ \
+		https://github.com/ayeowch/bittwist
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
@@ -24,7 +25,7 @@ DOS2UNIX_FILES=	COPYING
 
 do-build:
 	${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/src/bittwist.c ${WRKSRC}/src/token_bucket.c -o ${WRKSRC}/src/bittwist
-	${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/src/bittwiste.c -o ${WRKSRC}/src/bittwiste
+	${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/src/bittwiste.c ${WRKSRC}/src/tinymt/tinymt64.c ${WRKSRC}/src/template_pcap.c -I${WRKSRC}/src/tinymt -o ${WRKSRC}/src/bittwiste
 
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/bin/ ${STAGEDIR}${PREFIX}/share/man/man1/
diff --git a/net/bittwist/distinfo b/net/bittwist/distinfo
index b880a26db201..e8cfb48f08cd 100644
--- a/net/bittwist/distinfo
+++ b/net/bittwist/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1686496688
-SHA256 (bittwist-bsd-3.2.tar.gz) = 03013d939b783cd59ce510fafefd800515b6b7ef9cd9be3ddaa73a41c0d1d4f3
-SIZE (bittwist-bsd-3.2.tar.gz) = 52713
+TIMESTAMP = 1688166076
+SHA256 (bittwist-bsd-3.7.tar.gz) = d8eb3d6abd318844982c1039ed4a7de4c7f01d0a9cae783eaf743559fb916bf7
+SIZE (bittwist-bsd-3.7.tar.gz) = 76590