public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/whois/
Date: Sat, 12 Mar 2022 00:00:43 +0000 (UTC)	[thread overview]
Message-ID: <1647043090.218a1641c6d3942f6b14f6f435674a2fb64badbc.sam@gentoo> (raw)

commit:     218a1641c6d3942f6b14f6f435674a2fb64badbc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 11 23:58:10 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 11 23:58:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218a1641

net-misc/whois: add 5.5.12

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/whois/Manifest            |  1 +
 net-misc/whois/whois-5.5.12.ebuild | 81 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/net-misc/whois/Manifest b/net-misc/whois/Manifest
index 2ba008a3ee23..c62890ba9d08 100644
--- a/net-misc/whois/Manifest
+++ b/net-misc/whois/Manifest
@@ -1,2 +1,3 @@
 DIST whois-5.5.10.tar.gz 102555 BLAKE2B 9f1236ceeaea839e5f2a33aa63b39fa7e0566eeb4d2131b88b47dd62f037639a5860719a645d9cc2d0707faa1e86c9822634dda37e1a7a8d3b31a78cf34ecce2 SHA512 5ee92c15146353e77dddcbeddb6e704e0c42d29b8c0ff899ecce80f8e39903e8c796daec7f3de3f197d382f88e7cd4abd470463ea6c13a01347d0cd15d99af28
 DIST whois-5.5.11.tar.gz 102806 BLAKE2B be1a5f04ee5af4987224151116d1d7e37ad580b8cc00c3fd4752e10b2cbc1dc46a528591cf75e95a83a99884c961f20865802246e00508c90e338590e7e0be37 SHA512 a7e400a727dd88b4c8f1df2e850879ece882b9af1d5daaff22bb3e1c88be01b4e5430f74f9d4afd4c73538d87022536e40d5f3f63a501a95845396fe0be595b4
+DIST whois-5.5.12.tar.gz 103268 BLAKE2B f9e132a0de189ede87342383f4b869529efe4d99ffdb12450ab909f4df135dbab40319b16d889533803783ed7de4a518ff81d267d0939b3040bf2e25bff8b711 SHA512 f46065d6df0dc6f7d33996e33f456cef9b313e025515916e0476c36255df2919e49f2dcb7666b179393a4429572ac7e099c2783d72cff73222953ac093484786

diff --git a/net-misc/whois/whois-5.5.12.ebuild b/net-misc/whois/whois-5.5.12.ebuild
new file mode 100644
index 000000000000..7ddebc10e44a
--- /dev/null
+++ b/net-misc/whois/whois-5.5.12.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2022 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"
+
+RDEPEND="iconv? ( virtual/libiconv )
+	idn? ( net-dns/libidn2:= )
+	nls? ( virtual/libintl )
+	xcrypt? ( >=sys-libs/libxcrypt-4.1:= )
+	!xcrypt? ( virtual/libcrypt:= )"
+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 ! use userland_GNU ; then
+		mv "${ED}"/usr/share/man/man1/{whois,mdwhois}.1 || die
+		mv "${ED}"/usr/bin/{whois,mdwhois} || die
+	fi
+}


             reply	other threads:[~2022-03-12  0:00 UTC|newest]

