git: 77489f5ed552 - main - net/onioncat: Update to 4.10.0

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 13 Feb 2023 11:57:27 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=77489f5ed552024c2e188e3a7c9f773741fd65f6

commit 77489f5ed552024c2e188e3a7c9f773741fd65f6
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-02-13 11:54:52 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-02-13 11:56:48 +0000

    net/onioncat: Update to 4.10.0
    
    Update to latest release and unbreak port (unfetchable for weeks)
    
    Reported by:    pkg-fallout
    Approved by:    portmgr (blanket, just fix it)
---
 net/onioncat/Makefile | 12 +++++-------
 net/onioncat/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/net/onioncat/Makefile b/net/onioncat/Makefile
index 13d57d550002..50df37f5e34b 100644
--- a/net/onioncat/Makefile
+++ b/net/onioncat/Makefile
@@ -1,25 +1,23 @@
 PORTNAME=	onioncat
-DISTVERSION=	0.4.7
+DISTVERSION=	4.10.0
 CATEGORIES=	net security
-MASTER_SITES=	https://www.cypherpunk.at/ocat/download/Source/current/
+MASTER_SITES=	https://github.com/rahra/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	cs@FreeBSD.org
 COMMENT=	IP-transparent Tor Hidden Service connector
 WWW=		https://www.onioncat.org/
 
 LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 RUN_DEPENDS=	tor:security/tor
 
+USES=		autoreconf
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	PTHREAD_LIBS="-pthread"
 
 USE_RC_SUBR=	${PORTNAME}
-PLIST_FILES=	bin/ocat man/man1/ocat.1.gz
 
-post-patch:
-	@${REINPLACE_CMD} -e \
-		'/CFLAGS=/s|-O2|$$CFLAGS|' ${WRKSRC}/configure
+PLIST_FILES=	bin/ocat man/man1/ocat.1.gz
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/ocat ${STAGEDIR}${PREFIX}/bin
diff --git a/net/onioncat/distinfo b/net/onioncat/distinfo
index bc085f381b4a..74ccaff27bfb 100644
--- a/net/onioncat/distinfo
+++ b/net/onioncat/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1672576063
-SHA256 (onioncat-0.4.7.tar.gz) = 4da7f7682fc2ba7e6e4610b8277bc2070da23453c3e81234db100bec6ffae7fc
-SIZE (onioncat-0.4.7.tar.gz) = 279498
+TIMESTAMP = 1676281488
+SHA256 (onioncat-4.10.0.tar.gz) = a65152e793e844cfe865212d22513c3fdfb1489404d557e92648081e92e9cbd0
+SIZE (onioncat-4.10.0.tar.gz) = 274609