Dominique Leuenberger 2019-03-26 14:42:30 +00:00 committed by Git OBS Bridge
commit e7ff9060cc
16 changed files with 345 additions and 497 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:117c0071433768397f804ff51e3912f173be7842be04764951c0d41f3092a8f7
size 2601184

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEoLN+0W2JCopMqR15KfgLojUMXP8FAlxi14cACgkQKfgLojUM
XP8hKg//WsBnMaDfMmk9NjlwbXgp779bdVQPt9E7qb+WnoPXpOzJ/s2mRQTCOfdJ
CQEDl9uVnMcMfy8xr03gZBBHFRztPq9xqsy8Bc0Cu8pa4yCo3GxrOTpsRvy5sA6E
Y4iEKHjiPbNvfEzTC+LDyxhEBamqFyzbhCp930uiZZRgUaAotzXJZFposmqx4Sgy
wfcK2J7+3B6zQB9+w8rONDDLCzqSJKdDIkMltIFVLFVN9EB088GLPX1BG2AJdJtT
mInBAzG72YnQ+P4+1nwwcFhEHK+yiFSurxbSVxifO9mplA6qKnCG2Ll/ThHoWWUD
T/1oPUm41mxBRG8MxDzeli3jE7KX/IR3l7LoL8SPuaRzCD3u54A5ril4jnhc2vIP
1is7FLu1GkbVcSCVLXQ0SdoxAFfD8HbIarQtcg5XpRZJHNiwVhRxkJCL3VR0UOi+
DwP7MXchB6w4JxwYtj/qRkIhMXHVaZ727eVlLp/TmQQFqsW5cYOAdOexyW4cCWtu
DNH5fEM0PDRZWVBT2mobJyyqH+r/oTtDcGq/9kRhByY6vR0UqIwi565WubQB8/DK
gvuCKSUIhSU8qv1FGDbJHB2e1jmYhHjSwW2a2l8g1L2JXuYe83HAtTvkZXZqNJud
6REEhIrEOpABSqkD8WZ9fmxaA9lTxsfMi4DjWiHL743sLpGbqhQ=
=NQgY
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca5b59eaab658a19bcebdbe3007cee88c17de83477843d95c3ed5cecc10f1d92
size 3712238

View File

@ -1,60 +0,0 @@
Index: FreeWnn-1.1.1-a023/Wnn/pubdicplus/Makefile.in
===================================================================
--- FreeWnn-1.1.1-a023.orig/Wnn/pubdicplus/Makefile.in
+++ FreeWnn-1.1.1-a023/Wnn/pubdicplus/Makefile.in
@@ -325,7 +325,7 @@ fzk.master-.c: fzk.master
$(LN) $? $@
std.fsrc: fzk.master-.c $(FZK_SRC)
- $(FZK_PP) fzk.master-.c > $@
+ $(CPP) -traditional-cpp $(FZK_FLAGS) fzk.master-.c > $@
full.fsrc: fzk.master-.c $(FZK_SRC)
$(FZK_PP) -DKANSAI fzk.master-.c > $@
Index: FreeWnn-1.1.1-a023/cWnn/cdic/Makefile.in
===================================================================
--- FreeWnn-1.1.1-a023.orig/cWnn/cdic/Makefile.in
+++ FreeWnn-1.1.1-a023/cWnn/cdic/Makefile.in
@@ -64,10 +64,10 @@ all:: $(ALLTGT)
$(DICS): $(HINSI)
$(FULL):: $(FZK_SRCS) con.master-.c
- $(FZK_PP) -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
+ $(CPP) -traditional-cpp -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
$(FULLR):: $(FZK_SRCS) con.masterR-.c
- $(FZK_PP) -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
+ $(CPP) -traditional-cpp -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
# To avoid circular dependency, we don't use 'con.master?.c'
con.master-.c: con.master
Index: FreeWnn-1.1.1-a023/cWnn/tdic/Makefile.in
===================================================================
--- FreeWnn-1.1.1-a023.orig/cWnn/tdic/Makefile.in
+++ FreeWnn-1.1.1-a023/cWnn/tdic/Makefile.in
@@ -64,10 +64,10 @@ all:: $(ALLTGT)
$(DICS): $(HINSI)
$(FULL):: $(FZK_SRCS) con.master-.c
- $(FZK_PP) -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
+ $(CPP) -traditional-cpp -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
$(FULLR):: $(FZK_SRCS) con.masterR-.c
- $(FZK_PP) -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
+ $(CPP) -traditional-cpp -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
# To avoid circular dependency, we don't use 'con.master?.c'
con.master-.c: con.master
Index: FreeWnn-1.1.1-a023/kWnn/kdic/Makefile.in
===================================================================
--- FreeWnn-1.1.1-a023.orig/kWnn/kdic/Makefile.in
+++ FreeWnn-1.1.1-a023/kWnn/kdic/Makefile.in
@@ -62,7 +62,7 @@ all:: $(ALLTGT)
$(DICS): $(HINSI)
$(FULL):: $(FZK_SRCS) fzk.master-.c
- $(FZK_PP) -I$(srcdir) $(FZK_FLAG) fzk.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
+ $(CPP) -traditional-cpp -I$(srcdir) $(FZK_FLAG) fzk.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
# To avoid circular dependency, we don't use 'fzk.master.c'
fzk.master-.c: fzk.master

