Commit graph

18 commits

Author SHA1 Message Date
Hiroki Sato
fa9f1ef648 Use $USERS instead of pkg-install for adding wnn user.
Submitted by:	Chris Rees (utisoft@gmail.com)
PR:		ports/157579
2011-06-11 06:07:08 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +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
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
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 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
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
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