diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-10 12:09:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-10 12:09:13 +0100 |
commit | 35d60f48c1e8e3d48626e53a1933c55805177d20 (patch) | |
tree | 0754900eff547564866e4e7265a5f0789874f907 /net-misc/whois | |
parent | dd14643cac4a1aa6ce4151cea5c424577434968b (diff) |
gentoo auto-resync : 10:10:2023 - 12:09:13
Diffstat (limited to 'net-misc/whois')
-rw-r--r-- | net-misc/whois/Manifest | 4 | ||||
-rw-r--r-- | net-misc/whois/whois-5.5.19.ebuild | 81 | ||||
-rw-r--r-- | net-misc/whois/whois-9999.ebuild | 4 |
3 files changed, 86 insertions, 3 deletions
diff --git a/net-misc/whois/Manifest b/net-misc/whois/Manifest index 42512c1ec4dc..e7319684c062 100644 --- a/net-misc/whois/Manifest +++ b/net-misc/whois/Manifest @@ -1,9 +1,11 @@ AUX whois-4.7.2-config-file.patch 202 BLAKE2B b5c421655f40c22fcb9c9ac3194821e6e4100657bd11013ed220cea3c81c77e3c7e50432361c8e08274b59d96ff04ca22d8f500436fbefef981d587e26ef75a7 SHA512 932ce9dd51b29750a88da3082bdb1f3fd994e1d859fbdef45fadd3c833ee24d12acb6530989db60f4df3df9481d34cc5cabbdad4bf5150389a06ef7c832daf65 AUX whois-5.3.0-libidn_automagic.patch 778 BLAKE2B b9214f6f0c081abf6141057ee9f82db30dad7306fe611b1cb70d256b235d0ba544887f8b084d7b71a21486ad68d312ad98075aed51765f59ecbf7ced45684772 SHA512 8df8c99320ee4a4327f35a62dbaca0b071a3472d398604304d772f2424d607d109d87056b1a138b041c4c391409828cc7397dc62ed973dee500b2eb9f1735676 AUX whois-5.5.6-libxcrypt_automagic.patch 677 BLAKE2B e832e829f97c9b23ca4d62e037f74fdf87225390a399fa240f0789123144f07f3e2d66ec009662c9936d1a0f112998532350a2144d95dc96cac7b22250090fac SHA512 14b2787fc7933eaf21584dc93b84a605a3f593b77767f2b622b906f03c75edd3faee3d39281dc4332bb5b64b24bee07c7ccd1115f2e80ae394637bf093f70305 +DIST whois-5.5.19.tar.gz 109582 BLAKE2B 6812c8f19c60a20802adbda95d9e80e1ee39cb5fea6723e689d064cda6ac167408dfccc2f30bfd93a7d53bda9c355e292d3b4ee694812b3ffccc54c120aeedcd SHA512 f008f60a629f40eb5817c124ff586f2b4a359afa501a72633326341a28f47c5ff56ddeed48d327bf41035bc6bdc639959b92523ec22ff41d5bd58241b4c50487 DIST whois_5.5.17.tar.xz 90608 BLAKE2B 82793097e421d88130d089fc64bb0bceac0c9170b39388262b45d2bf62fc2f8b7c4e393fc5351bba6be303ced00a00af1972bf73c1c8c7c86c812b19a0a6fb5a SHA512 0ed33edc2005eb51a88bda505cc3f6ebe3966095d6f12c03cfe62c12e7e575e1d008632d12de6f27b4c09b91ce5a45705d57acce88409e573bbd7b5132df7fc6 DIST whois_5.5.18.tar.xz 90216 BLAKE2B 2098b15d36ee0f99e710fdeb10ce1650eba84da1ce770df46182439a6de07995b79746767968522200f5261490e5ffd262673705b12e1004e1ca0dd1af0b9e15 SHA512 28482a6b84d97e2ff69e7a2d01865d227d76aff41a42511a6ebd4ac636b9054643d1df800e6575fb846712e1473f7a31a211dbc08fbdfaaead443d22138266c7 EBUILD whois-5.5.17-r1.ebuild 1872 BLAKE2B a5faf0a45a539c58c9087cdd7f5d9c385dcdcb439f4585b8b388e79889ce2cd2130d4364388808115b6fb663b0366054cf52f14c564a986deed0314e13b3e285 SHA512 61dbf76a8b25094310f0b59bef2b7a98123dc8e02499870109070cd4bc535c45c9de0e625916ddb48be54eac1cbf96e82ea100904b78a8e1e989f83140005f6d EBUILD whois-5.5.18-r1.ebuild 1872 BLAKE2B a5faf0a45a539c58c9087cdd7f5d9c385dcdcb439f4585b8b388e79889ce2cd2130d4364388808115b6fb663b0366054cf52f14c564a986deed0314e13b3e285 SHA512 61dbf76a8b25094310f0b59bef2b7a98123dc8e02499870109070cd4bc535c45c9de0e625916ddb48be54eac1cbf96e82ea100904b78a8e1e989f83140005f6d -EBUILD whois-9999.ebuild 1879 BLAKE2B daff0a2e3b2448cb772f919a62a55ac8ba6f471ffa529e9d6cbd22818bc74c2ccb1c281ef37e1ca62fa28881c77aa5d733ebb76e229c9f116e12191c7e9a41ee SHA512 29986f05b154c93041ec7f725314fd1fa81ff3a06dc379b954c510c631ec8586e11ba0d9ee35f12369778da74a4e522e5341b146174df253365eeea107924289 +EBUILD whois-5.5.19.ebuild 1879 BLAKE2B ee4e86da146786b66a8d5d1868a80ca2de1412b64c3187fef75337aa46d8f89533a81625217d988d2b397d1d817b7333402d869d65a0579842bc45860e9fde4e SHA512 de7b20b198eeba5cea42357e8849d31eacd0f13276577d279c0b16b45072f1a6623c61ff1443983a6482e1a16b4e8d9f7ab1a48de561aa5bbd9914cd04889036 +EBUILD whois-9999.ebuild 1879 BLAKE2B ee4e86da146786b66a8d5d1868a80ca2de1412b64c3187fef75337aa46d8f89533a81625217d988d2b397d1d817b7333402d869d65a0579842bc45860e9fde4e SHA512 de7b20b198eeba5cea42357e8849d31eacd0f13276577d279c0b16b45072f1a6623c61ff1443983a6482e1a16b4e8d9f7ab1a48de561aa5bbd9914cd04889036 MISC metadata.xml 439 BLAKE2B 609f61e31ef22ab28f06d9f0b6542a0efbcb8a006b05f14ff6339a332bb3f04996d13c9a62b55765ce4611df0e9efe021b6f5b5060b13d00d72eae71eb9f9e3e SHA512 05bf067e25586b2032b137dae008a4c59aed9e633f37b545d6ccdca6dc3d69d8614d8ad26c34e87d956b93d24b7962c3fe908070dcfd6826c8fe916b51f29d2f diff --git a/net-misc/whois/whois-5.5.19.ebuild b/net-misc/whois/whois-5.5.19.ebuild new file mode 100644 index 000000000000..d50f25c71f08 --- /dev/null +++ b/net-misc/whois/whois-5.5.19.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 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" + #S="${WORKDIR}"/${PN} + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~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 DESTDIR="${D}" prefix="${EPREFIX}/usr" BASHCOMPDIR="$(get_bashcompdir)" install + + insinto /etc + doins whois.conf + dodoc README debian/changelog +} diff --git a/net-misc/whois/whois-9999.ebuild b/net-misc/whois/whois-9999.ebuild index 73f366159be4..d50f25c71f08 100644 --- a/net-misc/whois/whois-9999.ebuild +++ b/net-misc/whois/whois-9999.ebuild @@ -13,8 +13,8 @@ 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" + #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" #S="${WORKDIR}"/${PN} KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |