summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2003-05-06 15:15:16 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2003-05-06 15:15:16 +0000
commit698491118ce7919808db9cab9606213088cf1957 (patch)
treed65fb1342c3a6344e499de51a111b8bacbb5c095 /app-i18n
parentLittle bugfixes (diff)
downloadhistorical-698491118ce7919808db9cab9606213088cf1957.tar.gz
historical-698491118ce7919808db9cab9606213088cf1957.tar.bz2
historical-698491118ce7919808db9cab9606213088cf1957.zip
Little bugfixes
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/dbskkd-cdb/Manifest6
-rw-r--r--app-i18n/dbskkd-cdb/dbskkd-cdb-1.01-r1.ebuild (renamed from app-i18n/dbskkd-cdb/dbskkd-cdb-1.01.ebuild)24
-rw-r--r--app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd4
-rw-r--r--app-i18n/dbskkd-cdb/files/digest-dbskkd-cdb-1.01-r1 (renamed from app-i18n/dbskkd-cdb/files/digest-dbskkd-cdb-1.01)0
4 files changed, 25 insertions, 9 deletions
diff --git a/app-i18n/dbskkd-cdb/Manifest b/app-i18n/dbskkd-cdb/Manifest
index b8e718551c11..4ba7e2bd7f26 100644
--- a/app-i18n/dbskkd-cdb/Manifest
+++ b/app-i18n/dbskkd-cdb/Manifest
@@ -1,4 +1,4 @@
-MD5 eb1da72cf65ee6940ac6b87293063754 ChangeLog 452
-MD5 30bb9ff68fd55da1255be0b97eeccbbb dbskkd-cdb-1.01-r1.ebuild 1525
+MD5 2a3d42d3ae1a382a7726706d738eb0e5 ChangeLog 660
+MD5 80852c4f5194b141920796355c34cf06 dbskkd-cdb-1.01-r1.ebuild 1528
MD5 c50800da7ba411b73c590e753480c42e files/digest-dbskkd-cdb-1.01-r1 66
-MD5 c28c0f26dfa3bb0b2b9b583be3673e6b files/dbskkd-cdb.xinetd 327
+MD5 eb486f833dce14ef4409eec448038a27 files/dbskkd-cdb.xinetd 327
diff --git a/app-i18n/dbskkd-cdb/dbskkd-cdb-1.01.ebuild b/app-i18n/dbskkd-cdb/dbskkd-cdb-1.01-r1.ebuild
index dee5df8fbb38..e41ce22e1263 100644
--- a/app-i18n/dbskkd-cdb/dbskkd-cdb-1.01.ebuild
+++ b/app-i18n/dbskkd-cdb/dbskkd-cdb-1.01-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/dbskkd-cdb-1.01.ebuild,v 1.1 2003/05/05 09:29:38 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/dbskkd-cdb-1.01-r1.ebuild,v 1.1 2003/05/06 15:15:08 phosphan Exp $
DESCRIPTION="Yet another Dictionary server for the SKK Japanese-input software"
@@ -30,8 +30,24 @@ src_compile() {
src_install() {
dosbin dbskkd-cdb
- insinto /etc/xinetd.d
- newins ${FILESDIR}/dbskkd-cdb.xinetd dbskkd-cdb
-
+ einfo "Checking for xinetd..."
+ if test -f /usr/sbin/xinetd; then
+ einfo "copying xinetd configuration file for ${PN}"
+ insinto /etc/xinetd.d
+ newins ${FILESDIR}/dbskkd-cdb.xinetd dbskkd-cdb
+ else
+ einfo "No xinetd found. Config example for inetd is in /etc/inetd.skkserv"
+ dodir /etc/
+ echo > ${D}/etc/inetd.skkserv "skkserv stream tcp nowait nobody /usr/sbin/dbskkd-cdb /usr/sbin/dbskkd-cdb"
+ fi
dodoc LICENSE Release-Notes.{English,Japanese}
}
+
+pkg_postinst () {
+ ewarn "The skk server is disabled by default."
+ if test -f /usr/sbin/xinetd; then
+ ewarn "Please check /etc/xinetd.d/dbskkd-cdb"
+ else
+ ewarn "Please see /etc/inetd.skkserv for an example inetd configuration line"
+ fi
+}
diff --git a/app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd b/app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd
index 63658e12c774..5a152ae633dd 100644
--- a/app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd
+++ b/app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd
@@ -1,8 +1,8 @@
# default: off
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd,v 1.1 2003/05/05 09:29:38 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd,v 1.2 2003/05/06 15:15:08 phosphan Exp $
# description: Yet another SKK dictionary server
-server skkserv
+service skkserv
{
socket_type = stream
protocol = tcp
diff --git a/app-i18n/dbskkd-cdb/files/digest-dbskkd-cdb-1.01 b/app-i18n/dbskkd-cdb/files/digest-dbskkd-cdb-1.01-r1
index 8d8c4bdf22ba..8d8c4bdf22ba 100644
--- a/app-i18n/dbskkd-cdb/files/digest-dbskkd-cdb-1.01
+++ b/app-i18n/dbskkd-cdb/files/digest-dbskkd-cdb-1.01-r1