diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-i18n/dbskkd-cdb | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-i18n/dbskkd-cdb')
-rw-r--r-- | app-i18n/dbskkd-cdb/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild | 44 | ||||
-rw-r--r-- | app-i18n/dbskkd-cdb/files/dbskkd-cdb-2.00-gentoo.patch | 54 | ||||
-rw-r--r-- | app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd | 10 | ||||
-rw-r--r-- | app-i18n/dbskkd-cdb/metadata.xml | 8 |
5 files changed, 117 insertions, 0 deletions
diff --git a/app-i18n/dbskkd-cdb/Manifest b/app-i18n/dbskkd-cdb/Manifest new file mode 100644 index 00000000000..662591b2f11 --- /dev/null +++ b/app-i18n/dbskkd-cdb/Manifest @@ -0,0 +1 @@ +DIST dbskkd-cdb-2.00.tar.gz 9296 SHA256 0e434e72153dde3131aeeeafbb40eba0054d0d37cab47b1561e4cf6dda6da8bb SHA512 3582728d2a1917c00437b273208fa150a5a32dcd462752c6751ddbd574ca7f1476b2aca0d2613471a800bd17f80e2c4b60846f9056ae621996f8f5a5592fa22a WHIRLPOOL 028849c4ab2d74338b6fcaed02f3c7b1ecea6315274499233e8097e4dab0bfd6d97a693657a1db8408d4e87933f804e253fa5a2e55a96ec47ba98bc45014e603 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 00000000000..0db1fab63e4 --- /dev/null +++ b/app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" +inherit eutils multilib toolchain-funcs user + +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="amd64 ppc 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 00000000000..c4c79d22ead --- /dev/null +++ b/app-i18n/dbskkd-cdb/files/dbskkd-cdb-2.00-gentoo.patch @@ -0,0 +1,54 @@ +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,14 @@ + # dbskkd-cdb Makefile + +-CC = cc -Wall -O2 -g -I/usr/local/include ++CC = cc ++CFLAGS += -Wall -g -I/usr/include -I/usr/include/cdb + 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 00000000000..674927fe90b --- /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 +} diff --git a/app-i18n/dbskkd-cdb/metadata.xml b/app-i18n/dbskkd-cdb/metadata.xml new file mode 100644 index 00000000000..de646be8897 --- /dev/null +++ b/app-i18n/dbskkd-cdb/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cjk</herd> + <upstream> + <remote-id type="google-code">dbskkd-cdb</remote-id> + </upstream> +</pkgmetadata> |