rpms/FreeWnn/devel FreeWnn-1.1.1-a020-wnntouch.patch, NONE, 1.1 FreeWnn-1.1.1-fork-61907.patch, NONE, 1.1 FreeWnn-1.10-pl020-jserver-64bit-128387.patch, NONE, 1.1 FreeWnn-1.10-smpmake.patch, NONE, 1.1 FreeWnn-fPIC.patch, NONE, 1.1 FreeWnn-fsstnd.patch, NONE, 1.1 FreeWnn-install-chown.patch, NONE, 1.1 FreeWnn-ja-a017.patch, NONE, 1.1 FreeWnn-jlib-js-arraybounds-80669.patch, NONE, 1.1 FreeWnn-nosbit.patch, NONE, 1.1 FreeWnn-pod-searchdesc-args-110750.patch, NONE, 1.1 FreeWnn-reuid.patch, NONE, 1.1 FreeWnn.init, NONE, 1.1 FreeWnn.spec, NONE, 1.1 jserverrc-g-jinmei.patch, NONE, 1.1 sources, NONE, 1.1

Jens Petersen (petersen) fedora-extras-commits at redhat.com
Mon Jun 13 08:43:08 UTC 2005


Author: petersen

Update of /cvs/extras/rpms/FreeWnn/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29847

Added Files:
	FreeWnn-1.1.1-a020-wnntouch.patch 
	FreeWnn-1.1.1-fork-61907.patch 
	FreeWnn-1.10-pl020-jserver-64bit-128387.patch 
	FreeWnn-1.10-smpmake.patch FreeWnn-fPIC.patch 
	FreeWnn-fsstnd.patch FreeWnn-install-chown.patch 
	FreeWnn-ja-a017.patch FreeWnn-jlib-js-arraybounds-80669.patch 
	FreeWnn-nosbit.patch FreeWnn-pod-searchdesc-args-110750.patch 
	FreeWnn-reuid.patch FreeWnn.init FreeWnn.spec 
	jserverrc-g-jinmei.patch sources 
Log Message:
import from Core (FreeWnn was dropped from FC4)


FreeWnn-1.1.1-a020-wnntouch.patch:

--- NEW FILE FreeWnn-1.1.1-a020-wnntouch.patch ---
--- FreeWnn-1.10-pl020/Wnn/pubdicplus/Makefile.in~	2002-05-28 01:33:51.000000000 +0900
+++ FreeWnn-1.10-pl020/Wnn/pubdicplus/Makefile.in	2004-03-20 17:15:39.000000000 +0900
@@ -38,7 +38,7 @@
        INCLUDES = -I$(TOP)
            ATOD = $(WNNJUTILSRC)/atod
            ATOF = $(WNNJUTILSRC)/atof
-       WNNTOUCH = $(WNNJUTILSRC)/wnntouch
+       WNNTOUCH = echo Skipping
           HINSI = @HINSI_DATA@
        FZK_FLAG =
 
--- FreeWnn-1.10-pl020/Wnn/wnncons/dic/Makefile.in~	2001-08-14 22:43:21.000000000 +0900
+++ FreeWnn-1.10-pl020/Wnn/wnncons/dic/Makefile.in	2004-03-20 17:18:35.000000000 +0900
@@ -36,7 +36,7 @@
 LOCAL_INSTFLAGS = -o $(WNNOWNER)
 
            ATOD = $(WNNJUTILSRC)/atod
-       WNNTOUCH = $(WNNJUTILSRC)/wnntouch
+       WNNTOUCH = echo Skipping
           HINSI = @HINSI_DATA@
 
 LINKS = tankan2.u tankan3.u
--- FreeWnn-1.10-pl020/Contrib/dic/gerodic/Makefile.in~	2001-08-14 22:43:20.000000000 +0900
+++ FreeWnn-1.10-pl020/Contrib/dic/gerodic/Makefile.in	2004-03-20 17:23:56.000000000 +0900
@@ -49,7 +49,7 @@
 ATOD=${WNNJUTILSRC}/atod
 
 #WNNTOUCH=${WNNBINDIR}/wnntouch
-WNNTOUCH=${WNNJUTILSRC}/wnntouch
+WNNTOUCH=echo Skipping
 
 #HINSI=${JWNNWNNDIR}/hinsi.data
 HINSI=${PUBDICPLUSSRC}/hinsi.data

FreeWnn-1.1.1-fork-61907.patch:

--- NEW FILE FreeWnn-1.1.1-fork-61907.patch ---
--- FreeWnn-1.10-pl020/Wnn/jserver/de.c.x86_64	2004-03-19 21:08:48.000000000 +0900
+++ FreeWnn-1.10-pl020/Wnn/jserver/de.c	2004-03-20 15:46:36.000000000 +0900
@@ -229,6 +229,7 @@
   struct passwd *pwent;
 
   char nlspath[64];
+  pid_t ppid;
 
   strcpy (cmd_name, WNN_DAEMON_NAME);
   strcpy (lang_dir, LANG_NAME);
