Download raw body.
Upgrade to 2.53.1 and add FLAVOR to the net/i2pd port
On 2024/08/01 18:19, David Uhden Collado wrote:
> OK?
>
Your emailed diffs would not apply with patch(1). Here's a version
which should work (I dropped the cosmetic/blurby changes to DESCR and
made the Makefile formatting of the new lines a bit closer to the
existing ones).
I'm not going to run this software to test, so if some other committer
wants to take this and run with it, go ahead. :)
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/i2pd/Makefile,v
diff -u -p -r1.24 Makefile
--- Makefile 27 May 2024 08:13:51 -0000 1.24
+++ Makefile 3 Aug 2024 12:59:00 -0000
@@ -2,7 +2,7 @@ COMMENT = client for the I2P anonymous n
GH_ACCOUNT = PurpleI2P
GH_PROJECT = i2pd
-GH_TAGNAME = 2.52.0
+GH_TAGNAME = 2.53.1
CATEGORIES = net
HOMEPAGE = https://i2pd.website
@@ -20,6 +20,15 @@ LIB_DEPENDS = devel/boost
# for tests
USE_GMAKE = Yes
+
+FLAVORS = upnp
+FLAVOR ?=
+
+.if ${FLAVOR:Mupnp}
+LIB_DEPENDS += net/miniupnp/miniupnpc
+WANTLIB += miniupnpc
+CONFIGURE_ARGS += -DWITH_UPNP=ON
+.endif
WRKSRC = ${WRKDIST}/build
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/i2pd/distinfo,v
diff -u -p -r1.19 distinfo
--- distinfo 27 May 2024 08:13:51 -0000 1.19
+++ distinfo 3 Aug 2024 12:59:00 -0000
@@ -1,2 +1,2 @@
-SHA256 (i2pd-2.52.0.tar.gz) = 9fr6cAth0HkdN72O7gSRJYLqXj87HYDsM5vYFYowmVs=
-SIZE (i2pd-2.52.0.tar.gz) = 677023
+SHA256 (i2pd-2.53.1.tar.gz) = xoY9hTkF51lOpmFZXqWRBV+PLwGLm5BQfVpDpkVhiOo=
+SIZE (i2pd-2.53.1.tar.gz) = 677029
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/net/i2pd/pkg/DESCR,v
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR 16 Jun 2019 22:13:55 -0000 1.1.1.1
+++ pkg/DESCR 3 Aug 2024 12:59:00 -0000
@@ -5,3 +5,6 @@ All communications over I2P are anonymou
Participants don't reveal their real IP address to each other. Peer to
peer (cryptocorruencies, file sharing) and client-to-server applications
(websites, instant messengers, chat servers) are supported.
+
+Flavors:
+ upnp - Built with UPnP support
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/i2pd/pkg/PLIST,v
diff -u -p -r1.13 PLIST
--- pkg/PLIST 16 Apr 2024 15:22:32 -0000 1.13
+++ pkg/PLIST 3 Aug 2024 12:59:00 -0000
@@ -8,7 +8,6 @@ include/i2pd/BOB.h
include/i2pd/Base.h
include/i2pd/Blinding.h
include/i2pd/CPU.h
-include/i2pd/ChaCha20.h
include/i2pd/ClientContext.h
include/i2pd/Config.h
include/i2pd/Crypto.h
@@ -38,7 +37,6 @@ include/i2pd/Log.h
include/i2pd/MatchedDestination.h
include/i2pd/NTCP2.h
include/i2pd/NetDbRequests.h
-include/i2pd/Poly1305.h
include/i2pd/Profiling.h
include/i2pd/Queue.h
include/i2pd/Reseed.h
@@ -190,12 +188,6 @@ share/examples/i2pd/certificates/reseed/
@owner _i2pd
@group _i2pd
@sample ${LOCALSTATEDIR}/lib/i2pd/certificates/reseed/lazygravy_at_mail.i2p.crt
-@owner
-@group
-share/examples/i2pd/certificates/reseed/ls_at_mail.i2p.crt
-@owner _i2pd
-@group _i2pd
-@sample ${LOCALSTATEDIR}/lib/i2pd/certificates/reseed/ls_at_mail.i2p.crt
@owner
@group
share/examples/i2pd/certificates/reseed/orignal_at_mail.i2p.crt
Upgrade to 2.53.1 and add FLAVOR to the net/i2pd port