* update libcddb to 1.3.2-7

This commit is contained in:
Alexander Baldeck 2022-12-14 14:38:37 +01:00
parent 154279d201
commit af17fbf594
2 changed files with 38 additions and 5 deletions

View File

@ -1,16 +1,25 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Hugo Doria <hugo@archlinux.org>
# Maintainer:
# Contributor: Hugo Doria <hugo@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=libcddb
pkgver=1.3.2
pkgrel=6.1
pkgrel=7
arch=(x86_64 powerpc64le powerpc riscv64)
pkgdesc="Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. http://freedb.org)."
pkgdesc="Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (https://gnudb.org)"
url="https://sourceforge.net/projects/libcddb/"
license=('LGPL')
depends=('glibc')
source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b')
source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
switch-default-server-to-gnudb.org.patch)
sha256sums=('35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b'
'3ee8610efa71322adb9095405da11b56386ac2c5825f976a84410c6270e59149')
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 -i ../switch-default-server-to-gnudb.org.patch
}
build() {
cd ${pkgname}-${pkgver}

View File

@ -0,0 +1,24 @@
From: Nick Gasson <nick@nickg.me.uk>
Date: Sat, 27 Feb 2021 14:27:54 +0800
Subject: Switch default server to gnudb.org
Forwarded: no
---
include/cddb/cddb_ni.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/cddb/cddb_ni.h b/include/cddb/cddb_ni.h
index d32fdc1..4156bdb 100644
--- a/include/cddb/cddb_ni.h
+++ b/include/cddb/cddb_ni.h
@@ -78,8 +78,8 @@
#define DEFAULT_USER "anonymous"
#define DEFAULT_HOST "localhost"
-#define DEFAULT_SERVER "freedb.org"
-#define DEFAULT_PORT 888
+#define DEFAULT_SERVER "gnudb.gnudb.org"
+#define DEFAULT_PORT 8880
#define DEFAULT_TIMEOUT 10
#define DEFAULT_PATH_QUERY "/~cddb/cddb.cgi"
#define DEFAULT_PATH_SUBMIT "/~cddb/submit.cgi"