Re: Ports still using freedb

2020-06-30 Thread Edd Barrett
On Mon, Jun 29, 2020 at 11:59:45PM +0200, Christian Weisgerber wrote:
> print/texlive/texmf e...@openbsd.org

This surprised me!

The reference to freedb comes from the documentation for a tex package
called 'cd'. The author bundled a ruby script that interfaces with
freedb alongside the package documentation.

As it stands, we don't package the 'cd' documentation (we only package a
subset of documentation: only docs for tex packages in the minimal
subset, which 'cd' is not part of).

So I think we don't need to do anything for tex live, but shout if you
think otherwise.

Thanks

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



Re: Ports still using freedb

2020-06-29 Thread Björn Ketelaars
On Tue 30/06/2020 01:55, Charlene Wendling wrote:
> Hi,
> 
> OK? (diffs below)

Diffs looks good. One small comment:

> Index: patches/patch-lib_CDDB_pm
> ===
> RCS file: patches/patch-lib_CDDB_pm
> diff -N patches/patch-lib_CDDB_pm
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-lib_CDDB_pm 29 Jun 2020 23:43:54 -
> @@ -0,0 +1,16 @@
> +$OpenBSD$
> +
> +freedb is dead
> +
> +Index: lib/CDDB.pm
> +--- lib/CDDB.pm.orig
>  lib/CDDB.pm
> +@@ -31,7 +31,7 @@ my $cddbp_host_selector = 0;
> + 
> + my @cddbp_hosts = (
> + [ 'localhost' => 8880 ],
> +-[ 'freedb.freedb.org' => 8880 ],
> ++[ 'gnudb.gnudb.org'   => 8880 ],
> + [ 'us.freedb.org',=> 8880 ],
> + [ 'ca.freedb.org',=> 8880 ],
> + [ 'ca2.freedb.org',   => 8880 ],

All *.freedb.org hosts are unreachable. While here remove them?

Either way, OK bket@



Re: Ports still using freedb

2020-06-29 Thread Charlene Wendling
Hi,

OK? (diffs below)

On Mon, 29 Jun 2020 23:59:45 +0200
Christian Weisgerber wrote:

> The freedb.org database of compact track listings has shut down.
> Any program functionality that tries to fetch from or submit data
> to freedb.org is broken now.
> 
> An alternative service is available at gnudb.org, see
> https://www.gnudb.org/
> 
> Below is a list of ports that still appear to use freedb.org in
> code and need to be fixed.  I've cc'ed any maintainers.
> 

> audio/aqualung  jer...@openbsd.org
> audio/audacious/plugins b...@openbsd.org
> audio/cantata   ports@openbsd.org
> audio/cd-discid ports@openbsd.org
> audio/cmus  ports@openbsd.org
> audio/deadbeef  ports@openbsd.org
> audio/disc-coverports@openbsd.org
> audio/easytag   ports@openbsd.org
> audio/grip  ports@openbsd.org
> audio/libcdaudioports@openbsd.org
> audio/libcddb   ports@openbsd.org
> audio/libcdio   ports@openbsd.org
> audio/libdiscid ports@openbsd.org
> audio/libmp3spltports@openbsd.org
> audio/mp3cddb   ports@openbsd.org
> audio/mp3splt   ports@openbsd.org
> audio/puddletag ports@openbsd.org
> audio/py-cddb   ports@openbsd.org
> audio/vlorb ports@openbsd.org
> devel/kf5/kio   rsadow...@openbsd.org
> misc/cdrdao ports@openbsd.org
> misc/mc rob...@openbsd.org
> misc/xcdroast   ports@openbsd.org
> multimedia/xine-lib b...@comstyle.com
> net/mldonkeyports@openbsd.org
> print/texlive/texmf e...@openbsd.org
> sysutils/cdrtools   ports@openbsd.org
> www/surfraw ben...@openbsd.org
> x11/gnome/vfs2  jas...@openbsd.org,
> ajacou...@openbsd.org x11/gnustep/cdplayer
> sebas...@openbsd.org x11/kde/base3   ports@openbsd.org
> x11/kde-applications/libkcddb   rsadow...@openbsd.org
> x11/mplayer b...@comstyle.com


>
> audio/abcde c...@openbsd.org
>
Musicbrainz is used by default, but some users having old config files
may still use cddb. Upstream is aware of the situation but no patches
yet.


Index: Makefile
===
RCS file: /cvs/ports/audio/abcde/Makefile,v
retrieving revision 1.30
diff -u -p -u -p -r1.30 Makefile
--- Makefile12 Jul 2019 20:43:31 -  1.30
+++ Makefile29 Jun 2020 22:39:59 -
@@ -3,6 +3,7 @@
 COMMENT=   command-line utility to rip and encode audio cds
 
 DISTNAME=  abcde-2.9.3
+REVISION=  0
 EPOCH= 0
 CATEGORIES=audio
 
Index: patches/patch-abcde
===
RCS file: patches/patch-abcde
diff -N patches/patch-abcde
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-abcde 29 Jun 2020 22:39:59 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Index: abcde
+--- abcde.orig
 abcde
+@@ -3770,8 +3770,8 @@ post_encode ()
+ # CDDB
+ # Currently three supported options ("musicbrainz", "cddb" for freedb.org and 
"cdtext")
+ CDDBMETHOD=musicbrainz
+-CDDBURL="http://freedb.freedb.org/~cddb/cddb.cgi;
+-CDDBSUBMIT=freedb-sub...@freedb.org
++CDDBURL="https://gnudb.gnudb.org/~cddb/cddb.cgi;
++CDDBSUBMIT=sub...@gnudb.org
+ CDDBPROTO=6
+ HELLOINFO="$(whoami)@$(hostname)"
+ CDDBCOPYLOCAL="n"
Index: patches/patch-abcde_conf
===
RCS file: patches/patch-abcde_conf
diff -N patches/patch-abcde_conf
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-abcde_conf29 Jun 2020 22:39:59 -
@@ -0,0 +1,23 @@
+$OpenBSD$
+
+Index: abcde.conf
+--- abcde.conf.orig
 abcde.conf
