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 DBBFE1382C5 for ; Sun, 17 Jan 2021 04:10:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDFE9E085B; Sun, 17 Jan 2021 04:10:37 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 B89B1E0857 for ; Sun, 17 Jan 2021 04:10:37 +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 8794E340F97 for ; Sun, 17 Jan 2021 04:10:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 789864A8 for ; Sun, 17 Jan 2021 04:10:33 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1610856625.08cae35cc6b276289567e9be18385e6aa8b6c99f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/gwhois/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/gwhois/gwhois-20120626-r1.ebuild X-VCS-Directories: net-misc/gwhois/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 08cae35cc6b276289567e9be18385e6aa8b6c99f X-VCS-Branch: master Date: Sun, 17 Jan 2021 04:10:33 +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: 943fd0ad-4750-4fdb-a6ec-d0f55c2b0e71 X-Archives-Hash: 44da51b1fccc66defbb89e800e718674 commit: 08cae35cc6b276289567e9be18385e6aa8b6c99f Author: Sam James gentoo org> AuthorDate: Sun Jan 17 03:50:09 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 17 04:10:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08cae35c net-misc/gwhois: fix RedundantDodir Package-Manager: Portage-3.0.12.0.2-prefix, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> net-misc/gwhois/gwhois-20120626-r1.ebuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/net-misc/gwhois/gwhois-20120626-r1.ebuild b/net-misc/gwhois/gwhois-20120626-r1.ebuild index 24146bc47fe..e898b6141eb 100644 --- a/net-misc/gwhois/gwhois-20120626-r1.ebuild +++ b/net-misc/gwhois/gwhois-20120626-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit readme.gentoo-r1 MY_P="${P/_p/.}" @@ -11,23 +12,20 @@ DESCRIPTION="Generic whois" HOMEPAGE="https://julijane.de/gwhois/" # Debian is still maintaining it #SRC_URI="http://gwhois.de/gwhois/${MY_P/-/_}.tar.gz" - DEBIAN_VER="1.2" SRC_URI="mirror://debian/pool/main/g/${PN}/${MY_P/-/_}-${DEBIAN_VER}.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 + www-client/lynx " -DEPEND="" DOC_CONTENTS=" See included gwhois.xinetd for an example on how to @@ -37,7 +35,6 @@ DOC_CONTENTS=" " src_install() { - dodir /etc/gwhois insinto /etc/gwhois doins pattern dobin gwhois @@ -47,13 +44,14 @@ src_install() { } pkg_postinst() { - if [ -f /etc/gwhois/pattern.ripe ]; then + if [[ -f "${EROOT}"/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 + mv "${EROOT}"/etc/gwhois/pattern.ripe "${EROOT}"/etc/gwhois/removethis-pattern.ripe fi + readme.gentoo_print_elog }