summaryrefslogtreecommitdiffstats
path: root/i18n/freewnn
diff options
context:
space:
mode:
authorroot2006-04-24 09:03:08 -0500
committerroot2006-04-24 09:03:08 -0500
commit84d8b510ac289af0a43bfa9e110844af27a90196 (patch)
treed7093929b954dd2f71114bff270755e18f737eb1 /i18n/freewnn
initial commit from stable 0.3
Diffstat (limited to 'i18n/freewnn')
-rwxr-xr-xi18n/freewnn/BUILD6
-rwxr-xr-xi18n/freewnn/CONFIGURE21
-rwxr-xr-xi18n/freewnn/DETAILS14
-rw-r--r--i18n/freewnn/HISTORY6
-rwxr-xr-xi18n/freewnn/init.d/jserver17
5 files changed, 64 insertions, 0 deletions
diff --git a/i18n/freewnn/BUILD b/i18n/freewnn/BUILD
new file mode 100755
index 0000000000..8346ce85d6
--- /dev/null
+++ b/i18n/freewnn/BUILD
@@ -0,0 +1,6 @@
+(
+ groupadd wnn 2>/dev/null
+ useradd wnn -g wnn 2>/dev/null
+
+ default_build
+) >$C_FIFO 2>&1
diff --git a/i18n/freewnn/CONFIGURE b/i18n/freewnn/CONFIGURE
new file mode 100755
index 0000000000..bce974e166
--- /dev/null
+++ b/i18n/freewnn/CONFIGURE
@@ -0,0 +1,21 @@
+# Broken. Don't enable.
+#if ! grep -q "ipv6" $SPELL_CONFIG; then
+# if query "Enable IPv6 support?" n
+# then echo 'OPTS="$OPTS --enable-ipv6"' >> $SPELL_CONFIG
+# else echo 'OPTS="$OPTS --disable-ipv6"' >> $SPELL_CONFIG
+# fi
+#fi
+
+#if ! grep -q "client" $SPELL_CONFIG; then
+# if query "Build the uum client?" n
+# then echo 'OPTS="$OPTS --enable-client"' >> $SPELL_CONFIG
+# else echo 'OPTS="$OPTS --disable-client"' >> $SPELL_CONFIG
+# fi
+#fi
+
+if ! grep -q "unsafe" $SPELL_CONFIG; then
+ if query "Allow clients to connect from any host (can be a security risk)?" n
+ then echo 'OPTS="$OPTS --enable-unsafe-path"' >> $SPELL_CONFIG
+ else echo 'OPTS="$OPTS --disable-unsafe-path"' >> $SPELL_CONFIG
+ fi
+fi
diff --git a/i18n/freewnn/DETAILS b/i18n/freewnn/DETAILS
new file mode 100755
index 0000000000..07008374c2
--- /dev/null
+++ b/i18n/freewnn/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=freewnn
+ VERSION=1.1.1-a020
+ SOURCE=FreeWnn-$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/FreeWnn-1.10-pl020
+ SOURCE_URL[0]=ftp://ftp.freewnn.org/pub/FreeWnn/alpha/$SOURCE
+ MD5[0]=8147f492a09fcfad060fd723c172051c
+ WEB_SITE=http://www.freewnn.org/
+ ENTERED=20030108
+ UPDATED=20030108
+ MAINTAINER=jimmy@yen.tp
+ SHORT="A Japanese dictionary server for Kana-Kanji conversion"
+cat << EOF
+FreeWnn is a free implementation of Wnn, a Japanese dictionary server for Kana-Kanji conversion, used by input servers such as kinput2. FreeWnn also supports Traditional and Simplified Chinese, and Korean.
+EOF
diff --git a/i18n/freewnn/HISTORY b/i18n/freewnn/HISTORY
new file mode 100644
index 0000000000..8f5337a062
--- /dev/null
+++ b/i18n/freewnn/HISTORY
@@ -0,0 +1,6 @@
+2003-12-10 Eric Sandall <eric@sandall.us>
+ * Added to i18n (Bug #4313)
+
+2003-09-10 Jimmy Yen <jimmy@yen.tp>
+ * Spell created.
+
diff --git a/i18n/freewnn/init.d/jserver b/i18n/freewnn/init.d/jserver
new file mode 100755
index 0000000000..bc1a58d547
--- /dev/null
+++ b/i18n/freewnn/init.d/jserver
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+PROGRAM="/usr/bin/Wnn4/jserver"
+RUNLEVEL=3
+NEEDS="+remote_fs +network"
+
+. /etc/init.d/smgl_init
+
+start() {
+ echo "Starting jserver..."
+ /usr/bin/Wnn4/jserver 2>&1>/dev/null
+}
+
+stop () {
+ echo "Stopping jserver..."
+ /usr/bin/Wnn4/wnnkill 2>&1>/dev/null
+}