debian/0000755000000000000000000000000012164540276007175 5ustar debian/source/0000755000000000000000000000000011771161042010466 5ustar debian/source/format0000644000000000000000000000001411771161042011674 0ustar 3.0 (quilt) debian/libcdaudio1.shlibs0000644000000000000000000000005011771161042012547 0ustar libcdaudio 1 libcdaudio1 (>= 0.99.12p2) debian/libcdaudio-dev.manpages0000644000000000000000000000002211771161042013550 0ustar debian/manpages/* debian/copyright0000644000000000000000000000511711771161042011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libcdaudio Upstream-Contact: Fabrice Bauzac Source: http://sourceforge.net/projects/libcdaudio/files/libcdaudio/ Files: * Copyright: 1998-1999 Tony Arcieri 2001-2005 Fabrice Bauzac 1999 Quinton Dolan License: GPL-2+ Files: src/extra_objs.c src/cdaudio-irix.c Copyright: 1999 David Rose License: GPL-2+ Files: src/base64.c Copyright: 1998-1999 Tony Arcieri 1991 Bell Communications Research Inc. (Bellcore) 1993-1994 Carnegie Mellon University 1988 Leland Stanford Junior University 1998 University of Washington License: LGPL-2+ Files: debian/* Copyright: 2005-2009 Daniel Baumann 2012 Boris Pek License: GPL-2+ Files: debian/patches/* Copyright: Moritz Muehlenhoff Petr Salinger Samuel Thibault License: GPL-2+ License: GPL-2+ This program 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. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. License: LGPL-2+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2'. debian/libcdaudio-dev.install0000644000000000000000000000013311771161042013426 0ustar /usr/bin /usr/include/* /usr/lib/*.a /usr/lib/*.so /usr/lib/pkgconfig/* /usr/share/aclocal debian/changelog0000644000000000000000000001745512164537740011065 0ustar libcdaudio (0.99.12p2-13) unstable; urgency=low * QA upload. * Build without AM_C_PROTOTYPES and ansi2knr. (Closes: #713673). * Bump Standards Version to 3.9.4. -- Barry deFreese Tue, 02 Jul 2013 07:34:43 -0400 libcdaudio (0.99.12p2-12) unstable; urgency=low * QA upload. * Bumped Standards-Version to 3.9.3. * Package was switched to source format 3.0 (quilt). * Deleted build dependency from quilt. * Deleted file debian/README.source. * Added build dependency from dh-autoreconf. * Updated debian/rules: used dh-autoreconf to update `configure' script during rebuild. (Closes: #647975) * Updated debian/patches/hurd-ftbfs.patch: - the code was cleaned up (useless data were deleted) - fixed lintian note quilt-patch-missing-description * Fixed lintian notes: - binary-control-field-duplicates-source field "section" in package libcdaudio1 - missing-debian-source-format * Updated debian/copyright: - file was updated in according to Copyright format 1.0 - added missed license and copyright holders * Added file debian/watch. -- Boris Pek Sat, 23 Jun 2012 00:15:01 +0300 libcdaudio (0.99.12p2-11) unstable; urgency=low * QA upload. * Enabled hardened build flags (with patch from Moritz Muehlenhoff) (Closes: #656507) * Apply patch by Samuel Thibault to fix FTBFS on hurd-i386 (Closes: #647975) * Bump standards to 3.9.2 * Add debian/README.source * No further changes needed -- Alexander Reichle-Schmehl Fri, 20 Jan 2012 08:45:29 +0100 libcdaudio (0.99.12p2-10) unstable; urgency=low * QA upload. * Get rid of unneeded *.la files (Closes: #621610). -- Alessio Treglia Fri, 03 Jun 2011 11:18:16 +0200 libcdaudio (0.99.12p2-9) unstable; urgency=low * Updating package to standards version 3.8.3. * Removing vcs fields. * Orphaning package. -- Daniel Baumann Thu, 27 Aug 2009 07:53:14 +0200 libcdaudio (0.99.12p2-8) unstable; urgency=low * Updating section of the debug package. * Renaming manpages subdirectory to more common name. * Using correct rfc-2822 date formats in changelog. * Updating package to standards version 3.8.2. * Adding misc depends. * Updating year in copyright file. * Using quilt rather than dpatch. * Minimizing rules file. -- Daniel Baumann Sun, 02 Aug 2009 12:37:50 +0200 libcdaudio (0.99.12p2-7) unstable; urgency=high * Updating vcs fields in control file. * Using patch-stamp rather than patch in rules file. * Replacing obsolete dh_clean -k with dh_prep. * Adding patch from Moritz Muehlenhoff to fix bufferoverflow with CDDB handling [CVE-2008-5030] (Closes: #505478). -- Daniel Baumann Wed, 12 Nov 2008 22:34:00 +0100 libcdaudio (0.99.12p2-6) unstable; urgency=medium * Adding debug package. -- Daniel Baumann Fri, 29 Aug 2008 10:44:00 +0200 libcdaudio (0.99.12p2-5) unstable; urgency=medium * Reordering rules file. * Rewriting copyright file in machine-interpretable format. * Prefixing docs debhelper file with package name where it belongs to. * Adding vcs fields to control file. * Upgrading package to debhelper 7. * Removing watch file. * Removing useless whitespaces at EOL. * Reverting config.guess and config.sub to upstream. * Updating to standards 3.8.0. -- Daniel Baumann Fri, 20 Jun 2008 18:58:00 +0200 libcdaudio (0.99.12p2-4) unstable; urgency=low * Bumped to new policy. * Using homepage-field in control. * Don't ignore make errors in clean target of rules. * Added fail-missing to dh_install call in rules. -- Daniel Baumann Sun, 23 Dec 2007 11:21:00 +0100 libcdaudio (0.99.12p2-3) unstable; urgency=low * Minor cleanups. * Bumped package to debhelper 5. * Removed old conflicts/replaces. -- Daniel Baumann Tue, 01 May 2007 13:02:00 +0200 libcdaudio (0.99.12p2-2) unstable; urgency=low * New email address. * Some packaging style changes. * Reformated manpage. -- Daniel Baumann Wed, 5 Jul 2006 14:55:00 +0200 libcdaudio (0.99.12p2-1) unstable; urgency=low * New maintainer (Closes: #343258). * New upstream release (Closes: #243735, #252730, #264062). * Renamed packages due bumped soname. * Redone debian/ using new debhelper templates. * Using dpatch to manage patches. * Added watch file. -- Daniel Baumann Wed, 14 Dec 2005 07:57:00 +0100 libcdaudio (0.99.9-2.1) unstable; urgency=high * Non maintainer upload (NMU) * Apply patch to fix CAN-2005-0706 (Closes: #304799) This is a security fix, thus urgency high. -- Bastian Kleineidam Fri, 22 Apr 2005 10:22:51 +0200 libcdaudio (0.99.9-2) unstable; urgency=low * New maintainer (Closes: #188104). * Updated upstream source address. * Updated Standards-Version to 3.5.9. * Changed debian/rules to use debhelper. * Updated config.guess and config.sub. * Removed Conflict and Replaces fields in debian/control. * Added upstream TODO * Linked /usr/share/doc/libcdaudio0-dev to /usr/share/doc/libcdaudio0 * Added postrm.libcdaudio0 to run ldconfig -- Tomas Guemes Wed, 30 Apr 2003 01:11:33 -0000 libcdaudio (0.99.9-1) unstable; urgency=low * Package new release. -- Matt Kraai Wed, 12 Feb 2003 10:34:44 -0800 libcdaudio (0.99.6-4) unstable; urgency=low * Allow enhanced CDs (closes: 180731). * Update Standards-Version. -- Matt Kraai Wed, 12 Feb 2003 07:57:38 -0800 libcdaudio (0.99.6-3) unstable; urgency=low * Use CDROM_DISC_STATUS to verify that an audio CD-ROM is inserted (closes: #179856). -- Matt Kraai Sun, 09 Feb 2003 11:23:44 -0800 libcdaudio (0.99.6-2) unstable; urgency=low * Remove extra argument to fprintf (Closes: #156559). -- Matt Kraai Tue, 13 Aug 2002 14:06:20 -0700 libcdaudio (0.99.6-1) unstable; urgency=low * New upstream version. -- Matt Kraai Wed, 22 Aug 2001 23:57:40 -0700 libcdaudio (0.99.5-1) unstable; urgency=low * New upstream version. -- Matt Kraai Sat, 26 May 2001 21:28:47 -0700 libcdaudio (0.99.4-4) unstable; urgency=low * Update config.guess and config.sub for HPPA port (Closes: #94812). -- Matt Kraai Fri, 27 Apr 2001 09:58:44 -0700 libcdaudio (0.99.4-3) unstable; urgency=low * Add C++ guards to header file (Closes: #89686). -- Matt Kraai Wed, 14 Mar 2001 21:20:48 -0800 libcdaudio (0.99.4-2) unstable; urgency=low * Rewrote gtk-config manpage for libcdaudio-config (Closes: #85461). -- Matt Kraai Wed, 07 Mar 2001 22:21:21 -0800 libcdaudio (0.99.4-1) unstable; urgency=low * New upstream version. * New maintainer. * Added priority and section fields for binary packages. * Strip .comment and .note sections. * Updated copyright file to new license directory. * Update doc location. * Add undocumented(7) link for libcdaudio-config. -- Matt Kraai Fri, 09 Feb 2001 20:45:41 -0800 libcdaudio (0.99.1-1) unstable; urgency=low * New upstream version. -- James Troup Sun, 22 Aug 1999 16:12:02 +0100 libcdaudio (0.7.0-2) unstable; urgency=low * Applied patch from Bart Warmerdam to fix 64 bit issues. [#38595] -- James Troup Sat, 05 Jun 1999 20:29:56 +0100 libcdaudio (0.7.0-1) unstable; urgency=low * New maintainer. * New upstream version. * debian/*: rewritten. -- James Troup Tue, 25 May 1999 13:33:02 +0100 libcdaudio (0.6.0-1) unstable; urgency=low * Initial Release. -- Dima Barsky Sun, 24 Jan 1999 01:03:23 +0000 debian/compat0000644000000000000000000000000211771161042010364 0ustar 7 debian/watch0000644000000000000000000000011511771161042010214 0ustar version=3 http://sf.net/libcdaudio/libcdaudio-(.+)\.tar\.gz \ debian uupdate debian/rules0000755000000000000000000000056312164535311010253 0ustar #!/usr/bin/make -f %: dh $@ --with autoreconf --parallel override_dh_auto_clean: dh_auto_clean rm -f config.guess config.sub override_dh_auto_configure: dh_auto_configure -- $(shell dpkg-buildflags --export=configure) override_dh_install: find debian/tmp -name '*.la' -delete dh_install --fail-missing override_dh_strip: dh_strip --dbg-package=libcdaudio-dbg debian/control0000644000000000000000000000263412164537640010606 0ustar Source: libcdaudio Section: libs Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 7.0.50~), autotools-dev, dh-autoreconf Standards-Version: 3.9.4 Homepage: http://libcdaudio.sourceforge.net/ Package: libcdaudio1 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: library for controlling a CD-ROM when playing audio CDs This library provides functions for controlling an audio CD: starting, stopping, ejecting, etc. It also provides an interface to the CDDB and CD Index servers. Package: libcdaudio-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libcdaudio1 (= ${binary:Version}) Description: library for controlling a CD-ROM when playing audio CDs (development) This library provides functions for controlling an audio CD: starting, stopping, ejecting, etc. It also provides an interface to the CDDB and CD Index servers. . This package contains the development files. Package: libcdaudio-dbg Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, libcdaudio1 (= ${binary:Version}), libcdaudio-dev (= ${binary:Version}) Description: library for controlling a CD-ROM when playing audio CDs (debug) This library provides functions for controlling an audio CD: starting, stopping, ejecting, etc. It also provides an interface to the CDDB and CD Index servers. . This package contains the debugging symbols. debian/patches/0000755000000000000000000000000012164537626010631 5ustar debian/patches/series0000644000000000000000000000016612164535374012047 0ustar 01-cddb-bufferoverflow.patch 02-cddb-bufferoverflow.patch 03-kfreebsd.patch hurd-ftbfs.patch no_am_c_prototypes.patch debian/patches/hurd-ftbfs.patch0000644000000000000000000000245711771161042013712 0ustar Description: Fix FTBFS in Debian GNU/Hurd. Author: Samuel Thibault Last-Update: 2012-06-22 --- libcdaudio-0.99.12p2.orig/configure.ac +++ libcdaudio-0.99.12p2/configure.ac @@ -97,7 +97,7 @@ AC_HEADER_DIRENT AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h linux/cdrom.h linux/ucdrom.h sys/cdio.h io/cam/cdrom.h stdarg.h mntent.h sys/mntent.h sys/types.h sys/param.h sys/ucred.h sys/mount.h strings.h,,, +AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h linux/cdrom.h linux/ucdrom.h sys/cdrom.h sys/cdio.h io/cam/cdrom.h stdarg.h mntent.h sys/mntent.h sys/types.h sys/param.h sys/ucred.h sys/mount.h strings.h,,, [[#if defined (HAVE_SYS_TYPES_H) # include #endif --- libcdaudio-0.99.12p2.orig/src/cdaudio.c +++ libcdaudio-0.99.12p2/src/cdaudio.c @@ -70,6 +70,11 @@ #include #endif +#ifdef HAVE_SYS_CDROM_H +#include +#define NON_BLOCKING +#endif + /* For FreeBSD, OpenBSD, and Solaris */ #ifdef HAVE_SYS_CDIO_H #include --- libcdaudio-0.99.12p2.orig/src/changer.c +++ libcdaudio-0.99.12p2/src/changer.c @@ -36,6 +36,10 @@ #include #endif +#ifdef HAVE_SYS_CDROM_H +#include +#endif + /* Choose a particular disc from the CD changer */ int cd_changer_select_disc(int cd_desc, int disc) debian/patches/03-kfreebsd.patch0000644000000000000000000000140411771161042013642 0ustar Author: Petr Salinger Description: Fixes FTBFS on kFreeBSD (Closes: #497013). diff -Naurp libcdaudio.orig/src/cdaudio.c libcdaudio/src/cdaudio.c --- libcdaudio.orig/src/cdaudio.c 2008-06-21 14:49:54.000000000 +0200 +++ libcdaudio/src/cdaudio.c 2008-08-29 10:41:07.000000000 +0200 @@ -118,8 +118,7 @@ cd_init_device(char *device_name) #elif defined(HAVE_GETMNTENT) FILE *mounts; struct mntent *mnt; -#endif -#ifdef HAVE_GETMNTINFO +#elif defined(HAVE_GETMNTINFO) int mounts; struct statfs *mnt; #endif @@ -163,8 +162,7 @@ cd_init_device(char *device_name) } } endmntent(mounts); -#endif -#ifdef HAVE_GETMNTINFO +#elif defined(HAVE_GETMNTINFO) for ( (mounts = getmntinfo(&mnt, 0)); mounts > 0;) { mounts--; debian/patches/no_am_c_prototypes.patch0000644000000000000000000000167212164537626015563 0ustar Description: Remove AM_C_PROTOTYPES and ansi2knr from autoconf files. Debian-Bug: http://bugs.debian.org/713673 Author: Barry deFreese Index: libcdaudio-0.99.12p2/configure.ac =================================================================== --- libcdaudio-0.99.12p2.orig/configure.ac 2013-07-02 07:44:09.000000000 -0400 +++ libcdaudio-0.99.12p2/configure.ac 2013-07-02 07:44:09.000000000 -0400 @@ -17,7 +17,6 @@ AC_PROG_AWK AC_PROG_CC AC_PROG_CPP -AM_C_PROTOTYPES AM_PROG_CC_STDC AC_PROG_INSTALL AC_PROG_LN_S Index: libcdaudio-0.99.12p2/Makefile.am =================================================================== --- libcdaudio-0.99.12p2.orig/Makefile.am 2004-10-02 13:50:59.000000000 -0400 +++ libcdaudio-0.99.12p2/Makefile.am 2013-07-02 07:44:26.000000000 -0400 @@ -1,5 +1,4 @@ ## Process this file with automake to produce Makefile.in -AUTOMAKE_OPTIONS = ansi2knr SUBDIRS = src bin_SCRIPTS = libcdaudio-config debian/patches/01-cddb-bufferoverflow.patch0000644000000000000000000000120611771161042016002 0ustar Author: Moritz Muehlenhoff Description: CAN-2005-0706: Bufferoverflow in CDDB lookup parsing diff -Naurp libcdaudio.orig/src/cddb.c libcdaudio/src/cddb.c --- libcdaudio.orig/src/cddb.c 2009-08-02 10:30:05.000000000 +0000 +++ libcdaudio/src/cddb.c 2009-08-02 10:34:57.000000000 +0000 @@ -1052,7 +1052,7 @@ cddb_query(int cd_desc, int sock, } query->query_matches = 0; - while(!cddb_read_line(sock, inbuffer, 256)) { + while(query->query_matches < MAX_INEXACT_MATCHES && !cddb_read_line(sock, inbuffer, 256)) { slashed = 0; if(strchr(inbuffer, '/') != NULL && parse_disc_artist) { index = 0; debian/patches/02-cddb-bufferoverflow.patch0000644000000000000000000000077311771161042016013 0ustar Author: Moritz Muehlenhoff Description: CVE-2008-5030 diff -Naurp libcdaudio.orig/src/cddb.c libcdaudio/src/cddb.c --- libcdaudio.orig/src/cddb.c 2008-09-07 23:53:16.000000000 +0000 +++ libcdaudio/src/cddb.c 2008-11-12 21:32:21.000000000 +0000 @@ -1679,7 +1679,7 @@ cddb_read_disc_data(int cd_desc, struct free(file); while(!feof(cddb_data)) { - fgets(inbuffer, 512, cddb_data); + fgets(inbuffer, 256, cddb_data); cddb_process_line(inbuffer, data); } debian/libcdaudio1.install0000644000000000000000000000002011771161042012726 0ustar /usr/lib/*.so.* debian/manpages/0000755000000000000000000000000011771161042010761 5ustar debian/manpages/libcdaudio-config.10000644000000000000000000000360611771161042014412 0ustar .TH LIBCDAUDIO-CONFIG 1 "12 February 2001" "0.99.4" "libcdaudio helper script" .SH NAME libcdaudio-config \- script to get information about the installed version of libcdaudio .SH SYNOPSIS .B libcdaudio-config .RB [\| \-\-prefix .RI [\| =DIR \|] .RB [\| \-\-exec\-prefix .RI [\| =DIR \|] .RB [\| \-\-version \|] .RB [\| \-\-libs \|] .RB [\| \-\-cflags \|] .SH DESCRIPTION .B libcdaudio-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link programs that use libcdaudio. It is also used internally to the .m4 macros for GNU autoconf that are included with libcdaudio. .PP .SH OPTIONS .TP .B \-\-version Print the currently installed version of libcdaudio on the standard output. .TP .B \-\-libs Print the linker flags that are necessary to link a libcdaudio program. .TP .B \-\-cflags Print the compiler flags that are necessary to compile a libcdaudio program. .TP .BI "\-\-prefix="PREFIX If specified, use PREFIX instead of the installation prefix that libcdaudio was built with when computing the output for the \-\-cflags and \-\-libs options. This option is also used for the exec prefix if \-\-exec\-prefix was not specified. This option must be specified before any \-\-libs or \-\-cflags options. .TP .BI "\-\-exec\-prefix="PREFIX If specified, use PREFIX instead of the installation exec prefix that libcdaudio was built with when computing the output for the \-\-cflags and \-\-libs options. This option must be specified before any \-\-libs or \-\-cflags options. .SH COPYRIGHT Copyright \(co 1998 Owen Taylor Copyright \(co 2001 Matt Kraai Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. debian/libcdaudio1.docs0000644000000000000000000000002111771161042012211 0ustar NEWS README TODO