@@ -264,8 +265,10 @@
   log_debug("invoked as %s.", argv[0]);
   if (option_flag & SERVER_FORK)
     {
-      if (fork ())
-	{
+      if ((ppid = fork ()) == -1) {
+	printf ("\nCannot fork. errno=%d\n", errno);
+	exit (1);
+      } else if (ppid) {
 	  signal (SIGCHLD, _exit);
 	  signal (SIGHUP, SIG_IGN);
 	  signal (SIGINT, SIG_IGN);
@@ -275,6 +278,7 @@
 #endif
 	  signal (SIGTERM, _exit);
 	  pause ();
+	  exit (0);
 	}
     }
 

FreeWnn-1.10-pl020-jserver-64bit-128387.patch:

--- NEW FILE FreeWnn-1.10-pl020-jserver-64bit-128387.patch ---
--- FreeWnn-1.10-pl020/Wnn/jserver/error.c.64bit	2002-08-13 01:25:46.000000000 +0900
+++ FreeWnn-1.10-pl020/Wnn/jserver/error.c	2004-08-09 23:23:14.002177961 +0900
@@ -73,7 +73,7 @@
 void
 error_exit1 (x, y1, y2, y3, y4, y5)
      char *x;
-     int y1, y2, y3, y4, y5;
+     long y1, y2, y3, y4, y5;
 {
   /* Need care with buffer size */
   char buf[512];
@@ -261,7 +261,7 @@
 void
 out (x, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12)
      char *x;
-     int y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12;
+     long y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12;
 {
   if (!noisy)
     return;
--- FreeWnn-1.10-pl020/Wnn/jserver/renbn_kai.c.64bit	2002-09-02 02:13:11.000000000 +0900
+++ FreeWnn-1.10-pl020/Wnn/jserver/renbn_kai.c	2004-08-09 17:26:59.172661273 +0900
@@ -321,7 +321,7 @@
   _status = 0;
   if (chk_yomi_endvect (yomi_sno, yomi_eno, endvect, endvect1) < 0)
     return (-1);
-  if (sbn_kai (yomi_sno, yomi_eno, endvect, endvect1, &rsbnptr, 1, 0) < 0)
+  if (sbn_kai (yomi_sno, yomi_eno, endvect, endvect1, &rsbnptr, 1, NULL) < 0)
     {
       init_work_areas ();
       return (-1);              /* ERROR */

FreeWnn-1.10-smpmake.patch:

--- NEW FILE FreeWnn-1.10-smpmake.patch ---
--- FreeWnn-1.10-pl020/Wnn/pubdicplus/Makefile.in.sopwith	2004-07-02 11:27:09.000000000 -0400
+++ FreeWnn-1.10-pl020/Wnn/pubdicplus/Makefile.in	2004-07-02 11:32:22.000000000 -0400
@@ -419,16 +419,12 @@
 	$(RM) $@
 	$(LN) $? $@
 
-std.fzk: fzk.master-.c $(FZK_SRC)
+%.fzk: fzk.master-.c $(FZK_SRC)
 	$(CPP) $(FZK_FLAG) fzk.master-.c | egrep -v '^(# |#line |$$)' | $(ATOF) -h $(HINSI) $@
 
-full.fzk: $(FZK_SRC)
-	$(MAKE) FZK_FLAG=-DKANSAI std.fzk
-	$(MV) std.fzk $@
-
-kougo.fzk: $(FZK_SRC)
-	$(MAKE) FZK_FLAG=-DKOUGO std.fzk
-	$(MV) std.fzk $@
+full.fzk: FZK_FLAG=-DKANSAI
+
+kougo.fzk: FZK_FLAG=-DKOUGO
 
 # additional rule from PubdicPlus/Makefile.in : by aono
 pod.o: $(PUBDICPLUSSRC)/pod.c

FreeWnn-fPIC.patch:

--- NEW FILE FreeWnn-fPIC.patch ---
--- FreeWnn-1.10-pl020/makerule.mk.in.fPIC	2004-03-19 13:34:59.000000000 +0900
+++ FreeWnn-1.10-pl020/makerule.mk.in	2004-03-19 14:14:22.000000000 +0900
@@ -91,7 +91,7 @@
       CDEBUGFLAGS = @CDEBUGFLAGS@
         CCOPTIONS = @CCOPTIONS@ @ipv6@
 
-ALLDEFINES = $(INCLUDES) -DFUNCPROTO=15 -DNARROWPROTO $(DEFINES)
+ALLDEFINES = $(INCLUDES) -DFUNCPROTO=15 -DNARROWPROTO $(DEFINES) -fPIC
 CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) @DEFS@
 LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
 LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)

FreeWnn-fsstnd.patch:

--- NEW FILE FreeWnn-fsstnd.patch ---
diff -Naur FreeWnn-1.1.1-a013.orig/Xsi/makerule.mk.in FreeWnn-1.1.1-a013/Xsi/makerule.mk.in
--- FreeWnn-1.1.1-a013.orig/Xsi/makerule.mk.in	Wed Sep 29 01:56:24 1999
+++ FreeWnn-1.1.1-a013/Xsi/makerule.mk.in	Mon Jan 31 13:26:50 2000
@@ -113,7 +113,7 @@
          prefix = @prefix@
     exec_prefix = @exec_prefix@
          PREFIX = @prefix@
-      WNNWNNDIR = ${PREFIX}/lib/wnn
+      WNNWNNDIR = /etc/FreeWnn
       WNNBINDIR = ${PREFIX}/bin
       WNNINCDIR = @includedir@
       WNNLIBDIR = @libdir@
@@ -125,9 +125,9 @@
          WNNTOP = $(IMTOP)/Wnn
-       JWNNLANG = ja_JP
+       JWNNLANG = ja
      JWNNWNNDIR = $(WNNWNNDIR)/$(JWNNLANG)
-     JWNNBINDIR = $(WNNBINDIR)/Wnn4
+     JWNNBINDIR = $(WNNBINDIR)
      JWNNINCDIR = $(WNNINCDIR)/wnn
-     JWNNDICDIR = $(JWNNWNNDIR)/dic
+     JWNNDICDIR = /var/lib/wnn/$(JWNNLANG)/dic
   JWNNPUBDICDIR = $(JWNNDICDIR)/pubdic
 JWNNWNNCONSDICDIR = $(JWNNDICDIR)/wnncons
   JWNNFZKSRCDIR = $(JWNNDICDIR)/src
@@ -155,8 +155,8 @@
        CWNNLANG = zh_CN
      CWNNWNNDIR = $(WNNWNNDIR)/$(CWNNLANG)
      CWNNINCDIR = $(WNNINCDIR)/cwnn
-     CWNNBINDIR = $(WNNBINDIR)/cWnn4
-     CWNNDICDIR = $(CWNNWNNDIR)/dic
+     CWNNBINDIR = $(WNNBINDIR)
+     CWNNDICDIR = /var/lib/wnn/$(CWNNLANG)/dic
   CWNNSYSDICDIR = $(CWNNDICDIR)/sys
       CWNNCDSRC = $(CWNNTOP)/cd
     CWNNCDICSRC = $(CWNNTOP)/cdic
@@ -178,8 +178,8 @@
        KWNNLANG = ko_KR
      KWNNWNNDIR = $(WNNWNNDIR)/$(KWNNLANG)
      KWNNINCDIR = $(WNNINCDIR)/kwnn
-     KWNNBINDIR = $(WNNBINDIR)/kWnn4
-     KWNNDICDIR = $(KWNNWNNDIR)/dic
+     KWNNBINDIR = $(WNNBINDIR)
+     KWNNDICDIR = /var/lib/wnn/$(KWNNLANG)/dic
   KWNNSYSDICDIR = $(KWNNDICDIR)/sys
       KWNNKDSRC = $(KWNNTOP)/kd
     KWNNKDICSRC = $(KWNNTOP)/kdic
@@ -199,7 +199,7 @@
 
        TWNNLANG = zh_TW
      TWNNWNNDIR = $(WNNWNNDIR)/$(TWNNLANG)
-     TWNNDICDIR = $(TWNNWNNDIR)/dic
+     TWNNDICDIR = /var/lib/wnn/$(TWNNLANG)/dic
   TWNNSYSDICDIR = $(TWNNDICDIR)/sys
       TWNNTDSRC = $(CWNNTOP)/td
     TWNNTDICSRC = $(CWNNTOP)/tdic

FreeWnn-install-chown.patch:

--- NEW FILE FreeWnn-install-chown.patch ---
--- FreeWnn-1.10-pl020/Contrib/dic/gerodic/Makefile.in~	2004-03-23 20:46:36.000000000 +0900
+++ FreeWnn-1.10-pl020/Contrib/dic/gerodic/Makefile.in	2004-03-23 20:39:35.000000000 +0900
@@ -67,7 +67,7 @@
 install:: ${OBJ}
 	@if [ -d $(DESTDIR)$(GERODIR) ]; then set +x; \
 	else (set -x; $(MKDIRHIER) $(DESTDIR)$(GERODIR)); fi
-	chown ${WNNOWNER} $(DESTDIR)$(GERODIR)
+	@echo Skipping: chown ${WNNOWNER} $(DESTDIR)$(GERODIR)
 	$(INSTALL) $(INSTDATFLAGS) $(LOCAL_INSTFLAGS) ${OBJ} $(DESTDIR)$(GERODIR)
 	${WNNTOUCH} $(DESTDIR)$(GERODIR)/${OBJ}
 
--- FreeWnn-1.10-pl020/Wnn/pubdicplus/Makefile.in~	2004-03-23 19:50:14.000000000 +0900
+++ FreeWnn-1.10-pl020/Wnn/pubdicplus/Makefile.in	2004-03-23 20:44:16.000000000 +0900
@@ -376,7 +376,7 @@
 	@case '${MFLAGS}' in *[i]*) set +e;; esac;
 	@for i in $(JWNNDICDIR); do if [ -d $(DESTDIR)$$i ]; then \
 	set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i; \
-	chown $(WNNOWNER) $(DESTDIR)$$i); fi \
+	echo Skipping chown $(WNNOWNER) $(DESTDIR)$$i); fi \
 	done
 
 install:: $(DIC)
