diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2015-12-09 07:44:13 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2015-12-09 09:15:45 +0100 |
commit | 84fb4ef01ff9375652239def79c9132cd564b66a (patch) | |
tree | e94893302c1c1723374e8396fb0345d715b7cbb3 /net-misc/whois | |
parent | app-emulation/xen-tools: re-add xen-tools-4.5.2-r1.ebuild (diff) | |
download | gentoo-84fb4ef01ff9375652239def79c9132cd564b66a.tar.gz gentoo-84fb4ef01ff9375652239def79c9132cd564b66a.tar.bz2 gentoo-84fb4ef01ff9375652239def79c9132cd564b66a.zip |
net-misc/whois: Bump to version 5.2.11
Package-Manager: portage-2.2.26
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-misc/whois')
-rw-r--r-- | net-misc/whois/Manifest | 1 | ||||
-rw-r--r-- | net-misc/whois/whois-5.2.11.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/net-misc/whois/Manifest b/net-misc/whois/Manifest index 2f982949b1c1..79fb2ba39180 100644 --- a/net-misc/whois/Manifest +++ b/net-misc/whois/Manifest @@ -2,4 +2,5 @@ DIST whois_5.0.25.tar.xz 72540 SHA256 1207bea7bcc6241554c496608a834e4b3cc1ef4bc1 DIST whois_5.0.26.tar.xz 72508 SHA256 729625ef81425f4771e06492bb4f3e9f24bff75b8176044ce8d2f605f7ad6af5 SHA512 5a292fe721bdaea5db35437a904c0884723d037823769eccc4890cccebb3991534a2dc218b2e7abc7881cd7423dbf389fefc724899b90d28b45e45e17ca774cc WHIRLPOOL 5fa3c60237c99a616c048a25957139bc802100d242138fc41698f56842cccc203eea0040c9953ac534a27fc48db11bb230625e4fe89e51f6635a23209a96ffde DIST whois_5.1.5.tar.xz 77176 SHA256 d4a192d6208f1ed3856b5089e2de5fc986031c96148b97c9ef43af7a21af1a9d SHA512 99fb43494aa7ff809055e31679eecb1d8a2a1276c54e550a9559cbca84c4ed7044953bf86f9f155e28f4a3c9d78f7c87ec28188f971c8f30e07d4ca5ef03c8eb WHIRLPOOL 62e2a2b4dcbcf4bb2b2cf320f0ea6a4286e512c032e9d22ba355d60c5a4dd5fea5a23b7db8ec40fcebea9b7e2699dea923484b7176f7fe48f63f5239f456ee7b DIST whois_5.2.10.tar.xz 78732 SHA256 8acb42bc693f73f3141b413f7df11b5582b9b738d9bf0d60e9017a8af4cb53b9 SHA512 6f7f409c10c20231e91afb113a60ce6642018700521505546ec1a469c43df236578fbab3e0efd95d0723b1c6379bdfcdef9382b6582af1ae9eca342b925695cb WHIRLPOOL edf7cea6548eaa31e1d10bd2e1464c0025f83937c7e990c1a824f2c24dbda60601cf6cca296132e6c574ccfe61c45a880f58199e4c60dc02efde87a656839887 +DIST whois_5.2.11.tar.xz 79112 SHA256 32f7d6be853aa6a6a8ac6dd672bd60ae4f10bc0bedcaa944363ffbef6e57cef7 SHA512 cb947317c4310766683fad4572f1fb1c111ccbdbf4a05de9faf665e43f3ed2535d6be4dc8bc6ba860ab7b465ff5cbd964c8615404987353b09ddf450fab2dd33 WHIRLPOOL 10d81dc4552e1df99062b9f352ed64f103bd9ea5e8e24d77b5bd559171a45054ea31bba665e3b3262ea1724857fd1a4a2bbb47b56db0f98e8b06b74bd6ccd100 DIST whois_5.2.9.tar.xz 78468 SHA256 eee5446bf76ca7d38052767d6e2c542297d3a54ce928cada0ff24d2f1749d359 SHA512 083c77c133dff675a346c203cbd3dd2327ef4b980c474b0deb66d21d9687739b4ccb12a7d1666eb091654902456e64bb416349073d13f16773c56d867f6a2f04 WHIRLPOOL 696db7a8b7f35b4d2f757bbeceb4e4c45baf603ef8c7bdda448719cc1ec78ddac4672f7b06eb04a4dc502af9a9c5fade56eb457fe13e61e96b16ae303d27efe3 diff --git a/net-misc/whois/whois-5.2.11.ebuild b/net-misc/whois/whois-5.2.11.ebuild new file mode 100644 index 000000000000..ef16fcefa640 --- /dev/null +++ b/net-misc/whois/whois-5.2.11.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 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 ~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 +} |