diff --git a/COPYING.ape b/COPYING.ape new file mode 100644 index 0000000..9d79695 --- /dev/null +++ b/COPYING.ape @@ -0,0 +1,19 @@ +Copyright (c) 2007 Jeremy Evans + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/COPYING.buffer b/COPYING.buffer new file mode 100644 index 0000000..76079c6 --- /dev/null +++ b/COPYING.buffer @@ -0,0 +1,13 @@ +/* $OpenBSD: buffer.c,v 1.31 2006/08/03 03:34:41 deraadt Exp $ */ +/* + * Author: Tatu Ylonen + * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland + * All rights reserved + * Functions for manipulating fifo buffers (that can grow if needed). + * + * As far as I am concerned, the code I have written for this software + * can be used freely for any purpose. Any derived versions of this + * software must be clearly marked as such, and if the derived work is + * incompatible with the protocol description in the RFC file, it must be + * called by a name other than "ssh" or "Secure Shell". + */ diff --git a/COPYING.mpc b/COPYING.mpc new file mode 100644 index 0000000..27f2c27 --- /dev/null +++ b/COPYING.mpc @@ -0,0 +1,31 @@ +Copyright (c) 2005, The Musepack Development Team +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following +disclaimer in the documentation and/or other materials provided +with the distribution. + +* Neither the name of the The Musepack Development Team nor the +names of its contributors may be used to endorse or promote +products derived from this software without specific prior +written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/COPYING.pinttypes b/COPYING.pinttypes new file mode 100644 index 0000000..f564c71 --- /dev/null +++ b/COPYING.pinttypes @@ -0,0 +1,30 @@ +// ISO C9x compliant inttypes.h for Microsoft Visual Studio +// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 +// +// Copyright (c) 2006 Alexander Chemeris +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// 1. Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. The name of the author may be used to endorse or promote products +// derived from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +/////////////////////////////////////////////////////////////////////////////// diff --git a/COPYING.pstdint b/COPYING.pstdint new file mode 100644 index 0000000..6d8df62 --- /dev/null +++ b/COPYING.pstdint @@ -0,0 +1,25 @@ +Copyright (c) 2005-2007 Paul Hsieh +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/MANIFEST b/MANIFEST index 7f17bce..e309138 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,5 +1,10 @@ Changes COPYING +COPYING.ape +COPYING.buffer +COPYING.mpc +COPYING.pinttypes +COPYING.pstdint include/aac.h include/ape.h include/asf.h diff --git a/Makefile.PL b/Makefile.PL index c4bc262..708f6ea 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,6 @@ use strict; -use ExtUtils::MakeMaker qw(WriteMakefile); +use ExtUtils::MakeMaker 6.46 qw(WriteMakefile); use File::Spec::Functions; use Getopt::Long; @@ -21,6 +21,7 @@ my $src_files = join(' ', glob 'src/*.c'); WriteMakefile( NAME => 'Audio::Scan', VERSION_FROM => 'lib/Audio/Scan.pm', + CONFIGURE_REQUIRES => { 'ExtUtils::MakeMaker' => 6.46 }, PREREQ_PM => { 'Test::Warn' => 0 }, ABSTRACT_FROM => 'lib/Audio/Scan.pm', AUTHOR => 'Andy Grundman ', @@ -29,4 +30,15 @@ WriteMakefile( LIBS => [ join(' ', @LIBS) ], depend => { 'Scan.c' => "$inc_files $src_files" }, LICENSE => 'gpl_2', + META_MERGE => { + # Workaround for + # https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/208 + license => [ + 'bsd', # include/mpc.h src/ape.c include/pstdint.h + 'freebsd', # include/pinttypes.h + 'mit', # include/ape.h src/ape.c + 'open_source', # buffer.c (SPDX id: SSH-OpenSSH) + 'zlib', # include/md5.h src/md5.c + ], + }, ); diff --git a/lib/Audio/Scan.pm b/lib/Audio/Scan.pm index 63748cc..8fa0a90 100644 --- a/lib/Audio/Scan.pm +++ b/lib/Audio/Scan.pm @@ -927,13 +927,25 @@ Andy Grundman, Eandy@hybridized.orgE Dan Sully, Edaniel@cpan.orgE -=head1 COPYRIGHT AND LICENSE +=head1 COPYRIGHT AND LICENSES Copyright (C) 2010-2011 Logitech, Inc. -This program is free software; you can redistribute it and/or modify +Audio::Scan is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. +APE decoder originally copyright 2007 Jeremy Evans. + + derived from Tatu Ylonen, copyright 1995. + +MPC decoder originally copyright 2005, The Musepack Development Team. + +ISO C9x compliant inttypes.h Copyright 2006 Alexander Chemeris. + +Portable C originally copyright 2005-2007 Paul Hsieh. + +See the C files in the distribution for more information. + =cut