diff options
author | obache <obache@pkgsrc.org> | 2007-12-17 02:59:58 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2007-12-17 02:59:58 +0000 |
commit | d51a93ad4ef3ac0ee9bd472c4e84a59f70248fdc (patch) | |
tree | 64b714a807a8e7f9929cf97524a224adae3ba850 /x11 | |
parent | 0caad9169d1848cbe6a90a23718ca1c5827da428 (diff) | |
download | pkgsrc-d51a93ad4ef3ac0ee9bd472c4e84a59f70248fdc.tar.gz |
Added a patch for fixing format string vulnerability (CVE-2007-6183).
http://ruby-gnome2.svn.sourceforge.net/viewvc/ruby-gnome2?view=rev&revision=2720
Bump PKGREVISION.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/ruby-gnome2-gtk/Makefile | 4 | ||||
-rw-r--r-- | x11/ruby-gnome2-gtk/distinfo | 3 | ||||
-rw-r--r-- | x11/ruby-gnome2-gtk/patches/patch-ab | 14 |
3 files changed, 18 insertions, 3 deletions
diff --git a/x11/ruby-gnome2-gtk/Makefile b/x11/ruby-gnome2-gtk/Makefile index 7483690f24b..78f576484fd 100644 --- a/x11/ruby-gnome2-gtk/Makefile +++ b/x11/ruby-gnome2-gtk/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2007/08/19 14:42:35 obache Exp $ +# $NetBSD: Makefile,v 1.10 2007/12/17 02:59:58 obache Exp $ # PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gtk-${VERSION} -PKGREVISION= 1 +PKGREVISION= 2 COMMENT= Ruby binding of GTK+-2.x CATEGORIES= x11 diff --git a/x11/ruby-gnome2-gtk/distinfo b/x11/ruby-gnome2-gtk/distinfo index 66080eb4a1a..ffffb07f92d 100644 --- a/x11/ruby-gnome2-gtk/distinfo +++ b/x11/ruby-gnome2-gtk/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1 2007/08/19 03:01:23 taca Exp $ +$NetBSD: distinfo,v 1.2 2007/12/17 02:59:58 obache Exp $ SHA1 (ruby-gnome2-all-0.16.0.tar.gz) = 488f6c1f139060e005f336c9c854c4dc5b3e6b7c RMD160 (ruby-gnome2-all-0.16.0.tar.gz) = c83c7cdcf633ad5cc213180f641a6c8f18002a9c Size (ruby-gnome2-all-0.16.0.tar.gz) = 1208856 bytes SHA1 (patch-aa) = a7f4b1c3237cabfbed84545307ff61c9614ca7f7 +SHA1 (patch-ab) = bc698907beea36c9838ef187398875fe86b13919 diff --git a/x11/ruby-gnome2-gtk/patches/patch-ab b/x11/ruby-gnome2-gtk/patches/patch-ab new file mode 100644 index 00000000000..3d320db9f8c --- /dev/null +++ b/x11/ruby-gnome2-gtk/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1 2007/12/17 02:59:58 obache Exp $ + +--- gtk/src/rbgtkmessagedialog.c.orig 2006-12-29 13:17:28.000000000 +0000 ++++ gtk/src/rbgtkmessagedialog.c +@@ -28,7 +28,8 @@ mdiag_initialize(argc, argv, self) + RVAL2GFLAGS(flags, GTK_TYPE_DIALOG_FLAGS), + RVAL2GENUM(type, GTK_TYPE_MESSAGE_TYPE), + RVAL2GENUM(buttons, GTK_TYPE_BUTTONS_TYPE), +- (const gchar*)(NIL_P(message) ? "": RVAL2CSTR(message))); ++ "%s", ++ NIL_P(message) ? "": RVAL2CSTR(message)); + RBGTK_INITIALIZE(self, w); + return Qnil; + } |