summaryrefslogtreecommitdiff
path: root/net-misc/gwhois
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/gwhois
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/gwhois')
-rw-r--r--net-misc/gwhois/Manifest6
-rw-r--r--net-misc/gwhois/files/gwhois.xinetd18
-rw-r--r--net-misc/gwhois/gwhois-20120626.ebuild46
-rw-r--r--net-misc/gwhois/metadata.xml17
4 files changed, 87 insertions, 0 deletions
diff --git a/net-misc/gwhois/Manifest b/net-misc/gwhois/Manifest
new file mode 100644
index 000000000000..2088dcd592a2
--- /dev/null
+++ b/net-misc/gwhois/Manifest
@@ -0,0 +1,6 @@
+AUX gwhois.xinetd 305 SHA256 5b181e76750645b06c7aa4bcd0f41ac3e759f7ca2f03e6002d8ed91e6ee65540 SHA512 33afac83df9f8d53b54144358cd50b1ea40e266fd5438d1f8a32954c4f05cdb608b5ebc688673f1866ac76e59dfb0b097884bb38077e50061639152899d68460 WHIRLPOOL 98afeb9cffa31e544f11d1dc4497b4dfd6db0c481386d85c9e6c40461395e9ce23ac8f3e751bd096b34d23af93e3a8f4c83d608b65aab050e5daff29d32d7dca
+DIST gwhois_20120626.tar.gz 41698 SHA256 8d72f3228ff3f4334d8d9455434fdf38284c3f6db70de815a387f19b28bcefd6 SHA512 8ffaa611389929435f70d3f020e28249e6e3109c4e822e9318b050f52cf09d6934adbb14ab67a6361574ce8645656d5eaf24808dea453f2187352fc2b2513e0e WHIRLPOOL 1aede56813b9eec3e37c425b267b8894fdf14cc3a24af281c325efbe93a9688de72821a15d7e5517d1f1134b02625251ed273298c5d71f862084f6ab3c425c2e
+EBUILD gwhois-20120626.ebuild 1168 SHA256 99a44160d07c765f681cbd2a6fa008eeea32795c90855cfe93b900a9947a8001 SHA512 b00cf5d6afdff787d090adbdaa75fda4add2f5daa07b70f1d7f428aaf797eb69b4894579c264b18dfe703a30c2d729a38809fb78a58b0eeb1854b25f45812692 WHIRLPOOL c0b1fa2cb9b5d001ef33cc3504603389a8183e3f700c699e7536edf9f10d6fad268f31d89b4c4c7ee8cd45e359749799796cca2d1fbe8b0710b3168f877d9a02
+MISC ChangeLog 2201 SHA256 2226c19a81ab9f1c47485274a4ffd1aad5020be8b8f2b4d28ed68a0223626974 SHA512 656ba19ec4da67757f29253933daa0282b73687db34327dcf5fbd68853dbdf66f22ef98cc8cd41d3b837dc6848ad6d032e876bc27b97255c061d9f8a45fcf815 WHIRLPOOL e76499358cd6bd32fc9ef71ab12cefaf49ef5c6b9429cfe97179db6c1eb3817960c7dec3610a050c185727911bf09b95a5afc59278a3648aa5f671bfbeb1374e
+MISC ChangeLog-2015 7566 SHA256 92a69218680308be9665cb8999365341ac6d2b0a090f15cb090ae8c1a3ddf7a2 SHA512 8e6e272402e9749d1d9f6faa54656cc69104d6dbf69a0549b7222134a5cacdaf8971c911e664b6fbf2a0640140146e9c763736db9b50ff1a93d0c1d7da1aae00 WHIRLPOOL 8a09745525a577c616ac37088eca65877d4f2e3d59c61670cb4eb98e84ab085a0ed5559e292cfc69fa1e22025bb38a819376a92220a62c9cbc051c463bd02b31
+MISC metadata.xml 656 SHA256 a1a83e768197800a76ad832e54f6c5371a87c0f6af603e6eb3b487c1d8540878 SHA512 8e5316be51de79a5ec0bcebae33a202a1f9ffc1f1d58f10fd7d4ef2a7e32559ed690d07454bc3720b1ae69531ae3aef6c967f30c8554cd51b2527621cfd601ec WHIRLPOOL 898a9684a2935aa69747cb99fc724cc7685929caf225be6c9c1b96900a57b06f10cd92a4d8604b3a73e61879a06fbdf2459653de4026dff7ebb3456737f7ac85
diff --git a/net-misc/gwhois/files/gwhois.xinetd b/net-misc/gwhois/files/gwhois.xinetd
new file mode 100644
index 000000000000..b518371dd9df
--- /dev/null
+++ b/net-misc/gwhois/files/gwhois.xinetd
@@ -0,0 +1,18 @@
+## whois service
+service whois
+{
+ disable = no
+ socket_type = stream
+ protocol = tcp
+ port = 43
+ wait = no
+ user = gwhois
+# group =
+ server = /usr/bin/gwhois
+# server_args =
+ only_from = 0.0.0.0
+ instances = 20
+ log_on_success += PID HOST DURATION USERID EXIT
+ log_on_failure += HOST USERID
+ nice = 5
+}
diff --git a/net-misc/gwhois/gwhois-20120626.ebuild b/net-misc/gwhois/gwhois-20120626.ebuild
new file mode 100644
index 000000000000..dea737cfdd30
--- /dev/null
+++ b/net-misc/gwhois/gwhois-20120626.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+MY_P=${P/_p/.}
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="generic whois"
+HOMEPAGE="http://gwhois.de/"
+SRC_URI="http://gwhois.de/gwhois/${MY_P/-/_}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND="www-client/lynx
+ net-misc/curl
+ dev-lang/perl
+ dev-perl/libwww-perl
+ dev-perl/Net-LibIDN"
+
+src_install() {
+ dodir /etc/gwhois
+ insinto /etc/gwhois
+ doins pattern
+ dobin gwhois
+ doman gwhois.1
+ dodoc TODO "${FILESDIR}/gwhois.xinetd" README.RIPE
+ einfo ""
+ einfo "See included gwhois.xinetd for an example on how to"
+ einfo "use gwhois as a whois proxy using xinetd."
+ einfo "Just copy gwhois.xinetd to /etc/xinetd.d/gwhois"
+ einfo "and reload xinetd."
+ einfo ""
+}
+
+pkg_postinst() {
+ if [ -f /etc/gwhois/pattern.ripe ]; then
+ ewarn ""
+ ewarn "Will move old /etc/gwhois/pattern.ripe to removethis-pattern.ripe"
+ ewarn "as it causes malfunction with this version."
+ ewarn "If you did not modify the file, just remove it."
+ ewarn ""
+ mv /etc/gwhois/pattern.ripe /etc/gwhois/removethis-pattern.ripe
+ fi
+}
diff --git a/net-misc/gwhois/metadata.xml b/net-misc/gwhois/metadata.xml
new file mode 100644
index 000000000000..00c016332670
--- /dev/null
+++ b/net-misc/gwhois/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>wschlich@gentoo.org</email>
+ <name>Wolfram Schlich</name>
+ <description>Primary maintainer</description>
+</maintainer>
+<longdescription>
+gwhois is a generic whois client which can be used as a commandline
+whois client or as a whois proxy service using (x)inetd
+</longdescription>
+<longdescription lang="ja">
+gwhois は (x)inetd 経由のプロクシ・サービスとして利用できるコマンド
+ライン操作の一般的 whois クライアントです。
+</longdescription>
+</pkgmetadata>