Commit graph

26 commits

Author SHA1 Message Date
Tijl Coosemans
ec308f87c7 For both japanese/FreeWnn-lib and japanese/FreeWnn-server:
- Delete files/patch-configure: This patch is non-functional because
  configure is regenerated by USE_AUTOTOOLS=autoconf.
- Replace files/patch-aclocal.m4 with USE_AUTOTOOLS=aclocal.
- Replace files/patch-config.h.in with USE_AUTOTOOLS=autoheader.
- Replace files/patch-ltmain.sh with USE_AUTOTOOLS=libtoolize.
- Replace USE_AUTOTOOLS=libtool with USES=libtool.
- Remove indefinite article from COMMENT.

Approved by:	hrs (maintainer)
2014-03-02 18:01:04 +00:00
Hiroki Sato
4b38031b7f - Improve buffer management. This change should fix issues on amd64.
- Fix daemonizing part.  It now returns the exit status correctly.
- Fix *_{pre,post}cmd handling in the rc.d scripts.  Plus,
  wnntouch is now invoked just before running the server process.
- Use ${*_WNNMANDIR} in Makefile to use the common patchset
  in both FreeWnn-server and -lib.
- Integrate libtool22 change and regenerate patch files.
2010-01-02 14:47:20 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Hiroki Sato
36ede78e2d - Use RFC 2553 API for AF_INET[46] socket handling.
- Fix several potential buffer overflows.
- Add missing "listenaddr ::1" to cserverc.
- Add WITHOUT_INET6 handling.
2009-01-02 23:08:15 +00:00
Hiroki Sato
e85df6113a - Enable IPv6 support.
- Add multiple "listenaddr" support.  The jserverrc now
  understands the following statements:

   listenaddr 127.0.0.1
   listenaddr ::1

  The option "-a <listenaddr>" can also be specified more than
  once.  Currently the maximum number of listen addresses is 256.

- SIGINT is no longer hooked when the -D (not daemonize,
  primarily for debugging) flag is specified.

- Add --unix, long opt counterpart of -u.
2009-01-02 11:49:48 +00:00
Hiroki Sato
dac2da7f40 - Add "listenaddr 127.0.0.1" to {c|t|k}serverc.
- Update startup scripts.
- Simplify the pkg-install script.
2008-11-01 14:45:16 +00:00
Hiroki Sato
b638279af6 - Add "-a ADDR" option to jserver and "listenaddr" directive to
jserverrc.  This specifies listen address of the INET socket.
  Note that the default value is set as 127.0.0.1.  If you need
  the old behavior (listen INADDR_ANY), use "-a 0.0.0.0" in
  $wnn_flags or modify jserverrc.
- Fix a buffer overflow when very long file name is specified in
  the -f option.
- Fix a typo in CONFIGURE_ARGS and COMMENT.
- Rename a patch file (patch-Wnn-jd-serverdef).
2008-10-30 07:43:17 +00:00
Hiroki Sato
ed4de7cae6 - Style clean-ups.
- Separate */FreeWnn-server and */FreeWnn-lib.
- Take maintainership.
2008-10-26 19:17:56 +00:00
Hiroki Sato
6f464fd3b9 Fix typos which cause installation failure of twnn.sh. 2005-12-11 19:45:19 +00:00
Hiroki Sato
fcd17611d6 - Update to 1.1.1-a021.
- Use rc.subr(8) for startup scripts.
- Remove unnecessary patch files.
2005-12-07 10:46:20 +00:00
Satoshi Taoka
e57181089e Change a default server from "jserver" to "localhost"
Submitted by: mita
2003-06-02 01:14:45 +00:00
Satoshi Taoka
31407c37c9 Update to 1.1.1-a018
All removed patch files was imported into FreeWnn
2001-08-08 00:38:01 +00:00
Satoshi Taoka
709d4b5f38 (1) {chinese,korean,japanese}/Wnn (Wnn 4.2) was updated as follows:
(a) Its name was changed from Wnn to FreeWnn because Wnn6 which is a
      commercial software exits
  (b) Its license was changed to GPL.
  (c) The method to configure was changed from imake to GNU configure.
  (d) Relatively to the original Wnn, the Wnn in the ports tree were
      modified by me a lot. Most of the modifications were adopted
      into FreeWnn.
  (c) Header and library files are installed into
      ${LOCALBASE}/{lib,include} instead of ${X11BASE}/{lib,include}.

(2) FreeWnn is divided into two ports FreeWnn-lib and FreeWnn-server
in chinese, korean and japanese categories. The former is for libwnn
and header files to compile client commands, and the files used in
client commands.  The latter is for a server to convert KANA to KANJI
(Chinese character), and dictionaries and files used by the server.

Notice: I forgot to commit FreeWnn-{lib,server} (^_^;;
2000-09-12 17:08:29 +00:00
Satoshi Asami
b578202a58 Fix another remote buffer overflow.
Obtained from:	Bugtraq-JP (SPS Advisory #34)
Submitted by:	kuriyama
2000-03-12 07:21:27 +00:00
Jun Kuriyama
15c668c8e0 Fix buffer overflows.
Reported by:	UNYUN@ShadowPenguinSecurity
Obtained from:	wnn-users ML
Suggested by:	kjm@rins.ryukoku.ac.jp
Approved by:	maintainer
2000-03-09 12:37:55 +00:00
Satoshi Taoka
08984a68ae To compile on FreeBSD/alpha
Noticed by:	simokawa@FreeBSD.org
1999-04-13 13:17:12 +00:00
Jun Kuriyama
94899da1d7 Remove $Id$ from patch-*. 1999-02-11 07:55:17 +00:00
Jun Kuriyama
b300811eaf Add dictionaries and some fixes.
PR:		ports/9625
Submitted by:	Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
1999-02-10 14:32:00 +00:00
Satoshi Asami
4bc273eb21 Fix many bugs. Share files that can be shared.
PR:		4409
Submitted by:	Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
1997-09-10 06:52:02 +00:00
Satoshi Asami
cd91ecec6f Don't free() the same region twice.
Submitted by:	Naoki Hamada <nao@sbl.cl.nec.co.jp>
1997-02-28 09:25:43 +00:00
Satoshi Asami
5a9ab9d3c2 Make sure fd 2 won't be pointing to the dictionary file, so that
pkhmalloc()'s error messages don't end up there.

Submitted by:	Naoki Hamada <nao@sbl.cl.nec.co.jp>
1997-02-28 09:24:51 +00:00
Satoshi Asami
9718d835aa Misc. bugfix and cleanup.
Submitted by:	Hidekazu Kuroki <hidekazu@cs.titech.ac.jp>
1996-08-22 10:41:46 +00:00
Satoshi Asami
46eb3ee8b0 Fix to recognize tty names over `f' (e.g., ttyph). 1996-04-23 07:39:41 +00:00
Satoshi Asami
bede7d81a2 Fix to make it work for local Unix domain sockets (no JSERVER env variable
set, for example).
1995-03-04 00:49:17 +00:00
Satoshi Asami
59d082981f Update to make jserver work. Needed to "wnntouch" dictionary files
here and there.
1994-11-25 18:21:00 +00:00
Satoshi Asami
ee16c53194 Japanese/Chinese/Korean input method (only Japanese part built and
tested---someone else please try other languages!)
1994-11-22 23:37:45 +00:00