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 18A0C1382C5 for ; Tue, 16 Feb 2021 06:55:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20539E086F; Tue, 16 Feb 2021 06:55:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF371E086F for ; Tue, 16 Feb 2021 06:55:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4BCE4340E9C for ; Tue, 16 Feb 2021 06:55:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 886C4495 for ; Tue, 16 Feb 2021 06:55:19 +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: <1613458517.01e980289d303c40fb95fe3cfcfb415c808bd150.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.5.8.ebuild X-VCS-Directories: net-misc/whois/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 01e980289d303c40fb95fe3cfcfb415c808bd150 X-VCS-Branch: master Date: Tue, 16 Feb 2021 06:55:19 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 723ebeec-5776-42e0-9799-150a0aac7f30 X-Archives-Hash: c638f05443351281ce7838a19b6728c3 commit: 01e980289d303c40fb95fe3cfcfb415c808bd150 Author: Lars Wendler gentoo org> AuthorDate: Tue Feb 16 06:55:01 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Feb 16 06:55:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e98028 net-misc/whois: Bump to version 5.5.8 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> net-misc/whois/Manifest | 1 + net-misc/whois/whois-5.5.8.ebuild | 77 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/net-misc/whois/Manifest b/net-misc/whois/Manifest index 3b381460699..83932f068bd 100644 --- a/net-misc/whois/Manifest +++ b/net-misc/whois/Manifest @@ -1,2 +1,3 @@ DIST whois-5.5.6.tar.gz 103581 BLAKE2B 7e4aebeb440b95a278a0f0d0e51dbec2003599ee9f6e6355f29a5b043ba5cbad19310058964120142d417e6a5df86bd68d03d7ac4358be488538584c2a56740f SHA512 97a139a8e24b9a92c5597bc31e1b8d5d5bcab1ec4cc53f80cbdb7f2e5b7e54f36b3a8a8d90fd7b86452aad36adc0ba2015aaf936643b290c8a777f5f6cb27ef3 DIST whois-5.5.7.tar.gz 102666 BLAKE2B 33ead2ffdeef4ccb838eb0401cbd774837b58cbf0e9d0e079a89b1e0d29ec2303022d442c5e5bbe5c7f16099b0e1525e0d1144f0f7a6f362545d89e4990c3f8d SHA512 a0b3f1ce46dfaa165c765b8d39d33d026842c74d26aec35bbe9d6b9e12364b37065f5799913f32da04f1896c9b69a6932ad70975c91e0b51ac9d4d30679e1c2c +DIST whois-5.5.8.tar.gz 102750 BLAKE2B 87225c4472d4ac26b44f25773b5c2ec3696b8e00cf8ad48f551fcb0b1aa96b5d2b59cf09067a43f78af44caaf20bbd072c4a19f12bffee9d5566524bb21df763 SHA512 80f748f34aae9bd6053bc5c9357b7ffa8d713972486b2bf091b04378082dfe13e368de6873fc1de647527e74b07ff5a4198ff1bbd10152097341534668b5cdb7 diff --git a/net-misc/whois/whois-5.5.8.ebuild b/net-misc/whois/whois-5.5.8.ebuild new file mode 100644 index 00000000000..4420819a3d8 --- /dev/null +++ b/net-misc/whois/whois-5.5.8.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_P="${P/-/_}" +DESCRIPTION="improved Whois Client" +HOMEPAGE="https://github.com/rfc1036/whois" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/rfc1036/whois.git" +else + #SRC_URI="mirror://debian/pool/main/w/whois/${MY_P}.tar.xz" + SRC_URI="https://github.com/rfc1036/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +fi +LICENSE="GPL-2" +SLOT="0" +IUSE="iconv idn nls xcrypt" +RESTRICT="test" #59327 + +RDEPEND=" + iconv? ( virtual/libiconv ) + idn? ( net-dns/libidn2:= ) + nls? ( virtual/libintl ) + xcrypt? ( >=sys-libs/libxcrypt-4.1 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-arch/xz-utils + >=dev-lang/perl-5 + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${PN}-4.7.2-config-file.patch + "${FILESDIR}"/${PN}-5.3.0-libidn_automagic.patch + "${FILESDIR}"/${PN}-5.5.6-libxcrypt_automagic.patch +) + +src_prepare() { + default + 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 + use xcrypt && export HAVE_XCRYPT=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 +}