+@@ -15,7 +15,7 @@
+ # If you wish to use a different CDDB server, edit this line.
+ # If you just wanted to use a proxy server, just set your http_proxy
+ # environment variable - wget will use it correctly.
+-#CDDBURL="http://freedb.freedb.org/~cddb/cddb.cgi;
++#CDDBURL="https://gnudb.gnudb.org/~cddb/cddb.cgi;
+ 
+ # The CDDB protocol level.
+ # Right now 5 is latin1 output and 6 is UTF8 encoding.
+@@ -27,7 +27,7 @@
+ #HELLOINFO="`whoami`@`hostname`"
+ 
+ # This controls the email address CDDB changes are submitted to.
+-#CDDBSUBMIT=freedb-sub...@freedb.org
++#CDDBSUBMIT=sub...@gnudb.org
+ 
+ # The following options control whether or not fetched CDDB entries
+ # are cached locally in $CDDBLOCALDIR

>
> audio/p5-CDDB_get   ports@openbsd.org
>

Tested for real - the test suite is useless

Index: Makefile
===
RCS file: /cvs/ports/audio/p5-CDDB_get/Makefile,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 Makefile
--- Makefile12 Jul 2019 20:43:38 -  

Ports still using freedb

2020-06-29 Thread Christian Weisgerber
The freedb.org database of compact track listings has shut down.
Any program functionality that tries to fetch from or submit data
to freedb.org is broken now.

An alternative service is available at gnudb.org, see
https://www.gnudb.org/

Below is a list of ports that still appear to use freedb.org in
code and need to be fixed.  I've cc'ed any maintainers.

audio/abcde c...@openbsd.org
audio/aqualung  jer...@openbsd.org
audio/audacious/plugins b...@openbsd.org
audio/cantata   ports@openbsd.org
audio/cd-discid ports@openbsd.org
audio/cmus  ports@openbsd.org
audio/deadbeef  ports@openbsd.org
audio/disc-coverports@openbsd.org
audio/easytag   ports@openbsd.org
audio/grip  ports@openbsd.org
audio/libcdaudioports@openbsd.org
audio/libcddb   ports@openbsd.org
audio/libcdio   ports@openbsd.org
audio/libdiscid ports@openbsd.org
audio/libmp3spltports@openbsd.org
audio/mp3cddb   ports@openbsd.org
audio/mp3splt   ports@openbsd.org
audio/p5-CDDB_get   ports@openbsd.org
audio/p5-cddb   ports@openbsd.org
audio/pacpl ports@openbsd.org
audio/puddletag ports@openbsd.org
audio/py-cddb   ports@openbsd.org
audio/vlorb ports@openbsd.org
devel/kf5/kio   rsadow...@openbsd.org
misc/cdrdao ports@openbsd.org
misc/mc rob...@openbsd.org
misc/xcdroast   ports@openbsd.org
multimedia/xine-lib b...@comstyle.com
net/mldonkeyports@openbsd.org
print/texlive/texmf e...@openbsd.org
sysutils/cdrtools   ports@openbsd.org
www/surfraw ben...@openbsd.org
x11/gnome/vfs2  jas...@openbsd.org, ajacou...@openbsd.org
x11/gnustep/cdplayersebas...@openbsd.org
x11/kde/base3   ports@openbsd.org
x11/kde-applications/libkcddb   rsadow...@openbsd.org
x11/mplayer b...@comstyle.com

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de