summaryrefslogtreecommitdiff
path: root/japanese/Canna/files
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>2002-11-11 23:53:57 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>2002-11-11 23:53:57 +0000
commit82fb117ba8c861cd1e91cb7b0771c87b953f79ce (patch)
tree87f5c35ff657fdf86187616cc36f3bcdbad056df /japanese/Canna/files
parentRemove ports/japanese/pine. (diff)
Upgrade to 3.6.
Diffstat (limited to 'japanese/Canna/files')
-rw-r--r--japanese/Canna/files/canna.sh.in7
-rw-r--r--japanese/Canna/files/patch-ac69
-rw-r--r--japanese/Canna/files/patch-af22
-rw-r--r--japanese/Canna/files/patch-ak22
-rw-r--r--japanese/Canna/files/patch-bzero56
5 files changed, 37 insertions, 139 deletions
diff --git a/japanese/Canna/files/canna.sh.in b/japanese/Canna/files/canna.sh.in
index 950751f81cc2..6d2fdf5864e1 100644
--- a/japanese/Canna/files/canna.sh.in
+++ b/japanese/Canna/files/canna.sh.in
@@ -1,5 +1,10 @@
#!/bin/sh
+OPTIONS=
+# Uncomment the following if you want to use a TCP connection
+# instead of a UNIX domain socket.
+#OPTIONS="-inet"
+
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/${0##*/}\$"); then
echo "$0: Cannot determine the PREFIX" >&2
exit 64
@@ -12,7 +17,7 @@ start)
@RM@ -f /tmp/.iroha_unix/IROHA
@TOUCH@ /var/log/CANNA0msgs
@CHOWN@ bin:bin /var/log/CANNA0msgs
- ${PREFIX}/sbin/cannaserver && echo -n ' canna'
+ ${PREFIX}/sbin/cannaserver ${OPTIONS} && echo -n ' canna'
fi
;;
stop)
diff --git a/japanese/Canna/files/patch-ac b/japanese/Canna/files/patch-ac
index 799c661ddeae..4f16834fa9b6 100644
--- a/japanese/Canna/files/patch-ac
+++ b/japanese/Canna/files/patch-ac
@@ -1,34 +1,36 @@
---- Canna.conf.orig Thu Nov 28 19:27:01 1996
-+++ Canna.conf Tue Apr 2 05:36:35 2002
-@@ -128,14 +128,15 @@
- * $Id: Canna.conf,v 3.13 1996/11/28 10:27:01 kon Exp $
- */
+--- Canna.conf.orig Thu Oct 24 23:37:25 2002
++++ Canna.conf Thu Nov 7 09:14:12 2002
+@@ -132,11 +132,12 @@
--cannaBinDir = /usr/local/canna/bin
--cannaSrvDir = /usr/local/canna/bin
--cannaLibDir = /usr/local/canna/lib
--cannaManDir = /usr/local/canna/man
--cannaIncDir = /usr/local/canna/include/canna
--libCannaDir = /usr/lib
+ /* rootにならずにインストールする時はこれを定義して下さい */
+ /* #define InstallAsUser */
+-cannaPrefix = /usr/local/canna
+PREFIX?= /usr/local
-+cannaBinDir = ${PREFIX}/bin
-+cannaSrvDir = ${PREFIX}/sbin
-+cannaLibDir = ${PREFIX}/lib/canna
-+cannaManDir = ${PREFIX}/man
-+cannaIncDir = ${PREFIX}/include/canna
-+libCannaDir = ${PREFIX}/lib
++cannaPrefix = $(PREFIX)
+ cannaExecPrefix = $(cannaPrefix)
+ cannaBinDir = $(cannaExecPrefix)/bin
+-cannaSrvDir = $(cannaExecPrefix)/bin
+-cannaLibDir = $(cannaPrefix)/lib
++cannaSrvDir = $(cannaExecPrefix)/sbin
++cannaLibDir = $(cannaPrefix)/lib/canna
+ cannaManDir = $(cannaPrefix)/man
+ cannaIncDir = $(cannaPrefix)/include/canna
+@@ -144,8 +145,8 @@
+ libCannaDir = $(cannaExecPrefix)/lib
+ ErrDir = $(cannaExecPrefix)/log
+ #else
+-libCannaDir = /usr/lib
-ErrDir = /usr/spool/canna
++libCannaDir = $(cannaPrefix)/lib
+ErrDir = /var/log
+ #endif
- wcharDefinition = -DCANNA_WCHAR
- Wlib =
-@@ -143,12 +144,12 @@
-
- cannaOwner = bin
- cannaGroup = bin
--
+ /* 次の3行は変更しないでください */
+@@ -161,10 +162,11 @@
+ #else
cannaOwnerGroup = -o $(cannaOwner) -g $(cannaGroup)
+ #endif
+cannaOwnerDefinition = -DcannaOwner="\"$(cannaOwner)\""
pointerIntegerDef =
@@ -38,16 +40,7 @@
/* SunOS 4.x をお使いの方で shared object を利用する場合には
cannaDsoRev = 1.1
と指定してください。また、FreeBSD を利用する場合は、
-@@ -167,7 +168,7 @@
- CHMOD = chmod
-
- /* 日本語マニュアルを使わないのであればコメントアウト */
--#define JAPANESEMAN
-+/* #define JAPANESEMAN */
-
- /* locale ディレクトリを持っている場合は以下を記述する */
- /* #define LOCALE_DIR /usr/lib/locale */
-@@ -273,7 +274,7 @@
+@@ -308,7 +310,7 @@
* ここから下は変更しないようにしてください。
*/
@@ -56,8 +49,8 @@
RK_DEFINES = $(pointerIntegerDef)
RKC_DEFINES = $(wcharDefinition)
UILIB_DEFINES = $(wcharDefinition) $(pointerIntegerDef) \
-@@ -378,6 +379,15 @@
- set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i;$(CHOWN) owner $(DESTDIR)$$i;$(CHGRP) group $(DESTDIR)$$i); fi \ @@\
+@@ -461,6 +463,15 @@
+ set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i;$(CHOWN) owner $(DESTDIR)$$i;$(CHGRP) group $(DESTDIR)$$i); fi; \ @@\
done
#endif /* MakeDirectories */
+
@@ -70,5 +63,5 @@
+ echo " cd" dir; cd dir && \ @@\
+ for i in list; do (set -x; $(LN) -f sub/$$i .); done
- /* 以下は IBM 基礎研の古畑さん(furuhata@trl.ibm.co.jp)により書かれました */
- #if defined(RsArchitecture) && DoSharedLib
+ /* libname-def.cppを作るのが面倒なのでXのSharedLibraryTargetを上書き */
+ #ifdef CYGWIN_DLL
diff --git a/japanese/Canna/files/patch-af b/japanese/Canna/files/patch-af
deleted file mode 100644
index 360e5d011617..000000000000
--- a/japanese/Canna/files/patch-af
+++ /dev/null
@@ -1,22 +0,0 @@
---- server/misc.c.orig Wed Nov 27 16:30:30 1996
-+++ server/misc.c Thu Aug 8 13:44:03 2002
-@@ -649,12 +649,19 @@
-
- if (client->username && client->username[0]) {
- if (client->groupname && client->groupname[0]) {
-+ if (strlen(DDUSER) + strlen(client->username) +
-+ strlen(DDGROUP) + strlen(client->groupname) +
-+ strlen(DDPATH) + 4 >= 256)
-+ return ( -1 );
- sprintf(dichome, "%s/%s:%s/%s:%s",
- DDUSER, client->username,
- DDGROUP, client->groupname,
- DDPATH);
- }
- else {
-+ if (strlen(DDUSER) + strlen(client->username) +
-+ strlen(DDPATH) + 2 >= 256)
-+ return ( -1 );
- sprintf(dichome, "%s/%s:%s",
- DDUSER, client->username,
- DDPATH);
diff --git a/japanese/Canna/files/patch-ak b/japanese/Canna/files/patch-ak
deleted file mode 100644
index 752be56506e3..000000000000
--- a/japanese/Canna/files/patch-ak
+++ /dev/null
@@ -1,22 +0,0 @@
---- dic/ideo/pubdic/k.p.orig Fri Jan 11 10:20:14 2002
-+++ dic/ideo/pubdic/k.p Fri Jan 11 10:31:53 2002
-@@ -7801,7 +7801,7 @@
- こつ コツ #T35 2
- こつこつ こつこつ #F14 2
- こつこつ コツコツ #F14 2
--こつずい 骨随 #T35 0
-+こつずい 骨髄 #T35 0
- こつつぼ 骨壷 #T35 0
- こつにく 骨肉 #T35 0
- こつばん 骨盤 #T35 0
---- dic/ideo/pubdic/a.p.orig Sat Jan 12 11:46:46 2002
-+++ dic/ideo/pubdic/a.p Sat Jan 12 11:49:07 2002
-@@ -3705,7 +3705,7 @@
- えんじん エンジン #T35 28
- えんすい 円錐 #T35 1
- えんすいだい 円錐台 #T35 2
--えんずい 延随 #T35 0
-+えんずい 延髄 #T35 0
- えんせい 厭世 #T30 0
- えんせい 遠征 #T30 1
- えんせき 宴席 #T35 0
diff --git a/japanese/Canna/files/patch-bzero b/japanese/Canna/files/patch-bzero
deleted file mode 100644
index 7a86d56cf123..000000000000
--- a/japanese/Canna/files/patch-bzero
+++ /dev/null
@@ -1,56 +0,0 @@
---- ccustom/canna.h.orig Thu Nov 7 10:21:45 1996
-+++ ccustom/canna.h Tue Apr 2 00:09:52 2002
-@@ -46,4 +46,6 @@
- # endif
-+# if 0
- # define bzero(buf, size) memset((char *)(buf), 0x00, (size))
- # define bcopy(src, dst, size) memcpy((char *)(dst), (char *)(src), (size))
-+# endif
- #endif
---- lib/RK/RKintern.h.orig Tue Apr 2 00:03:01 2002
-+++ lib/RK/RKintern.h Tue Apr 2 00:10:41 2002
-@@ -107,4 +107,6 @@
- # ifndef __EMX__
-+# if 0
- # define bzero(buf, size) memset((char *)(buf), 0x00, (size))
- # define bcopy(src, dst, size) memcpy((char *)(dst), (char *)(src), (size))
-+# endif
- # endif
---- lib/RK/ngram.c.orig Tue Apr 2 00:03:01 2002
-+++ lib/RK/ngram.c Tue Apr 2 00:11:03 2002
-@@ -48,4 +48,6 @@
- # endif
-+# if 0
- # define bzero(buf, size) memset((char *)(buf), 0x00, (size))
- # define bcopy(src, dst, size) memcpy((char *)(dst), (char *)(src), (size))
-+# endif
- #endif
---- lib/RKC/rkc.h.orig Wed Nov 27 16:21:35 1996
-+++ lib/RKC/rkc.h Tue Apr 2 00:11:35 2002
-@@ -48,2 +48,3 @@
- # ifndef __EMX__
-+# if 0
- # ifndef bzero
-@@ -53,2 +54,3 @@
- # define bcopy(src, dst, size) memcpy((char *)(dst), (char *)(src), (size))
-+# endif
- # endif
---- lib/canna/canna.h.orig Mon Dec 2 11:20:15 1996
-+++ lib/canna/canna.h Tue Apr 2 00:11:58 2002
-@@ -112,4 +112,6 @@
- # ifndef __EMX__
-+# if 0
- # define bzero(buf, size) memset((char *)(buf), 0x00, (size))
- # define bcopy(src, dst, size) memcpy((char *)(dst), (char *)(src), (size))
-+# endif
- # endif
---- server/IR.h.orig Wed Nov 27 16:24:56 1996
-+++ server/IR.h Tue Apr 2 00:12:30 2002
-@@ -34,2 +34,3 @@
- # ifndef __EMX__
-+# if 0
- # ifndef bcopy
-@@ -39,2 +40,3 @@
- # define bzero(buf, size) memset((char *)(buf), 0x00, (size))
-+# endif
- # endif