diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-16 12:04:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-16 12:04:26 +0100 |
commit | b92911550490e2da121ec4b02d3cf60a2d31a17d (patch) | |
tree | dc29e698da3b00d42ead3796b35416159e83d57a /net-misc | |
parent | 7fa8a1e3f149eea4c844c47cfe26136ed7614c58 (diff) |
gentoo auto-resync : 16:04:2024 - 12:04:26
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/Manifest.gz | bin | 54320 -> 54310 bytes | |||
-rw-r--r-- | net-misc/cmst/Manifest | 1 | ||||
-rw-r--r-- | net-misc/cmst/cmst-2023.03.14-r1.ebuild | 54 | ||||
-rw-r--r-- | net-misc/putty/Manifest | 2 | ||||
-rw-r--r-- | net-misc/putty/putty-0.81.ebuild | 92 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/Manifest | 2 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/rabbitmq-server-3.13.1.ebuild | 93 | ||||
-rw-r--r-- | net-misc/wget/Manifest | 3 | ||||
-rw-r--r-- | net-misc/wget/files/wget-1.24.5-libproxy-no-debug.patch | 50 | ||||
-rw-r--r-- | net-misc/wget/wget-1.24.5.ebuild | 4 |
10 files changed, 300 insertions, 1 deletions
diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz Binary files differindex c8e4d5bc490c..c3bb9b79594e 100644 --- a/net-misc/Manifest.gz +++ b/net-misc/Manifest.gz diff --git a/net-misc/cmst/Manifest b/net-misc/cmst/Manifest index 667327d4b8f9..74a15d3f217a 100644 --- a/net-misc/cmst/Manifest +++ b/net-misc/cmst/Manifest @@ -1,5 +1,6 @@ DIST cmst-2022.11.30.tar.gz 3486817 BLAKE2B 8c0d12a99188ec1aa16faed8d035f1b7c00d090725a547b90171f8e2f352550c64cb8acf4f7bd0900c281b307d361db4a1794b892fe593772ded60a0af6ba777 SHA512 09c5b14607824fab4e46c8f3648fc13951bcce08708ddb8f1574d4c71a14c69de7fbaa1849eba82d9525a02867f8b54cfdc3b073aa4dee1fdcb8845504640327 DIST cmst-2023.03.14.tar.gz 3530182 BLAKE2B 86e873d299bae9d188ebac154b3716ef11c7da12b2b93d9b5cc07b6bf2edb692b81393b0f6c962479d1f23dd61d4466c2b930f29b08601876bb83e43dd8d9833 SHA512 7ebc3f7ca93d6e66c4447f4a4ac8f2eb27617ff8d4919e8878d12a0cdffb7c0d32be9627c73bc74b0f661854c8a2d75975a8fa854924c4edb9c676f1abd6f746 EBUILD cmst-2022.11.30.ebuild 887 BLAKE2B 018a8bff9caebb57cb0bcc7651b3cb4d4892c988ae074aa64165e7a9a2d43ec6f4d9eb7771f4182d5c0a2ec666aa0299486b104246bd77be1f9674a88e73f7b1 SHA512 7bd192d44cfc14d5f06b5d01e849cc15f3614c54c17cdf60437ace7d59f46f367bd81a37c530ef519135e11249e9e70e38fd1a3234286af4e06c3b0af89b63e8 +EBUILD cmst-2023.03.14-r1.ebuild 1024 BLAKE2B 1ca3bfa1fd2b8629840c0c48c5d9718bf0d55022422595309f072c55c14bbc2260e56a4db99a9caec0f09e71cc6308af0b4c7fe2f5b4e6744582f4a706483b58 SHA512 059fac317030073fa1f68b99fadecf1ccdd58fed3c33877ffdd391bbdea8ac27cc945aee67aa82596d01a806312738ed4f75faea8ca291a4e1dfe73966810b03 EBUILD cmst-2023.03.14.ebuild 887 BLAKE2B 018a8bff9caebb57cb0bcc7651b3cb4d4892c988ae074aa64165e7a9a2d43ec6f4d9eb7771f4182d5c0a2ec666aa0299486b104246bd77be1f9674a88e73f7b1 SHA512 7bd192d44cfc14d5f06b5d01e849cc15f3614c54c17cdf60437ace7d59f46f367bd81a37c530ef519135e11249e9e70e38fd1a3234286af4e06c3b0af89b63e8 MISC metadata.xml 390 BLAKE2B 19055fbf6cc2b268ff117e4cd4e39c894452cd7a3f9c71a113831a142ee4458aae99f86497fc85ee5e29ee73a50d2363ce816e46e2cf3cf47e6be51658d882d2 SHA512 fcc4db887275f29a69ddb8d731f3bc1516734b75bb5ce494d2ddfc13f951a7c1ce9f715383c62725919755b61488943f91c1286d126fb91a24176c24e0e3dcaf diff --git a/net-misc/cmst/cmst-2023.03.14-r1.ebuild b/net-misc/cmst/cmst-2023.03.14-r1.ebuild new file mode 100644 index 000000000000..086fd50d0951 --- /dev/null +++ b/net-misc/cmst/cmst-2023.03.14-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit qmake-utils xdg-utils + +DESCRIPTION="Qt GUI for Connman with system tray icon" +HOMEPAGE="https://github.com/andrew-bibb/cmst" +SRC_URI="https://github.com/andrew-bibb/cmst/archive/${P}.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qt6" + +DEPEND="qt6? ( dev-qt/qtbase:6 ) + !qt6? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 +) +" +RDEPEND="${DEPEND} + net-misc/connman +" +BDEPEND="qt6? ( dev-qt/qttools:6 ) + !qt6? ( dev-qt/linguist-tools:5 ) +" + +src_configure() { + export USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)/${PN}" + if use qt6; then + eqmake6 DISTRO=gentoo + else + eqmake5 DISTRO=gentoo + fi +} + +src_install() { + emake INSTALL_ROOT="${D}" install + rm -r "${D}"/usr/share/licenses || die + gunzip "${D}"/usr/share/man/man1/cmst.1.gz +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/net-misc/putty/Manifest b/net-misc/putty/Manifest index c1129da62cd6..ec52bf5c89fc 100644 --- a/net-misc/putty/Manifest +++ b/net-misc/putty/Manifest @@ -1,4 +1,6 @@ DIST putty-0.80.tar.gz 2831433 BLAKE2B 95769ed372ee57f1cd0b9c9b26aab47c710b3eac2dd2f40b511179f1e06dae6c59ef5fd270eddc6b0531d8ed135897490ea029e0ca8c1febefe64743ddada341 SHA512 c8a6b6fa54ecd8bcf4ec274fef51343dd9996e6458b250b5555c4dc88ded25e87f97277da482c29858510e65635112d541f559ab683635bd950572d850129f90 +DIST putty-0.81.tar.gz 2844616 BLAKE2B f4f687555ae6d043f9eb868eccb1086227a0fa3ec1a5eff68ab7ccd96c877fd87afad9c9639930e899e0fc16058ea0f4553a3035ab477761038d6257332d64af SHA512 d86f2fd0e126b18275d58cf64334b3b27c450899a1c2be2502de9faa2ef58f7fc8efc5d45f25c8395623f1e21917aa02407343bb2fee44c4c00b9f81267d5ecd DIST putty-icons.tar.bz2 4878 BLAKE2B 589f1bace82e3fd202b70bd35661d2ec4ef383363f8ae6716d4a6828bd822ef624b0acde39354d3d837e2d2bb49a34dbb89e031c64c520cbc675cad79813acff SHA512 4e419a71e26770e159221f6b516e7210d29272917b4b9a9e0b67c72e73508b97278e56c82111b02e106c5d513c2561fec6da372b4b18246f29372ae618ff5f71 EBUILD putty-0.80.ebuild 1757 BLAKE2B 12fdc0ce4f55cbfe74d8b9b0fd332bfa10d2b94554f96b39e4484b23ceeed41fb2f34b8037769b0a7ef9609b2ff5dc319316b3a74f307066734fa88bc9ffb6a7 SHA512 fa2f57698e0e0164b5c3e198434cbb8b710869aae8de33125e2787d12c109247740e07b5515f674e0dd402f5427c98f785c0c3040fc1c774966460fe906bfffb +EBUILD putty-0.81.ebuild 1759 BLAKE2B 43dda39389a4a7cc910129aba638130b70bf82ed73205100ba937cb86318dd7c4cb95e94b696c20c5dd56229e179a012c64a296791b3842fdb877f73d0b6a88b SHA512 b2d2e52f965556c0bbf967c9f439607db67807c4e59cb994733b9c414a9f30139d7f2d20ac0b983d1c1f6a94068507579553985366ffdb83de399cc47bb40b51 MISC metadata.xml 887 BLAKE2B c51675758674360519d21f8722a4ea0815bfc56591a28e9026e4aa02b0046006ab87bfcd68f945184f1d82710d912a0f3557c34f4d43fc5fadd7ad7c38b5c3d3 SHA512 be79490eb1313d5f9d4b80dacc6e7727d44c1106da668869e58f106235ff6b074d17ad3fe41aa09c176bf713e17dddda6a73df728bfdfe752db6ccbf9690befa diff --git a/net-misc/putty/putty-0.81.ebuild b/net-misc/putty/putty-0.81.ebuild new file mode 100644 index 000000000000..537cdab62582 --- /dev/null +++ b/net-misc/putty/putty-0.81.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake desktop xdg-utils + +DESCRIPTION="A Free Telnet/SSH Client" +HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/putty/" +SRC_URI="https://dev.gentoo.org/~matthew/distfiles/${PN}-icons.tar.bz2" +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://git.tartarus.org/simon/putty.git" +else + SRC_URI+=" https://the.earth.li/~sgtatham/${PN}/${PV}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ppc ppc64 sparc ~x86" +fi +LICENSE="MIT" + +SLOT="0" +IUSE="debug doc +gtk gssapi" + +RDEPEND=" + !net-misc/pssh + gtk? ( + dev-libs/glib:2 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/pango + ) + gssapi? ( virtual/krb5 ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-lang/perl + virtual/pkgconfig + doc? ( app-text/halibut ) +" + +src_unpack() { + [[ ${PV} == *9999 ]] && git-r3_src_unpack + default +} + +src_configure() { + cd "${S}"/unix || die + local mycmakeargs=( + -DPUTTY_DEBUG="$(usex debug)" + -DPUTTY_GSSAPI="$(usex gssapi DYNAMIC OFF)" + -DPUTTY_GTK_VERSION=$(usex gtk 3 '') + -DPUTTY_IPV6=yes + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile all doc +} + +src_install() { + cmake_src_install + + doman "${BUILD_DIR}"/doc/*.1 + + if use doc ; then + docinto html + dodoc "${BUILD_DIR}"/doc/html/*.html + fi + + if use gtk ; then + local i + for i in 16 22 24 32 48 64 128 256; do + newicon -s ${i} \ + "${WORKDIR}"/${PN}-icons/${PN}-${i}.png \ + ${PN}.png + done + + # install desktop file provided by Gustav Schaffter in #49577 + make_desktop_entry ${PN} PuTTY ${PN} Network + fi +} + +pkg_postinst() { + use gtk && xdg_icon_cache_update +} + +pkg_postrm() { + use gtk && xdg_icon_cache_update +} diff --git a/net-misc/rabbitmq-server/Manifest b/net-misc/rabbitmq-server/Manifest index c6cfb251cfc5..32123f76e53e 100644 --- a/net-misc/rabbitmq-server/Manifest +++ b/net-misc/rabbitmq-server/Manifest @@ -3,6 +3,8 @@ AUX rabbitmq-server.init-r4 652 BLAKE2B 4366ea0da306ac5a23bdf6803d81216fd39b1446 AUX rabbitmq.service 314 BLAKE2B 5489ba8c773f7eccf335d34e3ead22f240fc12e1d089f33218027f9895e91ebca76ad8ba450ca6ca01568c4c67f035b14a912a2352922f7ed7287e27627f9569 SHA512 8bf25da162ef336f9eb3f69f871b0945f7b02243da8a4d800e759266236ef84740988e2e33f88f4906f08a63cab49dbae87c868f69ee89df995170d7d2ae9457 DIST rabbitmq-server-3.11.2.tar.xz 3752644 BLAKE2B bc98808579cbaa12371fc95d137fd18a0d784a859471d4dac6c328e819bb7ba5cb0256509a678788452f6dbeaa6fc48b4dbe39b24bd7cf0b1698fb6e4f67cb03 SHA512 ceec07fb9dfe8ba76850aa94543396a4e878aca13b9e3e303e86bb44bbbb1cea863148a1480b83517bfd2bdc66b814c3177ad2ed595604f5710f8f98e8dcc439 DIST rabbitmq-server-3.12.9.tar.xz 4437392 BLAKE2B 19c1e88e79c29af0c06d732d25098ee7b5575e8f269ba08e3247a65ba206c8cdc819767572071063dcbd8816756366d0a3f059d8e060ffe47fb221e1546b4c23 SHA512 c6015ee9593336104fc043ed20d99a476e7b36802ae36798f23c2caf91a01a71913963fdbe6de249f234cb3ba82379e5c5b2976e07d098c287ee72e3f238f2eb +DIST rabbitmq-server-3.13.1.tar.xz 5083312 BLAKE2B 1821d05c1be2da491019605de7877f26cb8d47bf67f901d5bb2ede961558a44900a3b8697e254167eb5622d37b20b668dc919fadbe5c5c98f5cc644b948986b3 SHA512 022c6e213cf7cea865a6931a3481897efea65dffa649dd77df9d88bb5f9b7abaaa83b525f983de4cb336b1e0469073cadc2ce48d4f47f93005c87b9fdadb3857 EBUILD rabbitmq-server-3.11.2-r1.ebuild 2377 BLAKE2B 5ef270056b188fcfa9d216d0755f2617185c8cf42e9298eb8b2463174aa5e07859f426247b3f0a15ee99c5fbcf96c00ab86be92e5239dd89ebe59688e58e2d9f SHA512 0f616f65974a56569211255ad6b5aedb21dea12129cc5862eafc811416b65cbda0df4a79338647e48ba09ea97e613ec2015ac6ea020f7d3c038291034318c465 EBUILD rabbitmq-server-3.12.9.ebuild 2524 BLAKE2B 15b4d1a2c697ef13ee9aaddcb8109c3c4b344d6815d6f0e7fea77799d7a78d1d48c36c81f51628bd1d1514af42ad6f92db785f228fe078e94139d104a6f61cad SHA512 2195fd5400446d23807e7d83ddcd9dd6e1d254f7882f8f63289e9a1ac2741035d2a459ee067a77996ddb939a800c55cb746f76a6a134a8d18144c9537e8b4ef7 +EBUILD rabbitmq-server-3.13.1.ebuild 2594 BLAKE2B f955d49108279ba56d07a80ab7d6ddaa12cadc89406dcbf69c20a8ddedf1b85992e16e67d011cc245529da9ad487256b9a07e0fe0e4d937f0cddbc3f56d97a59 SHA512 605a9a264efc2d2b1f74a7043e9175eb791b84400d619c5af587f85727dca114ae988317b938fbd13f25e63c9c3cd3b9caf46abf40e80ea9f8b4847c26883e89 MISC metadata.xml 333 BLAKE2B 32574e66e290f23db4e2f991b817eb61ca3d2f63f467f93c1ef129c9e2534e3bd75a1f473d45cd4a4c53fe4ba30b53c6ca2ceec4c7fce6abce298f74b45c6f6a SHA512 abb06f8d7b8cbea106288347519a303bcb284acc4882b5810b0d5fa30a182f6f34c33f784cfe3a15a95147b5074efc73cbcecb4b4d6312ece36ecc74df849c1a diff --git a/net-misc/rabbitmq-server/rabbitmq-server-3.13.1.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-3.13.1.ebuild new file mode 100644 index 000000000000..3307447c0c23 --- /dev/null +++ b/net-misc/rabbitmq-server/rabbitmq-server-3.13.1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_REQ_USE="xml(+)" + +inherit python-any-r1 systemd + +DESCRIPTION="RabbitMQ is a high-performance AMQP-compliant message broker written in Erlang" +HOMEPAGE="https://www.rabbitmq.com/" +SRC_URI="https://github.com/rabbitmq/rabbitmq-server/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +RESTRICT="test" + +# See https://www.rabbitmq.com/which-erlang.html for Erlang version +# See https://github.com/rabbitmq/rabbitmq-server/blob/main/deps/rabbitmq_cli/mix.exs for Elixir version +RDEPEND=" + acct-group/rabbitmq + acct-user/rabbitmq + >=dev-lang/erlang-26.0[ssl] <dev-lang/erlang-26.3 +" +DEPEND=" + ${RDEPEND} + app-arch/zip + app-arch/unzip + app-text/docbook-xml-dtd:4.5 + app-text/xmlto + >=dev-lang/elixir-1.13.4 <dev-lang/elixir-1.17.0 + dev-libs/libxslt + ${PYTHON_DEPS} +" + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_compile() { + emake all docs dist +} + +src_install() { + # erlang module + local targetdir="/usr/$(get_libdir)/erlang/lib/rabbitmq_server-${PV}" + + einfo "Setting correct RABBITMQ_HOME in scripts" + sed -e "s:^RABBITMQ_HOME=.*:RABBITMQ_HOME=\"${targetdir}\":g" \ + -i deps/rabbit/scripts/rabbitmq-env || die + + einfo "Installing Erlang modules to ${targetdir}" + insinto "${targetdir}" + chmod +x escript/* || die + insopts -m0755 + doins -r deps/rabbit/ebin deps/rabbit/include deps/rabbit/priv escript plugins + + einfo "Installing server scripts to /usr/sbin" + exeinto /usr/libexec/rabbitmq + for script in deps/rabbit/scripts/*; do + doexe ${script} + newsbin "${FILESDIR}"/rabbitmq-script-wrapper $(basename $script) + done + + # install the init script + newinitd "${FILESDIR}"/rabbitmq-server.init-r4 rabbitmq + systemd_dounit "${FILESDIR}/rabbitmq.service" + + # install documentation + dodoc deps/rabbit/docs/*.example + dodoc deps/rabbit/README.md + doman deps/rabbit/docs/*.5 + doman deps/rabbit/docs/*.8 + + # create the directory where our log file will go. + diropts -m 0770 -o rabbitmq -g rabbitmq + keepdir /var/log/rabbitmq /etc/rabbitmq + + # create the mnesia directory + diropts -m 0770 -o rabbitmq -g rabbitmq + keepdir /var/lib/rabbitmq/mnesia +} + +pkg_preinst() { + # https://www.rabbitmq.com/docs/upgrade#rabbitmq-version-upgradability + if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 3.12; then + elog "Upgrading to RabbitMQ 3.12 requires all feature flags" + elog "from 3.11 to be enabled. If any feature flags are not" + elog "enabled, the node will refuse to start." + fi +} diff --git a/net-misc/wget/Manifest b/net-misc/wget/Manifest index e492823a5481..15a521993dfe 100644 --- a/net-misc/wget/Manifest +++ b/net-misc/wget/Manifest @@ -1,7 +1,8 @@ +AUX wget-1.24.5-libproxy-no-debug.patch 1807 BLAKE2B c22091c440c64ca242748d9e688ecca1b6e0d08bb1ec3dc49dcf37e36042a5559bf49f1e68e884b10b268db61c0b3496a9e387febb859036b4de7f2a5bf03748 SHA512 376556fdd3d85ce7a346c8cfb01c9878c7ba060297afd65dd1eb2013c3f4ce5629214b587583ed6ddd8a7f31a28f36150e32be970edc5f5c20240c28cd3ceec1 DIST wget-1.21.4.tar.gz 5059591 BLAKE2B ced6fb9a20343d41e4d8e0c8f171c60535847504fa4c32abc81d104a1594dc7b7c97b5b301836e31dacc7a0f2155c0a2e70e42ff60dc3fa471deb1dad33ba736 SHA512 7a1539045174f6b97ab6980811c2ac1799edc20db72987b5ba9b1710cffb19669a7736813d15c8da3aa2d4a384246ff946b77ecb0baeb6fd3e12ae591f1bf6a3 DIST wget-1.21.4.tar.gz.sig 854 BLAKE2B 162c4f358e781bbfb0fa73910191c29dd411f48c9b2c8e8fe00a12741153e624955393d769aa7311b03115d04b6b946a84b636f643d7cdc8c8cd81387b9cf143 SHA512 72603493c2d799dca08700175a2010d8736fd6d3cb9bea3987db8814e9f133ab0fbd1477892115f7fbbd1a7d4d416ec370bdbff6dbe8f00d1eea84f0c4f8d84b DIST wget-1.24.5.tar.gz 5182521 BLAKE2B d33274d599f91384c2a7db0b145ec6b315cf87cbbd02026d686a79220e3f15ca9ad0f9d8b507895f6c8486b7ac2ae5fa5c9ea010e883b6eec68d3aba038b02de SHA512 572aa54717e51a9eb9959e127c7afb696645088f32ff7df2cfe9d243957e34ee235e98988fa94649df023d2e3d62b6973e8c9f2eb92beba820dd96d5de2a950d DIST wget-1.24.5.tar.gz.sig 854 BLAKE2B 67c084cb8dcbe6184c58203afe11c7426be1f190a6073a68aa658f8480f7046786eb70e47fed4c45b86ea1fda0812a401f530dafd9be816d33d46d54b90223d2 SHA512 f819dc43a466682ace38e8537698e3c7c3919203f77373bdaea1b63ead40c4d3663590209dfeb6187d98edd00e30848a3abd5735795fb47878924f1d9b2ee10d EBUILD wget-1.21.4.ebuild 3171 BLAKE2B 3bd335a9f22114d225645bd158d57f8452554dca84bd716827e26066cefda1ba8a3b846630cbaff77bc7f33a1c5651a436da693d582f984680c5583e7d135ad8 SHA512 87ac0d94dec8cd39a2357b87986a28623b49107026584b22f655c31485e13dcf71a8600a283bf8661eb9dad44e6de554cdd58e520e35370d11d71a812db9121b -EBUILD wget-1.24.5.ebuild 3327 BLAKE2B f373e71a737b147143fc0c21f2cd358416e86aee8d2120ea7bdb4f13c2dcdf668a3e99181ebf7c7158400fe0d0d6b9a756c7e3478ad7f848388ea3a7fe2f23c0 SHA512 512744a4c3fc7d227416fd7f4cf82c8d5c6752f6200856b68b07a076420c805ef0d7dbf210312da3ebe532e68489f47acf722f5f3e70e7620de668e1ca6fbd97 +EBUILD wget-1.24.5.ebuild 3392 BLAKE2B fd9bf019ebe7d175cd2d1c1ae9553b73ede286fabefa1721a51a16dc956f5f2d5469fa3ee861b9e773f8572c9c75c90a86ca3ab98422b70bb09edb4b5ea6bf41 SHA512 dac769a21405f54750e430771532b26a1851ff4d190456d620e865055f39c0e0c245d44240fdb3ab3da4ad245fcef2948428ef5c9f7be392564b2446f24095c6 MISC metadata.xml 925 BLAKE2B 6a009c4883a765ab687cb5a77339e20bf314e2edc6eb7ca4a2e95296bc2457de9523877df6bc4cd57bd32fdeee182dd356123d49626cb0b321939d37f15c3ace SHA512 cb256297bf62ead8c3841a9186813b0b7230a4078150fc644eb09e94bc7e5588003369a0e03a8530ed5dff893bbac06b2d6d6feec8a20fd9871e4661400e030a diff --git a/net-misc/wget/files/wget-1.24.5-libproxy-no-debug.patch b/net-misc/wget/files/wget-1.24.5-libproxy-no-debug.patch new file mode 100644 index 000000000000..9f75dc471a16 --- /dev/null +++ b/net-misc/wget/files/wget-1.24.5-libproxy-no-debug.patch @@ -0,0 +1,50 @@ +https://bugs.gentoo.org/930060 +https://gitlab.com/gnuwget/wget/-/issues/19 +https://gitlab.com/gnuwget/wget/-/merge_requests/39 + +From 5f0aa59239c36fc945b94d8ab91562d56e5bf776 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Tue, 16 Apr 2024 03:18:40 +0100 +Subject: [PATCH] Fix libproxy build with --disable-debug + +The definition of debug_logprintf in src/log.c is guarded by ENABLE_DEBUG +(although its prototype is unconditionally available in src/log.h). + +The uses of debug_logprintf in src/retr.c aren't guarded by ENABLE_DEBUG. + +Use the DEBUGP macro which is designed for this purpose. + +* src/retr.c (getproxy): Use DEBUGP macro. + +Fixes: https://gitlab.com/gnuwget/wget/-/issues/19 +Copyright-paperwork-exempt: Yes +--- a/src/retr.c ++++ b/src/retr.c +@@ -1498,21 +1498,21 @@ getproxy (struct url *u) + pxProxyFactory *pf = px_proxy_factory_new (); + if (!pf) + { +- debug_logprintf ("Allocating memory for libproxy failed"); ++ DEBUGP (("Allocating memory for libproxy failed")); + return NULL; + } + +- debug_logprintf ("asking libproxy about url '%s'\n", u->url); ++ DEBUGP (("asking libproxy about url '%s'\n", u->url)); + char **proxies = px_proxy_factory_get_proxies (pf, u->url); + if (proxies) + { + if (proxies[0]) + { +- debug_logprintf ("libproxy suggest to use '%s'\n", proxies[0]); ++ DEBUGP (("libproxy suggest to use '%s'\n", proxies[0])); + if (strcmp (proxies[0], "direct://") != 0) + { + proxy = xstrdup (proxies[0]); +- debug_logprintf ("libproxy setting to use '%s'\n", proxy); ++ DEBUGP (("libproxy setting to use '%s'\n", proxy)); + } + } + +-- +GitLab diff --git a/net-misc/wget/wget-1.24.5.ebuild b/net-misc/wget/wget-1.24.5.ebuild index 81f8f939140c..6626e1328e7d 100644 --- a/net-misc/wget/wget-1.24.5.ebuild +++ b/net-misc/wget/wget-1.24.5.ebuild @@ -63,6 +63,10 @@ DOCS=( AUTHORS MAILING-LIST NEWS README ) # gnulib FPs QA_CONFIG_IMPL_DECL_SKIP=( unreachable MIN alignof static_assert ) +PATCHES=( + "${FILESDIR}"/${PN}-1.24.5-libproxy-no-debug.patch +) + pkg_setup() { use test && python-any-r1_pkg_setup } |