diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-11-17 04:08:30 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-11-17 04:08:30 +0000 |
commit | 14f9b0af39a56c8198ae5d4c07b86aaa0ec65caf (patch) | |
tree | 79c524bdccc77a480b0a439a2438839535aba31a /app-i18n/rskkserv | |
parent | Added to ~ppc; bug #70211. (Manifest recommit) (diff) | |
download | gentoo-2-14f9b0af39a56c8198ae5d4c07b86aaa0ec65caf.tar.gz gentoo-2-14f9b0af39a56c8198ae5d4c07b86aaa0ec65caf.tar.bz2 gentoo-2-14f9b0af39a56c8198ae5d4c07b86aaa0ec65caf.zip |
Added conf-o2n.rb and modified init.d script.
Diffstat (limited to 'app-i18n/rskkserv')
-rw-r--r-- | app-i18n/rskkserv/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/rskkserv/Manifest | 21 | ||||
-rw-r--r-- | app-i18n/rskkserv/files/digest-rskkserv-2.95.3-r1 | 1 | ||||
-rwxr-xr-x | app-i18n/rskkserv/files/rskkserv-2.95.initd | 35 | ||||
-rw-r--r-- | app-i18n/rskkserv/rskkserv-2.95.3-r1.ebuild | 66 |
5 files changed, 116 insertions, 15 deletions
diff --git a/app-i18n/rskkserv/ChangeLog b/app-i18n/rskkserv/ChangeLog index 902468f56b9f..7efa6fc5c576 100644 --- a/app-i18n/rskkserv/ChangeLog +++ b/app-i18n/rskkserv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-i18n/rskkserv # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/ChangeLog,v 1.11 2004/11/13 12:02:22 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/ChangeLog,v 1.12 2004/11/17 04:08:30 usata Exp $ + +*rskkserv-2.95.3-r1 (17 Nov 2004) + + 17 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> +files/rskkserv-2.95.initd, + +rskkserv-2.95.3-r1.ebuild: + Added conf-o2n.rb and modified init.d script. *rskkserv-2.95.3 (13 Nov 2004) diff --git a/app-i18n/rskkserv/Manifest b/app-i18n/rskkserv/Manifest index a60d5bb0ee62..7d4fcd36d61c 100644 --- a/app-i18n/rskkserv/Manifest +++ b/app-i18n/rskkserv/Manifest @@ -1,19 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 0fc0dd2353d2a4c935b033d39eb03661 rskkserv-2.94.13-r2.ebuild 1846 MD5 1180d98a8326a79f089dbda5140344af ChangeLog 1927 MD5 c90dd470dc467aece7b8ac23c8771009 metadata.xml 174 MD5 1e9db11f66ee236f07693f00b3e14548 rskkserv-2.95.3.ebuild 1743 -MD5 0fc0dd2353d2a4c935b033d39eb03661 rskkserv-2.94.13-r2.ebuild 1846 -MD5 e6d30875bbd368e05ebb14e228bd9aac files/digest-rskkserv-2.95.3 66 -MD5 2c629d87dc7e3062a71fc992d0a6591b files/rskkserv.initd 715 -MD5 db345ea9205680884d04619ab10d3792 files/rskkserv-2.94.13-conf-gentoo.diff 1595 +MD5 dc07286f998e8e047b8a8deee3711ab0 rskkserv-2.95.3-r1.ebuild 1877 MD5 cbef41424aca56798bb75696718641b6 files/rskkserv-2.94.13-gentoo.diff 295 +MD5 db345ea9205680884d04619ab10d3792 files/rskkserv-2.94.13-conf-gentoo.diff 1595 +MD5 3b5044b52e355414ccc12c2d58db2945 files/rskkserv-2.95.initd 748 MD5 66e1b2204668b263930a40639c60dac7 files/digest-rskkserv-2.94.13-r2 68 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBlfZIVWNWqTUmv+0RAr9KAJ4lO33t17qlBCngF4L1VvO2WE68PACgkkjb -+1SobTuTu2cO3dAIK2OLa4o= -=Ww9S ------END PGP SIGNATURE----- +MD5 2c629d87dc7e3062a71fc992d0a6591b files/rskkserv.initd 715 +MD5 e6d30875bbd368e05ebb14e228bd9aac files/digest-rskkserv-2.95.3-r1 66 +MD5 e6d30875bbd368e05ebb14e228bd9aac files/digest-rskkserv-2.95.3 66 diff --git a/app-i18n/rskkserv/files/digest-rskkserv-2.95.3-r1 b/app-i18n/rskkserv/files/digest-rskkserv-2.95.3-r1 new file mode 100644 index 000000000000..e4004f74355a --- /dev/null +++ b/app-i18n/rskkserv/files/digest-rskkserv-2.95.3-r1 @@ -0,0 +1 @@ +MD5 d0db2fac37ef70d041784771b15741e3 rskkserv-2.95.3.tar.gz 58419 diff --git a/app-i18n/rskkserv/files/rskkserv-2.95.initd b/app-i18n/rskkserv/files/rskkserv-2.95.initd new file mode 100755 index 000000000000..9e493a420de1 --- /dev/null +++ b/app-i18n/rskkserv/files/rskkserv-2.95.initd @@ -0,0 +1,35 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/files/rskkserv-2.95.initd,v 1.1 2004/11/17 04:08:30 usata Exp $ + +opts="${opts} reload" + +depend() { + need net +} + +start() { + ebegin "Starting rskkserv" + start-stop-daemon --start --quiet --exec /usr/sbin/skkserv.rb + eend $? +} + +stop() { + ebegin "Stopping rskkserv" + if [ -r /var/run/rskkserv.pid ] ; then + kill -KILL `cat /var/run/rskkserv.pid` + else + eerror "rskkserv not running. Please run /etc/init.d/rskkserv zap" + die + fi + eend $? +} + +reload() { + ebegin "Reloading rskkserv" + if [ -r /var/run/rskkserv.pid ] ; then + kill -HUP `cat /var/run/rskkserv.pid` + fi + eend $? +} diff --git a/app-i18n/rskkserv/rskkserv-2.95.3-r1.ebuild b/app-i18n/rskkserv/rskkserv-2.95.3-r1.ebuild new file mode 100644 index 000000000000..072ef463c91b --- /dev/null +++ b/app-i18n/rskkserv/rskkserv-2.95.3-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/rskkserv-2.95.3-r1.ebuild,v 1.1 2004/11/17 04:08:30 usata Exp $ + +inherit ruby eutils + +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 ~alpha ~ppc" +IUSE="" + +DEPEND="dev-ruby/ruby-tcpwrap" +RDEPEND="${DEPEND} + app-i18n/skk-jisyo" +PROVIDE="virtual/skkserv" +USE_RUBY="ruby16 ruby18 ruby19" + +src_compile() { + ruby -i -pe "gsub(/with_RUBY/,'with_ruby')" configure || die + econf \ + --with-dicfile=/usr/share/skk/SKK-JISYO.L \ + --with-cachedir=/var/lib/rskkserv \ + --with-piddir=/var/run \ + --with-logdir=/var/log \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + keepdir /var/lib/rskkserv + einstall || die + + exeinto /etc/init.d + newexe ${FILESDIR}/rskkserv-2.95.initd rskkserv || die + + dodoc ChangeLog + cd doc + dodoc rskkserv.conf.sample + newdoc README.old README + insinto /usr/share/doc/${PF} + doins conf-o2n.rb + 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 + draw_line + einfo + einfo "If you are upgrading from 2.94.x, you may want to use" + einfo "/usr/share/doc/${PF}/conf-o2n.rb to convert configuration" + einfo "file into new format." + einfo +} |