From yar@bsd.chem.msu.ru  Wed Mar 14 07:07:21 2001
Return-Path: <yar@bsd.chem.msu.ru>
Received: from bsd.chem.msu.ru (bsd.chem.msu.ru [195.208.208.22])
	by hub.freebsd.org (Postfix) with ESMTP id C4D8037B71A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Mar 2001 07:06:51 -0800 (PST)
	(envelope-from yar@bsd.chem.msu.ru)
Received: (from yar@localhost)
	by bsd.chem.msu.ru (8.11.1/8.11.1) id f2EF6gp77874;
	Wed, 14 Mar 2001 18:06:42 +0300 (MSK)
	(envelope-from yar)
Message-Id: <200103141506.f2EF6gp77874@bsd.chem.msu.ru>
Date: Wed, 14 Mar 2001 18:06:42 +0300 (MSK)
From: yar@comp.chem.msu.su
Reply-To: yar@comp.chem.msu.su
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: audio/p5-CDDB - a high-level interface to CDDB
X-Send-Pr-Version: 3.2

>Number:         25804
>Category:       ports
>Synopsis:       New port: audio/p5-CDDB - a high-level interface to CDDB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 14 07:10:01 PST 2001
>Closed-Date:    Wed Mar 14 15:05:25 PST 2001
>Last-Modified:  Wed Mar 14 15:05:41 PST 2001
>Originator:     Yar Tikhiy <yar@comp.chem.msu.su>
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Moscow State University
>Environment:

	FreeBSD bsd.chem.msu.ru 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Jan 19 20:09:54 MSK 2001     yar@bsd.chem.msu.ru:/usr/obj/usr/src/sys/BSD  i386

