Re: [MAINTAINER UPDATE] net/i2p -> 0.9.49

2021-03-05 Thread Dimitri Karamazov
On Thu, Mar 04, 2021 at 11:56:30PM +0100, Solene Rapenne wrote:
> On Sat, 27 Feb 2021 17:26:53 +
> Dimitri Karamazov :
> 
> > Ping
> > 
> > On Sat, Feb 20, 2021 at 01:54:35PM +, Dimitri Karamazov wrote:
> > > Simple update for net/i2p to 0.9.49
> > > 
> > > *Fetch from github henceworth.
> > > *Most of doc/* files have been compressed
> > >  into *.wars of their respective webapps.
> > > *Some empty *{.jar,.wars} have been removed.
> > > 
> > > The given commit contains fixes to the themes
> > > bug which they missed while making the
> > > 0.9.49 release.
> > > 
> > > Build & Run tested on amd64
> > >   
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/net/i2p/Makefile,v
> > retrieving revision 1.6
> > diff -u -p -r1.6 Makefile
> > --- Makefile5 Dec 2020 17:21:55 -   1.6
> > +++ Makefile20 Feb 2021 13:32:39 -
> > @@ -7,16 +7,16 @@ ONLY_FOR_ARCHS=   amd64 i386
> >  
> >  COMMENT=   i2p routing protocol
> >  
> > -V= 0.9.48
> > -DISTNAME=  i2psource_${V}
> > -EXTRACT_SUFX=  .tar.bz2
> > -PKGNAME=   i2p-${V}
> > +GH_ACCOUNT=i2p
> > +GH_PROJECT=i2p.i2p
> > +GH_TAGNAME=5d5e6fa3c2365f6c9956d3691d620eb5797091f8
> > +PKGNAME=   i2p-0.9.49
> >  
> >  CATEGORIES=net
> >  
> >  HOMEPAGE=  https://geti2p.net/en/
> >  
> > -MAINTAINER=Dimitri karamazov 
> > +MAINTAINER=Dimitri Karamazov 
> >  
> >  # 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
> > @@ -24,9 +24,6 @@ PERMIT_PACKAGE=   Yes
> >  
> 
> hi,
> 
> everything is fine to me but I see you use a hash as TAGNAME
> while there are proper tags for the project on github, last
> is https://github.com/i2p/i2p.i2p/releases/tag/i2p-0.9.49
> 
> Is there a reason?

There remains a bug in that release were you can't change the
themes in i2psnark. I reported it which was subsequently fixed
in the given hash. There will be proper tags in the future
hopefully. If the strife is with the usage of TAGNAME I prescribe
another diff which uses GH_COMMIT and DISTNAME instead.

Build & Run tested on amd64.

regards,
  Dimitri

Index: Makefile
===
RCS file: /cvs/ports/net/i2p/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile5 Dec 2020 17:21:55 -   1.6
+++ Makefile5 Mar 2021 04:22:31 -
@@ -7,16 +7,16 @@ ONLY_FOR_ARCHS=   amd64 i386
 
 COMMENT=   i2p routing protocol
 
-V= 0.9.48
-DISTNAME=  i2psource_${V}
-EXTRACT_SUFX=  .tar.bz2
-PKGNAME=   i2p-${V}
+GH_ACCOUNT=i2p
+GH_PROJECT=i2p.i2p
+GH_COMMIT= 5d5e6fa3c2365f6c9956d3691d620eb5797091f8
+DISTNAME=  i2p-0.9.49
 
 CATEGORIES=net
 
 HOMEPAGE=  https://geti2p.net/en/
 
-MAINTAINER=Dimitri karamazov 
+MAINTAINER=Dimitri Karamazov 
 
 # 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
@@ -24,9 +24,6 @@ PERMIT_PACKAGE=   Yes
 
 WANTLIB += gmp
 
-MASTER_SITES=  https://download.i2p2.de/releases/$V/ \
-   https://launchpad.net/i2p/trunk/$V/+download/
-
 MODULES=   java
 MODJAVA_VER=   1.8
 MODJAVA_BUILD= ant
@@ -49,8 +46,6 @@ DB_DIR=   ${LOCALSTATEDIR}/i2p
 SUBST_VARS=DB_DIR JAVA_HOME
 
 MAKE_ENV=  CC=${CC} BITS=${BITS}
-
-WRKDIST=   ${WRKDIR}/${PKGNAME}
 
 # test requires addition dependencies (atleast: junit, hamcrest, jmockfit)
 NO_TEST=   Yes
Index: distinfo
===
RCS file: /cvs/ports/net/i2p/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo5 Dec 2020 17:21:55 -   1.2
+++ distinfo5 Mar 2021 04:22:31 -
@@ -1,2 +1,2 @@
-SHA256 (i2psource_0.9.48.tar.bz2) = 
6MVbF7IGbY6rgrxAcSjx8DZlMMVCmhQT6gy/QPki1TI=
-SIZE (i2psource_0.9.48.tar.bz2) = 33029295
+SHA256 (i2p-0.9.49-5d5e6fa3.tar.gz) = 
/RaibIT2QhBb67tEMNqjm8CbDbFNOA+N8RTwh9lb90Y=
+SIZE (i2p-0.9.49-5d5e6fa3.tar.gz) = 37885005
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/i2p/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   5 Dec 2020 17:21:55 -   1.3
+++ pkg/PLIST   5 Mar 2021 04:22:31 -
@@ -23,13 +23,10 @@ share/i2p/certificates/family/gostcoin.c
 share/i2p/certificates/family/i2p-dev.crt
 share/i2p/certificates/family/i2pd-dev.crt
 share/i2p/certificates/family/volatile.crt
-share/i2p/certificates/i2cp/
-share/i2p/certificates/i2ptunnel/
 share/i2p/certificates/news/
 share/i2p/certificates/news/ampernand_at_gmail.com.crt
 share/i2p/certificates/news/echelon_at_mail.i2p.crt
 share/i2p/certificates/news/hankhill19580_at_gmail.com.crt
-share/i2p/certificates/news/str4d_at_mail.i2p.crt
 share/i2p/certificates/news/zzz_at_mail.i2p.crt
 share/i2p/certificates/plugin/

Re: [MAINTAINER UPDATE] net/i2p -> 0.9.49

2021-03-04 Thread Solene Rapenne
On Sat, 27 Feb 2021 17:26:53 +
Dimitri Karamazov :

> Ping
> 
> On Sat, Feb 20, 2021 at 01:54:35PM +, Dimitri Karamazov wrote:
> > Simple update for net/i2p to 0.9.49
> > 
> > *Fetch from github henceworth.
> > *Most of doc/* files have been compressed
> >  into *.wars of their respective webapps.
> > *Some empty *{.jar,.wars} have been removed.
> > 
> > The given commit contains fixes to the themes
> > bug which they missed while making the
> > 0.9.49 release.
> > 
> > Build & Run tested on amd64
> >   
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/i2p/Makefile,v
> retrieving revision 1.6
> diff -u -p -r1.6 Makefile
> --- Makefile  5 Dec 2020 17:21:55 -   1.6
> +++ Makefile  20 Feb 2021 13:32:39 -
> @@ -7,16 +7,16 @@ ONLY_FOR_ARCHS= amd64 i386
>  
>  COMMENT= i2p routing protocol
>  
> -V=   0.9.48
> -DISTNAME=i2psource_${V}
> -EXTRACT_SUFX=.tar.bz2
> -PKGNAME= i2p-${V}
> +GH_ACCOUNT=  i2p
> +GH_PROJECT=  i2p.i2p
> +GH_TAGNAME=  5d5e6fa3c2365f6c9956d3691d620eb5797091f8
> +PKGNAME= i2p-0.9.49
>  
>  CATEGORIES=  net
>  
>  HOMEPAGE=https://geti2p.net/en/
>  
> -MAINTAINER=  Dimitri karamazov 
> +MAINTAINER=  Dimitri Karamazov 
>  
>  # 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
> @@ -24,9 +24,6 @@ PERMIT_PACKAGE= Yes
>  

hi,

everything is fine to me but I see you use a hash as TAGNAME
while there are proper tags for the project on github, last
is https://github.com/i2p/i2p.i2p/releases/tag/i2p-0.9.49

Is there a reason?



Re: [MAINTAINER UPDATE] net/i2p -> 0.9.49

2021-02-27 Thread Dimitri Karamazov
Ping

On Sat, Feb 20, 2021 at 01:54:35PM +, Dimitri Karamazov wrote:
> Simple update for net/i2p to 0.9.49
> 
> *Fetch from github henceworth.
> *Most of doc/* files have been compressed
>  into *.wars of their respective webapps.
> *Some empty *{.jar,.wars} have been removed.
> 
> The given commit contains fixes to the themes
> bug which they missed while making the
> 0.9.49 release.
> 
> Build & Run tested on amd64
> 
Index: Makefile
===
RCS file: /cvs/ports/net/i2p/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile5 Dec 2020 17:21:55 -   1.6
+++ Makefile20 Feb 2021 13:32:39 -
@@ -7,16 +7,16 @@ ONLY_FOR_ARCHS=   amd64 i386
 
 COMMENT=   i2p routing protocol
 
-V= 0.9.48
-DISTNAME=  i2psource_${V}
-EXTRACT_SUFX=  .tar.bz2
-PKGNAME=   i2p-${V}
+GH_ACCOUNT=i2p
+GH_PROJECT=i2p.i2p
+GH_TAGNAME=5d5e6fa3c2365f6c9956d3691d620eb5797091f8
+PKGNAME=   i2p-0.9.49
 
 CATEGORIES=net
 
 HOMEPAGE=  https://geti2p.net/en/
 
-MAINTAINER=Dimitri karamazov 
+MAINTAINER=Dimitri Karamazov 
 
 # 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
@@ -24,9 +24,6 @@ PERMIT_PACKAGE=   Yes
 
 WANTLIB += gmp
 
-MASTER_SITES=  https://download.i2p2.de/releases/$V/ \
-   https://launchpad.net/i2p/trunk/$V/+download/
-
 MODULES=   java
 MODJAVA_VER=   1.8
 MODJAVA_BUILD= ant
@@ -49,8 +46,6 @@ DB_DIR=   ${LOCALSTATEDIR}/i2p
 SUBST_VARS=DB_DIR JAVA_HOME
 
 MAKE_ENV=  CC=${CC} BITS=${BITS}
-
-WRKDIST=   ${WRKDIR}/${PKGNAME}
 
 # test requires addition dependencies (atleast: junit, hamcrest, jmockfit)
 NO_TEST=   Yes
Index: distinfo
===
RCS file: /cvs/ports/net/i2p/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo5 Dec 2020 17:21:55 -   1.2
+++ distinfo20 Feb 2021 13:32:39 -
@@ -1,2 +1,2 @@
-SHA256 (i2psource_0.9.48.tar.bz2) = 
6MVbF7IGbY6rgrxAcSjx8DZlMMVCmhQT6gy/QPki1TI=
-SIZE (i2psource_0.9.48.tar.bz2) = 33029295
+SHA256 (i2p.i2p-5d5e6fa3c2365f6c9956d3691d620eb5797091f8.tar.gz) = 
/RaibIT2QhBb67tEMNqjm8CbDbFNOA+N8RTwh9lb90Y=
+SIZE (i2p.i2p-5d5e6fa3c2365f6c9956d3691d620eb5797091f8.tar.gz) = 37885005
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/i2p/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   5 Dec 2020 17:21:55 -   1.3
+++ pkg/PLIST   20 Feb 2021 13:32:40 -
@@ -23,13 +23,10 @@ share/i2p/certificates/family/gostcoin.c
 share/i2p/certificates/family/i2p-dev.crt
 share/i2p/certificates/family/i2pd-dev.crt
 share/i2p/certificates/family/volatile.crt
-share/i2p/certificates/i2cp/
-share/i2p/certificates/i2ptunnel/
 share/i2p/certificates/news/
 share/i2p/certificates/news/ampernand_at_gmail.com.crt
 share/i2p/certificates/news/echelon_at_mail.i2p.crt
 share/i2p/certificates/news/hankhill19580_at_gmail.com.crt
-share/i2p/certificates/news/str4d_at_mail.i2p.crt
 share/i2p/certificates/news/zzz_at_mail.i2p.crt
 share/i2p/certificates/plugin/
 share/i2p/certificates/plugin/backup_at_mail.i2p.crt
@@ -45,10 +42,9 @@ share/i2p/certificates/reseed/hottuna_at
 share/i2p/certificates/reseed/igor_at_novg.net.crt
 share/i2p/certificates/reseed/lazygravy_at_mail.i2p.crt
 share/i2p/certificates/reseed/reseed_at_diva.exchange.crt
-share/i2p/certificates/revocations/
 share/i2p/certificates/router/
 share/i2p/certificates/router/echelon_at_mail.i2p.crt
-share/i2p/certificates/router/str4d_at_mail.i2p.crt
+share/i2p/certificates/router/hankhill19580_at_gmail.com.crt
 share/i2p/certificates/router/zzz_at_mail.i2p.crt
 share/i2p/certificates/ssl/
 share/i2p/certificates/ssl/echelon.reseed2017.crt
@@ -56,21 +52,7 @@ share/i2p/certificates/ssl/i2pseed.creat
 share/i2p/certificates/ssl/isrgrootx1.crt
 share/i2p/clients.config
 share/i2p/docs/
-share/i2p/docs/ahelper-conflict-header.ht
-share/i2p/docs/ahelper-new-header.ht
-share/i2p/docs/ahelper-notfound-header.ht
-share/i2p/docs/auth-header.ht
-share/i2p/docs/b32-auth-header.ht
-share/i2p/docs/b32-header.ht
-share/i2p/docs/baduri-header.ht
 share/i2p/docs/console.ico
-share/i2p/docs/denied-header.ht
-share/i2p/docs/dnf-header.ht
-share/i2p/docs/dnfb-header.ht
-share/i2p/docs/dnfh-header.ht
-share/i2p/docs/dnfp-header.ht
-share/i2p/docs/enc-header.ht
-share/i2p/docs/encp-header.ht
 share/i2p/docs/icons/
 share/i2p/docs/icons/flags/
 share/i2p/docs/icons/flags/ad.png
@@ -312,665 +294,8 @@ share/i2p/docs/icons/flags/yt.png
 share/i2p/docs/icons/flags/za.png
 share/i2p/docs/icons/flags/zm.png
 share/i2p/docs/icons/flags/zw.png
-share/i2p/docs/icons/flags16x11/
-share/i2p/docs/icons/flags16x11/a0.png
-share/i2p/docs/icons/flags16x11/a1.png
-share/i2p/docs/icons/flags16x11/a2.png
-share/i2p/docs/icons/flags16x11/ap.png

[MAINTAINER UPDATE] net/i2p -> 0.9.49

2021-02-21 Thread Dimitri Karamazov
Simple update for net/i2p to 0.9.49

*Fetch from github henceworth.
*Most of doc/* files have been compressed
 into *.wars of their respective webapps.
*Some empty *{.jar,.wars} have been removed.

The given commit contains fixes to the themes
bug which they missed while making the
0.9.49 release.

Build & Run tested on amd64

Index: Makefile
===
RCS file: /cvs/ports/net/i2p/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile5 Dec 2020 17:21:55 -   1.6
+++ Makefile20 Feb 2021 13:32:39 -
@@ -7,16 +7,16 @@ ONLY_FOR_ARCHS=   amd64 i386
 
 COMMENT=   i2p routing protocol
 
-V= 0.9.48
-DISTNAME=  i2psource_${V}
-EXTRACT_SUFX=  .tar.bz2
-PKGNAME=   i2p-${V}
+GH_ACCOUNT=i2p
+GH_PROJECT=i2p.i2p
+GH_TAGNAME=5d5e6fa3c2365f6c9956d3691d620eb5797091f8
+PKGNAME=   i2p-0.9.49
 
 CATEGORIES=net
 
 HOMEPAGE=  https://geti2p.net/en/
 
-MAINTAINER=Dimitri karamazov 
+MAINTAINER=Dimitri Karamazov 
 
 # 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
@@ -24,9 +24,6 @@ PERMIT_PACKAGE=   Yes
 
 WANTLIB += gmp
 
-MASTER_SITES=  https://download.i2p2.de/releases/$V/ \
-   https://launchpad.net/i2p/trunk/$V/+download/
-
 MODULES=   java
 MODJAVA_VER=   1.8
 MODJAVA_BUILD= ant
@@ -49,8 +46,6 @@ DB_DIR=   ${LOCALSTATEDIR}/i2p
 SUBST_VARS=DB_DIR JAVA_HOME
 
 MAKE_ENV=  CC=${CC} BITS=${BITS}
-
-WRKDIST=   ${WRKDIR}/${PKGNAME}
 
 # test requires addition dependencies (atleast: junit, hamcrest, jmockfit)
 NO_TEST=   Yes
Index: distinfo
===
RCS file: /cvs/ports/net/i2p/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo5 Dec 2020 17:21:55 -   1.2
+++ distinfo20 Feb 2021 13:32:39 -
@@ -1,2 +1,2 @@
-SHA256 (i2psource_0.9.48.tar.bz2) = 
6MVbF7IGbY6rgrxAcSjx8DZlMMVCmhQT6gy/QPki1TI=
-SIZE (i2psource_0.9.48.tar.bz2) = 33029295
+SHA256 (i2p.i2p-5d5e6fa3c2365f6c9956d3691d620eb5797091f8.tar.gz) = 
/RaibIT2QhBb67tEMNqjm8CbDbFNOA+N8RTwh9lb90Y=
+SIZE (i2p.i2p-5d5e6fa3c2365f6c9956d3691d620eb5797091f8.tar.gz) = 37885005
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/i2p/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   5 Dec 2020 17:21:55 -   1.3
+++ pkg/PLIST   20 Feb 2021 13:32:40 -
@@ -23,13 +23,10 @@ share/i2p/certificates/family/gostcoin.c
 share/i2p/certificates/family/i2p-dev.crt
 share/i2p/certificates/family/i2pd-dev.crt
 share/i2p/certificates/family/volatile.crt
-share/i2p/certificates/i2cp/
-share/i2p/certificates/i2ptunnel/
 share/i2p/certificates/news/
 share/i2p/certificates/news/ampernand_at_gmail.com.crt
 share/i2p/certificates/news/echelon_at_mail.i2p.crt
 share/i2p/certificates/news/hankhill19580_at_gmail.com.crt
-share/i2p/certificates/news/str4d_at_mail.i2p.crt
 share/i2p/certificates/news/zzz_at_mail.i2p.crt
 share/i2p/certificates/plugin/
 share/i2p/certificates/plugin/backup_at_mail.i2p.crt
@@ -45,10 +42,9 @@ share/i2p/certificates/reseed/hottuna_at
 share/i2p/certificates/reseed/igor_at_novg.net.crt
 share/i2p/certificates/reseed/lazygravy_at_mail.i2p.crt
 share/i2p/certificates/reseed/reseed_at_diva.exchange.crt
-share/i2p/certificates/revocations/
 share/i2p/certificates/router/
 share/i2p/certificates/router/echelon_at_mail.i2p.crt
-share/i2p/certificates/router/str4d_at_mail.i2p.crt
+share/i2p/certificates/router/hankhill19580_at_gmail.com.crt
 share/i2p/certificates/router/zzz_at_mail.i2p.crt
 share/i2p/certificates/ssl/
 share/i2p/certificates/ssl/echelon.reseed2017.crt
@@ -56,21 +52,7 @@ share/i2p/certificates/ssl/i2pseed.creat
 share/i2p/certificates/ssl/isrgrootx1.crt
 share/i2p/clients.config
 share/i2p/docs/
-share/i2p/docs/ahelper-conflict-header.ht
-share/i2p/docs/ahelper-new-header.ht
-share/i2p/docs/ahelper-notfound-header.ht
-share/i2p/docs/auth-header.ht
-share/i2p/docs/b32-auth-header.ht
-share/i2p/docs/b32-header.ht
-share/i2p/docs/baduri-header.ht
 share/i2p/docs/console.ico
-share/i2p/docs/denied-header.ht
-share/i2p/docs/dnf-header.ht
-share/i2p/docs/dnfb-header.ht
-share/i2p/docs/dnfh-header.ht
-share/i2p/docs/dnfp-header.ht
-share/i2p/docs/enc-header.ht
-share/i2p/docs/encp-header.ht
 share/i2p/docs/icons/
 share/i2p/docs/icons/flags/
 share/i2p/docs/icons/flags/ad.png
@@ -312,665 +294,8 @@ share/i2p/docs/icons/flags/yt.png
 share/i2p/docs/icons/flags/za.png
 share/i2p/docs/icons/flags/zm.png
 share/i2p/docs/icons/flags/zw.png
-share/i2p/docs/icons/flags16x11/
-share/i2p/docs/icons/flags16x11/a0.png
-share/i2p/docs/icons/flags16x11/a1.png
-share/i2p/docs/icons/flags16x11/a2.png
-share/i2p/docs/icons/flags16x11/ap.png
-share/i2p/docs/icons/flags16x11/bl.png
-share/i2p/docs/icons/flags16x11/bq.png