p5-CDDB_get: use gnudb.org instead of the dead freedb.org, and move

homepage to https.

comment tweak and OK kn@, OK bket@
This commit is contained in:
cwen 2020-07-01 01:09:00 +00:00
parent 8cafa4d04b
commit 83cec0eeb4
2 changed files with 28 additions and 2 deletions

View File

@ -1,11 +1,12 @@
# $OpenBSD: Makefile,v 1.16 2019/07/12 20:43:38 sthen Exp $
# $OpenBSD: Makefile,v 1.17 2020/07/01 01:09:00 cwen Exp $
COMMENT= perl interface to query for cddb-information
DISTNAME= CDDB_get-2.28.1
REVISION= 0
CATEGORIES= audio
HOMEPAGE= http://armin.emx.at/cddb/
HOMEPAGE= https://armin.emx.at/cddb/
# perl
PERMIT_PACKAGE= Yes

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-CDDB_get_pm,v 1.4 2020/07/01 01:09:00 cwen Exp $
freedb is dead, use gnudb.org instead
Index: CDDB_get.pm
--- CDDB_get.pm.orig
+++ 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