>Description:

	The CDDB module implements a Perl class for communicating with an
	audio compact disc database through the CDDBP protocol. It allows
	quering the database and submitting new entries to it via e-mail
	(the Mail::Internet and Mail::Header modules are required for
	submitting, but their absence won't affect other functions). Unlike
	its analogs, CDDB.pm doesn't try to read a disc in your CD-ROM by
	itself, but relies on the main program supplying disc data.
	Therefore, it is particularly useful for developing software that
	deals with alternative media, such as MPEG audio files.

	*Note*: The original CDDB project (http://www.cddb.com) was aquired
	by some greedy folks that decided to force developers pay license
	fees. Thus they no longer provide service to those who use unlicensed
	client software. So a patch is included in this port that changes
	the default server to that of the freedb.org project
	(http://www.freedb.org).

	WWW: http://search.cpan.org/search?module=CDDB

	- Yar
	yar@comp.chem.msu.su

>How-To-Repeat:
	
	N/A

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-CDDB
#	p5-CDDB/distinfo
#	p5-CDDB/Makefile
#	p5-CDDB/pkg-plist
#	p5-CDDB/pkg-descr
#	p5-CDDB/pkg-comment
#	p5-CDDB/files
#	p5-CDDB/files/patch-aa
#
echo c - p5-CDDB
mkdir -p p5-CDDB > /dev/null 2>&1
echo x - p5-CDDB/distinfo
sed 's/^X//' >p5-CDDB/distinfo << 'END-of-p5-CDDB/distinfo'
XMD5 (CDDB-1.03.tar.gz) = a679c76fc4ce74c04c0c6e22398f399b
END-of-p5-CDDB/distinfo
echo x - p5-CDDB/Makefile
sed 's/^X//' >p5-CDDB/Makefile << 'END-of-p5-CDDB/Makefile'
X# New ports collection makefile for:	p5-CDDB
X# Date created:		11-Mar-2001
X# Whom:			Yar Tikhiy <yar@comp.chem.msu.su>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	CDDB
XPORTVERSION=	1.03
XCATEGORIES=	audio perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=../by-authors/id/R/RC/RCAPUTO
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	ports@freebsd.org
X
XPERL_CONFIGURE=	yes
X
XMAN3=		CDDB.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.mk>
END-of-p5-CDDB/Makefile
echo x - p5-CDDB/pkg-plist
sed 's/^X//' >p5-CDDB/pkg-plist << 'END-of-p5-CDDB/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/CDDB.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CDDB/.packlist
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CDDB
END-of-p5-CDDB/pkg-plist
echo x - p5-CDDB/pkg-descr
sed 's/^X//' >p5-CDDB/pkg-descr << 'END-of-p5-CDDB/pkg-descr'
XThe CDDB module implements a Perl class for communicating with an
Xaudio compact disc database through the CDDBP protocol. It allows
Xquering the database and submitting new entries to it via e-mail
X(the Mail::Internet and Mail::Header modules are required for
Xsubmitting, but their absence won't affect other functions). Unlike
Xits analogs, CDDB.pm doesn't try to read a disc in your CD-ROM by
Xitself, but relies on the main program supplying disc data.
XTherefore, it is particularly useful for developing software that
Xdeals with alternative media, such as MPEG audio files.
X
X*Note*: The original CDDB project (http://www.cddb.com) was aquired
Xby some greedy folks that decided to force developers pay license
Xfees. Thus they no longer provide service to those who use unlicensed
Xclient software. So a patch is included in this port that changes
Xthe default server to that of the freedb.org project
X(http://www.freedb.org).
X
XWWW: http://search.cpan.org/search?module=CDDB
X
X- Yar
Xyar@comp.chem.msu.su
END-of-p5-CDDB/pkg-descr
echo x - p5-CDDB/pkg-comment
sed 's/^X//' >p5-CDDB/pkg-comment << 'END-of-p5-CDDB/pkg-comment'
XA high-level interface to the Compact Disc Database
END-of-p5-CDDB/pkg-comment
echo c - p5-CDDB/files
mkdir -p p5-CDDB/files > /dev/null 2>&1
echo x - p5-CDDB/files/patch-aa
sed 's/^X//' >p5-CDDB/files/patch-aa << 'END-of-p5-CDDB/files/patch-aa'
X--- CDDB.pm.orig	Sun Apr 30 06:33:12 2000
X+++ CDDB.pm	Mon Mar 12 15:11:35 2001
X@@ -15,9 +15,9 @@
X # list of known cddb servers
X 
X my @cddb_hosts =
X-  ( [ 'cddb.cddb.com'     => 8880 ],
X-    [ 'sj.ca.us.cddb.com' => 8880 ],
X-    [ 'sc.ca.us.cddb.com' => 8880 ],
X+  ( [ 'freedb.freedb.org'     => 8880 ],
X+    [ 'ca.freedb.org' => 8880 ],
X+    [ 'sk.freedb.org' => 8880 ],
X   );
X 
X #------------------------------------------------------------------------------
X@@ -177,7 +177,7 @@
X     login         => $login,
X     libname       => 'CDDB.pm',
X     libver        => $VERSION,
X-    cddbmail      => 'cddb-test@submit.cddb.com',
X+    cddbmail      => 'freedb-submit@freedb.org',
X     debug         => $debug,
X     host          => $host,
X     port          => $port,
X@@ -615,7 +615,7 @@
X   use CDDB;
X 
X   ### connect to the CDDB server
X-  my $cddb = new CDDB( Host  => 'www.cddb.com',         # default
X+  my $cddb = new CDDB( Host  => 'freedb.freedb.org',    # default
X                        Port  => 8880,                   # default
X                        Login => $login_id,              # defaults to %ENV's
X                      ) or die $!;
X@@ -682,7 +682,7 @@
X protocol may require several separate connections (sometimes one per
X query).
X 
X-C<new> accepts these parameters: Host (defaults to www.cddb.com), Port
X+C<new> accepts these parameters: Host (defaults to freedb.freedb.org), Port
X (defaults to 8880), Login (defaults to your login ID), and Debug
X (defaults to boolean false) parameters.
X 
END-of-p5-CDDB/files/patch-aa
exit
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: vanilla 
State-Changed-When: Wed Mar 14 15:05:25 PST 2001 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25804 
>Unformatted:
