diff options
author | max <max@FreeBSD.org> | 2001-11-18 12:48:55 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 2001-11-18 12:48:55 +0800 |
commit | 0e987085e6c714440a94c3302cb9af71bd32ed85 (patch) | |
tree | b3036af42ae6f3c4a6dc22775c6f3885cc34c30c /japanese/canna-server/files | |
parent | a477d422519a918885fd456288d61e29b8e28f52 (diff) | |
download | freebsd-ports-gnome-0e987085e6c714440a94c3302cb9af71bd32ed85.tar.gz freebsd-ports-gnome-0e987085e6c714440a94c3302cb9af71bd32ed85.tar.zst freebsd-ports-gnome-0e987085e6c714440a94c3302cb9af71bd32ed85.zip |
Upgrade to 3.5b2.
This upgrade is based on submissions from several people over years.
I have been reluctant to upgrade this port primarily because
I was never sure about the shared lib compatibility.
Thanks to those who submitted the patch as well as tested the new version.
Diffstat (limited to 'japanese/canna-server/files')
-rw-r--r-- | japanese/canna-server/files/patch-aa | 67 | ||||
-rw-r--r-- | japanese/canna-server/files/patch-ab | 19 | ||||
-rw-r--r-- | japanese/canna-server/files/patch-ac | 51 | ||||
-rw-r--r-- | japanese/canna-server/files/patch-ad | 160 | ||||
-rw-r--r-- | japanese/canna-server/files/patch-ae | 12 | ||||
-rw-r--r-- | japanese/canna-server/files/patch-af | 22 | ||||
-rw-r--r-- | japanese/canna-server/files/patch-ag | 18 |
7 files changed, 28 insertions, 321 deletions
diff --git a/japanese/canna-server/files/patch-aa b/japanese/canna-server/files/patch-aa deleted file mode 100644 index d649f0f8b812..000000000000 --- a/japanese/canna-server/files/patch-aa +++ /dev/null @@ -1,67 +0,0 @@ -*** canna/protodefs.h.orig Wed Mar 9 16:01:53 1994 ---- canna/protodefs.h Sun Aug 11 06:54:35 1996 -*************** -*** 77,82 **** ---- 77,83 ---- - #define I16toI32(x) (x) - #define I8toI32(x) (((x) & 0x80) ? ((x) | 0xffffff80) : (x)) - -+ #if 0 - #ifdef HTONS /* hir, 1993.1.2 */ - #undef HTONS - #endif -*************** -*** 85,90 **** ---- 86,92 ---- - work = htons( (len) ) ; \ - bcopy( (char *)&work, (char *)(data), sizeof( short ) ) ; \ - } -+ #endif - - #ifndef MIN - #define MIN( n, m ) ( ((unsigned)(n) > (unsigned)(m)) ? (m) : (n) ) -*** canna/widedef.h.orig Mon Jul 5 20:11:01 1993 ---- canna/widedef.h Sun Aug 11 06:54:35 1996 -*************** -*** 27,32 **** ---- 27,36 ---- - #ifndef _WIDEDEF_H_ - #define _WIDEDEF_H_ - -+ #if defined(__FreeBSD__) || defined(__NetBSD__) -+ # include <machine/ansi.h> -+ #endif -+ - #if __STDC__ || defined(SVR4) || defined(sun) /* This may be wrong. */ - # if !defined(WCHAR16) && !defined(CANNA_WCHAR) - # define HAVE_WCHAR_OPERATION -*************** -*** 40,45 **** ---- 44,61 ---- - #endif - #endif /* HAVE_WCHAR_OPERATION */ - -+ #if defined(__FreeBSD__) || defined(__NetBSD__) -+ # ifdef _BSD_WCHAR_T_ -+ # undef _BSD_WCHAR_T_ -+ # ifdef WCHAR16 -+ # define _BSD_WCHAR_T_ unsigned short -+ # else -+ # define _BSD_WCHAR_T_ unsigned long -+ # endif -+ # include <stddef.h> -+ # define _WCHAR_T -+ # endif -+ #else - #if !defined(WCHAR_T) && !defined(_WCHAR_T) && !defined(_WCHAR_T_) \ - && !defined(__WCHAR_T) && !defined(_GCC_WCHAR_T) - # ifdef WCHAR16 -*************** -*** 54,58 **** ---- 70,75 ---- - # define __WCHAR_T - # define _GCC_WCHAR_T - #endif -+ #endif /* __FreeBSD__ || __NetBSD__ */ - - #endif /* _WIDEDEF_H_ */ diff --git a/japanese/canna-server/files/patch-ab b/japanese/canna-server/files/patch-ab deleted file mode 100644 index 9a734c3b8142..000000000000 --- a/japanese/canna-server/files/patch-ab +++ /dev/null @@ -1,19 +0,0 @@ -*** misc/Imakefile.orig Fri Jan 28 14:36:42 1994 ---- misc/Imakefile Sun Aug 11 09:02:42 1996 -*************** -*** 37,43 **** - #endif /* nec_ews_svr4 */ - - InstallNamedNonExec(default.ca,default.canna,$(cannaLibDir)) -! InstallNamedNonExec(Readme,Readme,$(LockDir)) - InstallNonExec(is.c,$(cannaLibDir)/sample/src) - InstallNonExec(premountdics,$(DicDir)) - ---- 37,43 ---- - #endif /* nec_ews_svr4 */ - - InstallNamedNonExec(default.ca,default.canna,$(cannaLibDir)) -! /* InstallNamedNonExec(Readme,Readme,$(LockDir)) */ - InstallNonExec(is.c,$(cannaLibDir)/sample/src) - InstallNonExec(premountdics,$(DicDir)) - diff --git a/japanese/canna-server/files/patch-ac b/japanese/canna-server/files/patch-ac index 07d73f0cf670..f16c082cb612 100644 --- a/japanese/canna-server/files/patch-ac +++ b/japanese/canna-server/files/patch-ac @@ -1,7 +1,7 @@ ---- Canna.conf.orig Wed Apr 12 22:15:03 1995 -+++ Canna.conf Fri Oct 17 23:05:25 1997 -@@ -114,15 +114,15 @@ - * $Id: Canna.conf,v 2.10.1.2 1995/04/12 13:15:03 misao Exp $ +--- Canna.conf.orig Thu Nov 28 04:27:01 1996 ++++ Canna.conf Wed Nov 14 18:14:10 2001 +@@ -128,14 +128,15 @@ + * $Id: Canna.conf,v 3.13 1996/11/28 10:27:01 kon Exp $ */ -cannaBinDir = /usr/local/canna/bin @@ -10,6 +10,7 @@ -cannaManDir = /usr/local/canna/man -cannaIncDir = /usr/local/canna/include/canna -libCannaDir = /usr/lib ++PREFIX?= /usr/local +cannaBinDir = ${PREFIX}/bin +cannaSrvDir = ${PREFIX}/sbin +cannaLibDir = ${PREFIX}/lib/canna @@ -18,22 +19,20 @@ +libCannaDir = ${PREFIX}/lib -ErrDir = /usr/spool/canna --LockDir = /usr/spool/canna/lock +ErrDir = /var/log -+LockDir = /var/run/canna wcharDefinition = -DCANNA_WCHAR Wlib = -@@ -135,7 +135,7 @@ +@@ -148,7 +149,7 @@ pointerIntegerDef = -cannaDsoRev = 1 +cannaDsoRev = 1.0 - sharedLibExtension = so.$(cannaDsoRev) - - /* 以下の3つは root にならないでインストールするのであれば echo に -@@ -145,7 +145,7 @@ + /* SunOS 4.x をお使いの方で shared object を利用する場合には + cannaDsoRev = 1.1 + と指定してください。また、FreeBSD を利用する場合は、 +@@ -167,7 +168,7 @@ CHMOD = chmod /* 日本語マニュアルを使わないのであればコメントアウト */ @@ -42,33 +41,3 @@ /* locale ディレクトリを持っている場合は以下を記述する */ /* #define LOCALE_DIR /usr/lib/locale */ -@@ -178,7 +178,7 @@ - #define UseInstalledLibCanna NO - - DicDir = $(cannaLibDir)/dic --LockFile = .CANNALOCK -+LockFile = Canna.pid - - #ifdef NeXT - #define NO_X_ENV -@@ -311,13 +311,13 @@ - #endif - #define InstallLibManPageAliases(file,destdir,aliases) @@\ - install.man:: @@\ -- @(TMP=/tmp/tmp.$$$$; \ @@\ -- $(RM) $${TMP}; \ @@\ -- echo .so `basename destdir/man$(LIBMANSUFFIX)`/file.$(LIBMANSUFFIX) > $${TMP}; \ @@\ -- for i in aliases; do (set -x; \ @@\ -- $(INSTALL) -c $(INSTMANFLAGS) $${TMP} $(DESTDIR)destdir/man$(LIBMANSUFFIX)/$$i.$(LIBMANSUFFIX)); \ @@\ -- done; \ @@\ -- $(RM) $${TMP}) -+ @(TMP=/tmp/tmp.$$$$; \ @@\ -+ $(RM) $${TMP}; \ @@\ -+ echo .so `basename destdir/man$(LIBMANSUFFIX)`/file.$(LIBMANSUFFIX) > $${TMP}; \ @@\ -+ for i in aliases; do (set -x; \ @@\ -+ $(INSTALL) -c $(INSTMANFLAGS) $${TMP} $(DESTDIR)destdir/man$(LIBMANSUFFIX)/$$i.$(LIBMANSUFFIX)); \ @@\ -+ done; \ @@\ -+ $(RM) $${TMP}) - #ifndef MakeDirectoriesLong - #define MakeDirectoriesLong(step,dirs,owner,group) @@\ - step:: @@\ diff --git a/japanese/canna-server/files/patch-ad b/japanese/canna-server/files/patch-ad deleted file mode 100644 index 8e1aca7e0f46..000000000000 --- a/japanese/canna-server/files/patch-ad +++ /dev/null @@ -1,160 +0,0 @@ -diff -cr cmd/cannakill/cannakill.man cmd/cannakill/cannakill.man -*** cmd/cannakill/cannakill.man Thu Jan 27 19:45:37 1994 ---- cmd/cannakill/cannakill.man Thu Sep 19 18:31:07 1996 -*************** -*** 18,24 **** - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! - .\" $Id: cannakill.man,v 1.5 1994/01/27 10:45:37 misao Exp $ - .TH CANNAKILL 1M - .SH "NAME" ---- 18,24 ---- - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! .\" - .\" $Id: cannakill.man,v 1.5 1994/01/27 10:45:37 misao Exp $ - .TH CANNAKILL 1M - .SH "NAME" -diff -cr cmd/catdic/addwords.man cmd/catdic/addwords.man -*** cmd/catdic/addwords.man Mon May 16 19:12:49 1994 ---- cmd/catdic/addwords.man Thu Sep 19 18:31:11 1996 -*************** -*** 18,24 **** - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! - .\" $Id: addwords.man,v 1.4 1994/05/16 10:12:49 hamada Exp $ - .TH ADDWORDS 1 - .SH "NAME" ---- 18,24 ---- - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! .\" - .\" $Id: addwords.man,v 1.4 1994/05/16 10:12:49 hamada Exp $ - .TH ADDWORDS 1 - .SH "NAME" -diff -cr cmd/catdic/catdic.man cmd/catdic/catdic.man -*** cmd/catdic/catdic.man Thu Jan 27 19:46:29 1994 ---- cmd/catdic/catdic.man Thu Sep 19 18:31:49 1996 -*************** -*** 18,24 **** - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! - .\" $Id: catdic.man,v 1.2 1994/01/27 10:46:29 misao Exp $ - .TH CATDIC 1 - .SH "NAME" ---- 18,24 ---- - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! .\" - .\" $Id: catdic.man,v 1.2 1994/01/27 10:46:29 misao Exp $ - .TH CATDIC 1 - .SH "NAME" -diff -cr cmd/catdic/cpdic.man cmd/catdic/cpdic.man -*** cmd/catdic/cpdic.man Thu Jan 27 19:46:34 1994 ---- cmd/catdic/cpdic.man Thu Sep 19 18:31:42 1996 -*************** -*** 18,24 **** - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! - .\" $Id: cpdic.man,v 1.2 1994/01/27 10:46:34 misao Exp $ - .TH CPDIC 1 - .SH "NAME" ---- 18,24 ---- - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! .\" - .\" $Id: cpdic.man,v 1.2 1994/01/27 10:46:34 misao Exp $ - .TH CPDIC 1 - .SH "NAME" -diff -cr cmd/catdic/delwords.man cmd/catdic/delwords.man -*** cmd/catdic/delwords.man Thu Oct 6 17:52:32 1994 ---- cmd/catdic/delwords.man Thu Sep 19 18:31:26 1996 -*************** -*** 18,24 **** - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! - .\" $Id: delwords.man,v 1.4 1994/10/06 08:52:32 misao Exp $ - .TH DELWORDS 1 - .SH "NAME" ---- 18,24 ---- - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! .\" - .\" $Id: delwords.man,v 1.4 1994/10/06 08:52:32 misao Exp $ - .TH DELWORDS 1 - .SH "NAME" -diff -cr cmd/catdic/lsdic.man cmd/catdic/lsdic.man -*** cmd/catdic/lsdic.man Thu Jan 27 19:46:45 1994 ---- cmd/catdic/lsdic.man Thu Sep 19 18:32:07 1996 -*************** -*** 18,24 **** - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! - .\" $Id: lsdic.man,v 1.2 1994/01/27 10:46:45 misao Exp $ - .TH LSDIC 1 - .SH "NAME" ---- 18,24 ---- - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! .\" - .\" $Id: lsdic.man,v 1.2 1994/01/27 10:46:45 misao Exp $ - .TH LSDIC 1 - .SH "NAME" -diff -cr cmd/catdic/mkdic.man cmd/catdic/mkdic.man -*** cmd/catdic/mkdic.man Thu Jan 27 19:46:50 1994 ---- cmd/catdic/mkdic.man Thu Sep 19 18:31:56 1996 -*************** -*** 18,24 **** - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! - .\" $Id: mkdic.man,v 1.2 1994/01/27 10:46:50 misao Exp $ - .TH MKDIC 1 - .SH "NAME" ---- 18,24 ---- - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! .\" - .\" $Id: mkdic.man,v 1.2 1994/01/27 10:46:50 misao Exp $ - .TH MKDIC 1 - .SH "NAME" -diff -cr cmd/catdic/mvdic.man cmd/catdic/mvdic.man -*** cmd/catdic/mvdic.man Thu Jan 27 19:46:54 1994 ---- cmd/catdic/mvdic.man Thu Sep 19 18:31:34 1996 -*************** -*** 18,24 **** - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! - .\" $Id: mvdic.man,v 1.2 1994/01/27 10:46:54 misao Exp $ - .TH MVDIC 1 - .SH "NAME" ---- 18,24 ---- - .\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - .\" OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - .\" PERFORMANCE OF THIS SOFTWARE. -! .\" - .\" $Id: mvdic.man,v 1.2 1994/01/27 10:46:54 misao Exp $ - .TH MVDIC 1 - .SH "NAME" diff --git a/japanese/canna-server/files/patch-ae b/japanese/canna-server/files/patch-ae deleted file mode 100644 index eebf300dd058..000000000000 --- a/japanese/canna-server/files/patch-ae +++ /dev/null @@ -1,12 +0,0 @@ ---- ./dic/ideo/user/Imakefile.org Sat Feb 5 05:21:06 1994 -+++ ./dic/ideo/user/Imakefile Wed Jun 11 04:46:51 1997 -@@ -10,8 +10,8 @@ - DICS = chimei.t dics.dir katakana.t necgaiji.t \ - software.t user.t - --all: -+all:: - - MakeDirectories(install,$(USERDICDIR)) - - install:: diff --git a/japanese/canna-server/files/patch-af b/japanese/canna-server/files/patch-af deleted file mode 100644 index 48328fc6e459..000000000000 --- a/japanese/canna-server/files/patch-af +++ /dev/null @@ -1,22 +0,0 @@ ---- server/misc.c~ Fri Jul 29 12:03:54 1994 -+++ server/misc.c Fri Jun 30 10:16:39 2000 -@@ -788,12 +788,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-server/files/patch-ag b/japanese/canna-server/files/patch-ag new file mode 100644 index 000000000000..307d095222d5 --- /dev/null +++ b/japanese/canna-server/files/patch-ag @@ -0,0 +1,18 @@ +--- cmd/catdic/Imakefile.orig Mon Oct 29 01:41:09 2001 ++++ cmd/catdic/Imakefile Mon Oct 29 01:42:13 2001 +@@ -84,7 +84,7 @@ + $(RM) $(cannaBinDir)/chmoddic + $(RM) $(cannaBinDir)/addwords + $(RM) $(cannaBinDir)/delwords +- $(RM) $(cannaBinDir)/cannakill ++ $(RM) $(cannaSrvDir)/cannakill + $(LN) $(cannaBinDir)/catdic $(cannaBinDir)/cpdic + $(LN) $(cannaBinDir)/catdic $(cannaBinDir)/lsdic + $(LN) $(cannaBinDir)/catdic $(cannaBinDir)/mkdic +@@ -93,5 +93,5 @@ + $(LN) $(cannaBinDir)/catdic $(cannaBinDir)/syncdic + $(LN) $(cannaBinDir)/catdic $(cannaBinDir)/addwords + $(LN) $(cannaBinDir)/catdic $(cannaBinDir)/delwords +- $(LN) $(cannaBinDir)/catdic $(cannaBinDir)/cannakill ++ $(LN) $(cannaBinDir)/catdic $(cannaSrvDir)/cannakill + #endif |