--- FreeWnn-1.10-pl020/Wnn/wnncons/dic/Makefile.in~	2004-03-23 19:50:14.000000000 +0900
+++ FreeWnn-1.10-pl020/Wnn/wnncons/dic/Makefile.in	2004-03-23 20:39:58.000000000 +0900
@@ -75,7 +75,7 @@
 	@case '${MFLAGS}' in *[i]*) set +e;; esac;
 	@for i in $(JWNNDICDIR); do if [ -d $(DESTDIR)$$i ]; then \
 	set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i; \
-	chown $(WNNOWNER) $(DESTDIR)$$i); fi \
+	echo Skipping chown $(WNNOWNER) $(DESTDIR)$$i); fi \
 	done
 
 install:: $(DICS)

FreeWnn-ja-a017.patch:

--- NEW FILE FreeWnn-ja-a017.patch ---
diff -uNr FreeWnn-1.1.1-a017.org/Xsi/Wnn/etc/msg.c FreeWnn-1.1.1-a017/Xsi/Wnn/etc/msg.c
--- FreeWnn-1.1.1-a017.org/Xsi/Wnn/etc/msg.c	Tue Mar 21 01:31:33 2000
+++ FreeWnn-1.1.1-a017/Xsi/Wnn/etc/msg.c	Thu Jul  6 11:41:34 2000
@@ -457,12 +457,12 @@
 {
   struct msg_cat *cd;
 
-  cd = msg_open ("msg", "%L", "ja_JP");
+  cd = msg_open ("msg", "%L", "ja");
 
-  printf (msg_get (cd, 5, "message not found\n", "ja_JP"), 555);
+  printf (msg_get (cd, 5, "message not found\n", "ja"), 555);
   printf (msg_get (cd, 6, "message not found\n", "zh_CN"));
   printf (msg_get (cd, -1, "", "ja_JP"), 555);
-  printf (msg_get (cd, 2, "message not found\n", "ja_JP"), "abc");
+  printf (msg_get (cd, 2, "message not found\n", "ja"), "abc");
   printf (msg_get (cd, 100, "message not found\n", "zh_CN"), "abc");
 }
 #endif /* not_use */
diff -uNr FreeWnn-1.1.1-a017.org/Xsi/Wnn/include/jd_sock.h FreeWnn-1.1.1-a017/Xsi/Wnn/include/jd_sock.h
--- FreeWnn-1.1.1-a017.org/Xsi/Wnn/include/jd_sock.h	Thu Feb 24 00:31:29 2000
+++ FreeWnn-1.1.1-a017/Xsi/Wnn/include/jd_sock.h	Thu Jul  6 11:43:16 2000
@@ -67,7 +67,7 @@
 #ifdef  JAPANESE                /* Japanese */
 # define WNN_PORT_IN    (0x5701)
 static char *sockname = "/tmp/jd_sockV4";       /* for jserver */
-# define LANG_NAME      "ja_JP"
+# define LANG_NAME      "ja"
 # define SERVERNAME     "wnn4"
 # define MESSAGE_FILE   "jserver.msg"
 #else /* JAPANESE */
@@ -98,7 +98,7 @@
 
 # define WNN_PORT_IN    (0x5701)
 static char *sockname = "/tmp/jd_sockV4";       /* for jserver */
-# define LANG_NAME      "ja_JP"
+# define LANG_NAME      "ja"
 # define SERVERNAME     "wnn4"
 # define MESSAGE_FILE   "jserver.msg"
 #endif /* KOREAN */
diff -uNr FreeWnn-1.1.1-a017.org/Xsi/Wnn/include/jslib.h FreeWnn-1.1.1-a017/Xsi/Wnn/include/jslib.h
--- FreeWnn-1.1.1-a017.org/Xsi/Wnn/include/jslib.h	Thu Feb 24 00:31:30 2000
+++ FreeWnn-1.1.1-a017/Xsi/Wnn/include/jslib.h	Thu Jul  6 11:44:15 2000
@@ -394,8 +394,8 @@
 /*
   JSLIB function declaration
 */
-#define js_open(server, timeout)        js_open_lang(server, "ja_JP", timeout)
-#define js_connect(server,env_name)     js_connect_lang(server, env_name, "ja_JP")
+#define js_open(server, timeout)        js_open_lang(server, "ja", timeout)
+#define js_connect(server,env_name)     js_connect_lang(server, env_name, "ja")
 
 extern WNN_JSERVER_ID *js_open_lang ();
 extern int js_close ();
diff -uNr FreeWnn-1.1.1-a017.org/Xsi/Wnn/include/msg.h FreeWnn-1.1.1-a017/Xsi/Wnn/include/msg.h
--- FreeWnn-1.1.1-a017.org/Xsi/Wnn/include/msg.h	Thu Feb 24 00:31:30 2000
+++ FreeWnn-1.1.1-a017/Xsi/Wnn/include/msg.h	Thu Jul  6 11:44:27 2000
@@ -50,7 +50,7 @@
 /*
 #define DEF_LANG "C"
 */
-#define DEF_LANG "ja_JP"
+#define DEF_LANG "ja"
 
 extern struct msg_cat *msg_open ();
 extern char *msg_get ();
diff -uNr FreeWnn-1.1.1-a017.org/Xsi/Wnn/include/wnn_config.h FreeWnn-1.1.1-a017/Xsi/Wnn/include/wnn_config.h
--- FreeWnn-1.1.1-a017.org/Xsi/Wnn/include/wnn_config.h	Thu Feb 24 00:31:30 2000
+++ FreeWnn-1.1.1-a017/Xsi/Wnn/include/wnn_config.h	Thu Jul  6 11:45:12 2000
@@ -44,7 +44,7 @@
 #define WNN_CSERVER_ENV         "CSERVER"
 #define WNN_KSERVER_ENV         "KSERVER"
 #define WNN_TSERVER_ENV         "TSERVER"
