summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2009-02-15 04:27:35 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2009-02-15 04:27:35 +0000
commit2a949bdbfeb68272d5259a9db7fafa57cad6766b (patch)
tree2ad3e341238cced452da7d797f07b85abdaf4fe9 /app-i18n/dbskkd-cdb
parentadded warning thanks to Robert Buchholz bug #238119. (diff)
downloadhistorical-2a949bdbfeb68272d5259a9db7fafa57cad6766b.tar.gz
historical-2a949bdbfeb68272d5259a9db7fafa57cad6766b.tar.bz2
historical-2a949bdbfeb68272d5259a9db7fafa57cad6766b.zip
Version bumped. Fixed LICENSE. Changed HOMEPAGE.
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/dbskkd-cdb')
-rw-r--r--app-i18n/dbskkd-cdb/ChangeLog11
-rw-r--r--app-i18n/dbskkd-cdb/Manifest6
-rw-r--r--app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild44
-rw-r--r--app-i18n/dbskkd-cdb/files/dbskkd-cdb-2.00-gentoo.patch55
-rw-r--r--app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd10
5 files changed, 123 insertions, 3 deletions
diff --git a/app-i18n/dbskkd-cdb/ChangeLog b/app-i18n/dbskkd-cdb/ChangeLog
index 8943e0f99df0..7d8079b01682 100644
--- a/app-i18n/dbskkd-cdb/ChangeLog
+++ b/app-i18n/dbskkd-cdb/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-i18n/dbskkd-cdb
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/ChangeLog,v 1.17 2008/04/13 15:55:49 matsuu Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/ChangeLog,v 1.18 2009/02/15 04:27:35 matsuu Exp $
+
+*dbskkd-cdb-2.00 (15 Feb 2009)
+
+ 15 Feb 2009; MATSUU Takuto <matsuu@gentoo.org>
+ +files/dbskkd-cdb-2.00-gentoo.patch, +files/dbskkd-cdb.xinetd,
+ +dbskkd-cdb-2.00.ebuild:
+ Version bumped. Fixed LICENSE. Changed HOMEPAGE.
13 Apr 2008; MATSUU Takuto <matsuu@gentoo.org> -files/dbskkd-cdb.xinetd,
-dbskkd-cdb-1.01-r1.ebuild:
diff --git a/app-i18n/dbskkd-cdb/Manifest b/app-i18n/dbskkd-cdb/Manifest
index df0450fa5b08..fb4a39487f82 100644
--- a/app-i18n/dbskkd-cdb/Manifest
+++ b/app-i18n/dbskkd-cdb/Manifest
@@ -1,4 +1,8 @@
+AUX dbskkd-cdb-2.00-gentoo.patch 1695 RMD160 492f0b6c5fd2443ce895c2a5094c80e04dd74b99 SHA1 b25de5fa643211364d337befad518bb83c76d63b SHA256 ee9f12996b0b25992c6b7b373799a4a872ee33972615f5daf1e2e960696ffc9e
+AUX dbskkd-cdb.xinetd 179 RMD160 72f42d4757cc1297009737dc596531213862f68d SHA1 7a731605467b12f2f9f167739c89671f175a85c9 SHA256 2da03116f2ca4765871fb56c42bffce7c418e73a1025be01bd0637a6b813d586
DIST dbskkd-cdb-1.71dev.tar.gz 7350 RMD160 8414cd64c9c1cf0b804d88e188a8770591be8861 SHA1 b27b4ef0beab2aca96a249851f860716d0007c53 SHA256 88cee276621b1cc082186cf7109fddd315c7c3211302de1c09beccc69728c59c
+DIST dbskkd-cdb-2.00.tar.gz 9296 RMD160 7841a3830663a10d6bd331e73d46c725edd44845 SHA1 645e3a2f2a65c81dd3d04bdf2a4208c94c01f3fe SHA256 0e434e72153dde3131aeeeafbb40eba0054d0d37cab47b1561e4cf6dda6da8bb
EBUILD dbskkd-cdb-1.71.ebuild 2135 RMD160 1f1081ac8f40a7072145b58eb8b8f015168cede4 SHA1 4eacd64c49e9334e160a63359801d0f202a66af4 SHA256 5925740b79e96e72c263ebacaa44999ae9ccc3e3cbb7666c47e9487b8a0ab8c3
-MISC ChangeLog 2054 RMD160 6305e74b4b7e6c3fa6daaf5b549fe5e1da8ef5e9 SHA1 ee8619fe3934d9637d11c1eac902e4cc381efa25 SHA256 ed21daadc0b1846c7c2f6c6ca2f242edc4a174a54c5d0e2bb12cefdfc55ca5e6
+EBUILD dbskkd-cdb-2.00.ebuild 1144 RMD160 7a7d232762e3fcc5d4f26fc28b171d794d06e41f SHA1 ecbc7e4fa0fba43c7b4f8aec763a5d0f7689996e SHA256 0d7ae69ad3b04fdd838cd35daa81c0aea4c9688cd900c51501aa23b2801afa2a
+MISC ChangeLog 2279 RMD160 c8f622e141acf3821904f039c3e45ac481952cbe SHA1 75bef91c628dcfbaf398874f8538bc87fed03bfd SHA256 89e95350eeeeceb4aceb108c4851572ad4b075989e58406d328ab5ae118f1075
MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
diff --git a/app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild b/app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild
new file mode 100644
index 000000000000..afa37182d3c2
--- /dev/null
+++ b/app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild,v 1.1 2009/02/15 04:27:35 matsuu Exp $
+
+EAPI="2"
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Yet another Dictionary server for the SKK Japanese-input software"
+HOMEPAGE="http://dbskkd-cdb.googlecode.com/"
+SRC_URI="http://dbskkd-cdb.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="|| ( dev-db/cdb dev-db/tinycdb )"
+RDEPEND=">=app-i18n/skk-jisyo-200705[cdb]
+ sys-apps/xinetd"
+
+pkg_setup() {
+ enewuser dbskkd -1 -1 -1
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+ sed -i -e "/^CDBLIB/s:lib:$(get_libdir):" Makefile || die
+ if has_version dev-db/cdb ; then
+ sed -i -e "/^CDBLIB/s:$: /usr/$(get_libdir)/byte.a /usr/$(get_libdir)/unix.a:" Makefile || die
+ fi
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}/${PN}.xinetd" ${PN} || die
+
+ dodoc CHANGES README* *.txt
+}
diff --git a/app-i18n/dbskkd-cdb/files/dbskkd-cdb-2.00-gentoo.patch b/app-i18n/dbskkd-cdb/files/dbskkd-cdb-2.00-gentoo.patch
new file mode 100644
index 000000000000..1b6930ce3bd0
--- /dev/null
+++ b/app-i18n/dbskkd-cdb/files/dbskkd-cdb-2.00-gentoo.patch
@@ -0,0 +1,55 @@
+diff -Naur dbskkd-cdb-2.00.orig/Makefile dbskkd-cdb-2.00/Makefile
+--- dbskkd-cdb-2.00.orig/Makefile 2009-02-06 11:56:47.000000000 +0900
++++ dbskkd-cdb-2.00/Makefile 2009-02-13 15:39:03.000000000 +0900
+@@ -1,12 +1,15 @@
+ # dbskkd-cdb Makefile
+
+-CC = cc -Wall -O2 -g -I/usr/local/include
++CC = cc
++CFLAGS += -Wall -g -I/usr/include
++LDFLAGS =
+ COMPAT =
+-CDBLIB = /usr/local/lib/libcdb.a
+-INSTALLDIR = /usr/local/libexec
++CDBLIB = /usr/lib/libcdb.a
++INSTALLDIR = /usr/libexec
++DESTDIR =
+
+ .c.o:
+- $(CC) $(COMPAT) $(PRIVATE) -c $*.c
++ $(CC) $(CFLAGS) $(COMPAT) $(PRIVATE) -c $*.c
+
+ all: dbskkd-cdb
+
+@@ -14,15 +17,16 @@
+ /bin/rm -f dbskkd-cdb *.o
+
+ dbskkd-cdb: dbskkd-cdb.o
+- $(CC) $(COMPAT) $(PRIVATE) -o dbskkd-cdb \
++ $(CC) $(LDFLAGS) $(COMPAT) $(PRIVATE) -o dbskkd-cdb \
+ dbskkd-cdb.o ${CDBLIB}
+
+ dbskkd-cdb.o: dbskkd-cdb.c
+- $(CC) $(COMPAT) $(PRIVATE) -c dbskkd-cdb.c
++ $(CC) $(CFLAGS) $(COMPAT) $(PRIVATE) -c dbskkd-cdb.c
+
+ error.o: error.c error.h
+
+ install: dbskkd-cdb
+- cp dbskkd-cdb $(INSTALLDIR); chmod 755 $(INSTALLDIR)/dbskkd-cdb
++ mkdir -p $(DESTDIR)$(INSTALLDIR)
++ cp dbskkd-cdb $(DESTDIR)$(INSTALLDIR); chmod 755 $(DESTDIR)$(INSTALLDIR)/dbskkd-cdb
+
+ # end of makefile
+diff -Naur dbskkd-cdb-2.00.orig/dbskkd-cdb.c dbskkd-cdb-2.00/dbskkd-cdb.c
+--- dbskkd-cdb-2.00.orig/dbskkd-cdb.c 2009-02-06 11:56:47.000000000 +0900
++++ dbskkd-cdb-2.00/dbskkd-cdb.c 2009-02-13 15:25:25.000000000 +0900
+@@ -27,7 +27,7 @@
+ * spelling changed from JISHO to JISYO
+ */
+ #ifndef JISYO_FILE
+-#define JISYO_FILE "/usr/local/share/skk/SKK-JISYO.L.cdb"
++#define JISYO_FILE "/usr/share/skk/SKK-JISYO.L.cdb"
+ #endif /* JISYO_FILE */
+
+ #define BUFSIZE (1024) /* max size of a request */
diff --git a/app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd b/app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd
new file mode 100644
index 000000000000..674927fe90b4
--- /dev/null
+++ b/app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd
@@ -0,0 +1,10 @@
+service skkserv
+{
+ socket_type = stream
+ wait = no
+ user = dbskkd
+ protocol = tcp
+ port = 1178
+ server = /usr/libexec/dbskkd-cdb
+ disable = yes
+}