From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8D1E51395E1 for ; Mon, 31 Oct 2016 20:31:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5832E0B68; Mon, 31 Oct 2016 20:31:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7EAD9E0B68 for ; Mon, 31 Oct 2016 20:31:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A91A341642 for ; Mon, 31 Oct 2016 20:31:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D2D424B2 for ; Mon, 31 Oct 2016 20:31:21 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1477945874.5b7272fbc77f9dc154681b9e0645a9a36bce5768.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/whois/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/whois/Manifest net-misc/whois/whois-5.2.13.ebuild X-VCS-Directories: net-misc/whois/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 5b7272fbc77f9dc154681b9e0645a9a36bce5768 X-VCS-Branch: master Date: Mon, 31 Oct 2016 20:31:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 051c27c1-d0ea-4f3a-8f49-2977d149710e X-Archives-Hash: 07f817ed01bf5044453db81c9158453a commit: 5b7272fbc77f9dc154681b9e0645a9a36bce5768 Author: Lars Wendler gentoo org> AuthorDate: Mon Oct 31 20:28:06 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Oct 31 20:31:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b7272fb net-misc/whois: Bump to version 5.2.13 Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler gentoo.org> net-misc/whois/Manifest | 1 + net-misc/whois/whois-5.2.13.ebuild | 61 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/net-misc/whois/Manifest b/net-misc/whois/Manifest index 0365755..24ab1bd 100644 --- a/net-misc/whois/Manifest +++ b/net-misc/whois/Manifest @@ -3,3 +3,4 @@ DIST whois_5.0.26.tar.xz 72508 SHA256 729625ef81425f4771e06492bb4f3e9f24bff75b81 DIST whois_5.1.5.tar.xz 77176 SHA256 d4a192d6208f1ed3856b5089e2de5fc986031c96148b97c9ef43af7a21af1a9d SHA512 99fb43494aa7ff809055e31679eecb1d8a2a1276c54e550a9559cbca84c4ed7044953bf86f9f155e28f4a3c9d78f7c87ec28188f971c8f30e07d4ca5ef03c8eb WHIRLPOOL 62e2a2b4dcbcf4bb2b2cf320f0ea6a4286e512c032e9d22ba355d60c5a4dd5fea5a23b7db8ec40fcebea9b7e2699dea923484b7176f7fe48f63f5239f456ee7b DIST whois_5.2.11.tar.xz 79112 SHA256 32f7d6be853aa6a6a8ac6dd672bd60ae4f10bc0bedcaa944363ffbef6e57cef7 SHA512 cb947317c4310766683fad4572f1fb1c111ccbdbf4a05de9faf665e43f3ed2535d6be4dc8bc6ba860ab7b465ff5cbd964c8615404987353b09ddf450fab2dd33 WHIRLPOOL 10d81dc4552e1df99062b9f352ed64f103bd9ea5e8e24d77b5bd559171a45054ea31bba665e3b3262ea1724857fd1a4a2bbb47b56db0f98e8b06b74bd6ccd100 DIST whois_5.2.12.tar.xz 80428 SHA256 b26d4027b8987d9911466aa06ce2c167a50017cd59a622a429bd506222f6cdf1 SHA512 df40e2e7cbd11d00984f865e122ad4ece882a6a45e2f75ad5ea24ce937b7e9452b01fd886f43bae55fd065a6556cfc4577e7126151b5fd43fa806c4b0c886ced WHIRLPOOL a2c5a3e9f01dd0cbb127269632c60e6c71c981df4d4e53fdf37e2c1932252f3ae2b13961a1c8606b542fd9997bf9fcb62a6cef592a01dbd04ff18c75e3f9b3ec +DIST whois_5.2.13.tar.xz 82148 SHA256 cc83a9b93c47e0334aa812d7d731972cf09aceb59235d452525a77cd6f5f6b64 SHA512 0c9028021415e69116e891696c86b26cbab17f861829fe5f9a5ed1528f7e6d8406890a8d1afdeb17e41856eaa076fe7417557034b20bb59109b9fc5970ad05c7 WHIRLPOOL d911883b79e76dd988d56a14eafa25a373d92918df45424349e38a1c1650a622c3d8db4302a84b9141cd1f94c1777c763752b401b64f44d2987df4b784630d77 diff --git a/net-misc/whois/whois-5.2.13.ebuild b/net-misc/whois/whois-5.2.13.ebuild new file mode 100644 index 00000000..826db9c --- /dev/null +++ b/net-misc/whois/whois-5.2.13.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +MY_P=${P/-/_} +DESCRIPTION="improved Whois Client" +HOMEPAGE="http://www.linux.it/~md/software/" +SRC_URI="mirror://debian/pool/main/w/whois/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" +IUSE="iconv idn nls" +RESTRICT="test" #59327 + +RDEPEND="iconv? ( virtual/libiconv ) + idn? ( net-dns/libidn ) + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + app-arch/xz-utils + >=dev-lang/perl-5 + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch + + if use nls ; then + sed -i -e 's:#\(.*pos\):\1:' Makefile || die + else + sed -i -e '/ENABLE_NLS/s:define:undef:' config.h || die + + # don't generate po files when nls is disabled (bug #419889) + sed -i -e '/^all:/s/ pos//' \ + -e '/^install:/s/ install-pos//' Makefile || die + fi +} + +src_configure() { :;} # expected no-op + +src_compile() { + unset HAVE_ICONV HAVE_LIBIDN + use iconv && export HAVE_ICONV=1 + use idn && export HAVE_LIBIDN=1 + tc-export CC + emake CFLAGS="${CFLAGS} ${CPPFLAGS}" +} + +src_install() { + emake BASEDIR="${ED}" prefix=/usr install + insinto /etc + doins whois.conf + dodoc README debian/changelog + + if [[ ${USERLAND} != "GNU" ]]; then + mv "${ED}"/usr/share/man/man1/{whois,mdwhois}.1 || die + mv "${ED}"/usr/bin/{whois,mdwhois} || die + fi +}