summaryrefslogtreecommitdiff
path: root/audio/mpg321
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-01-07 16:52:15 +0000
committertron <tron@pkgsrc.org>2004-01-07 16:52:15 +0000
commitc6878d1e1512431b7e55eba2f483e2a35a66bcfc (patch)
tree222dfb8ca736eb224bcb78fd453218ffbeea8fb8 /audio/mpg321
parent20800615bd7521043b119f65a68c96c642742ae1 (diff)
downloadpkgsrc-c6878d1e1512431b7e55eba2f483e2a35a66bcfc.tar.gz
Add security fix for CAN-2003-0969 taken based on the fix provided
by the Debian project.
Diffstat (limited to 'audio/mpg321')
-rw-r--r--audio/mpg321/Makefile4
-rw-r--r--audio/mpg321/distinfo3
-rw-r--r--audio/mpg321/patches/patch-aa22
3 files changed, 26 insertions, 3 deletions
diff --git a/audio/mpg321/Makefile b/audio/mpg321/Makefile
index e5f406ef3d0..60273627365 100644
--- a/audio/mpg321/Makefile
+++ b/audio/mpg321/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2003/12/08 14:41:38 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2004/01/07 16:52:15 tron Exp $
DISTNAME= mpg321-0.2.10
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpg321/}
diff --git a/audio/mpg321/distinfo b/audio/mpg321/distinfo
index c53ebff9f9a..7e558238794 100644
--- a/audio/mpg321/distinfo
+++ b/audio/mpg321/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/06/13 09:14:45 rh Exp $
+$NetBSD: distinfo,v 1.2 2004/01/07 16:52:15 tron Exp $
SHA1 (mpg321-0.2.10.tar.gz) = 90268d0d187ddd7625d143b95791cb39a1630b79
Size (mpg321-0.2.10.tar.gz) = 113449 bytes
+SHA1 (patch-aa) = 28b16b6ffe9a4124323bfdbb26d79d79e5e1b8f3
diff --git a/audio/mpg321/patches/patch-aa b/audio/mpg321/patches/patch-aa
new file mode 100644
index 00000000000..448df21b471
--- /dev/null
+++ b/audio/mpg321/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2004/01/07 16:54:12 tron Exp $
+
+--- mpg321.c.orig Sun Mar 24 06:49:20 2002
++++ mpg321.c Wed Jan 7 17:47:33 2004
+@@ -188,7 +188,7 @@
+
+ else
+ {
+- printf(names[i]);
++ printf("%s", names[i]);
+ free(names[i]);
+ }
+ }
+@@ -203,7 +203,7 @@
+ if (!names[i]) {
+ fprintf (stderr, emptystring);
+ } else {
+- fprintf (stderr, names[i]);
++ fprintf (stderr, "%s", names[i]);
+ free (names[i]);
+ }
+ if (i%2) fprintf (stderr, "\n");