diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-29 02:06:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-29 02:06:03 +0000 |
commit | 2a3c08f4647671d17f534a5dbd8bd45e11c90ea2 (patch) | |
tree | 67ecd2d13b251a03c4834bdec638d301818901eb /net-misc/wget2 | |
parent | a2148b9fab4c83209816a49f091d70873b19881d (diff) |
gentoo auto-resync : 29:11:2024 - 02:06:03
Diffstat (limited to 'net-misc/wget2')
-rw-r--r-- | net-misc/wget2/Manifest | 2 | ||||
-rw-r--r-- | net-misc/wget2/wget2-2.2.0.ebuild | 91 |
2 files changed, 93 insertions, 0 deletions
diff --git a/net-misc/wget2/Manifest b/net-misc/wget2/Manifest index 4106af17e53b..e32a3430c627 100644 --- a/net-misc/wget2/Manifest +++ b/net-misc/wget2/Manifest @@ -2,7 +2,9 @@ AUX wget2-2.0.1-stdint.patch 573 BLAKE2B bd2f85fc234a6d019c10212bee2c636c9b42847 AUX wget2-fix-build-issues-with-clang-16.patch 841 BLAKE2B 055c0e61566fa78360481f618dbcdc5fd65f853c94ac4b5d1e75e43a5be9b6295e9281c632635405eec840a79b6d106b30bf068d7577f21d8d087f6b102f39f1 SHA512 59c95329ee7f779be169c2a9032a36dd49e8c596967ba3a6d0dc12ba3cbd67dab8acccabff7d73126232ee60b699b84ee95253c17b39b47e049134b86700608a DIST wget2-2.0.1.tar.gz 3780748 BLAKE2B cc28c58ab59c28540259545d60b19d6c513725e856fce02690e40ab0818d213bd656de704bd6310650af7190d7d3265fee859eebab326ad441f7351213fce6d3 SHA512 7a4afebf87ecda9e7e2d1fb2861c220875a96bab7c7ead6397c7ac11b6effae80d80f71b57a58d6b91a6c849b9a9fd974ce620d3050f677dd0fc4bc05358b27e DIST wget2-2.1.0.tar.gz 3867884 BLAKE2B 4bde0b8d8d703f863db10dccdcafe9c93923a6861b973607f7ec2c06fa68921561b41eb049e59ccab4f0abafe5017e15d4131d684ad47b4fa4f6ac38c8772ed2 SHA512 ae1fc267b1c2ee182ee59f0fc34fef238326a20f1ea1c15be6db2c16b70d49e89f61ca937d3e64d214f73ef9646ba4318782ac4210db51bd3d89c55ce4406872 +DIST wget2-2.2.0.tar.gz 4094789 BLAKE2B 20175a91cbddf5f7506d79ba481d7d983df27849fe5e3247f5981873795fbddc786326bd51646366e2bc1ebe64ea4535f19bcd558074c35aac7ee12e6c9996d5 SHA512 b39fb6f65b3be39c0f8f33a337c0417c8b31bf993cddbab1ef5e3dba66c6651ff8ec25d3a01ab5aa632072b14adab06adc4941bdb8e9cbf3b60bdd6f3f059cf1 EBUILD wget2-2.0.1-r5.ebuild 2101 BLAKE2B ad5a9b30d712ff74aab2341b64acad027c331f968f284959bf4efd2126eae7b09ada5686991415169475e1eb1ca8ad3f63c2285c082982d192566ce7fc30cf42 SHA512 8ed0502c73d3e4da18cb5431305b7f213b0ff718d4afe65d3bf186506696debe429fe6f767e754096dcb5a341f2b66eb26ca5662fd56d4627649a48e52154317 EBUILD wget2-2.1.0-r1.ebuild 2004 BLAKE2B d5211b88e52e3079711720979fccb0a8a59b4fcdb22b219cfb1a5d97723ace8cf91c412b6706b54e0708fb400bcf1be124ed53c89e80dd6b28ad80991dbfab35 SHA512 f7b31a8d372e129a862a5467509e3c971b72a69b17599156c780231ffc3278b28417c2efbb0827beb832c9cfeb27be42227f7697ef5b3520f25e1bb77e4348ad +EBUILD wget2-2.2.0.ebuild 2004 BLAKE2B d5211b88e52e3079711720979fccb0a8a59b4fcdb22b219cfb1a5d97723ace8cf91c412b6706b54e0708fb400bcf1be124ed53c89e80dd6b28ad80991dbfab35 SHA512 f7b31a8d372e129a862a5467509e3c971b72a69b17599156c780231ffc3278b28417c2efbb0827beb832c9cfeb27be42227f7697ef5b3520f25e1bb77e4348ad EBUILD wget2-9999.ebuild 2461 BLAKE2B 722cd2ecf7ac287d0acb11fa227ee61e718079f5aefb1502cd9554776b5edb240200e4ef4373aca1e827d069848a62836c75373761ac8cd175578394379e16bc SHA512 a231dcdaac8af0f470d1eb54cf5197b0196af4c5ad3e13b2def37ed1d6eb5e52e80dbf760fe372aebd578bed5fb24510be4080b20ea9dae95350e1d0e9f97b1f MISC metadata.xml 579 BLAKE2B c79af69ebc4c7486e50182bb2b30883f31243de3b125ef1e152118141989dbcdf64a9e04c8879d05690821fb333583f6a1387198b30ee02be8d9483c6545daff SHA512 d07b10702ee8e38700e171f628a95f4b24748132f8372f9595fbc85345d7e96066c1494a3d216d3428679d52ed2e3a3c0fa50b1e5c41286d0f31348c6646ad9b diff --git a/net-misc/wget2/wget2-2.2.0.ebuild b/net-misc/wget2/wget2-2.2.0.ebuild new file mode 100644 index 000000000000..adf3183d13a5 --- /dev/null +++ b/net-misc/wget2/wget2-2.2.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="GNU Wget2 is a file and recursive website downloader" +HOMEPAGE="https://gitlab.com/gnuwget/wget2" +SRC_URI="mirror://gnu/wget/${P}.tar.gz" + +# LGPL for libwget +LICENSE="GPL-3+ LGPL-3+" +SLOT="0/0" # subslot = libwget.so version +KEYWORDS="~amd64 ~arm64 ~loong ~x86" +IUSE="brotli bzip2 doc +gnutls gpgme +http2 idn lzip lzma openssl pcre psl +ssl test xattr zlib" + +RDEPEND=" + brotli? ( app-arch/brotli ) + bzip2? ( app-arch/bzip2 ) + !gnutls? ( dev-libs/libgcrypt:= ) + ssl? ( + gnutls? ( net-libs/gnutls:= ) + !gnutls? ( + dev-libs/openssl:0= + ) + ) + gpgme? ( + app-crypt/gpgme:= + dev-libs/libassuan:= + dev-libs/libgpg-error + ) + http2? ( net-libs/nghttp2 ) + idn? ( net-dns/libidn2:= ) + lzip? ( app-arch/lzlib ) + lzma? ( app-arch/xz-utils ) + pcre? ( dev-libs/libpcre2 ) + psl? ( net-libs/libpsl ) + xattr? ( sys-apps/attr ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/doxygen[dot] ) +" + +RESTRICT="!test? ( test )" + +src_configure() { + local myeconfargs=( + --disable-static + --disable-valgrind-tests + --with-plugin-support + --with-ssl="$(usex ssl $(usex gnutls gnutls openssl) none)" + --without-libidn + --without-libmicrohttpd + $(use_enable doc) + $(use_enable xattr) + $(use_with brotli brotlidec) + $(use_with bzip2) + $(use_with gpgme) + $(use_with http2 libnghttp2) + $(use_with idn libidn2) + $(use_with lzip) + $(use_with lzma) + $(use_with pcre libpcre2) + $(use_with psl libpsl) + $(use_with zlib) + + # Avoid calling ldconfig + LDCONFIG=: + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if [[ ${PV} == *9999 ]] ; then + if use doc ; then + local mpage + for mpage in $(find docs/man -type f -regextype grep -regex ".*\.[[:digit:]]$") ; do + doman ${mpage} + done + fi + else + doman docs/man/man{1/*.1,3/*.3} + fi + + find "${D}" -type f -name '*.la' -delete || die + rm "${ED}"/usr/bin/${PN}_noinstall || die +} |