Thread overview: 180+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-12  0:00 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30  9:05 [gentoo-commits] repo/gentoo:master commit in: net-misc/whois/ Arthur Zamarin
2024-08-29  5:16 Jakov Smolić
2024-08-29  3:15 Sam James
2024-07-04  0:29 Sam James
2024-02-29  4:34 Sam James
2023-12-28  4:23 Sam James
2023-11-12 16:50 Arthur Zamarin
2023-11-12  8:32 Arthur Zamarin
2023-11-12  8:32 Arthur Zamarin
2023-11-12  8:20 Arthur Zamarin
2023-11-12  8:20 Arthur Zamarin
2023-11-12  8:20 Arthur Zamarin
2023-11-12  8:20 Arthur Zamarin
2023-11-12  4:24 Sam James
2023-10-10  6:30 Sam James
2023-10-09 21:45 Sam James
2023-10-09  6:18 Sam James
2023-10-09  4:36 Sam James
2023-10-09  4:36 Sam James
2023-10-09  4:21 Sam James
2023-09-02 14:10 Mike Gilbert
2023-09-02  3:19 Mike Gilbert
2023-07-23 23:55 Sam James
2023-06-10  7:08 Sam James
2023-06-09 14:17 Sam James
2023-06-09 13:52 Arthur Zamarin
2023-06-09 13:51 Arthur Zamarin
2023-06-09 13:51 Arthur Zamarin
2023-06-09 13:48 Sam James
2023-06-09 13:48 Sam James
2023-05-05  4:19 Sam James
2023-05-05  4:19 Sam James
2023-03-13 21:23 Sam James
2022-12-29 21:27 Sam James
2022-11-19  2:08 Sam James
2022-11-19  1:49 Sam James
2022-11-19  1:49 Sam James
2022-11-19  1:35 Sam James
2022-11-19  1:35 Sam James
2022-11-19  1:35 Sam James
2022-11-19  1:35 Sam James
2022-10-17 22:03 Sam James
2022-10-17 22:03 Sam James
2022-06-18  7:42 David Seifert
2022-05-22  6:22 Agostino Sarubbo
2022-05-22  6:19 Agostino Sarubbo
2022-05-22  6:17 Agostino Sarubbo
2022-05-22  3:21 Sam James
2022-05-22  3:20 Sam James
2022-05-22  3:18 Sam James
2022-05-22  3:18 Sam James
2022-04-17 17:06 Sam James
2022-04-13  0:46 Sam James
2022-04-05  3:43 Yixun Lan
2022-04-05  3:43 Yixun Lan
2022-02-19  9:32 Arthur Zamarin
2022-02-19  9:25 Arthur Zamarin
2022-02-19  3:02 Sam James
2022-02-19  2:36 Sam James
2022-02-19  2:36 Sam James
2022-02-19  2:28 Sam James
2022-02-19  2:24 Sam James
2022-01-04  8:36 Lars Wendler
2021-09-04 17:35 David Seifert
2021-08-11 19:11 Sam James
2021-08-11  0:23 Sam James
2021-08-11  0:04 Sam James
2021-06-23  0:02 Sam James
2021-06-23  0:02 Sam James
2021-06-22 23:56 Sam James
2021-06-07  8:29 Lars Wendler
2021-05-10 14:44 David Seifert
2021-05-09 21:48 Sam James
2021-05-09 21:48 Sam James
2021-05-09 21:48 Sam James
2021-05-09 21:44 Sam James
2021-05-09 21:42 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2021-03-28 12:46 Lars Wendler
2021-03-28 12:46 Lars Wendler
2021-02-16  6:55 Lars Wendler
2020-10-04 11:34 Lars Wendler
2020-09-18 10:30 Lars Wendler
2020-09-03 23:57 Sam James
2020-09-02  6:33 Sergei Trofimovich
2020-09-01 16:17 Sam James
2020-08-29 17:57 Thomas Deutschmann
2020-08-25 17:48 Sergei Trofimovich
2020-08-23  6:49 Sam James
2020-08-22  5:43 Agostino Sarubbo
2020-08-21 18:20 Agostino Sarubbo
2020-02-17 10:12 Lars Wendler
2020-02-17 10:12 Lars Wendler
2020-01-25 20:04 Thomas Deutschmann
2020-01-01 18:27 Lars Wendler
2020-01-01 18:27 Lars Wendler
2019-11-18  9:22 Lars Wendler
2019-10-15 14:28 Lars Wendler
2019-10-05  0:37 Thomas Deutschmann
2019-08-18 23:23 Lars Wendler
2019-08-18 23:23 Lars Wendler
2019-07-29 11:06 Lars Wendler
2019-07-29 10:40 Mikle Kolyada
2019-07-29 10:40 Mikle Kolyada
2019-07-29 10:40 Mikle Kolyada
2019-07-29 10:40 Mikle Kolyada
2019-07-26  8:47 Agostino Sarubbo
2019-07-24  8:19 Agostino Sarubbo
2019-07-23  9:06 Lars Wendler
2019-07-23  9:06 Lars Wendler
2019-07-22 21:24 Sergei Trofimovich
2019-07-22 13:54 Agostino Sarubbo
2019-07-21  8:37 Sergei Trofimovich
2019-07-21  8:25 Sergei Trofimovich
2019-07-21  8:19 Sergei Trofimovich
2019-07-21  8:16 Sergei Trofimovich
2019-07-20 21:35 Aaron Bauman
2019-07-19 21:47 Lars Wendler
2019-07-19 21:47 Lars Wendler
2019-06-12 22:39 Lars Wendler
2019-06-12 22:39 Lars Wendler
2019-03-28  8:50 Lars Wendler
2019-03-28  8:50 Lars Wendler
2019-01-28  8:51 Lars Wendler
2018-11-29 17:54 Mikle Kolyada
2018-11-29 17:54 Mikle Kolyada
2018-11-25 23:24 Mart Raudsepp
2018-11-18  9:28 Mikle Kolyada
2018-11-06 23:56 Sergei Trofimovich
2018-11-02  7:50 Matt Turner
2018-10-30 13:19 Mikle Kolyada
2018-10-28 21:42 Sergei Trofimovich
2018-10-28 21:29 Thomas Deutschmann
2018-10-28 20:37 Sergei Trofimovich
2018-10-28 17:25 Sergei Trofimovich
2018-10-28 10:23 Sergei Trofimovich
2018-10-27 15:29 Lars Wendler
2018-10-27 15:29 Lars Wendler
2018-07-16  8:00 Lars Wendler
2018-07-16  8:00 Lars Wendler
2018-05-28 14:11 Lars Wendler
2018-05-27 14:59 Mikle Kolyada
2018-05-22 20:46 Lars Wendler
2018-05-22 20:46 Lars Wendler
2018-05-01 20:54 Mikle Kolyada
2018-04-22  8:22 Mart Raudsepp
2018-03-25 17:18 Markus Meier
2018-03-04 16:23 Tobias Klausmann
2018-01-26 14:54 Mikle Kolyada
2018-01-22 21:27 Sergei Trofimovich
2018-01-21 22:10 Sergei Trofimovich
2018-01-21 20:30 Thomas Deutschmann
2018-01-21 10:40 Lars Wendler
2017-12-28 15:51 Lars Wendler
2017-12-28 15:51 Lars Wendler
2017-12-12 14:46 Lars Wendler
2017-12-12 14:46 Lars Wendler
2017-08-31 17:38 Tim Harder
2017-08-24  6:40 Lars Wendler
2017-08-24  6:40 Lars Wendler
2017-07-28  7:41 Lars Wendler
2017-06-13  7:32 Lars Wendler
2017-06-13  7:32 Lars Wendler
2017-02-28 14:59 Lars Wendler
2017-01-19 14:14 Mike Frysinger
2017-01-19 14:14 Mike Frysinger
2016-12-30 12:33 Lars Wendler
2016-12-17  9:39 Aaron Bauman
2016-11-26 10:01 Markus Meier
2016-11-15 14:53 Tobias Klausmann
2016-11-08  7:51 Jeroen Roovers
2016-10-31 20:31 Lars Wendler
2016-10-31 20:31 Lars Wendler
2016-03-30  7:58 Lars Wendler
2016-03-30  7:58 Lars Wendler
2016-02-16 12:25 Stephen Klimaszewski
2015-12-09  8:16 Lars Wendler
2015-12-09  8:16 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1647043090.218a1641c6d3942f6b14f6f435674a2fb64badbc.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox