diff -Nru vorbisgain-0.37/debian/changelog vorbisgain-0.37/debian/changelog --- vorbisgain-0.37/debian/changelog 2012-03-08 20:52:22.000000000 +0000 +++ vorbisgain-0.37/debian/changelog 2012-07-01 13:23:48.000000000 +0000 @@ -1,3 +1,18 @@ +vorbisgain (0.37-2) unstable; urgency=low + + * Updated maintainer's info + * debian/patches + - 0001-temp_files.patch re-adds X's in mktemp() (Closes: #676926) + - 0009-hardening.patch added to solve an issue with debian's build flags. + + Bumped debhelper compat level to 9 + + Solved lintian complaints on hardening + - 0010-fclose.patch added (Closes: #488126). Thanks to Marcel Rehberg for + the patch. + * debian/rules + - Fixed lintian hardening complaints by adding the Debian build flags. + + -- Daniel Martí Sun, 01 Jul 2012 12:48:01 +0000 + vorbisgain (0.37-1) unstable; urgency=low * New Maintainer (Closes: #547233) diff -Nru vorbisgain-0.37/debian/compat vorbisgain-0.37/debian/compat --- vorbisgain-0.37/debian/compat 2012-03-03 17:00:13.000000000 +0000 +++ vorbisgain-0.37/debian/compat 2012-07-01 13:06:21.000000000 +0000 @@ -1 +1 @@ -8 +9 diff -Nru vorbisgain-0.37/debian/control vorbisgain-0.37/debian/control --- vorbisgain-0.37/debian/control 2012-03-03 17:00:23.000000000 +0000 +++ vorbisgain-0.37/debian/control 2012-07-01 13:21:02.000000000 +0000 @@ -1,18 +1,14 @@ Source: vorbisgain Section: sound Priority: optional -Maintainer: Daniel Martí -Build-Depends: debhelper (>= 8), - autotools-dev, - libogg-dev, - libvorbis-dev +Maintainer: Daniel Martí +Build-Depends: debhelper (>= 9), autotools-dev, libogg-dev, libvorbis-dev Standards-Version: 3.9.3 Homepage: http://sjeng.org/vorbisgain.html Package: vorbisgain Architecture: any -Depends: ${shlibs:Depends}, - ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} Description: add Replay Gain volume tags to Ogg Vorbis files vorbisgain calculates a percieved volume of an Ogg Vorbis file using the Replay Gain algorithm. It then stores a per-track and per-album diff -Nru vorbisgain-0.37/debian/copyright vorbisgain-0.37/debian/copyright --- vorbisgain-0.37/debian/copyright 2012-03-08 21:24:31.000000000 +0000 +++ vorbisgain-0.37/debian/copyright 2012-07-01 13:21:14.000000000 +0000 @@ -104,7 +104,7 @@ 2003-2005 Lars Wirzenius 2005-2006 Joe Wreschnig 2011 Alessio Treglia - 2012 Daniel Martí + 2012 Daniel Martí 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 diff -Nru vorbisgain-0.37/debian/patches/0001-temp_files.patch vorbisgain-0.37/debian/patches/0001-temp_files.patch --- vorbisgain-0.37/debian/patches/0001-temp_files.patch 2012-03-03 15:50:27.000000000 +0000 +++ vorbisgain-0.37/debian/patches/0001-temp_files.patch 2012-07-01 13:07:00.000000000 +0000 @@ -16,7 +16,7 @@ #define MIN_FILENAME_SIZE 5 #define MIN_MIDDLE_TRUNCATE_SIZE 20 -#define TEMP_NAME "vorbisgain.tmpXXXXXX" -+#define TEMP_EXT ".vgain.tmp" ++#define TEMP_EXT ".vgain.tmpXXXXXX" /** diff -Nru vorbisgain-0.37/debian/patches/0009-hardening.patch vorbisgain-0.37/debian/patches/0009-hardening.patch --- vorbisgain-0.37/debian/patches/0009-hardening.patch 1970-01-01 00:00:00.000000000 +0000 +++ vorbisgain-0.37/debian/patches/0009-hardening.patch 2012-07-01 14:35:57.000000000 +0000 @@ -0,0 +1,13 @@ +Description: Allow build with dh compat level 9 (debian build flags) +Forwarded: no +--- a/misc.c ++++ b/misc.c +@@ -56,7 +56,7 @@ + vfprintf(stderr, message, args); + va_end(args); + +- fprintf(stderr, strerror(err_num)); ++ fputs(strerror(err_num), stderr); + fprintf(stderr, "\n"); + } + diff -Nru vorbisgain-0.37/debian/patches/0010-fclose.patch vorbisgain-0.37/debian/patches/0010-fclose.patch --- vorbisgain-0.37/debian/patches/0010-fclose.patch 1970-01-01 00:00:00.000000000 +0000 +++ vorbisgain-0.37/debian/patches/0010-fclose.patch 2012-07-01 14:34:56.000000000 +0000 @@ -0,0 +1,13 @@ +Solve "too many open files" by closing those which are not compatible with vorbisgain. Thanks to Marcel Rehberg for the patch. +--- a/vorbis.c ++++ b/vorbis.c +@@ -357,7 +357,8 @@ + { + vorbis_error(result, _("Couldn't process '%s': "), filename); + } +- ++ // make sure file is closed, since ov_open failed we are still responsible ++ fclose(file); + return -1; + } + diff -Nru vorbisgain-0.37/debian/patches/series vorbisgain-0.37/debian/patches/series --- vorbisgain-0.37/debian/patches/series 2012-03-03 18:46:02.000000000 +0000 +++ vorbisgain-0.37/debian/patches/series 2012-07-01 14:33:07.000000000 +0000 @@ -6,3 +6,5 @@ 0006-manpage_hyphens.patch 0007-recursively_spelling.patch 0008-manpage_recursion_mistake.patch +0009-hardening.patch +0010-fclose.patch