* Wed Aug 07 2013 bkbin005@rinku.zaq.ne.jp
- The uum can use UNIX 98 pseudoterminal now . (bnc#830533)
https://bugzilla.novell.com/show_bug.cgi?id=830533
- The kuum is packaged in fkwnn .
- The cuum is packaged in fcwnncom .
- The [jctk]server s were linked -lwrap .
Then we can use /etc/hosts.allow /etc/hosts.deny .
- This release need not link to -ltermcap, but use ncurses,
then fwnn.spec was changed .
- FreeWnn-trad_cpp.patch:
Makefile.in s were changed formats, then remade the patch .
- FreeWnn-prototypes.patch:
Already, many functions were added prototype decraretion
in the tarball, then remade this patch .
- FreeWnn-returnvalue.diff:
Already, the tarball's source was fixed about return value .
Then this patch was removed .
- FreeWnn-include.patch:
Many sources already included proper header files .
Then this patch was remade .
- Freewnn-1.1.1-a21.dif was deleted,
but Freewnn-1.1.1-a22.dif was added:
In Wnn/include/jllib.h, many functions were added
prototype decraretion in the tarball,
then they need not to declare in the patch .
In Wnn/jlib/jlib.c, wrong cast changed .
- FreeWnn-uum.patch, fwnn.spec:
Now, FreeWnn need not to use -ltermcap,
but need to use -lncursess, then this patch was deleted .
And "BuildRequires:" was changed from termcap to ncurses
in fwnn.spec .
- FreeWnn-ja.patch:
FreeWnn-1.1.1-a017/Xsi/Wnn/uum/header.c was changed , then remade it .
- Fwnn-fsstnd-patch:
Changed makerule.mk.in format, then remade it .
- FreeWnn 1.1.1-a-22 released .
* Removed strange word (pronounces as 'Hirokazu', transfers to
'Kobayashi'). Spotted by some poster of FreeWnn thread in
2ch.net
(http://toro.2ch.net/test/read.cgi/unix/1084551838/458)
* uum failed to start on traditional systems because opening
tty fails. Fixed open_pty_traditional()
to set tty_slave correctly.
* Improve libutil detection. Systems that have both ptsname() and
openpty() does not need libutil, this change (probably)
covers these systems. ([freewnn-users 133]).
http://sourceforge.jp/projects/freewnn/lists/archive/users/2013-August/000132.html
* libutil is (may be) used only in uum, so separate this library
(if exists) from normal LIBS.
Patch by 1xx (itsango at gmail.com) ([freewnn-users 126])
http://sourceforge.jp/projects/freewnn/lists/archive/users/2013-July/000125.html
.
* Pass CPPFLAGS and LDFLAGS on configure / make.
Original suggestion by Hideki Yamane, but arranged a bit.
* Wnn/uum/inspect.c:
Fix typo in comment.
* Wnn/: jutil/wddel.c, jutil/wdreg.c, uum/inspect.c,
uum/select_ele.c:
* Quick fix for warning about format-security by gcc.
Based on patch by Hideki Yamane and Makoto Fujiwara
([Freewnn-users 102]).
http://sourceforge.jp/projects/freewnn/lists/archive/users/2012-May/000101.html
Replacing from sprintf() to snprintf() or strncat()
would be better.
* (Wnn/jutil/wddel.c) Change (fix?) type of Com[] to w_char
in code for 'wddel -C' mode. I think I'm doing right,
but not tested.
* Strip old mail address (as usual).
* configure, configure.in, Wnn/jutil/Makefile.in,
Wnn/uum/Makefile.in, cWnn/jutil/Makefile.in,
cWnn/uum/Makefile.in, kWnn/jutil/Makefile.in,
kWnn/uum/Makefile.in:
Fix to work --with-*wnn-includes .
Same as --with-*wnn-libraries , these are enabled
on *Wnn/jutil and *Wnn/uum only.
* Fix to work as expected in case --without-lib*wnn is explicitly
specified.
* Wnn/jserver/renbn_kai.c:
* Explicitly add cast to pointer in tan_syo().
It helps compilers to guess argument type of sbn_kai(),
and fix other jserver crash bug on Linux/amd64 .
* Wnn/jserver/de_header.h:
Added prototype declaration of functions in bnsetu_kai.c
(for safety) .
* configure, configure.in:
We cannot build Xwnmo for now, so we (temporally) disabled
AC_PATH_X .
Probably workaround for systems with modern install layout
of X11.
* Wnn/jserver/de_header.h:
Fix return type mismatch of kanjiaddr()
prototype declaration .
Spotted on
http://twitter.com/pachira23/status/8875168688513024 ,
and reported to freewnn-users by Hideki Yamane. Original
reporter saids it also fixes crash bug of jserver when client
register new word to dictionary.
* Add prototype declaration of functions in bdic.c (and some
source files).
* Wnn/jutil/ujisf.c:
Added prototype declaration of kanjiaddr() and Print_entry() .
* INSTALL, configure, configure.in, makerule.mk.in,
Wnn/jserver/Makefile.in, Wnn/jutil/Makefile.in,
Wnn/man/4.cmd/Makefile.in, Wnn/man/6.jutil/Makefile.in,
Wnn/uum/Makefile.in, cWnn/jserver/Makefile.in,
cWnn/jutil/Makefile.in, cWnn/man/4.cmd/Makefile.in,
cWnn/man/6.jutil/Makefile.in, cWnn/uum/Makefile.in,
kWnn/jserver/Makefile.in, kWnn/jutil/Makefile.in,
kWnn/uum/Makefile.in:
Added (first step of) support for new installation path
layout .
Maybe useful for package managers .
* Makefile.in:
Remove rules that exist on makerule.mk. make install
(for example) runs two times faster :-p
* configure, configure.in, makerule.mk.in,
Wnn/pubdicplus/Makefile.in, cWnn/cdic/Makefile.in,
cWnn/tdic/Makefile.in, kWnn/kdic/Makefile.in:
Recent cpp of gcc (at least 4.4) splits line that has many
characters per line (in C language manner). This is problem
on *.fzk (pubdic etc.) file processing. So adds
- traditional-cpp parameter to cpp
(at least gcc-2.95 passes this parameter).
Simply adding it to CPPFLAGS may break other build,
so split FZK_PP (cpp for text processing) from normal CPP .
Spotted by some posters of FreeWnn thread in 2ch.net .
(Other changes)
* Use AC_SEARCH_LIBS for libnsl checking
(Linux (for example) does not need it) .
* Modified to build correctly if builddir != srcdir (as usual).
* Wnn/: man/2.env/wnn/2b_romkan.man, manual/2.env/wnn/2b_romkana:
* Change '\' to '\e' to correctly format backslash
in man file .
(Also change formatted text file.)
It should reduce Debian lintian warning .
* Added .nf / .fi to pre-formatted table.
* Wnn/uum/setutmp.c:
* Stop checking return value of pututline()
because many systems does not have return value
of this function.
* Change handling of ut_err to work correctly
(especially on systems that have utmp (pututline())
without utmpx) .
* aclocal.m4, config.guess, config.sub, configure, ltmain.sh:
Update libtool to 1.5.26
(last release of 1.5 series - bit old).
* (jhlp.c) Check owner / permission of ttyp (tty_slave / ttypfd)
on open_ttyp(). If check (and chown/chmod) fails,
uum warns it may be insecure (ttyp readable)
from other local users.
(Probably you need proper privileges to uum
(ex. setuid-root) . )
* (jhlp.c) Verbose error message on restoring owner
/ permission of tty_master and ttyp in do_end() .
* (sheader.h) Added Prototype of openTermData() / getTermData() .
* Wnn/jlib/Makefile.in, Wnn/jlib.V3/Makefile.in,
cWnn/jlib/Makefile.in, kWnn/jlib/Makefile.in:
* Tell Libtool to use external libraries needed for libwnn (and
lib[ck]wnn). (ex. libcrypt, libnsl)
You don't need detection of these libraries to use libwnn
itself in configure (I hope).
* Use LT_LD to link libraries.
* (*Wnn/jlib/Makefile.in) Remove definition of LT_{CC,INSTALL}
because we already defined in makerule.mk .
* (Wnn/jlib.V3/Makefile.in) Make use of LT_{CC,INSTALL}
in makerule.mk to reduce libtool warning .
* (Wnn/jlib.V3/Makefile.in) My usual work to build correctly
if builddir != srcdir .
* Wnn/include/: jllib.h, jslib.h:
* Added prototype (and simple macro (FRWNN_PARAMS) around the
parameters for good-old C compilers) or jslib.h / jllib.h .
Parameters are came from js.c / jl.c .
* Added extern "C" { ... } for C++ clients.
* cWnn/man/2.env/ckey.man:
* Added .nf / .fi to pre-formatted table.
* INSTALL, INSTALL.en, configure, configure.in, makerule.mk.in,
Wnn/uum/Makefile.in, cWnn/uum/Makefile.in,
kWnn/uum/Makefile.in:
* Added detection code if your system need to install uum as
set-[ug]id program on configure time.
Recent systems may install uum as normal program
(to reduce security risk) .
You can also specify
- -enable-client-setuid / --enable-client-setgid=group
(group must be specified) to control set-[ug]id of uum .
(NOTE: SUSE/openSUSE are using --disable-client-setuid
and --disable-client-setgid . )
* Added uum-related option to INSTALL* file .
* Use modern style AC_INIT. (added pseudo(?) version number and
contact address. comments are welcome.)
* Wnn/uum/epilogue.c:
epilogue_no_close(): Replaced to HAVE_TERMINFO
(maybe it's right) .
* config.h.in, configure, configure.in, Wnn/uum/jhlp.c:
Use posix_openpt() (if it and ptsname() exists)
when opening tty .
Traditional pts system (that doesn't have posix_openpt())
fallback to dummy function opening /dev/ptmx directly.
Getting tty without setting setuid root works in non-pts
systems that have posix-compatible pty functions
(ex. recent FreeBSD) . (bnc#830533)
* Other changes to configure.in:
Commented out useless AC_DEFINE in term library detection
part .
* jhlp.c:
* Mask IEXTEN in j_term_init().
* Use tty_master for systems that has /dev/ptmx and not have
ptsname(). (ex. old Debian (2.1 or so))
* Added comment.
* termio.c:
* Use tparm() as macro for fixed parameter system (ex. SVR4) .
* Wnn/uum/jhlp.c:
More use of USE_LINUX_TERM in exec_cmd()
(as of original canuum patch) .
And window size setting code moved from Linux specific
to generic .
* config.h.in, configure, configure.in:
Added configure test for setsid(). (I forgot it.)
* config.h.in, configure, configure.in, Wnn/uum/jhlp.c,
Wnn/uum/setutmp.c:
More utmp fix:
* Fix build (more) correctly on recent NetBSD (that both have
utmpx & traditional utmp)
* Moved setutmp() call from child to parent proces
(not sure if this is right thing)
* config.h.in, configure, configure.in, Wnn/uum/jhlp.c,
Wnn/uum/setutmp.c, Wnn/uum/sheader.h:
* Rewrote utmp code in uum (without libspt).
* Because it cannot work on gcc with Linux/i386,
temporally remove -fstack-check from CDEBUGFLAGS
if you specify --enable-debug (and you're using gcc) .
* Contrib/dic/gerodic/Makefile.in:
Usual work:
* Some modification in case if builddir != srcdir
(Does not harm normal build.)
* Wnn/uum/setutmp.c:
In current setutmp.c code, saveut / nullut must be struct utmp.
So removed struct utmpx statement.
This will fix compile on systems that both have utmp.h and utmpx.h
(e.g. NetBSD).
* Wnn/uum/jhlp.c: Some minor fix for compiling some platforms:
* crow is declared in header.h, so remove duplicate extern.
* #ifdef-ed I_PUSH ptem / ldterm for platforms that don't have
STREAMS but have ptsname (e.g. Linux, recent NetBSD) .
* Wnn/uum/setutmp.c:
Some minor change to fix compile error on Linux.
UTMP feature is so complex to understand ...
* configure, configure.in, makerule.mk.in:
Modified WNNCNVFILEDIR to install correct cnv_* file
if you're in terminfo environment.
* CONTRIBUTORS, config.h.in, configure, configure.in,
Wnn/conv/cvt_head.h, Wnn/conv/cvt_read.c,
Wnn/include/commonhd.h, Wnn/include/wnn_os.h,
Wnn/uum/Makefile.in, Wnn/uum/header.c,
Wnn/uum/jhlp.c, Wnn/uum/sdefine.h, Wnn/uum/setutmp.c,
Wnn/uum/sheader.h, Wnn/uum/termcap.c, Wnn/uum/termio.c,
cWnn/uum/Makefile.in, kWnn/uum/Makefile.in:
Long awaited merge of uum-related patch (based on hiroo's work
in November, 2003)
* Detect termcap / terminfo, curses etc. automatically
(from canuum)
But, configure support of libspt does not implemented /
does not include Canna support / utmp implementation does not
work correctly.
* pty / pts processing (from Kabe). Auto detection in configure
by hiroo.
* Some modification due to build error in my environment.
* Adding lines in case if builddir != srcdir .
Many thanks to AIDA shinra, Taketo Kabe @ SRA Tohoku, hiroo,
kouji at hiroshima-u.ac.jp (original author of Kabe's patch) .
* makerule.mk.in, Wnn/romkan/Makefile.in,
cWnn/romkan/Makefile.in, kWnn/romkan/Makefile.in:
Some minor changes before large commit:
makerule.mk.in:
* Remove MAKE (if your make does not need this).
You can build with other make command (ex. gmake) .
* Define LT_{CC,LD,INSTALL} globally .
* Wnn/romkan/Makefile.in:
* Use LT_CC to remove warning.
* (Usual work) changed some lines to build correctly
in case builddir != srcdir . (I think this don't break
normal build.)
* Wnn/uum/: hinsi.c, jikouho.c, printf.c, termio.c, touroku.c:
* Include string related header to reduce warning. (more merged
from hiroo's work tree.)
* Stripped old mail address (as usual) .
* Wnn/uum/basic_op.c:
* Include string related header to reduce warning.
(Merged from hiroo's work tree.)
* PubdicPlus/pod.c: Reverse condition of prototype section.
* Wnn/include/commonhd.h: Increment _SERVER_VERSION for next
(alpha?) release.