12
_service Normal file
View File

@ -0,0 +1,12 @@
<services>
<service name="obs_scm" mode="disabled">
<param name="url">:pserver:anonymous@cvs.osdn.net:/cvsroot/freewnn</param>
<param name="scm">cvs</param>
</service>
<service name="tar" mode="disabled"/>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled" />
</services>

13
fcwnn.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
ConditionPathExists=/etc/FreeWnn/zh_CN/cserverrc
Description=Free Wnn (mainland) Chinese Server, for input of simplified Chinese
[Service]
Type=forking
User=wnn
ExecStartPre=/bin/rm -f /tmp/cd_sockV4
ExecStart=/usr/bin/cserver
ExecStopPost=/bin/rm -f /tmp/cd_sockV4
[Install]
WantedBy=multi-user.target

13
fkwnn.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
ConditionPathExists=/etc/FreeWnn/ko_KR/kserverrc
Description=Free Wnn Korean Server, for input of Korean
[Service]
Type=forking
User=wnn
ExecStartPre=/bin/rm -f /tmp/kd_sockV4
ExecStart=/usr/bin/kserver
ExecStopPost=/bin/rm -f /tmp/kd_sockV4
[Install]
WantedBy=multi-user.target

13
ftwnn.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
ConditionPathExists=/etc/FreeWnn/zh_TW/tserverrc
Description=Free Wnn Taiwan-Chinese Server, for input of traditional Chinese
[Service]
Type=forking
User=wnn
ExecStartPre=/bin/rm -f /tmp/td_sockV4
ExecStart=/usr/bin/tserver
ExecStopPost=/bin/rm -f /tmp/td_sockV4
[Install]
WantedBy=multi-user.target

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Sat Mar 16 03:14:29 UTC 2019 - bkbin005@rinku.zaq.ne.jp
- Remove tarball's URL: Upstream hasn't released tarball yet.
-------------------------------------------------------------------
Fri Mar 15 21:24:15 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Do not hide errors coming from useradd.
-------------------------------------------------------------------
Sat Mar 9 07:51:43 UTC 2019 - bkbin005@rinku.zaq.ne.jp
- Update to FreeWnn-1.1.1-a023.1:
* Deal with "Reproducible Buids".
See <https://osdn.net/projects/freewnn/ticket/38482>.
- Remove FreeWnn-trad_cpp.patch: doesn't seem to need.
-------------------------------------------------------------------
Thu Mar 7 13:22:01 UTC 2019 - josef.moellers@suse.com
- Added systemd support: Replaced sysv init files by systemd
service files.
[bsc#1116014,fwnn.service,fcwnn.service,fkwnn.service,
ftwnn.service]
-------------------------------------------------------------------
Thu Nov 23 13:49:55 UTC 2017 - rbrown@suse.com

158
fwnn.keyring Normal file
View File