-#define WNN_J_LANG              "ja_JP"
+#define WNN_J_LANG              "ja"
 #define WNN_C_LANG              "zh_CN"
 #define WNN_K_LANG              "ko_KR"
 #define WNN_T_LANG              "zh_TW"
@@ -79,7 +79,7 @@
 /* for jserver */
 #ifndef SERVER_INIT_FILE
 # ifdef JAPANESE
-#  define SERVER_INIT_FILE      "/ja_JP/jserverrc"
+#  define SERVER_INIT_FILE      "/ja/jserverrc"
 # else /* JAPANESE */
 # ifdef CHINESE
 # ifdef TAIWANESE
@@ -91,7 +91,7 @@
 # ifdef KOREAN
 #  define SERVER_INIT_FILE      "/ko_KR/kserverrc"
 # else /* KOREAN */
-#  define SERVER_INIT_FILE      "/ja_JP/jserverrc"      /* Default */
+#  define SERVER_INIT_FILE      "/ja/jserverrc"      /* Default */
 # endif /* KOREAN */
 # endif /* CHINESE */
 # endif /* JAPANESE */
@@ -109,7 +109,7 @@
 
 #define ENVRCFILE               "/wnnenvrc"
 #ifndef HINSIDATA_FILE
-# define HINSIDATA_FILE         "/ja_JP/hinsi.data"
+# define HINSIDATA_FILE         "/ja/hinsi.data"
 #endif /* HINSIDATA_FILE */
 
 #define USR_DIC_DIR_VAR "@USR"
diff -uNr FreeWnn-1.1.1-a017.org/Xsi/Wnn/jd/serverdefs FreeWnn-1.1.1-a017/Xsi/Wnn/jd/serverdefs
--- FreeWnn-1.1.1-a017.org/Xsi/Wnn/jd/serverdefs	Sun Jan 30 12:40:48 2000
+++ FreeWnn-1.1.1-a017/Xsi/Wnn/jd/serverdefs	Thu Jul  6 11:40:36 2000
@@ -30,7 +30,7 @@
 ;
 
 ;lang_name	machine_name	unix_domain_socket_name	service_name	port_num
-ja_JP		jserver		/tmp/jd_sockV4		wnn4		22273
+ja		jserver		/tmp/jd_sockV4		wnn4		22273
 japanese	jserver		/tmp/jd_sockV4		wnn4		22273
 nihongo		jserver		/tmp/jd_sockV4		wnn4		22273
 zh_CN		cserver		/tmp/cd_sockV4		wnn4_Cn		22289
