Subject: pkg/31427: update inputmethod/uim to uim-0.4.9.1 (with security fix)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <yamajun@ofug.net>
List: pkgsrc-bugs
Date: 09/30/2005 12:06:00
>Number:         31427
>Category:       pkg
>Synopsis:       update inputmethod/uim to uim-0.4.9.1 (with security fix)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 30 12:06:00 +0000 2005
>Originator:     Yamashiro Jun
>Release:        NetBSD 3.99.9
>Organization:
Okinawa FreeBSD Users Group
>Environment:
NetBSD sixers.cr.ie.u-ryukyu.ac.jp 3.99.9 NetBSD 3.99.9 (YAMAJUN) #1: Sun Sep 25 09:52:11 JST 2005  yamajun@yamajun.mydomain:/sys/arch/i386/compile/YAMAJUN i386
>Description:
New uim stable version released by author.
http://lists.freedesktop.org/archives/uim/2005-September/001346.html

This release has a security fix.  Please update it.

>How-To-Repeat:

>Fix:
Apply this patch.

diff -ru uim.orig/Makefile uim/Makefile
--- uim.orig/Makefile	2005-09-30 01:24:20.000000000 +0900
+++ uim/Makefile	2005-09-30 01:24:34.000000000 +0900
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.12 2005/08/10 20:56:18 jlam Exp $
 #
 
-DISTNAME=		uim-0.4.6
+DISTNAME=		uim-0.4.9.1
 CATEGORIES=		inputmethod
 MASTER_SITES=		http://uim.freedesktop.org/releases/
 
diff -ru uim.orig/PLIST.common uim/PLIST.common
--- uim.orig/PLIST.common	2005-09-30 01:24:20.000000000 +0900
+++ uim/PLIST.common	2005-09-30 01:31:56.000000000 +0900
@@ -3,6 +3,7 @@
 bin/uim-fep-tick
 bin/uim-helper-server
 bin/uim-input-pad-ja
+bin/uim-module-manager
 bin/uim-sh
 bin/uim-xim
 include/uim/plugin.h
@@ -18,6 +19,7 @@
 lib/pkgconfig/uim.pc
 lib/uim/plugin/libuim-custom-enabler.la
 lib/uim/plugin/libuim-skk.la
+man/man1/uim-xim.1
 share/applications/uim.desktop
 share/doc/uim/HELPER-CANDWIN
 share/doc/uim/HELPER-PROTOCOL
@@ -69,6 +71,7 @@
 share/uim/pinyin-big5.scm
 share/uim/pixmaps/configure-qt.png
 share/uim/pixmaps/switcher-icon.png
+share/uim/pixmaps/uim-icon.png
 share/uim/plugin.scm
 share/uim/prime-custom.scm
 share/uim/prime-key-custom.scm
@@ -77,7 +80,9 @@
 share/uim/pyunihan.scm
 share/uim/rk.scm
 share/uim/romaja.scm
+share/uim/scim.scm
 share/uim/skk-custom.scm
+share/uim/skk-dialog.scm
 share/uim/skk-editor.scm
 share/uim/skk-key-custom.scm
 share/uim/skk.scm
@@ -93,6 +98,8 @@
 share/uim/tcode.scm
 share/uim/tutcode-key-custom.scm
 share/uim/tutcode.scm
+share/uim/uim-db.scm
+share/uim/uim-module-manager.scm
 share/uim/uim-sh.scm
 share/uim/ustr.scm
 share/uim/util.scm
Only in uim.orig: distinfo
diff -ru uim.orig/options.mk uim/options.mk
--- uim.orig/options.mk	2005-09-30 01:24:20.000000000 +0900
+++ uim/options.mk	2005-09-30 01:30:55.000000000 +0900
@@ -13,6 +13,8 @@
 .if !empty(PKG_OPTIONS:Manthy)
 .include "../../inputmethod/anthy/buildlink3.mk"
 PLIST_SRC+=		PLIST.anthy
+.else
+CONFIGURE_ARGS+=	--without-anthy
 .endif
 
 .if !empty(PKG_OPTIONS:Mcanna)
@@ -30,6 +32,8 @@
 .if !empty(PKG_OPTIONS:Mgtk)
 .include "../../x11/gtk2/modules.mk"
 PLIST_SRC+=		PLIST.gtk
+.else
+CONFIGURE_ARGS+=	--without-gtk2
 .endif
 
 .if !empty(PKG_OPTIONS:Mqt)