Switch default database to gnudb.gnudb.org

- Bump PORTREVISION for package change

freedb.freedb.org is down, use gnudb.gnudb.org instead.

PR:		247875
Submitted by:	brooks
MFH:		2020Q3
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-07-24 07:53:26 +00:00
parent 665af1a6ca
commit 26a93e187f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543221
3 changed files with 37 additions and 4 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= CDDB_get
PORTVERSION= 2.28
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= audio perl5
MASTER_SITES= CPAN
@ -16,11 +16,13 @@ COMMENT= High-level interface to the Compact Disc Database
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/Copying
PORTSCOUT= skipv:2.28.1
USES= perl5 shebangfix
SHEBANG_FILES= cddb.pl
USE_PERL5= configure
NO_ARCH= yes
PORTSCOUT= skipv:2.28.1
SHEBANG_FILES= cddb.pl
.include <bsd.port.mk>

View file

@ -0,0 +1,20 @@
--- CDDB_get.pm.orig 2012-03-06 18:28:24 UTC
+++ CDDB_get.pm
@@ -66,7 +66,7 @@ my $CDROM_MSF=0x02;
# default config
-my $CDDB_HOST = "freedb.freedb.org";
+my $CDDB_HOST = "gnudb.gnudb.org";
my $CDDB_PORT = 8880;
my $CDDB_MODE = "cddb";
my $CD_DEVICE = "/dev/cdrom";
@@ -608,7 +608,7 @@ CDDB - Read the CDDB entry for an audio CD in your dri
# following variables just need to be declared if different from defaults
- $config{CDDB_HOST}="freedb.freedb.org"; # set cddb host
+ $config{CDDB_HOST}="gnudb.gnudb.org"; # set cddb host
$config{CDDB_PORT}=8880; # set cddb port
$config{CDDB_MODE}="cddb"; # set cddb mode: cddb or http
$config{CD_DEVICE}="/dev/cdrom"; # set cd device

View file

@ -0,0 +1,11 @@
--- cddb.pl.orig 2005-10-06 06:00:59 UTC
+++ cddb.pl
@@ -85,7 +85,7 @@ $CDDB_get::debug=1 if($option{D});
# following variables just need to be declared if different from defaults
# defaults are listed below (cdrom default is os specific)
-# $config{CDDB_HOST}="freedb.freedb.org"; # set cddb host
+# $config{CDDB_HOST}="gnudb.gnudb.org"; # set cddb host
if($option{H}) {
$config{CDDB_HOST}=$option{H};
}