diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-10 05:42:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-10 05:42:48 +0100 |
commit | 100b0ae24e9b0d0fb3071efea2078a3bdabe4e38 (patch) | |
tree | 637adb56b86839c41fcb217b9bbe37e022fa666d /dev-perl | |
parent | 12de738b83927a4b71c3ad067edbb6279d15b368 (diff) |
gentoo auto-resync : 10:05:2023 - 05:42:48
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/Manifest.gz | bin | 282893 -> 282892 bytes | |||
-rw-r--r-- | dev-perl/WWW-Curl/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/WWW-Curl/WWW-Curl-4.170.0-r3.ebuild | 82 |
3 files changed, 84 insertions, 0 deletions
diff --git a/dev-perl/Manifest.gz b/dev-perl/Manifest.gz Binary files differindex caefad8efa89..65b570c93ba7 100644 --- a/dev-perl/Manifest.gz +++ b/dev-perl/Manifest.gz diff --git a/dev-perl/WWW-Curl/Manifest b/dev-perl/WWW-Curl/Manifest index 3410a44b212e..6e85ea12141d 100644 --- a/dev-perl/WWW-Curl/Manifest +++ b/dev-perl/WWW-Curl/Manifest @@ -4,6 +4,8 @@ AUX WWW-Curl-4.17-RT130591.patch 1155 BLAKE2B b585b32b80ed983f3602b1fedb0fbb9dea AUX WWW-Curl-4.17-RT132197.patch 1415 BLAKE2B d1b98a03f5323b185a064e3df25e1fbd37283053397c02009acd566e5e474c5183c053a54c1aa3641078d523e29cf3fb1503c5de4e7a68a3363a1f4631f85a19 SHA512 5fac529f5e508e5f7ad1d78eb2df24f60c3a86bbdf2ce331cac3d4edededd72b46786e549576d83602d5a1c495589ff8667949b971777feb3823c6aae31a9f45 AUX WWW-Curl-4.17-dotinc.patch 695 BLAKE2B fe6aeb27706b1f6dec9db500ce527a980a1d4048a2798bb2e7e8f690ad42b19b92f31e64f60c03d12450f3652d74462f40e03bb447b47eb5dc018f6c8d7700c3 SHA512 c81ea9d16269f60a260401731552b875e94b83840fd8914371cff74022114110e8c99deb2e94aadce61942e33988165a025e5f2524d219e989f8c26e2db7d199 AUX WWW-Curl-4.17-networktests.patch 3938 BLAKE2B 7f2af37af8c1cf619c9c444cc64969f60083e798fc7f25c107a2fd2ace565004b104d5499c7a958b8e995d51de3d193b0aec67554810441af221ecd0ca0bf1ee SHA512 126e5592e299dea7feeeddd6d68e9d880106c5f55fabab00f2629a45080f0473d0b0cca8edc62d25fb84facfd7b800ab104b83abd4399d3e5dae82b80f11aa4a +DIST WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch 1375 BLAKE2B af3809b0933d127e7f3d9b7992104cdd1334f05d94a0650f60965669c6b750253dc1b936cf7570cb2ab9ddde1820e32fe9553f8f40dd1055455d33d712907e0c SHA512 2d8a32258c12cdc894da31374c751297e0875dd3469a5e9ba2b11efd96a7df3c39e0369eac5749e5f4746d37199440cb1c91e97c51c63c0e9b84850892b3b52f DIST WWW-Curl-4.17.tar.gz 50917 BLAKE2B 6f07570fb0db535b506b8e4a879a05f1901d4c1a2c0fb8c775ae330fb3ea44c523d921494d30f9e02b8eb84e4a006eb53e8594bbce6615ad162090b0d422edfb SHA512 bc7a75d0e23f5a77578fd7244b56a1e1b81d814993b90ac7132926f0d571232c4c95875bc615cb6239e424ae1d5481d27796efc5376bb0845d1da0ff1137c0d6 EBUILD WWW-Curl-4.170.0-r2.ebuild 693 BLAKE2B 3e2014a2a86a13a98c328fbe1329d3ab1888090d9b42949ec8e759e6e52a8d2c67ed40600adc3cdd881820749ba2311c9573a3339fb462df61b48c269f3dbce8 SHA512 1463fe73ae9dc663f854017102ee78619b107660566bb596da019c9009aca1c9764a19f1997d228e8cdcc4241f9825ea82d447ee842ea7f0756f5eb63bcf1843 +EBUILD WWW-Curl-4.170.0-r3.ebuild 2776 BLAKE2B 3098f02b94f34138f0d2483c06bf7c85179ad5df0342ef505e89323914fcfabf3523acf5c8d880a1059767f1a7fbef528cf8865283cf846b74559f5e88c8762d SHA512 302244cb604d7f4229735e527d9d0616b8db4fc4988ebd064a6286090259fdbd5f41dcdc790f250d90f214ac407935a7a983b66e2cb01cf274f5545ddcb8ccb5 MISC metadata.xml 639 BLAKE2B af103ab5b95f47bb1d0de1b70fb3b50c1872d8bb71b66ca00cf0c1b9b12a0e7a5701f808289a38f563dacc8d3fc5918869bd93529241f8a58567eb81d91efb1d SHA512 a483050197bf61cde5d807a9a1ac8a048f61ebedb89df65c61fd8be6aab26448ffaecee04bbf428d1f77a196621401bf2a48a81a4fd3ae76a370397802ae550d diff --git a/dev-perl/WWW-Curl/WWW-Curl-4.170.0-r3.ebuild b/dev-perl/WWW-Curl/WWW-Curl-4.170.0-r3.ebuild new file mode 100644 index 000000000000..9a0567845594 --- /dev/null +++ b/dev-perl/WWW-Curl/WWW-Curl-4.170.0-r3.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=SZBALINT +DIST_VERSION=4.17 +inherit perl-module + +DESCRIPTION="Perl extension interface for libcurl" + +LICENSE="|| ( MPL-1.0 MPL-1.1 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND="net-misc/curl" +DEPEND="${RDEPEND}" +BDEPEND="${RDEPEND}" + +# https://rt.cpan.org/Public/Bug/Display.html?id=145992 +SRC_URI+=" + https://rt.cpan.org/Public/Ticket/Attachment/2423633/1093328/WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch + " + +PATCHES=( + "${FILESDIR}"/${PN}-4.150.0-curl-7.50.2.patch + "${FILESDIR}"/${PN}-4.17-dotinc.patch + "${FILESDIR}"/${PN}-4.17-networktests.patch + "${FILESDIR}"/${PN}-4.17-RT117793.patch + "${FILESDIR}"/${PN}-4.17-RT130591.patch + "${FILESDIR}"/${PN}-4.17-RT132197.patch + "${DISTDIR}/WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch" +) + +src_prepare() { + perl-module_src_prepare + # Makefile.PL does some creative things parsing macros vs defines from curl + # build system + # + # However, it tends to be very fragile and needs lots of patching, so + # instead of multiple patches, make it a variable and hoist it to the + # ebuild. + # + # Use the modifier flags aax means we can write an easier to manage regex as well. + sed -i -r \ + -e '/if.*=~.*(OBSOLETE|CURL_EXTERN|CURL_STRICTER)/s,/[^/]+/,/($ENV{_CURL_BUILD_SYM_EXCLUDE})/aax,g' \ + "${S}/Makefile.PL" +} + +# https://src.fedoraproject.org/rpms/perl-WWW-Curl/blob/rawhide/f/WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch +# /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/ +# +# files/WWW-Curl-4.17-RT117793.patch +# /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z)/) +# +# files/WWW-Curl-4.17-RT130591.patch +# /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURLINC_)/ +# +# https://rt.cpan.org/Public/Bug/Display.html?id=132197 +# /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURLINC_|^CURL_WIN32\z|^CURLOPT\z)/ +# +# https://src.fedoraproject.org/rpms/perl-WWW-Curl/blob/rawhide/f/WWW-Curl-4.17-Adapt-to-curl-7.87.0.patch +# /(OBSOLETE|^CURL_DEPRECATED\z|^CURL_EXTERN|^CURL_IGNORE_DEPRECATION\z|^CURL_STRICTER\z|^CURL_WIN32\z|^CURLOPT\z|^CURLOPTDEPRECATED\z|_LAST\z|_LASTENTRY\z) +# +# If you change this variable, you should probably be bumping the ebuild rev! +export _CURL_BUILD_SYM_EXCLUDE=' +__000FORPATCH_WITH_LEADING_SPACE +|^CURL_DEPRECATED\z +|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z +|^CURL_EXTERN +|^CURL_IGNORE_DEPRECATION\z +|^CURLINC_ +|^CURLOPTDEPRECATED\z +|^CURLOPT\z +|^CURL_STRICTER\z +|^CURL_WIN32\z +|_LASTENTRY\z +|_LAST\z +|OBSOLETE +' + +PERL_RM_FILES=("t/meta.t" "t/pod-coverage.t" "t/pod.t") |