@ -0,0 +1,158 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFP5ghYBEACudmc//1Rd0jXZp6McBdoy/4rrjBElx3KLUmJ1Ij0e53P6DUpb
sFd+03bsiKnGuh3dw8ucmjdHsgwzhvesjQrOzRpj5QgX5qeSjtD8HYVXBNU3x0L9
X8/y6Oed58JaCOqbpPsSzwcoXCxat9LanmzzeONejuNTRnmBUm5AQcXKAsGLJOPn
vAn84yupkkTgoeWTSQizwmEU0AjHHmBmIsb1vaMimY3U7CetO/6EheUAAKNkENbQ
x1aaTyenx8zc07ABC54rMy9LPCPOe7lm8ryWqZMu7I07pA41UrV4umFxt7sNcB8p
16s4maw266UrCmb0PMAh+w8uifs5pwtvfGSJ8DHzP70E0R1sDF+hn9fTmtKKZPu/
T8Z6HDtsjMrMd8E0hWA62jp6X9dbwZPprvOANedw9sBDIr/C330/F2oDXxNpID/y
2q2Mvabj2Ctqj96nBMoyXrjv6XrVRh632t2jIT9F2Xb3vmb1UPLvBye+O4LqybSE
Dcv1zfJlmfBYmyscKamO52So+3Sv8ZafhXBnj8kFNlfQJCYNkquRe71Iq/HV7GGg
5yZJUEBrrSdpa1A3/Ht13Jk7Sa3h/G/78txilvMf1cM6YdPV3AWZhyxJFAsb5frA
X0TzwKlTtAtc53ge4YDRgehPWQuLmAmZTs5TbgAwjX3MFp+VRClAbk7yuQARAQAB
tCxNaXRzdXRvc2hpIE5BS0FOTyA8YmtiaW4wMDVAcmlua3UuemFxLm5lLmpwPokC
OAQTAQIAIgUCU/mCFgIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQjswk
532j/43jAA/9HyDledfyKavgeX8hPUsA22nh5imRDLbWYzSI8C7mwVJJBc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52kunaxPcB/wUkgKiz+70Fvu1RYnwSAqMse20Sq0X7de6R2B/zNzuq6
qLidy7aEt16R6Co2PhyM5hkp6gyKMMQovoILx1t94dlD5otX+Lc3N5+nyresJytN
ddTAVpBX2jLWkC+TCSaZ4auUqLfs3xEJmTnJrPcE5ijPlkhsBGW+SCG51WRnkm9+
kCZndKT6fMjczl2sFmBX3KA8iXBLsfuPUq1+vFhJd6haaiwBL3T5m6Y2iTG+++pl
DovJn+0MQTt3agcytvkA0V09FypBsfM/hBdfTvARBdlsdBBaYpcg3H09j0zNnTb6
+xejlq8aYxXtmc9faUGStTrlTPVsmQp5JJqC/3p02Ov/O7MXWbT0WF09ujTUPyXg
dP/Od8djelN72yaVWFjH9WVfbDGwrXxt92EMTfJf7EEv35+r65gBNpkV9NaThszZ
CWx+ugYJm8I31Efj0CkLxerlEQ==
=b7/t
-----END PGP PUBLIC KEY BLOCK-----

13
fwnn.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
ConditionPathExists=/etc/FreeWnn/ja/jserverrc
Description=Free Wnn Kanji Server used for input of Japanese
[Service]
Type=forking
User=wnn
ExecStartPre=/bin/rm -f /tmp/jd_sockV4
ExecStart=/usr/bin/jserver
ExecStopPost=/bin/rm -f /tmp/jd_sockV4
[Install]
WantedBy=multi-user.target

