summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-04-03 23:42:57 +0000
committerMamoru Komachi <usata@gentoo.org>2004-04-03 23:42:57 +0000
commit11e123ded74198991506862c83b20b5748a51b28 (patch)
treea6b06478bdd49077f30d5e92e506987009078a88 /app-i18n/rskkserv
parentChange XFree86 references to X11. (Manifest recommit) (diff)
downloadgentoo-2-11e123ded74198991506862c83b20b5748a51b28.tar.gz
gentoo-2-11e123ded74198991506862c83b20b5748a51b28.tar.bz2
gentoo-2-11e123ded74198991506862c83b20b5748a51b28.zip
Fixed /etc/init.d/rskkserv (requires net)
Diffstat (limited to 'app-i18n/rskkserv')
-rw-r--r--app-i18n/rskkserv/ChangeLog8
-rw-r--r--app-i18n/rskkserv/Manifest4
-rw-r--r--app-i18n/rskkserv/files/digest-rskkserv-2.94.13-r21
-rw-r--r--app-i18n/rskkserv/files/rskkserv.initd6
-rw-r--r--app-i18n/rskkserv/rskkserv-2.94.13-r2.ebuild77
5 files changed, 93 insertions, 3 deletions
diff --git a/app-i18n/rskkserv/ChangeLog b/app-i18n/rskkserv/ChangeLog
index eb7d4eeee963..79a8f41b3269 100644
--- a/app-i18n/rskkserv/ChangeLog
+++ b/app-i18n/rskkserv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-i18n/rskkserv
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/ChangeLog,v 1.5 2004/03/27 16:27:06 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/ChangeLog,v 1.6 2004/04/03 23:42:57 usata Exp $
+
+*rskkserv-2.94.13-r2 (04 Apr 2004)
+
+ 04 Apr 2004; Mamoru KOMACHI <usata@gentoo.org> rskkserv-2.94.13-r2.ebuild,
+ files/rskkserv.initd:
+ Fixed /etc/init.d/rskkserv (requires net)
28 Mar 2004; Mamoru KOMACHI <usata@gentoo.org> rskkserv-2.94.13-r1.ebuild:
Marked as stable. Removed old ebuild.
diff --git a/app-i18n/rskkserv/Manifest b/app-i18n/rskkserv/Manifest
index 429d1a1f39ec..81279edd0de6 100644
--- a/app-i18n/rskkserv/Manifest
+++ b/app-i18n/rskkserv/Manifest
@@ -2,10 +2,12 @@ MD5 70c8a439d2cb23a5cdf9174b3f1e6592 rskkserv-2.94.12a.ebuild 1675
MD5 6625e98665ceba40fb50fa176230b3bc ChangeLog 1075
MD5 0ca4d2661f8b5ddf754cf854febecc6d rskkserv-2.94.13-r1.ebuild 1859
MD5 c90dd470dc467aece7b8ac23c8771009 metadata.xml 174
+MD5 0ca4d2661f8b5ddf754cf854febecc6d rskkserv-2.94.13-r2.ebuild 1859
MD5 e74c6484d631a673a0be239e33f048c5 files/rskkserv-2.94.12a-gentoo.diff 1203
MD5 65b409a9845739f6090df2187be7475d files/digest-rskkserv-2.94.12a 68
-MD5 e805fe9ed94738bc30821d21c284a134 files/rskkserv.initd 684
+MD5 cb7fc2668672e8c96eeb99725deee864 files/rskkserv.initd 708
MD5 1c7ed82f046fc5cc7b8c8682b2f7ccae files/rskkserv-skk-jisyo-extra.diff 1285
MD5 db345ea9205680884d04619ab10d3792 files/rskkserv-2.94.13-conf-gentoo.diff 1595
MD5 cbef41424aca56798bb75696718641b6 files/rskkserv-2.94.13-gentoo.diff 295
MD5 66e1b2204668b263930a40639c60dac7 files/digest-rskkserv-2.94.13-r1 68
+MD5 66e1b2204668b263930a40639c60dac7 files/digest-rskkserv-2.94.13-r2 68
diff --git a/app-i18n/rskkserv/files/digest-rskkserv-2.94.13-r2 b/app-i18n/rskkserv/files/digest-rskkserv-2.94.13-r2
new file mode 100644
index 000000000000..243d0e2d4ea9
--- /dev/null
+++ b/app-i18n/rskkserv/files/digest-rskkserv-2.94.13-r2
@@ -0,0 +1 @@
+MD5 1a78835f66c85d27e88596d6ed03bd93 rskkserv-2.94.13.tar.gz 467983
diff --git a/app-i18n/rskkserv/files/rskkserv.initd b/app-i18n/rskkserv/files/rskkserv.initd
index f8ec7628e9db..1f534a23a959 100644
--- a/app-i18n/rskkserv/files/rskkserv.initd
+++ b/app-i18n/rskkserv/files/rskkserv.initd
@@ -1,10 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/files/rskkserv.initd,v 1.1 2003/09/20 08:48:15 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/files/rskkserv.initd,v 1.2 2004/04/03 23:42:57 usata Exp $
opts="${opts} reload"
+depend() {
+ need net
+}
+
start() {
ebegin "Starting rskkserv"
start-stop-daemon --start --quiet --exec /usr/sbin/skkserv.rb || true
diff --git a/app-i18n/rskkserv/rskkserv-2.94.13-r2.ebuild b/app-i18n/rskkserv/rskkserv-2.94.13-r2.ebuild
new file mode 100644
index 000000000000..75eb19681376
--- /dev/null
+++ b/app-i18n/rskkserv/rskkserv-2.94.13-r2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/rskkserv-2.94.13-r2.ebuild,v 1.1 2004/04/03 23:42:57 usata Exp $
+
+IUSE=""
+
+inherit ruby
+
+DESCRIPTION="rskkserv is an alternative version of skkserv implemented by Ruby"
+HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=rskkserv"
+SRC_URI="http://www.unixuser.org/~ysjj/rskkserv/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="dev-lang/ruby
+ dev-ruby/ruby-tcpwrap"
+RDEPEND="${DEPEND}
+ app-i18n/skk-jisyo"
+PROVIDE="virtual/skkserv"
+USE_RUBY="ruby16 ruby18 ruby19"
+
+S=${WORKDIR}/${PN}-cvs
+
+src_unpack() {
+
+ unpack ${P}.tar.gz
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+ epatch ${FILESDIR}/${P}-conf-gentoo.diff
+
+ sed -i -e "s%with_RUBY%with_ruby%g" configure
+ sed -i -e "s%@datadir@%/usr/share%g" rskkserv.conf.in
+ sed -i -e "s%@VERSION@%${PV}%g" doc/*.in
+}
+
+src_compile() {
+
+ EXTRA_ECONF="--with-dicfile=/usr/share/skk/SKK-JISYO.L
+ --with-cachedir=/var/lib/rskkserv
+ --with-piddir=/var/run
+ --with-logdir=/var/log"
+
+ econf || die
+ emake || die
+}
+
+src_install() {
+
+ keepdir /var/lib/rskkserv
+ einstall || die
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/rskkserv.initd rskkserv || die
+
+ dodoc ChangeLog
+ cd doc
+ dodoc rskkserv.conf.sample
+ newdoc README.old README
+ newman rskkserv.1.in rskkserv.1
+ insinto /usr/share/man/ja/man1
+ newins rskkserv.1.ja_JP.eucJP.in rskkserv.1
+}
+
+pkg_postinst() {
+
+ einfo
+ einfo "If you want to add auxiliary dictionaries (e.g. SKK-JISYO.JIS2,"
+ einfo "SKK-JISYO.jinmei, SKK-JISYO.2ch and so on) you need to emerge"
+ einfo "app-i18n/skk-jisyo-extra and uncomment dictionary entries in"
+ einfo "/etc/rskkserv.conf manually."
+ #einfo "See /usr/share/doc/${PF}/rskkserv.conf.sample.gz"
+ #einfo "for an example of multiple dictionaries."
+ einfo
+}