diff -uNr FreeWnn-1.1.1-a017.org/Xsi/Wnn/jlib/jl.c FreeWnn-1.1.1-a017/Xsi/Wnn/jlib/jl.c
--- FreeWnn-1.1.1-a017.org/Xsi/Wnn/jlib/jl.c	Tue Mar 21 01:21:12 2000
+++ FreeWnn-1.1.1-a017/Xsi/Wnn/jlib/jl.c	Thu Jul  6 11:46:00 2000
@@ -442,7 +442,7 @@
   if (!lang || !*lang)
     {
 /* Sorry! Default is Japanese. :-) */
-      strcpy (p_lang, "ja_JP");
+      strcpy (p_lang, "ja");
     }
   else
     {
diff -uNr FreeWnn-1.1.1-a017.org/Xsi/Wnn/uum/header.c FreeWnn-1.1.1-a017/Xsi/Wnn/uum/header.c
--- FreeWnn-1.1.1-a017.org/Xsi/Wnn/uum/header.c	Thu Feb 24 00:31:42 2000
+++ FreeWnn-1.1.1-a017/Xsi/Wnn/uum/header.c	Thu Jul  6 11:46:50 2000
@@ -131,7 +131,7 @@
 
 FuncDataBase function_db[] = {
 #ifdef JAPANESE
-  {"ja_JP",
+  {"ja",
    {NULL, NULL, call_t_redraw_move_normal,
     call_t_redraw_move_1_normal, call_t_redraw_move_2_normal,
     call_t_print_l_normal, NULL, char_len_normal, char_q_len_normal,

FreeWnn-jlib-js-arraybounds-80669.patch:

--- NEW FILE FreeWnn-jlib-js-arraybounds-80669.patch ---
./Xsi/Wnn/jlib/js.c.old ./Xsi/Wnn/jlib/js.c
*** ./Xsi/Wnn/jlib/js.c.old	Sat Dec 14 13:24:17 2002
--- ./Xsi/Wnn/jlib/js.c	Sat Dec 14 13:25:11 2002
***************
*** 2871,2877 ****
       int cnt;
  {
    FILE *fp;
!   static char s[6][EXPAND_PATH_LENGTH];
    char serv_defs[EXPAND_PATH_LENGTH];
    char data[1024];
    int num;
--- 2871,2877 ----
       int cnt;
  {
    FILE *fp;
!   static char s[7][EXPAND_PATH_LENGTH];
    char serv_defs[EXPAND_PATH_LENGTH];
    char data[1024];
    int num;

FreeWnn-nosbit.patch:

--- NEW FILE FreeWnn-nosbit.patch ---
--- FreeWnn-1.10-pl020/Wnn/jserver/de.c~	2004-03-22 18:27:19.000000000 +0900
+++ FreeWnn-1.10-pl020/Wnn/jserver/de.c	2004-03-22 18:32:24.000000000 +0900
@@ -50,6 +50,7 @@
 #  endif
 #endif /* STDC_HEADERS */
 #include <sys/ioctl.h>
+#include <pwd.h>
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/types.h>
@@ -225,6 +226,7 @@
   char *cswidth_name;
   extern char *get_cswidth_name ();
   extern void set_cswidth ();
+  struct passwd *pwent;
 
   char nlspath[64];
 
@@ -244,8 +246,18 @@
   port = -1;
   option_flag |= SERVER_FORK;
 
-  setregid(getegid(), getegid());
-  setreuid(geteuid(), geteuid());
+  pwent = getpwnam("wnn");
+  if (pwent) {
+    if(setregid(pwent->pw_gid, pwent->pw_gid)) {
+      setregid(getegid(), getegid());
+    }
+    if(setreuid(pwent->pw_uid, pwent->pw_uid)) {
+      setreuid(geteuid(), geteuid());
+    }
+  } else {
+    setregid(getegid(), getegid());
+    setreuid(geteuid(), geteuid());
+  }
   get_options (argc, argv);
   print_version();
   log_debug("invoked as %s.", argv[0]);

FreeWnn-pod-searchdesc-args-110750.patch:

--- NEW FILE FreeWnn-pod-searchdesc-args-110750.patch ---
--- FreeWnn-1.10-pl020/PubdicPlus/pod.c~	2002-07-14 13:26:57.000000000 +0900
+++ FreeWnn-1.10-pl020/PubdicPlus/pod.c	2004-03-23 12:29:27.000000000 +0900
@@ -640,8 +640,8 @@
 /* ¥ë¡¼¥ë¤Îõº÷ */
 
 static struct descpack *
-searchdesc (hin, tan, yom)
-     Wchar *hin, **tan, **yom;
+searchdesc (hin)
+     Wchar *hin;
 {
   struct descpack *p, **pp;
   Wchar *s;

FreeWnn-reuid.patch:

--- NEW FILE FreeWnn-reuid.patch ---
--- FreeWnn-1.10-pl020/Wnn/jserver/de.c.reuid	2002-09-02 02:13:10.000000000 +0900
+++ FreeWnn-1.10-pl020/Wnn/jserver/de.c	2004-03-19 13:34:59.000000000 +0900
@@ -244,7 +244,8 @@
   port = -1;
   option_flag |= SERVER_FORK;
 
-  setuid (geteuid ());
+  setregid(getegid(), getegid());
+  setreuid(geteuid(), geteuid());
   get_options (argc, argv);
   print_version();
   log_debug("invoked as %s.", argv[0]);
--- FreeWnn-1.10-pl020/Wnn/uum/jhlp.c.reuid	2003-04-06 14:55:17.000000000 +0900
+++ FreeWnn-1.10-pl020/Wnn/uum/jhlp.c	2004-03-19 13:34:59.000000000 +0900
@@ -1337,8 +1337,8 @@
       dup2 (ttypfd, 1);
       dup2 (ttypfd, 2);
 #else /* linux */
-      setgid (getgid ());
-      setuid (getuid ());
+      setregid (getegid(), getegid());
+      setreuid (geteuid(), geteuid());
       close (0);
       close (1);
       close (2);
@@ -1371,8 +1371,8 @@
 #ifdef linux
       crow = win.ws_row = Term_RowWidth = win.ws_row - conv_lines;
       ioctl (ttyfd, TIOCSWINSZ, &win);
-      setgid (getgid ());
-      setuid (getuid ());
+      setregid (getegid(), getegid());
+      setreuid (geteuid(), geteuid());
 #endif
       execvp (cmdnm, argv);
       uum_err ("exec fault.");


--- NEW FILE FreeWnn.init ---
#!/bin/sh
#
# FreeWnn    This shell script takes care of starting and stopping
#            jserver (Japanese Conversion Engine).
#
# chkconfig: - 90 12
# description: FreeWnn - Japanese Conversion Engine \
#              FreeWnn is a network-extensible Kana-to-Kanji conversion system
# processname: jserver

# Source function library.
. /etc/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 1

[ -f /usr/bin/jserver ] || exit 1

[ -f /etc/FreeWnn/ja/jserverrc ] || exit 1

# Path to the jserver
jserver=/usr/bin/jserver
prog="FreeWnn"
RETVAL=0

start () {
    # Start daemons.

    echo -n $"Starting $prog: "
    rm -f /tmp/jd_sockV4
    ( ${jserver} | grep "Finished" > /dev/null ) \
        && echo_success || echo_failure
    RETVAL=$?
    echo
    [ $RETVAL -eq 0 ] && touch /var/lock/subsys/FreeWnn
    return $RETVAL
}
stop () {
    # Stop daemons.
    echo -n $"Shutting down $prog: "
    killproc jserver
    RETVAL=$?
    echo
    [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/FreeWnn
    [ $RETVAL -eq 0 ] && rm -f /tmp/jd_sockV4
    return $RETVAL
}
restart() {
    stop
    start
}

# See how we were called.
case "$1" in
    start)
        start
        ;;
    stop)
        stop
        ;;
    status)
        status jserver
        ;;
    restart|reload)
        restart
        ;;
  condrestart)
	if [ -f /var/lock/subsys/FreeWnn ]; then
	    stop
	    start
	fi
	;;
    *)
	echo $"Usage: $0 {start|stop|status|restart|condrestart}"
        exit 1
esac
 

exit $RETVAL


--- NEW FILE FreeWnn.spec ---
%define patchlevel 020
%define upstreamversion 1.1.1
%define tarballversion 1.10

Summary: A Japanese character set conversion system.
Name: FreeWnn
Version: %{tarballversion}pl%{patchlevel}
Release: 6
Epoch: 1
Group: Applications/System
License: Distributable
URL: http://www.freewnn.org/
Source0: ftp://ftp.freewnn.org/pub/FreeWnn/alpha/%{name}-%{upstreamversion}-a%{patchlevel}.tar.bz2
Source1: FreeWnn.init
Patch0: FreeWnn-fsstnd.patch
Patch1: FreeWnn-ja-a017.patch
Patch2: FreeWnn-install-chown.patch
Patch4: jserverrc-g-jinmei.patch
## patch for ia64
#Patch5: FreeWnn-ia64.patch
#Patch6: FreeWnn-shared.patch
Patch7: FreeWnn-reuid.patch
Patch8: FreeWnn-fPIC.patch
Patch9: FreeWnn-nosbit.patch
#Patch10: FreeWnn-dirlimit.patch
#Patch11: FreeWnn-nonstrip.patch
#Patch12: FreeWnn-1.1.1-unix.patch
Patch13: FreeWnn-jlib-js-arraybounds-80669.patch
Patch14: FreeWnn-1.1.1-fork-61907.patch
#Patch15: FreeWnn-1.1.1-a017-jutils-shlib-89068.patch
Patch16: FreeWnn-1.1.1-a020-wnntouch.patch
Patch17: FreeWnn-pod-searchdesc-args-110750.patch
Patch18: FreeWnn-1.10-smpmake.patch
Patch19: FreeWnn-1.10-pl020-jserver-64bit-128387.patch
Prereq: /sbin/chkconfig, grep, textutils, shadow-utils
Requires: chkconfig
Conflicts: wnn6
Obsoletes: FreeWnn-common
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildPrereq: ncurses-devel

%description
FreeWnn is a network-extensible system for converting Japanese Kana to
Kanji characters.

%package devel
Summary: Development library and header files for FreeWnn.
Group: Development/Libraries
Requires: FreeWnn-libs = %{epoch}:%{version}-%{release}

%description devel
The FreeWnn-devel package contains files needed for building programs
which will use the FreeWnn Kana-to-Kanji conversion system.

%package libs
Summary: A runtime library for FreeWnn.
Group: System Environment/Libraries

%description libs
The FreeWnn-libs package contains the runtime library for running
programs with the FreeWnn Kana-to-Kanji conversion system.

%define wnnuser wnn
%define wnnuid 49
%define wnngrp wnn
%define wnngid 49
%define wnndir %{_localstatedir}/lib/wnn

%prep
%setup -q -n %{name}-%{tarballversion}-pl%{patchlevel}
%patch0 -p2
%patch1 -p2
%patch2 -p1
%patch4 -p2
#%%patch5 -p2 -b .ia64
#%%patch6 -p2 -b .shlib
%patch7 -p1 -b .reuid
%patch8 -p1 -b .fPIC
%patch9 -p1 -b .nosbit
#%%patch10 -p2 -b .dl
#%%patch11 -p2 -b .nonstrip
#%%patch12 -p1 -b .unix
%patch13 -p2 -b .bounds
%patch14 -p1 -b .fork
#%%patch15 -p2 -b .static
%patch16 -p1 -b .wnntouch
%patch17 -p1 -b .args
%patch18 -p1 -b .smpmake
%patch19 -p1 -b .64bit

%build
%configure --disable-cWnn --disable-kWnn

# -D_XOPEN_SOURCE is needed to get the crypt() prototype properly for Wnn/etc/pwd.c
%{__make} %{?_smp_mflags} CDEBUGFLAGS="$RPM_OPT_FLAGS -D_XOPEN_SOURCE" ALLLANGDEF=-DJAPANESE

%install
%{__rm} -rf $RPM_BUILD_ROOT

# don't strip, don't set owner
make DESTDIR=$RPM_BUILD_ROOT INSTPGMFLAGS= INSTALLFLAGS='-m755' LOCAL_INSTFLAGS= install install.man

%{__mkdir_p} $RPM_BUILD_ROOT/%{_mandir}/ja/man1
%{__mkdir_p} $RPM_BUILD_ROOT/%{_mandir}/ja/man3
%{__mkdir_p} $RPM_BUILD_ROOT/%{_mandir}/ja/man4
%{__mkdir_p} $RPM_BUILD_ROOT/%{_mandir}/ja/man5
cd $RPM_BUILD_ROOT/%{_mandir}/man1
mv *.1 $RPM_BUILD_ROOT/%{_mandir}/ja/man1/

cd $RPM_BUILD_ROOT/%{_mandir}/man3
mv *.3 $RPM_BUILD_ROOT/%{_mandir}/ja/man3/

cd $RPM_BUILD_ROOT/%{_mandir}/man4
mv *.4 $RPM_BUILD_ROOT/%{_mandir}/ja/man4/

cd $RPM_BUILD_ROOT/%{_mandir}/man5
mv *.5 $RPM_BUILD_ROOT/%{_mandir}/ja/man5/

## convert to UTF-8
for i in `find $RPM_BUILD_ROOT%{_mandir}/ja -type f`; do
	iconv -f euc-jp -t utf-8 $i > $i.new && mv -f $i.new $i && chmod 444 $i
done

%{__mkdir_p} ${RPM_BUILD_ROOT}/etc/rc.d/init.d
%{__install} -m755 %{SOURCE1} \
	$RPM_BUILD_ROOT/etc/rc.d/init.d/FreeWnn
ln -sf %{wnndir}/ja/dic ${RPM_BUILD_ROOT}/etc/FreeWnn/ja/dic

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%pre
# make sure the user and group exist and have the correct values
if grep -q "^%{wnngrp}:" /etc/group 2> /dev/null ; then
  /usr/sbin/groupmod -g %{wnngid} -n %{wnngrp} %{wnngrp} 2> /dev/null || :
else
  /usr/sbin/groupadd -g %{wnngid} %{wnngrp} 2> /dev/null || :
fi
if grep -q "^%{wnnuser}:" /etc/passwd 2> /dev/null ; then
  /usr/sbin/usermod -s /sbin/nologin -c "Wnn Input Server" -d %{wnndir} -u %{wnnuid} -g %{wnngid} %{wnnuser} 2> /dev/null || :
else
  /usr/sbin/useradd -s /sbin/nologin -c "Wnn Input Server" -d %{wnndir} -u %{wnnuid} -g %{wnngid} -M -r %{wnnuser} 2> /dev/null || :
fi

%post
/sbin/chkconfig --add FreeWnn
#/sbin/chkconfig --level 0123456 FreeWnn off
/usr/bin/wnntouch  %{wnndir}/ja/dic/{gerodic/g-jinmei.dic,pubdic/*.*}

%preun
if [ "$1" = "0" ]; then
    /sbin/service FreeWnn stop > /dev/null 2>&1 || :
    /sbin/chkconfig --del FreeWnn
fi

%postun
if [ "$1" -ge "1" ]; then
    /sbin/service FreeWnn condrestart >/dev/null 2>&1 || :
fi

%post libs -p /sbin/ldconfig

%postun libs -p /sbin/ldconfig

%files
%defattr(-,root,root)
%dir %{wnndir}
%dir %{wnndir}/ja
%doc CONTRIBUTORS COPYRIGHT* ChangeLog Wnn/manual Wnn/manual.en
%config /etc/rc.d/init.d/FreeWnn
%attr(-,%{wnnuser},root) %{_bindir}/atod
%attr(-,%{wnnuser},root) %{_bindir}/dtoa
%attr(-,%{wnnuser},root) %{_bindir}/oldatonewa
%attr(-,%{wnnuser},root) %{_bindir}/wdreg
%attr(-,%{wnnuser},root) %{_bindir}/wnnstat
%attr(-,%{wnnuser},root) %{_bindir}/atof
%attr(711,%{wnnuser},root) %{_bindir}/jserver
%attr(-,%{wnnuser},root) %{_bindir}/wddel
%attr(-,%{wnnuser},root) %{_bindir}/wnnkill
%attr(-,%{wnnuser},root) %{_bindir}/wnntouch
%{_mandir}/ja/man1/*
%{_mandir}/ja/man4/*
%{_mandir}/ja/man5/*
%attr(-,%{wnnuser},root) %{wnndir}/ja/dic
%dir /etc/FreeWnn
%config /etc/FreeWnn/cvt_key_empty
%config /etc/FreeWnn/cvt_key_tbl
%config /etc/FreeWnn/cvt_key_tbl.ST
%config /etc/FreeWnn/cvt_key_tbl.gm
%config /etc/FreeWnn/cvt_key_tbl.kt
%config /etc/FreeWnn/cvt_key_tbl.mv
%config /etc/FreeWnn/cvt_key_tbl.vt
%dir /etc/FreeWnn/ja
/etc/FreeWnn/ja/dic
%config /etc/FreeWnn/ja/hinsi.data
%config /etc/FreeWnn/ja/jserverrc
%config /etc/FreeWnn/ja/libwnn.msg
%config /etc/FreeWnn/ja/rk
%config /etc/FreeWnn/ja/rk.vi
%config /etc/FreeWnn/ja/uum.msg
%config /etc/FreeWnn/ja/uumkey
%config /etc/FreeWnn/ja/uumkey.omr
%config /etc/FreeWnn/ja/uumkey_e
%config /etc/FreeWnn/ja/uumrc
%config /etc/FreeWnn/ja/uumrc.omr
%config /etc/FreeWnn/ja/uumrc.rev
%config /etc/FreeWnn/ja/uumrc_e
%config /etc/FreeWnn/ja/uumrc_vi
%config /etc/FreeWnn/ja/wnnenvrc
%config /etc/FreeWnn/ja/wnnenvrc.omr
%config /etc/FreeWnn/ja/wnnenvrc.rem
%config /etc/FreeWnn/ja/wnnenvrc.rev
%config /etc/FreeWnn/ja/wnnenvrc_R
%config /etc/FreeWnn/ja/wnnenvrc_R.omr
%config /etc/FreeWnn/ja/wnnenvrc_R.rem
%config /etc/FreeWnn/ja/wnnstat.msg
%dir /etc/FreeWnn/lt_LN
/etc/FreeWnn/lt_LN/rk
%config /etc/FreeWnn/lt_LN/uum.msg
%config /etc/FreeWnn/lt_LN/uumkey
%config /etc/FreeWnn/lt_LN/uumkey_e
%config /etc/FreeWnn/lt_LN/uumrc
%config /etc/FreeWnn/serverdefs

%files devel
%defattr(-,root,root)
%dir %{_includedir}/wnn
%{_includedir}/wnn/*
%{_libdir}/libjd.a
%{_libdir}/libjd.la
%{_libdir}/libjd.so
%{_libdir}/libwnn.a
%{_libdir}/libwnn.la
%{_libdir}/libwnn.so
%{_mandir}/ja/man3/*

%files libs
%defattr(-,root,root)
%{_libdir}/libjd.so.0
%attr(755,root,root) %{_libdir}/libjd.so.0.0.0
%{_libdir}/libwnn.so.0
%attr(755,root,root) %{_libdir}/libwnn.so.0.0.0

%changelog
* Fri Oct 29 2004 Jens Petersen <petersen at redhat.com> - 1:1.10pl020-5
- before upgrading modify the wnn user and group (in the same way mailman does)
  rather than deleting and recreating them to really fix the upgrade failure
  with nis (136551)
  - simplify this by introducing %%wnnuser, %%wnnuid, %%wnngrp, %%wnngid and
    %%wnndir and use them

* Wed Oct 27 2004 Jens Petersen <petersen at redhat.com> - 1:1.10pl020-4
- make sure any stray wnn group is removed before adding wnn user when
  installing or upgrading (136551)

* Mon Aug  9 2004 Jens Petersen <petersen at redhat.com> - 1:1.10pl020-3
- add FreeWnn-1.10-pl020-jserver-64bit-128387.patch to fix a couple of problems
  with jserver on 64bit archs (Neil Horman, 128387)
- check right subsys lock file when doing condrestart in init.d script
- improve description
- include copyright files in docs

* Tue Jun 15 2004 Elliot Lee <sopwith at redhat.com> - 1:1.10pl020-2
- add FreeWnn-1.10-smpmake.patch to enable smp build
- use $RPM_OPT_FLAGS and define _XOPEN_SOURCE for build
- fix install permissions

* Tue Mar 23 2004 Jens Petersen <petersen at redhat.com> - 1:1.10pl020-1
- update to pl020
  - adjust version number correctly and set epoch to 1
  - replace FreeWnn-noroot.patch and FreeWnn-noroot2.patch with
    FreeWnn-install-chown.patch, FreeWnn-1.1.1-a020-wnntouch.patch and
    unset LOCAL_INSTFLAGS during install
  - no longer need FreeWnn-1.1.1-unix.patch since there is -u option now
  - no longer need FreeWnn-dirlimit.patch, FreeWnn-ia64.patch,
    FreeWnn-shared.patch and FreeWnn-1.1.1-a017-jutils-shlib-89068.patch
  - update FreeWnn-fPIC.patch, FreeWnn-reuid.patch
  - update and rename FreeWnn-1.1.1-fix-x86-64-61907.patch to
    FreeWnn-1.1.1-fork-61907.patch
  - replace FreeWnn-nonstrip.patch with install makefile variable setting
  - pl020 fixes casting in initjserv.c (d.binderman,#113801)
- don't start FreeWnn jserver by default any more for new installs
- add condrestart command to init script and use it in %%postun
- only chkconfig --del if erasing package
- merge FreeWnn-common into main FreeWnn package, make it obsoleted and update
  description
- remove the disabled cWnn, kWnn and tWnn subpackages from the spec file
- disable cWnn and kWnn with configure options instead
- build without smp and -DJAPANESE only
- fix wnn's home dir and no need to add wnn4 to /etc/services (notting,#118651)
- simplify manpage installation
- add FreeWnn-pod-searchdesc-args-110750.patch to fix args of searchdesc in
  pod.c (d.binderman,#110750)

* Tue Mar 02 2004 Elliot Lee <sopwith at redhat.com>
- rebuilt

* Fri Feb 13 2004 Elliot Lee <sopwith at redhat.com>
- rebuilt

* Tue Dec 16 2003 Jens Petersen <petersen at redhat.com> - 1.11-41
- add FreeWnn-1.1.1-a017-jutils-shlib-89068.patch to link utilities
  against libwnn.so (#89068) [reported by Jeremy Katz]
- FreeWnn now requires FreeWnn-libs

* Thu Dec  4 2003 Jens Petersen <petersen at redhat.com> - 1.11-40
- apply FreeWnn-1.1.1-fix-x86-64-61907.patch (#61907) [Akira Tagoh]
- make shared library executable [Florian Laroche]

* Tue Oct 28 2003 Jens Petersen <petersen at redhat.com> - 1.11-39
- exit init.d script with actual return value

* Tue Sep 30 2003 Akira TAGOH <tagoh at redhat.com> 1.11-38
- converted Japanese manpages to UTF-8.

* Wed Jun 04 2003 Elliot Lee <sopwith at redhat.com>
- rebuilt

* Thu May 15 2003 Elliot Lee 1.11-36
- Rebuild

* Mon Apr 21 2003 Jens Petersen <petersen at redhat.com> - 1.11-35
- fix array bounds in jlib/js.c (#80669) [patch from d.binderman at virgin.net]
- make FreeWnn-devel require FreeWnn-libs (#52351)

* Wed Jan 22 2003 Tim Powers <timp at redhat.com>
- rebuilt

* Sat Dec 21 2002 Yukihiro Nakai <ynakai at redhat.com>
- Change login shell to /sbin/nologin (#80167)

* Mon Dec 16 2002 Yukihiro Nakai <ynakai at redhat.com>
- extract *bz2 patches
- Define AF_UNIX
- Remove PF_INET code from jserver
- Set FreeWnn on by default

* Thu Dec 12 2002 Yukihiro Nakai <ynakai at redhat.com>
- ctkWnn off

* Wed Nov 20 2002 Tim Powers <timp at redhat.com>
- rebuild for all arches

* Fri Aug 23 2002 Yukihiro Nakai <ynakai at redhat.com> 1.11-27
- Set FreeWnn server off by default. (#69119)
- Add cwnntouch to %%files

* Thu Jul 18 2002 Akira TAGOH <tagoh at redhat.com> 1.11-26
- add some owned directory.

* Fri Jun 21 2002 Tim Powers <timp at redhat.com>
- automated rebuild

* Wed Jun 19 2002 Akira TAGOH <tagoh at redhat.com> 1.11-24
- FreeWnn-nonstrip.patch: applied to fix the stripped binary.
- s/Copyright/License/

* Wed Jun 05 2002 Yukihiro Nakai <ynakai at redhat.com>
- Remove warning message. (#65781)

* Thu May 23 2002 Tim Powers <timp at redhat.com>
- automated rebuild

* Sat Jan 26 2002 Florian La Roche <Florian.LaRoche at redhat.de>
- add further Prereq: /sbin/chkconfig to subpackages

* Wed Jan 09 2002 Tim Powers <timp at redhat.com>
- automated rebuild

* Mon Aug 27 2001 Yukihiro Nakai <ynakai at redhat.com>
- Add patch to set limit the wnn user directory.

* Tue Aug 14 2001 Yukihiro Nakai <ynakai at redhat.com>
- Add nosbit patch
- Change *server mode 4711 -> 711

* Mon Jul 23 2001 Yukihiro Nakai <ynakai at redhat.com>
- Add ncurses-devel to BuildPrereq. (#44720)
- Add chkconfig to reduce build errors.

* Mon Jul  9 2001 Matt Wilson <msw at redhat.com>
- disable cWnn, tWnn, kWnn and their subpackages
- re-enable [ctk]Wnn

* Tue Feb  6 2001 Matt Wilson <msw at redhat.com>
- added Prereq: /sbin/chkconfig to main package
- added Prereqs for common subpackage

* Mon Jan 29 2001 Trond Eivind Glomsrød <teg at redhat.com>
- new init style (no gprintf)

* Wed Jan 24 2001 Adrian Havill <havill at redhat.com>
- fixed useradd to be consistent with other useradd pkg behavior
- changed default uid/gid to match internal RH allocation

* Tue Jan 23 2001 Yukihiro Nakai <ynakai at redhat.com>
- Add post and postun for -devel, -libs
- More fix about grep command.
- defattr added.
- Add -fPIC patch for IA64
- Update FreeWnn.init, cWnn.init, kWnn.init, tWnn.init
  to suppport RH color'ed

* Tue Jan 23 2001 Yukihiro Nakai <ynakai at redhat.com>
- secured so both EUID and RUID are set (havill at redhat.com)

* Mon Jan 22 2001 Yukihiro Nakai <ynakai at redhat.com>
- Split the runtime libraries.
- Build libwnn.so
- bzip2

* Sat Dec 19 2000 Satoru Sato <ssato at redhat.com>
- fix SPEC

* Sat Dec 09 2000 Yukihiro Nakai <ynakai at redhat.com>
- Add ia64 patch.

* Thu Sep 13 2000 Satoru Sato <ssato at redhat.com>
- (c|k|t)Wnn daemon are not started by default.

* Thu Sep  7 2000 ISHIKAWA Mutsumi <ishikawa at redhat.com>
- initfile move back /etc/init.d -> /etc/rc.d/init.d

* Fri Aug  4 2000 ISHIKAWA Mutsumi <ishikawa at redhat.com>
- move /etc/rc.d/init.d -> /etc/init.d

* Fri Aug  4 2000 ISHIKAWA Mutsumi <ishikawa at redhat.com>
- ported from Vine Linux
- Built for RedHat 7.0

* Tue Jul 25 2000 Lisa Sagami <czs14350 at mb.infoweb.ne.jp>
- changed: each package (except devel) owns /etc/FreeWnn/* by adding %dir
- modified again *.init to do with socket left in /tmp 

* Fri Jul 14 2000 Lisa Sagami <czs14350 at nifty.ne.jp>
- add %pre to addusr 127/wnn to avoid non-root build failure
- modified *.init to do with socket left in /tmp 
- correct %doc

* Tue Jul 11 2000 Masato Bito <masato at nets.ce.hiroshima-cu.ac.jp>
- 1.1.1-1vl3
- modified %patch0 -p3 -> %patch0 -p2
- modified BuildRoot:

* Thu Jul  6 2000 Jun Nishii <jun at vinelinux.org>
- 1.1.1-1vl2
- fix bug in FreeWnn-ja-a017.patch

* Wed Jul  5 2000 Jun Nishii <jun at vinelinux.org>
- 1.1.1-1vl1
- handle man page compress
- update to FreeWnn-1.1.1-a017

* Mon Jan 31 2000 Norihito Ohmori <nono at kondara.org>
- ja_JP -> ja
- configuration file move to /etc
- change group.
- add cWnn and kWnn.
- add FreeWnn-common Package.
- remove sample.eggrc

* Tue Jan 25 2000 Norihito Ohmori <nono at vinelinux.org>
- add defattr and attr for %files section

* Tue Nov 23 1999 Norihito Ohmori <ohmori at flatout.org>
- add Requires: chkconfig
- Conflicts change from Wnn6 to wnn6

* Fri Nov 12 1999 MATSUBAYASHI 'Shaolin' Kohji <shaolin at rins.st.ryukoku.ac.jp>
- FreeWnn-1.1.1-0.a013.4
- added Prereq: grep,textutils

* Wed Nov 10 1999 Jun Nishii <jun at flatout.org>
- remove cWnn and kWnn

* Sun Nov  7 1999 Yasuhide OOMORI <dasen at typhoon.co.jp>
- [FreeWnn-1.1.1-0.a013.2]
- Added a sample file of .eggrc to utilize gerodic.
- Now do not ldconfig after installation of FreeWnn-devel.
- Enabled you to compile with multi processors.
- Added 'Prereq: shadow-utils' for installation.
- Modified FreeWnn-jserver.script against error at boot time.

* Wed Oct 20 1999 Yasuhide OOMORI <dasen at typhoon.co.jp>
- [FreeWnn-1.1.1-0.a013.1]
- Updated to FreeWnn-1.1.1-a013.
- Separated cWnn,kWnn packages again.
- Make this package relocatable.
- Keep jserverrc and wnnenvrc when upgrading.

* Fri Sep 24 1999 Masaru Yokoi <yokoi @yk.fks.ryukoku.ac.jp>
- [FreeWnn-1.10-3]
- Added /var/lib/wnn/*/dic/usr .
- Moved libwnn.a from FreeWnn package to FreeWnn-devel package.
- Moved Japanese manuals from /usr/X11R6/man/man*
- to /usr/X11R6/man/ja_JP.ujis/man* .

* Wed Aug 11 1999 Masaru Yokoi <yokoi at yk.fks.ryukoku.ac.jp>
- First release.  Original idea is Sat Jul 12 1999 Norihito Ohmori
- <ohmori at flatout.org>


jserverrc-g-jinmei.patch:

--- NEW FILE jserverrc-g-jinmei.patch ---
--- FreeWnn-1.1.1-a013/Xsi/Wnn/jd/jserverrc.org	Tue May 30 18:19:37 2000
+++ FreeWnn-1.1.1-a013/Xsi/Wnn/jd/jserverrc	Tue May 30 18:20:02 2000
@@ -48,6 +48,8 @@
 readfile pubdic/tankan.dic
 readfile pubdic/bio.dic
 
+readfile gerodic/g-jinmei.dic
+
 readfile pubdic/full.fzk
 
 ;readfile wnncons/tankan2.dic


--- NEW FILE sources ---
c00549415cdb08c1f35240dccf8dab20  FreeWnn-1.1.1-a020.tar.bz2




More information about the fedora-extras-commits mailing list