148
fwnn.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package fwnn
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,25 +16,26 @@
#
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
%define base_version 1.1.1
%define alpha_version a023
%define alpha_version a023.1
Name: fwnn
Version: 1.1.1a023
Version: 1.1.1a023.1
Release: 0
Summary: FreeWnn Japanese Input System--Server Only
License: GPL-2.0+
License: GPL-2.0-or-later
Group: System/I18n/Japanese
Url: http://freewnn.sourceforge.jp/
Source: http://iij.dl.osdn.jp/freewnn/63271/FreeWnn-%{base_version}-%{alpha_version}.tar.gz
Source1: rcfwnn
Source2: rcfcwnn
Source3: rcftwnn
Source4: rcfkwnn
# Upstream hasn't released tarball yet.
# I entered the following commands.
# cvs -d :pserver:anonymous@cvs.osdn.net:/cvsroot/freewnn export -r freewnn-1-1-1-a023-1 -d FreeWnn-1.1.1-a023.1 FreeWnn
# tar --xz -cf FreeWnn-1.1.1-a023.1.tar.xz FreeWnn-1.1.1-a023.1
Source: FreeWnn-%{base_version}-%{alpha_version}.tar.xz
Source1: FreeWnn-%{base_version}-%{alpha_version}.tar.xz.asc
Source2: %{name}.keyring
Source5: fwnn.service
Source6: fcwnn.service
Source7: fkwnn.service
Source8: ftwnn.service
Source99: fwnn-rpmlintrc
Patch0: FreeWnn-fsstnd.patch
Patch1: FreeWnn-ja.patch
@ -42,14 +43,12 @@ Patch1: FreeWnn-ja.patch
Patch2: FreeWnn-noroot.patch
Patch7: FreeWnn-s390x.patch
Patch8: FreeWnn-warnings.patch
Patch14: FreeWnn-trad_cpp.patch
BuildRequires: fdupes
BuildRequires: ncurses-devel
BuildRequires: tcpd-devel
Requires: fwnncom = %{version}
# %{_sbindir}/useradd
# %%{_sbindir}/useradd
Requires(pre): shadow
Requires(pre): %insserv_prereq %fillup_prereq
Conflicts: wnn6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -110,7 +109,6 @@ Requires: fcwnncom = %{version}
Requires: fkwnn = %{version}
Requires: fwnn = %{version}
Requires(pre): shadow
Requires(pre): %insserv_prereq %fillup_prereq
Requires(post): fcwnncom
%description -n fcwnn
@ -152,7 +150,6 @@ Group: System/I18n/Chinese
Requires: fcwnn = %{version}
Requires: fcwnncom = %{version}
Requires(pre): shadow
Requires(pre): %insserv_prereq %fillup_prereq
Requires(post): fcwnncom
%description -n ftwnn
@ -163,7 +160,6 @@ Summary: Free kWnn Korean Input System
Group: System/I18n/Korean
Requires: fwnncom = %{version}
Requires(pre): shadow
Requires(pre): %insserv_prereq %fillup_prereq
%description -n fkwnn
Free kWnn Korean input system.
@ -190,13 +186,13 @@ client programs that use the Korean Input System, Free kWnn.
######################################################################
# package xwnmo
# I don't know how to build xwnmo. Will try that later ...
# %package -n xwnmo
# %%package -n xwnmo
# Requires: wnn
# Summary: xwnmo - Input Manager for the X11 Window System
# Summary(ja): xwnmo - Xウィンドウ・インプットマネージャー
# Group: Applications/X11
#
# %description -n xwnmo
# %%description -n xwnmo
#
# Xwnmo is a input manager for the Input Method of the X Window System.
# It is based on the X11 Input Method Specifications. It provides a
@ -212,14 +208,13 @@ client programs that use the Korean Input System, Free kWnn.
%patch2 -p1
%patch7 -p2 -b .s390x
%patch8
%patch14 -p1
#%setup -b 1 -n Xsi # add include-files for Xwnmo
#%%setup -b 1 -n Xsi # add include-files for Xwnmo
# SuSE setlocale patch, try to set LC_CTYPE if LC_ALL fails (Xwnmo) and
#......................................................................
# %patch2 -p1
# %%patch2 -p1
# Trying to make Xwnmo work...
#..................................................................
# %patch3 -p1
# %%patch3 -p1
%build
%configure --prefix=%{_prefix} \
@ -270,22 +265,16 @@ for i in pubdic.5 usr_dic.5
do
mv %{buildroot}/%{_mandir}/man5/$i %{buildroot}/%{_mandir}/ja/man5/
done
#----------------------------------------------------------------------
# Make sure directories for of boot script installation exist:
mkdir -p %{buildroot}%{_sysconfdir}/init.d
mkdir -p %{buildroot}%{_fillupdir}
mkdir -p %{buildroot}%{_sbindir}
#----------------------------------------------------------------------
# Install boot scripts:
install -m 755 %{_sourcedir}/rcfwnn %{buildroot}%{_initddir}/fwnn
install -m 755 %{_sourcedir}/rcfcwnn %{buildroot}%{_initddir}/fcwnn
install -m 755 %{_sourcedir}/rcftwnn %{buildroot}%{_initddir}/ftwnn
install -m 755 %{_sourcedir}/rcfkwnn %{buildroot}%{_initddir}/fkwnn
#----------------------------------------------------------------------
# Make symbolic links
for i in fwnn fcwnn ftwnn fkwnn ; do
( cd %{buildroot}%{_sbindir}; ln -s -f ../..%{_initddir}/$i rc$i )
done
install -d %{buildroot}%{_unitdir}
install -m 644 %{SOURCE5} %{buildroot}%{_unitdir}
install -m 644 %{SOURCE6} %{buildroot}%{_unitdir}
install -m 644 %{SOURCE7} %{buildroot}%{_unitdir}
install -m 644 %{SOURCE8} %{buildroot}%{_unitdir}
install -d %{buildroot}%{_sbindir}
ln -s -f service %{buildroot}%{_sbindir}/rcfwnn
ln -s -f service %{buildroot}%{_sbindir}/rcfcwnn
ln -s -f service %{buildroot}%{_sbindir}/rcftwnn
ln -s -f service %{buildroot}%{_sbindir}/rcfkwnn
ln -s -f %{_localstatedir}/lib/wnn/ja/dic %{buildroot}%{_sysconfdir}/FreeWnn/ja/dic
ln -s -f %{_localstatedir}/lib/wnn/zh_CN/dic %{buildroot}%{_sysconfdir}/FreeWnn/zh_CN/dic
ln -s -f %{_localstatedir}/lib/wnn/zh_TW/dic %{buildroot}%{_sysconfdir}/FreeWnn/zh_TW/dic
@ -297,21 +286,24 @@ find %{buildroot} -type f -name "*.a" -delete -print
%fdupes -s %{buildroot}
%pre -n fwnn
%{_sbindir}/useradd -r -o -g root -u 66 -s /bin/false -c "Wnn System Account" -d %{_localstatedir}/lib/wnn wnn 2> /dev/null || :
%service_add_pre fwnn.service
getent passwd wnn >/dev/null || \
%{_sbindir}/useradd -r -o -g root -u 66 -s /bin/false \
-c "Wnn System Account" -d %{_localstatedir}/lib/wnn wnn
%post -n fwnn
%service_add_post fwnn.service
# touch all public dictionary files:
chroot . usr/bin/wnntouch var/lib/wnn/ja/dic/gerodic/g-jinmei.dic
chroot . usr/bin/wnntouch var/lib/wnn/ja/dic/pubdic/*.*
# Create symbolic runlevel links:
%{fillup_and_insserv -y}
%preun -n fwnn
%service_del_preun fwnn.service
%stop_on_removal fwnn
%postun -n fwnn
%service_del_postun fwnn.service
%restart_on_update fwnn
%insserv_cleanup
%post -n libjd0 -p /sbin/ldconfig
%postun -n libjd0 -p /sbin/ldconfig
@ -319,69 +311,85 @@ chroot . usr/bin/wnntouch var/lib/wnn/ja/dic/pubdic/*.*
%postun -n libwnn0 -p /sbin/ldconfig
%pre -n fwnncom
%{_sbindir}/useradd -r -o -g root -u 66 -s /bin/false -c "Wnn System Account" -d %{_localstatedir}/lib/wnn wnn 2> /dev/null || :
getent passwd wnn >/dev/null || \
%{_sbindir}/useradd -r -o -g root -u 66 -s /bin/false \
-c "Wnn System Account" -d %{_localstatedir}/lib/wnn wnn
%pre -n fcwnncom
%{_sbindir}/useradd -r -o -g root -u 66 -s /bin/false -c "Wnn System Account" -d %{_localstatedir}/lib/wnn wnn 2> /dev/null || :
getent passwd wnn >/dev/null || \
%{_sbindir}/useradd -r -o -g root -u 66 -s /bin/false \
-c "Wnn System Account" -d %{_localstatedir}/lib/wnn wnn
%pre -n fcwnn
%{_sbindir}/useradd -r -o -g root -u 66 -s /bin/false -c "Wnn System Account" -d %{_localstatedir}/lib/wnn wnn 2> /dev/null || :
%service_add_pre fcwnn.service
getent passwd wnn >/dev/null || \
%{_sbindir}/useradd -r -o -g root -u 66 -s /bin/false \
-c "Wnn System Account" -d %{_localstatedir}/lib/wnn wnn
%preun -n fcwnn
%service_del_preun fcwnn.service
%stop_on_removal fcwnn
%post -n fcwnn
%service_add_post fcwnn.service
# touch all public dictionary files:
chroot . usr/bin/cwnntouch var/lib/wnn/zh_CN/dic/sys/*.*
# Create symbolic run level links:
%fillup_and_insserv
%postun -n fcwnn
%service_del_postun fcwnn.service
%restart_on_update fcwnn
%insserv_cleanup
%post -n libcwnn0 -p /sbin/ldconfig
%postun -n libcwnn0 -p /sbin/ldconfig
%pre -n ftwnn
%{_sbindir}/useradd -r -o -g root -u 66 -s /bin/false -c "Wnn System Account" -d %{_localstatedir}/lib/wnn wnn 2> /dev/null || :
%service_add_pre ftwnn.service
getent passwd wnn >/dev/null || \
%{_sbindir}/useradd -r -o -g root -u 66 -s /bin/false \
-c "Wnn System Account" -d %{_localstatedir}/lib/wnn wnn
%preun -n ftwnn
%service_del_preun ftwnn.service
%stop_on_removal ftwnn
%post -n ftwnn
%service_add_post ftwnn.service
# touch all public dictionary files:
chroot . usr/bin/cwnntouch var/lib/wnn/zh_TW/dic/sys/*.*
# Create symbolic run level links:
%fillup_and_insserv
%postun -n ftwnn
%service_del_postun ftwnn.service
%restart_on_update ftwnn
%insserv_cleanup
%pre -n fkwnn
%{_sbindir}/useradd -r -o -g root -u 66 -s /bin/false -c "Wnn System Account" -d %{_localstatedir}/lib/wnn wnn 2> /dev/null || :
%service_add_pre fkwnn.service
getent passwd wnn >/dev/null || \
%{_sbindir}/useradd -r -o -g root -u 66 -s /bin/false \
-c "Wnn System Account" -d %{_localstatedir}/lib/wnn wnn
%preun -n fkwnn
%service_del_preun fkwnn.service
%stop_on_removal fkwnn
%post -n fkwnn
%service_add_post fkwnn.service
# touch all public dictionary files:
chroot . usr/bin/kwnntouch var/lib/wnn/ko_KR/dic/sys/*.*
# Create symbolic run level links:
%fillup_and_insserv
%postun -n fkwnn
%service_del_postun fkwnn.service
%restart_on_update fkwnn
%insserv_cleanup
%post -n libkwnn0 -p /sbin/ldconfig
%postun -n libkwnn0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%config %{_initddir}/fwnn
%{_sbindir}/rcfwnn
%{_unitdir}/fwnn.service
%{_bindir}/atod
%{_bindir}/dtoa
%{_bindir}/oldatonewa
@ -464,8 +472,8 @@ chroot . usr/bin/kwnntouch var/lib/wnn/ko_KR/dic/sys/*.*
%files -n fcwnn
%defattr(-,root,root)
%config %{_initddir}/fcwnn
%{_sbindir}/rcfcwnn
%{_unitdir}/fcwnn.service
%{_bindir}/cserver
%config %{_sysconfdir}/FreeWnn/zh_CN/cixing.data
%config %{_sysconfdir}/FreeWnn/zh_CN/cserverrc
@ -520,8 +528,8 @@ chroot . usr/bin/kwnntouch var/lib/wnn/ko_KR/dic/sys/*.*
%files -n ftwnn
%defattr(-,root,root)
%config %{_initddir}/ftwnn
%{_sbindir}/rcftwnn
%{_unitdir}/ftwnn.service
%{_bindir}/tserver
%config %{_sysconfdir}/FreeWnn/zh_TW/cixing.data
%{_sysconfdir}/FreeWnn/zh_TW/dic
@ -551,8 +559,8 @@ chroot . usr/bin/kwnntouch var/lib/wnn/ko_KR/dic/sys/*.*
%files -n fkwnn
%defattr(-,root,root)
%config %{_initddir}/fkwnn
%{_sbindir}/rcfkwnn
%{_unitdir}/fkwnn.service
%{_bindir}/kserver
%{_bindir}/katod
%{_bindir}/katof
@ -590,11 +598,11 @@ chroot . usr/bin/kwnntouch var/lib/wnn/ko_KR/dic/sys/*.*
%{_includedir}/kwnn/
%{_libdir}/libkwnn.so
# I don't know how to build xwnmo. Will try that later ...
# %files -n xwnmo
# %doc Xwnmo/manual Xwnmo/manual.en Xwnmo/README Xwnmo/README.j
# %doc Xwnmo/X11R6/README Xwnmo/X11R6/include/README
# %doc Xwnmo/xjutil/README Xwnmo/xjutil/README.j Xwnmo/xwnmo/README
# %doc Xwnmo/xwnmo/README.j Xwnmo/xwnmo/SEP_README Xwnmo/xwnmo/SEP_README.j
# %%files -n xwnmo
# %%doc Xwnmo/manual Xwnmo/manual.en Xwnmo/README Xwnmo/README.j
# %%doc Xwnmo/X11R6/README Xwnmo/X11R6/include/README
# %%doc Xwnmo/xjutil/README Xwnmo/xjutil/README.j Xwnmo/xwnmo/README
# %%doc Xwnmo/xwnmo/README.j Xwnmo/xwnmo/SEP_README Xwnmo/xwnmo/SEP_README.j
# /usr/X11R6/lib/X11/app-defaults/Xwnmo
# /usr/X11R6/bin/xwnmo
# /usr/X11R6/bin/killxwnmo
@ -644,9 +652,9 @@ chroot . usr/bin/kwnntouch var/lib/wnn/ko_KR/dic/sys/*.*
# /var/lib/wnn/ko_KR/uumkey.xim
# /var/lib/wnn/ko_KR/xim.msg
# /var/lib/wnn/ko_KR/xjutil.msg
# %config /var/lib/wnn/ximconf
# %config /var/lib/wnn/ximrc
# %config /var/lib/wnn/ximrc_vi
# %config /var/lib/wnn/cvt_xim_tbl
# %%config /var/lib/wnn/ximconf
# %%config /var/lib/wnn/ximrc
# %%config /var/lib/wnn/ximrc_vi
# %%config /var/lib/wnn/cvt_xim_tbl
%changelog

91
rcfcwnn
View File

@ -1,91 +0,0 @@
#! /bin/sh
# Copyright (c) 1996, 2000 S.u.S.E. GmbH Fuerth, Germany. All rights reserved.
#
# Author: Mike Fabian <mfabian@suse.de>, 2000
#
# /etc/init.d/fcwnn
#
### BEGIN INIT INFO
# Provides: fcwnn
# Required-Start: $network $remote_fs $named
# Required-Stop: $network $remote_fs $named
# Default-Start: 3 5
# Default-Stop:
# Short-Description: Free Wnn (mainland) Chinese Server
# Description: Free Wnn (mainland) Chinese Server, for input of simplified Chinese
### END INIT INFO
. /etc/rc.status
FREE_CWNN_BIN=/usr/bin/cserver
test -x $FREE_CWNN_BIN || exit 5
# First reset status of this service
rc_reset
if [ ! -f /etc/FreeWnn/zh_CN/cserverrc ] ; then
echo "can't find /etc/FreeWnn/zh_CN/cserverrc"
# program is not configured
exit 6
fi
case "$1" in
start)
echo -n "Starting Free Wnn (mainland) Chinese Server"
if test -e /tmp/cd_sockV4 ; then
rm /tmp/cd_sockV4
fi
# redirect message
# "startproc: startproc: signal catched /usr/bin/cserver: Terminated
# to /dev/null
startproc -u wnn -q -t 1 $FREE_CWNN_BIN > /dev/null 2>&1
rc_status -v
;;
stop)
echo "Shutting down Free Wnn (mainland) Chinese Server"
# don't use 'cwnnkill', because this doesn't kill cserver
# if there are still clients.
killproc -TERM $FREE_CWNN_BIN
rc_status -v
if test -e /tmp/cd_sockV4 ; then
rm /tmp/cd_sockV4
fi
;;
try-restart)
$0 status >/dev/null && $0 restart
rc_status
;;
restart)
$0 stop
$0 start
rc_status
;;
force-reload)
$0 stop && $0 start
rc_status
;;
reload)
rc_failed 3
rc_status -v
;;
status)
echo -n "Checking for Free Wnn (mainland) Chinese Server: "
checkproc $FREE_CWNN_BIN
rc_status -v
;;
full-status)
$0 status
rc_status
if test -x /usr/bin/cwnnstat ; then
/usr/bin/cwnnstat
else
echo "Full status not available, can't start \`/usr/bin/cwnnstat'"
fi
;;
*)
echo "Usage: $0 {start|stop|try-restart|restart|force-reload|reload|status|full-status}"
exit 1
;;
esac
rc_exit

91
rcfkwnn
View File

@ -1,91 +0,0 @@
#! /bin/sh
# Copyright (c) 1996, 2000 S.u.S.E. GmbH Fuerth, Germany. All rights reserved.
#
# Author: Mike Fabian <mfabian@suse.de>, 2000
#
# /etc/init.d/fkwnn
#
### BEGIN INIT INFO
# Provides: fkwnn
# Required-Start: $network $remote_fs $named
# Required-Stop: $network $remote_fs $named
# Default-Start: 3 5
# Default-Stop:
# Short-Description: Free Wnn Korean Server
# Description: Free Wnn Korean Server, for input of Korean
### END INIT INFO
. /etc/rc.status
FREE_KWNN_BIN=/usr/bin/kserver
test -x $FREE_KWNN_BIN || exit 5
# First reset status of this service
rc_reset
if [ ! -f /etc/FreeWnn/ko_KR/kserverrc ] ; then
echo "can't find /etc/FreeWnn/ko_KR/kserverrc"
# program is not configured
exit 6
fi
case "$1" in
start)
echo -n "Starting Free Wnn Korean Server"
if test -e /tmp/kd_sockV4 ; then
rm /tmp/kd_sockV4
fi
# redirect message
# "startproc: startproc: signal catched /usr/bin/kserver: Terminated
# to /dev/null
startproc -u wnn -q -t 1 $FREE_KWNN_BIN > /dev/null 2>&1
rc_status -v
;;
stop)
echo "Shutting down Free Wnn Korean Server"
# don't use 'kwnnkill', because this doesn't kill kserver
# if there are still clients.
killproc -TERM $FREE_KWNN_BIN
rc_status -v
if test -e /tmp/kd_sockV4 ; then
rm /tmp/kd_sockV4
fi
;;
try-restart)
$0 status >/dev/null && $0 restart
rc_status
;;
restart)
$0 stop
$0 start
rc_status
;;
force-reload)
$0 stop && $0 start
rc_status
;;
reload)
rc_failed 3
rc_status -v
;;
status)
echo -n "Checking for Free Wnn Korean Server: "
checkproc $FREE_KWNN_BIN
rc_status -v
;;
full-status)
$0 status
rc_status
if test -x /usr/bin/kwnnstat ; then
/usr/bin/kwnnstat
else
echo "Full status not available, can't start \`/usr/bin/kwnnstat'"
fi
;;
*)
echo "Usage: $0 {start|stop|try-restart|restart|force-reload|reload|status|full-status}"
exit 1
;;
esac
rc_exit

91
rcftwnn
View File

@ -1,91 +0,0 @@
#! /bin/sh
# Copyright (c) 1996, 2000 S.u.S.E. GmbH Fuerth, Germany. All rights reserved.
#
# Author: Mike Fabian <mfabian@suse.de>, 2000
#
# /etc/init.d/ftwnn
#
### BEGIN INIT INFO
# Provides: ftwnn
# Required-Start: $network $remote_fs $named
# Required-Stop: $network $remote_fs $named
# Default-Start: 3 5
# Default-Stop:
# Short-Description: Free Wnn Taiwan-Chinese Server
# Description: Free Wnn Taiwan-Chinese Server, for input of traditional Chinese
### END INIT INFO
. /etc/rc.status
FREE_TWNN_BIN=/usr/bin/tserver
test -x $FREE_TWNN_BIN || exit 5
# First reset status of this service
rc_reset
if [ ! -f /etc/FreeWnn/zh_TW/tserverrc ] ; then
echo "can't find /etc/FreeWnn/zh_TW/tserverrc"
# program is not configured
exit 6
fi
case "$1" in
start)
echo -n "Starting Free Wnn Taiwan-Chinese Server"
if test -e /tmp/td_sockV4 ; then
rm /tmp/td_sockV4
fi
# redirect message
# "startproc: startproc: signal catched /usr/bin/tserver: Terminated
# to /dev/null
startproc -u wnn -q -t 1 $FREE_TWNN_BIN > /dev/null 2>&1
rc_status -v
;;
stop)
echo "Shutting down Free Wnn Taiwan-Chinese Server"
# don't use 'cwnnkill', because this doesn't kill tserver
# if there are still clients.
killproc -TERM $FREE_TWNN_BIN
rc_status -v
if test -e /tmp/td_sockV4 ; then
rm /tmp/td_sockV4
fi
;;
try-restart)
$0 status >/dev/null && $0 restart
rc_status
;;
restart)
$0 stop
$0 start
rc_status
;;
force-reload)
$0 stop && $0 start
rc_status
;;
reload)
rc_failed 3
rc_status -v
;;
status)
echo -n "Checking for Free Wnn Taiwan-Chinese Server"
checkproc $FREE_TWNN_BIN
rc_status -v
;;
full-status)
$0 status
rc_status
if test -x /usr/bin/cwnnstat ; then
/usr/bin/cwnnstat
else
echo "Full status not available, can't start \`/usr/bin/cwnnstat'"
fi
;;
*)
echo "Usage: $0 {start|stop|try-restart|restart|force-reload|reload|status|full-status}"
exit 1
;;
esac
rc_exit

91
rcfwnn
View File

@ -1,91 +0,0 @@
#! /bin/sh
# Copyright (c) 1996, 2000 S.u.S.E. GmbH Fuerth, Germany. All rights reserved.
#
# Author: Mike Fabian <mfabian@suse.de>, 2000
#
# /etc/init.d/fwnn
#
### BEGIN INIT INFO
# Provides: fwnn
# Required-Start: $network $remote_fs $named
# Required-Stop: $network $remote_fs $named
# Default-Start: 3 5
# Default-Stop:
# Short-Description: Free Wnn Kanji Server
# Description: Free Wnn Kanji Server used for input of Japanese
### END INIT INFO
. /etc/rc.status
FREE_WNN_BIN=/usr/bin/jserver
test -x $FREE_WNN_BIN || exit 5
# First reset status of this service
rc_reset
if [ ! -f /etc/FreeWnn/ja/jserverrc ] ; then
echo "can't find /etc/FreeWnn/ja/jserverrc"
# program is not configured
exit 6
fi
case "$1" in
start)
echo -n "Starting Free Wnn Kanji Server"
if test -e /tmp/jd_sockV4 ; then
rm /tmp/jd_sockV4
fi
# redirect message
# "startproc: startproc: signal catched /usr/bin/jserver: Terminated
# to /dev/null
startproc -u wnn -q -t 1 $FREE_WNN_BIN > /dev/null 2>&1
rc_status -v
;;
stop)
echo "Shutting down Free Wnn Kanji Server"
# don't use 'wnnkill', because this doesn't kill jserver
# if there are still clients.
killproc -TERM $FREE_WNN_BIN
rc_status -v
if test -e /tmp/jd_sockV4 ; then
rm /tmp/jd_sockV4
fi
;;
try-restart)
$0 status >/dev/null && $0 restart
rc_status
;;
restart)
$0 stop
$0 start
rc_status
;;
force-reload)
$0 stop && $0 start
rc_status
;;
reload)
rc_failed 3
rc_status -v
;;
status)
echo -n "Checking for Free Wnn Kanji Server: "
checkproc $FREE_WNN_BIN
rc_status -v
;;
full-status)
$0 status
rc_status
if test -x /usr/bin/wnnstat ; then
/usr/bin/wnnstat
else
echo "Full status not available, can't start \`/usr/bin/wnnstat'"
fi
;;
*)
echo "Usage: $0 {start|stop|try-restart|restart|force-reload|reload|status|full-status}"
exit 1
;;
esac
rc_exit