On Tue Sep 12, 2023 at 11:48:21PM +0200, Pascal Stumpf wrote:
> Update net/i2p to 2.3.0, take MAINTAINER.
>
> ok?
Committed, thanks
>
>
> Index: Makefile
> ===================================================================
> RCS file: /home/anoncvs/cvs/ports/net/i2p/Makefile,v
> retrieving revision 1.18
> diff -u -p -r1.18 Makefile
> --- Makefile 26 Apr 2023 08:17:17 -0000 1.18
> +++ Makefile 12 Sep 2023 21:41:09 -0000
> @@ -2,13 +2,14 @@ COMMENT= i2p routing protocol
>
> GH_ACCOUNT= i2p
> GH_PROJECT= i2p.i2p
> -GH_TAGNAME= i2p-1.8.0
> +GH_TAGNAME= i2p-2.3.0
> DISTNAME= ${GH_TAGNAME}
> -REVISION= 1
>
> CATEGORIES= net
>
> HOMEPAGE= https://geti2p.net/en/
> +
> +MAINTAINER= Pascal Stumpf <[email protected]>
>
> # Apache-2.0 Artistic BSD CC-BY-2.5 CC-BY-3.0 CC-BY-SA-3.0
> # EPLv1.0 GPLv2 GPLv3 LGPLv2.1 LGPLv3 MIT public-domain WTFPLv2
> Index: distinfo
> ===================================================================
> RCS file: /home/anoncvs/cvs/ports/net/i2p/distinfo,v
> retrieving revision 1.7
> diff -u -p -r1.7 distinfo
> --- distinfo 1 Jul 2022 05:21:10 -0000 1.7
> +++ distinfo 12 Sep 2023 21:36:23 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (i2p-1.8.0.tar.gz) = AYQyEGkD8KqdzJ9q0wKFbaPhlfcwumHO3ek/nkW0OtQ=
> -SIZE (i2p-1.8.0.tar.gz) = 38024343
> +SHA256 (i2p-2.3.0.tar.gz) = 6JBfzZy9YOVMI/riZTTZPtEpqa/QwhN9s3zDdpIzQiI=
> +SIZE (i2p-2.3.0.tar.gz) = 38157548
> Index: patches/patch-core_c_jbigi_build_sh
> ===================================================================
> RCS file:
> /home/anoncvs/cvs/ports/net/i2p/patches/patch-core_c_jbigi_build_sh,v
> retrieving revision 1.2
> diff -u -p -r1.2 patch-core_c_jbigi_build_sh
> --- patches/patch-core_c_jbigi_build_sh 8 Mar 2022 00:56:24 -0000
> 1.2
> +++ patches/patch-core_c_jbigi_build_sh 16 Jan 2023 21:19:34 -0000
> @@ -2,8 +2,9 @@ use only local gmp
> change default lib to dynamic
> avoid tests
>
> ---- core/c/jbigi/build.sh.orig Mon Aug 24 21:45:06 2020
> -+++ core/c/jbigi/build.sh Sun Oct 4 08:02:36 2020
> +Index: core/c/jbigi/build.sh
> +--- core/c/jbigi/build.sh.orig
> ++++ core/c/jbigi/build.sh
> @@ -21,7 +21,6 @@ rm -rf bin/local
> mkdir -p lib bin/local
>
> @@ -18,23 +19,23 @@ avoid tests
> echo "Building..."
> -if [ "$1" != "dynamic" ]; then
> +if [ "$1" = "static" ]; then
> - case `uname -sr` in
> + case $(uname -sr) in
> Darwin*)
> # --with-pic is required for static linking
> -@@ -50,7 +49,6 @@ if [ "$1" != "dynamic" ]; then
> - make
> +@@ -51,7 +50,6 @@ if [ "$1" != "dynamic" ]; then
> + make check
> sh ../../build_jbigi.sh static
> else
> - shift
> sh ../../build_jbigi.sh dynamic
> fi
>
> -@@ -58,7 +56,7 @@ cp *jbigi???* ../../lib/
> +@@ -59,7 +57,7 @@ cp -- *jbigi???* ../../lib/
> echo 'Library copied to lib/'
> cd ../..
>
> -if [ "$1" != "notest" ]; then
> +if [ "$1" = "test" ]; then
> if [ -z "$I2P" ]; then
> - if [ -r $HOME/i2p/lib/i2p.jar ]; then
> + if [ -r "$HOME/i2p/lib/i2p.jar" ]; then
> I2P="$HOME/i2p"
> Index: pkg/PLIST
> ===================================================================
> RCS file: /home/anoncvs/cvs/ports/net/i2p/pkg/PLIST,v
> retrieving revision 1.8
> diff -u -p -r1.8 PLIST
> --- pkg/PLIST 8 Nov 2022 11:14:56 -0000 1.8
> +++ pkg/PLIST 18 Apr 2023 17:43:05 -0000
> @@ -37,9 +37,9 @@ share/i2p/certificates/plugin/backup_at_
> share/i2p/certificates/plugin/cacapo_at_mail.i2p.crt
> share/i2p/certificates/plugin/hankhill19580_at_gmail.com.crt
> share/i2p/certificates/plugin/str4d_at_mail.i2p.crt
> -share/i2p/certificates/plugin/zab_at_mail.i2p.crt
> share/i2p/certificates/plugin/zzz-plugin_at_mail.i2p.crt
> share/i2p/certificates/reseed/
> +share/i2p/certificates/reseed/arnavbhatt288_at_mail.i2p.crt
> share/i2p/certificates/reseed/creativecowpat_at_mail.i2p.crt
> share/i2p/certificates/reseed/echelon3_at_mail.i2p.crt
> share/i2p/certificates/reseed/hankhill19580_at_gmail.com.crt
>