retire p5-WWW-Curl, nothing depends on it, it has not been updated upstream

in some time, and has had to receive several patches to maintain compatibility
with curl and Perl updates. prompted by being broken again by the recent curl
update. ok landry@
This commit is contained in:
sthen 2019-09-13 09:54:46 +00:00
parent 6136022747
commit d2d92495a3
8 changed files with 5 additions and 99 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.788 2019/09/12 14:17:34 bket Exp $
# $OpenBSD: Makefile,v 1.789 2019/09/13 09:54:46 sthen Exp $
COMMENT = exceptions to pkg_add rules
CATEGORIES = devel databases
DISTFILES =
# API.rev
PKGNAME = quirks-3.179
PKGNAME = quirks-3.180
PKG_ARCH = *
MAINTAINER = Marc Espie <espie@openbsd.org>

View File

@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
# $OpenBSD: Quirks.pm,v 1.805 2019/09/12 14:17:34 bket Exp $
# $OpenBSD: Quirks.pm,v 1.806 2019/09/13 09:54:46 sthen Exp $
#
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
#
@ -1313,6 +1313,7 @@ my $obsolete_reason = {
'py-mastodon.py' => 14,
'g77' => 5,
'libf2c' => 5,
'p5-WWW-Curl' => 3,
};
# reasons for obsolete packages

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.922 2019/08/27 03:18:28 pamela Exp $
# $OpenBSD: Makefile,v 1.923 2019/09/13 09:54:46 sthen Exp $
SUBDIR =
SUBDIR += ajaxterm
@ -321,7 +321,6 @@
SUBDIR += p5-URI-Find
SUBDIR += p5-W3C-LinkChecker
SUBDIR += p5-WWW-Bugzilla
SUBDIR += p5-WWW-Curl
SUBDIR += p5-WWW-Ebay
SUBDIR += p5-WWW-Form-UrlEncoded
SUBDIR += p5-WWW-Form-UrlEncoded-XS

View File

@ -1,22 +0,0 @@
# $OpenBSD: Makefile,v 1.29 2019/07/12 20:50:58 sthen Exp $
COMMENT= perl binding for curl
MODULES= cpan
DISTNAME = WWW-Curl-4.17
REVISION = 4
EPOCH= 0
CATEGORIES= www net
# MIT
PERMIT_PACKAGE= Yes
WANTLIB = c crypto curl iconv intl nghttp2 perl ssl z
LIB_DEPENDS= devel/gettext,-runtime \
net/curl
post-configure:
@perl -pi -e s,'t/\*.t','t/new/\*.t',g ${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (WWW-Curl-4.17.tar.gz) = Uv+rEQ4yNI13XyQclz61b5awju28EQ130lfNsKJKt7o=
SIZE (WWW-Curl-4.17.tar.gz) = 50917

View File

@ -1,38 +0,0 @@
$OpenBSD: patch-Makefile_PL,v 1.3 2019/01/25 22:32:04 sthen Exp $
#1, fix perl 5.26.0+
#2, https://rt.cpan.org/Public/Bug/Display.html?id=117793
Also, add a zero to defined constants. So if the define is empty, the code
still makes sense.
Index: Makefile.PL
--- Makefile.PL.orig
+++ Makefile.PL
@@ -1,6 +1,7 @@
# Makefile.PL for Perl module WWW::Curl
# Check out the README file for more information.
+BEGIN { push @INC, '.'; }
use inc::Module::Install;
name 'WWW-Curl';
@@ -127,7 +128,7 @@ if (!defined($curl_h)) {
close H;
for my $e (sort @syms) {
- if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
+ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/) {
next;
}
my ($group) = $e =~ m/^([^_]+_)/;
@@ -190,7 +191,7 @@ HERE2
if ($next_initial eq $initial) {
print CURL_XS
-" if (strEQ(name, \"$remainder\")) return "."$groupref->{$option};\n";
+" if (strEQ(name, \"$remainder\")) return "."$groupref->{$option}+0;\n";
$count++;
}

View File

@ -1,18 +0,0 @@
WWW::Curl is a thin binding on top of libcurl, to make using libcurl
possible from Perl land. Because of this, the module is less like Perl
and more like C in coding style.
There is a new module, http://search.cpan.org/perldoc?WWW::Curl::Simple,
which wraps this module into a more Perlish and userfriendly package.
The standard Perl WWW module, LWP should probably be used in most cases
to work with HTTP or FTP from Perl. However, there are some cases where
LWP doesn't perform well. One is speed and the other is parallelism.
WWW::Curl is much faster, uses much less CPU cycles and it's capable of
non-blocking parallel requests.
In some cases, for example when building a web crawler, cpu usage and
parallel downloads are important considerations. It can be desirable to
use WWW::Curl to do the heavy-lifting of a large number of downloads and
wrap the resulting data into a Perl-friendly structure by HTTP::Response
or use WWW::Curl::Simple to do that for you.

View File

@ -1,14 +0,0 @@
@comment $OpenBSD: PLIST,v 1.5 2014/11/24 13:07:38 benoit Exp $
${P5ARCH}/
${P5ARCH}/WWW/
${P5ARCH}/WWW/Curl/
${P5ARCH}/WWW/Curl.pm
${P5ARCH}/WWW/Curl/Easy.pm
${P5ARCH}/WWW/Curl/Form.pm
${P5ARCH}/WWW/Curl/Multi.pm
${P5ARCH}/WWW/Curl/Share.pm
${P5ARCH}/auto/
${P5ARCH}/auto/WWW/
${P5ARCH}/auto/WWW/Curl/
${P5ARCH}/auto/WWW/Curl/Curl.so
@man man/man3p/WWW::Curl.3p