diff --git a/net/onioncat/Makefile b/net/onioncat/Makefile index 13d57d550002..50df37f5e34b 100644 --- a/net/onioncat/Makefile +++ b/net/onioncat/Makefile @@ -1,28 +1,26 @@ 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 ${INSTALL_MAN} ${WRKSRC}/man/ocat.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include 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