update net/gopher

2020-01-09 Thread Solene Rapenne
this updates net/gopher

changelog since our version

gopher (3.0.17) unstable; urgency=medium
  * dh_clean -k -> dh_prep (debhelper)
  * Bump standards-version
  * Fix alignment issue in gopher directories.  Closes: #789892.

gopher (3.0.16) unstable; urgency=low
  * Bump compat to 9.  Closes: #817485.

gopher (3.0.15) unstable; urgency=medium
  * Correct possible segfault in option parsing.  Closes #715977, #715978.

gopher (3.0.14) unstable; urgency=medium
  * Fix Debian (Closes: #798758) thanks to patch from Axel Beckert
+ Use autoconf and gnulib instead of autoconf2.13.
+ debian/rules: configure-stamp is a dependency of build-stamp, not build.
+ debian/rules: Add symlink to /usr/share/gnulib/lib/getloadavg.c and
  remove it again in the clean target.

gopher (3.0.13) unstable; urgency=low
  * More changes to download.c to prefer getcwd() to get_current_dir_name().
Closes: #366560.

gopher (3.0.12) unstable; urgency=low
  * Applied patch to make it build for Hurd.  Closes: #346447.




Index: Makefile
===
RCS file: /home/cvs/ports/net/gopher/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile12 Jul 2019 20:48:27 -  1.11
+++ Makefile9 Jan 2020 22:03:22 -
@@ -2,10 +2,9 @@
 
 COMMENT=   distributed document delivery client
 
-V= 3.0.11
+V= 3.0.17
 DISTNAME=  gopher_${V}
 PKGNAME=   gopher-${V}
-REVISION=  3
 CATEGORIES=net
 
 HOMEPAGE=  http://quux.org/devel/gopher/Downloads/
@@ -21,7 +20,7 @@ MASTER_SITES= ${HOMEPAGE}
 USE_GMAKE= Yes
 CONFIGURE_STYLE=gnu
 MAKE_FLAGS=CLIENTLIB=${SYSCONFDIR}/gopher
-WRKDIST=   ${WRKDIR}/gopher
+WRKDIST=   ${WRKDIR}/gopher-release-${V}
 NO_TEST=   Yes
 
 pre-configure:
Index: distinfo
===
RCS file: /home/cvs/ports/net/gopher/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo18 Jan 2015 03:14:39 -  1.3
+++ distinfo9 Jan 2020 22:01:51 -
@@ -1,2 +1,2 @@
-SHA256 (gopher_3.0.11.tar.gz) = LPGjFAC+Ztj7w23quyCiFPGMKm8Lgm/axe5SjkLpJ5c=
-SIZE (gopher_3.0.11.tar.gz) = 318250
+SHA256 (gopher_3.0.17.tar.gz) = RSN8qpHo1+lwwFY9J+GIUZsn0rmR75C8V88UGH84/CU=
+SIZE (gopher_3.0.17.tar.gz) = 320120
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/net/gopher/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   31 Jul 2006 12:52:20 -  1.1.1.1
+++ pkg/PLIST   9 Jan 2020 22:04:10 -
@@ -1,6 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
-bin/gopher
-bin/gophfilt
+@bin bin/gopher
+@bin bin/gophfilt
 @man man/man1/gopher.1
 @man man/man1/gophfilt.1
 @man man/man5/gopherrc.5



Re: UPDATE: net/gopher 3.0.11 to 3.0.16

2017-09-10 Thread Kaashif Hymabaccus
Hello ports@

Here's a better diff which gets rid of HOMEPAGE and adds the correct
license marker.

Is there any interest in this port?

diff --git Makefile Makefile
index a1fdac8ab83..87d5d9cad30 100644
--- Makefile
+++ Makefile
@@ -2,27 +2,29 @@
 
 COMMENT=   distributed document delivery client
 
-V= 3.0.11
-DISTNAME=  gopher_${V}
-PKGNAME=   gopher-${V}
-REVISION=  2
+V= 3.0.16
+DISTNAME=  gopher-${V}
+
+GH_ACCOUNT=jgoerzen
+GH_PROJECT=gopher
+GH_TAGNAME=release/${V}
+
 CATEGORIES=net
 
-HOMEPAGE=  http://quux.org/devel/gopher/Downloads/
+MAINTAINER=Kaashif Hymabaccus 
 
-# GPL
+# GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
 
-MASTER_SITES=  ${HOMEPAGE}
-
 WANTLIB=   c m curses termcap
 
 USE_GMAKE= Yes
 CONFIGURE_STYLE=gnu
 MAKE_FLAGS=CLIENTLIB=${SYSCONFDIR}/gopher
-WRKDIST=   ${WRKDIR}/gopher
 NO_TEST=   Yes
 
+WRKDIST=   ${WRKDIR}/gopher-release-${V}
+
 pre-configure:
@perl -pi -e "s,!!PREFIX!!,${PREFIX},g;" \
-e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" ${WRKSRC}/doc/gopher.1
diff --git distinfo distinfo
index 1d0887a5b9e..dd6a5a34794 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (gopher_3.0.11.tar.gz) = LPGjFAC+Ztj7w23quyCiFPGMKm8Lgm/axe5SjkLpJ5c=
-SIZE (gopher_3.0.11.tar.gz) = 318250
+SHA256 (gopher-3.0.16.tar.gz) = No4TadnZqv3Q4HAtexkoJ4RyeF/EeRF9GslQYiVJeCs=
+SIZE (gopher-3.0.16.tar.gz) = 320011
diff --git pkg/PLIST pkg/PLIST
index 37688335ce6..5437a010e8c 100644
--- pkg/PLIST
+++ pkg/PLIST
@@ -1,6 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
-bin/gopher
-bin/gophfilt
+@bin bin/gopher
+@bin bin/gophfilt
 @man man/man1/gopher.1
 @man man/man1/gophfilt.1
 @man man/man5/gopherrc.5



Re: UPDATE: net/gopher 3.0.11 to 3.0.16

2017-08-04 Thread Brian Callahan
Hi Kaashif --

On 8/4/2017 9:12 PM, Kaashif Hymabaccus wrote:
> Hello ports@,
>
> This is an update for net/gopher. Changes:
>
> * The original MASTER_SITE is out of date, no new tarballs are
>   there. Development happens on GitHub now, so I moved everything
>   there with GH_*. quux.org still exists, but it's not up-to-date, so
>   not worth linking to.
>
> * License is really GPLv2.
>
> Also, I'm maintainer. I get the feeling gopher isn't popular any more,
> so there are probably not many users of this, but what few users of
> this there are will hopefully appreciate timely updates. 

As someone who runs a large-scale public gopher server (in gopher terms,
at least), there are just better choices than the official client. But
anyhow, this reads ok; I'll take a closer look at it later. Oh, you
don't need the HOMEPAGE line if you're just gonna use the default github
repo. And use "GPLv2 only" as the license marker if there's no "or
later" clause.

~Brian

> diff --git Makefile Makefile
> index a1fdac8ab83..92f60bc0a03 100644
> --- Makefile
> +++ Makefile
> @@ -2,27 +2,31 @@
>  
>  COMMENT= distributed document delivery client
>  
> -V=   3.0.11
> -DISTNAME=gopher_${V}
> -PKGNAME= gopher-${V}
> -REVISION=2
> +V=   3.0.16
> +DISTNAME=gopher-${V}
> +
> +GH_ACCOUNT=  jgoerzen
> +GH_PROJECT=  gopher
> +GH_TAGNAME=  release/${V}
> +
>  CATEGORIES=  net
>  
> -HOMEPAGE=http://quux.org/devel/gopher/Downloads/
> +HOMEPAGE=https://github.com/jgoerzen/gopher
>  
> -# GPL
> -PERMIT_PACKAGE_CDROM=Yes
> +MAINTAINER=  Kaashif Hymabaccus 
>  
> -MASTER_SITES=${HOMEPAGE}
> +# GPLv2
> +PERMIT_PACKAGE_CDROM=Yes
>  
>  WANTLIB= c m curses termcap
>  
>  USE_GMAKE=   Yes
>  CONFIGURE_STYLE=gnu
>  MAKE_FLAGS=  CLIENTLIB=${SYSCONFDIR}/gopher
> -WRKDIST= ${WRKDIR}/gopher
>  NO_TEST= Yes
>  
> +WRKDIST= ${WRKDIR}/gopher-release-${V}
> +
>  pre-configure:
>   @perl -pi -e "s,!!PREFIX!!,${PREFIX},g;" \
>   -e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" ${WRKSRC}/doc/gopher.1
> diff --git distinfo distinfo
> index 1d0887a5b9e..dd6a5a34794 100644
> --- distinfo
> +++ distinfo
> @@ -1,2 +1,2 @@
> -SHA256 (gopher_3.0.11.tar.gz) = LPGjFAC+Ztj7w23quyCiFPGMKm8Lgm/axe5SjkLpJ5c=
> -SIZE (gopher_3.0.11.tar.gz) = 318250
> +SHA256 (gopher-3.0.16.tar.gz) = No4TadnZqv3Q4HAtexkoJ4RyeF/EeRF9GslQYiVJeCs=
> +SIZE (gopher-3.0.16.tar.gz) = 320011
> diff --git pkg/PLIST pkg/PLIST
> index 37688335ce6..5437a010e8c 100644
> --- pkg/PLIST
> +++ pkg/PLIST
> @@ -1,6 +1,6 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
> -bin/gopher
> -bin/gophfilt
> +@bin bin/gopher
> +@bin bin/gophfilt
>  @man man/man1/gopher.1
>  @man man/man1/gophfilt.1
>  @man man/man5/gopherrc.5
>
>




UPDATE: net/gopher 3.0.11 to 3.0.16

2017-08-04 Thread Kaashif Hymabaccus
Hello ports@,

This is an update for net/gopher. Changes:

* The original MASTER_SITE is out of date, no new tarballs are
  there. Development happens on GitHub now, so I moved everything
  there with GH_*. quux.org still exists, but it's not up-to-date, so
  not worth linking to.

* License is really GPLv2.

Also, I'm maintainer. I get the feeling gopher isn't popular any more,
so there are probably not many users of this, but what few users of
this there are will hopefully appreciate timely updates. 

diff --git Makefile Makefile
index a1fdac8ab83..92f60bc0a03 100644
--- Makefile
+++ Makefile
@@ -2,27 +2,31 @@
 
 COMMENT=   distributed document delivery client
 
-V= 3.0.11
-DISTNAME=  gopher_${V}
-PKGNAME=   gopher-${V}
-REVISION=  2
+V= 3.0.16
+DISTNAME=  gopher-${V}
+
+GH_ACCOUNT=jgoerzen
+GH_PROJECT=gopher
+GH_TAGNAME=release/${V}
+
 CATEGORIES=net
 
-HOMEPAGE=  http://quux.org/devel/gopher/Downloads/
+HOMEPAGE=  https://github.com/jgoerzen/gopher
 
-# GPL
-PERMIT_PACKAGE_CDROM=  Yes
+MAINTAINER=Kaashif Hymabaccus 
 
-MASTER_SITES=  ${HOMEPAGE}
+# GPLv2
+PERMIT_PACKAGE_CDROM=  Yes
 
 WANTLIB=   c m curses termcap
 
 USE_GMAKE= Yes
 CONFIGURE_STYLE=gnu
 MAKE_FLAGS=CLIENTLIB=${SYSCONFDIR}/gopher
-WRKDIST=   ${WRKDIR}/gopher
 NO_TEST=   Yes
 
+WRKDIST=   ${WRKDIR}/gopher-release-${V}
+
 pre-configure:
@perl -pi -e "s,!!PREFIX!!,${PREFIX},g;" \
-e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" ${WRKSRC}/doc/gopher.1
diff --git distinfo distinfo
index 1d0887a5b9e..dd6a5a34794 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (gopher_3.0.11.tar.gz) = LPGjFAC+Ztj7w23quyCiFPGMKm8Lgm/axe5SjkLpJ5c=
-SIZE (gopher_3.0.11.tar.gz) = 318250
+SHA256 (gopher-3.0.16.tar.gz) = No4TadnZqv3Q4HAtexkoJ4RyeF/EeRF9GslQYiVJeCs=
+SIZE (gopher-3.0.16.tar.gz) = 320011
diff --git pkg/PLIST pkg/PLIST
index 37688335ce6..5437a010e8c 100644
--- pkg/PLIST
+++ pkg/PLIST
@@ -1,6 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
-bin/gopher
-bin/gophfilt
+@bin bin/gopher
+@bin bin/gophfilt
 @man man/man1/gopher.1
 @man man/man1/gophfilt.1
 @man man/man5/gopherrc.5