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/skkserv | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
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/skkserv')
-rw-r--r-- | app-i18n/skkserv/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/skkserv/files/skkserv-9.6-inet_ntoa-gentoo.patch | 11 | ||||
-rw-r--r-- | app-i18n/skkserv/files/skkserv-9.6-segfault-gentoo.patch | 15 | ||||
-rw-r--r-- | app-i18n/skkserv/files/skkserv.initd | 16 | ||||
-rw-r--r-- | app-i18n/skkserv/metadata.xml | 5 | ||||
-rw-r--r-- | app-i18n/skkserv/skkserv-9.6-r3.ebuild | 43 |
6 files changed, 91 insertions, 0 deletions
diff --git a/app-i18n/skkserv/Manifest b/app-i18n/skkserv/Manifest new file mode 100644 index 000000000000..a436a6366cb2 --- /dev/null +++ b/app-i18n/skkserv/Manifest @@ -0,0 +1 @@ +DIST skk9.6mu.tar.gz 744381 SHA256 3b118ce33ad5f3bf45bea8e74875a0a35764c49c7ddc83ba93b9193fe37e5a28 SHA512 971982ce51142d92b62497da209fb69a8a1c028307f62ec6e81ea45894b597d6bb17b8966032a508531520868a0e3d89e515540d3f8030fe049a7750157b7a33 WHIRLPOOL 5deb23905e4fff4a8bade29278513e9eccff9ae4f2b48704371c0074e44d6b1c81b8ecce371ad84b6e5198e655d0293087cc64c346601f3f0c4d966517684968 diff --git a/app-i18n/skkserv/files/skkserv-9.6-inet_ntoa-gentoo.patch b/app-i18n/skkserv/files/skkserv-9.6-inet_ntoa-gentoo.patch new file mode 100644 index 000000000000..971a52f11e42 --- /dev/null +++ b/app-i18n/skkserv/files/skkserv-9.6-inet_ntoa-gentoo.patch @@ -0,0 +1,11 @@ +diff -Naur skkserv.orig/skkserv.h skkserv/skkserv.h +--- skkserv.orig/skkserv.h 2004-07-02 01:23:43.165659480 +0900 ++++ skkserv/skkserv.h 2004-07-02 01:24:19.123640760 +0900 +@@ -44,6 +44,7 @@ + #endif + #include <sys/socket.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + #include <netdb.h> + #include <signal.h> + #include <errno.h> diff --git a/app-i18n/skkserv/files/skkserv-9.6-segfault-gentoo.patch b/app-i18n/skkserv/files/skkserv-9.6-segfault-gentoo.patch new file mode 100644 index 000000000000..e40bfa942c1f --- /dev/null +++ b/app-i18n/skkserv/files/skkserv-9.6-segfault-gentoo.patch @@ -0,0 +1,15 @@ +--- skkserv.c.orig Tue Jan 21 04:16:36 1997 ++++ skkserv.c Thu Mar 25 19:45:50 1999 +@@ -723,7 +723,11 @@ + fprintf(errout, "%s:cannot get hostname, or too long hostname\n", pgmnm); + exit(1); + } +- hentry = gethostbyname(hname); ++ if ((hentry = gethostbyname(hname)) == NULL ++ && (hentry = gethostbyname("localhost")) == NULL) { ++ perror("gethostbyname"); ++ exit(1); ++ } + #ifdef NO_ADDR_LIST + strcat(hname, ":"); + strcat(hname, hentry->h_addr); diff --git a/app-i18n/skkserv/files/skkserv.initd b/app-i18n/skkserv/files/skkserv.initd new file mode 100644 index 000000000000..c2caa8e0b498 --- /dev/null +++ b/app-i18n/skkserv/files/skkserv.initd @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +start() { + ebegin "Starting skkserv" + start-stop-daemon --start --quiet --exec /usr/sbin/skkserv + eend $? +} + +stop() { + ebegin "Stopping skkserv" + start-stop-daemon --stop --quiet --exec /usr/sbin/skkserv + eend $? +} diff --git a/app-i18n/skkserv/metadata.xml b/app-i18n/skkserv/metadata.xml new file mode 100644 index 000000000000..2d5852c16c60 --- /dev/null +++ b/app-i18n/skkserv/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cjk</herd> +</pkgmetadata> diff --git a/app-i18n/skkserv/skkserv-9.6-r3.ebuild b/app-i18n/skkserv/skkserv-9.6-r3.ebuild new file mode 100644 index 000000000000..065c74c4ea0f --- /dev/null +++ b/app-i18n/skkserv/skkserv-9.6-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 +inherit eutils + +MY_P="skk${PV}mu" + +DESCRIPTION="Dictionary server for the SKK Japanese-input software" +HOMEPAGE="http://openlab.ring.gr.jp/skk/" +SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/museum/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +DEPEND=">=app-i18n/skk-jisyo-200210" + +S="${WORKDIR}/skk-${PV}mu" + +src_prepare() { + cd "${S}"/skkserv + epatch "${FILESDIR}"/${P}-segfault-gentoo.patch + epatch "${FILESDIR}"/${P}-inet_ntoa-gentoo.patch +} + +src_configure() { + econf --libexecdir="${EPREFIX}"/usr/sbin +} + +src_compile() { + cd skkserv + emake || die +} + +src_install() { + cd skkserv + dosbin skkserv || die + + newinitd "${FILESDIR}"/skkserv.initd skkserv +} |