From b9d908e952d79cffe71f45aec68c6451726d4d41 Mon Sep 17 00:00:00 2001 From: solene Date: Sat, 15 Jun 2024 08:53:08 +0000 Subject: [PATCH] Update to i2p-2.5.2 switch back to the official mirror as GitHub does not have the tag for the latest version even a few weeks after it was released ok pascal@ (maintainer) --- net/i2p/Makefile | 13 +++++++++---- net/i2p/distinfo | 4 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/net/i2p/Makefile b/net/i2p/Makefile index f8765fb1a4c..72530bb18a4 100644 --- a/net/i2p/Makefile +++ b/net/i2p/Makefile @@ -1,9 +1,8 @@ COMMENT= i2p routing protocol -GH_ACCOUNT= i2p -GH_PROJECT= i2p.i2p -GH_TAGNAME= i2p-2.5.1 -DISTNAME= ${GH_TAGNAME} +V = 2.5.2 +DISTNAME = i2psource_${V} +PKGNAME = i2p-${V} CATEGORIES= net @@ -15,8 +14,12 @@ MAINTAINER= Pascal Stumpf # EPLv1.0 GPLv2 GPLv3 LGPLv2.1 LGPLv3 MIT public-domain WTFPLv2 PERMIT_PACKAGE= Yes +EXTRACT_SUFX = .tar.bz2 + WANTLIB += gmp +SITES = https://files.i2p-projekt.de/${V}/ + MODULES= java MODJAVA_VER= 1.8 MODJAVA_BUILD= ant @@ -48,6 +51,8 @@ MAKE_ENV= CC=${CC} BITS=${BITS} MACHINE_ARCH=${MACHINE_ARCH} # test requires addition dependencies (atleast: junit, hamcrest, jmockfit) NO_TEST= Yes +WRKDIST= ${WRKDIR}/i2p-${V} + post-patch: ${SUBST_CMD} ${WRKSRC}/installer/resources/wrapper.config ${SUBST_CMD} ${WRKSRC}/installer/resources/i2prouter diff --git a/net/i2p/distinfo b/net/i2p/distinfo index 51c78797fb6..0141daa6cb3 100644 --- a/net/i2p/distinfo +++ b/net/i2p/distinfo @@ -1,2 +1,2 @@ -SHA256 (i2p-2.5.1.tar.gz) = 0gluxFWJoi4IDhibrAPQkuIDe0qg7615Xs0NFhoTaIw= -SIZE (i2p-2.5.1.tar.gz) = 38419885 +SHA256 (i2psource_2.5.2.tar.bz2) = 8j0HRtcqVczL0X9Adi5JGuG0LN9V1+c0BNITqEmFynM= +SIZE (i2psource_2.5.2.tar.bz2) = 33791390