On 09/24/17 12:49, Stuart Henderson wrote: > On 2017/09/23 23:21, Nigel Taylor wrote: >> This has been taken over by new CPAN author. >> >> Changes most code cleanup and bug fixes. >> >> Built tested on amd64. >> >> Used with get_iplayer/get_flash_videos for some time on main desktop. >> >> Ok? > > I don't see any problem with the diff itself, but it's the wrong time to > update a module affecting ~100 ports (not helped by being an interpreted > language so problems in p5-* often don't show up until runtime). > > So, OK for after unlock. > > Anyway version 6.27 is now out. I've moved on to that now.
Built and tested on amd64. Change history for libwww-perl 6.27 2017-09-21 - Switch to Getopt::Long in lwp-download (GH #262) - Fix lwp-request -C (GH #261) - Hide LWP::Protocol::http::Socket, LWP::Protocol::http::SocketMethods and LWP::Debug::TraceHTTP::Socket from PAUSE - Add tests for the "get" & "head" functions (GH #252) - Update lwpcook.pod (GH #256) - Handle undefined values in ->credentials (GH #157) - Fix lwp-mirror options checks. - Update bin/ scripts to use $LWP::VERSION instead of ->Version() - Improve lwp-download --help (GH #262) 6.26 2017-04-12 - Perltidy all apps in the bin/ directory - Make all apps in bin/ use strict and warnings (RT #92633) - Fix bug tracker URL in metadata 6.25 2017-04-03 - Fix LWP::UserAgent docs for request and request_simple that pointed to functions in LWP::Simple rather than LWP::UserAgent - Moved the official bug tracker to GitHub rather than RT. 6.24 2017-03-14 - Document clone methods inability to clone cookie jars (RT #13542) - It is now possible to set the proxy and no_proxy attributes from the constructor of LWP::UserAgent. (GH #124) 6.23 2017-03-06 - Fix bug where Protocol::NNTP called undef on a variable before being done using it. (GH PR #121) - Ran perltidy on LWP::Protocol::NNTP - Re-organized current documentation set. 6.22 2017-03-01 - Update Travis-CI to test on minimum versions of prereqs. (GH PR #109) - Fix tests that depended on a newer version of HTTP::Message (GH PR #119) - Update documentation to reflect behavior difference in ->put() depending on the version of HTTP::Message installed. (GH PR #120) 6.21 2017-02-21 - Ensure that LWP::Simple re-exports some HTTP::Status functions 6.20 2017-02-21 - Converted to use Dist::Zilla - Moved several tests to xt/author 6.19 2017-02-14 - Call HTTP::Status constant functions without & (GH#110) - Make bin scripts use LWP's version and not maintain their own (PR #54) - Fix bug triggered in some cases of auth challenges not having a viable protocol (PR#111) - Remove usage of the 'vars' pragma (GH#113) 6.18 2017-02-03 - Update "timeout" when reusing sockets (PR#90) - Fix bug triggered when calling simple_request() with a malformed URL (PR#108) 6.17 2017-01-31 - Noted another protocol failure message (PR#65) - Removed old use of UNIVERSAL::isa() and swapped evals for Try::Tiny (PR#105) - Standardized the Changes file (GH#106) - Fixed documentation error in lwp-request. 6.16 2017-01-18 - Moved LWP::Protocol::GHTTP into its own dist and removed from here (PR#81) - Updated test suite to use strict/warnings and Test::More (PR#88) - Additional tests for UserAgent coverage (PR#79) - Cleaned up documentation formatting and fixed several typos (PR#87, PR#93) - Stop promoting use of HTTP::Cookies and instead use HTTP::CookieJar::LWP (PR#102) - Added some new documentation to UserAgent and tutorial (PR#68) - Allow default header to carry over when using ->post() in UA (PR#100)
Index: Makefile =================================================================== RCS file: /home/cvs/ports/www/p5-libwww/Makefile,v retrieving revision 1.43 diff -u -p -r1.43 Makefile --- Makefile 20 Mar 2016 19:57:23 -0000 1.43 +++ Makefile 24 Sep 2017 12:50:24 -0000 @@ -2,16 +2,18 @@ COMMENT= library for WWW access in Perl -MODULES= cpan -PKG_ARCH= * -DISTNAME= libwww-perl-6.15 +DISTNAME= libwww-perl-6.27 PKGNAME= p5-${DISTNAME:S/-perl-/-/} CATEGORIES= www # Perl PERMIT_PACKAGE_CDROM= Yes +MODULES= cpan +CPAN_AUTHOR= OALDERS + RUN_DEPENDS= devel/p5-File-Listing>=6.0 \ + devel/p5-Try-Tiny \ textproc/p5-Encode-Locale \ net/p5-Net-HTTP>=6.07 \ www/p5-HTML-Parser>=3.33 \ @@ -24,8 +26,9 @@ RUN_DEPENDS= devel/p5-File-Listing>=6.0 www/p5-URI>1.10 \ www/p5-WWW-RobotRules>=6.0 -BUILD_DEPENDS= ${RUN_DEPENDS} -CPAN_AUTHOR= ETHER +TEST_DEPENDS = devel/p5-Test-Fatal \ + devel/p5-Test-RequiresInternet +PKG_ARCH= * .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /home/cvs/ports/www/p5-libwww/distinfo,v retrieving revision 1.16 diff -u -p -r1.16 distinfo --- distinfo 14 Dec 2015 07:02:09 -0000 1.16 +++ distinfo 24 Sep 2017 12:51:40 -0000 @@ -1,2 +1,2 @@ -SHA256 (libwww-perl-6.15.tar.gz) = bzSdRcIbHsBQHEQ338twVwlA5sPVv/eDvZHUzd6tgyI= -SIZE (libwww-perl-6.15.tar.gz) = 141936 +SHA256 (libwww-perl-6.27.tar.gz) = KY8ibw+u9JIK3rAxfNd0NQ31DcWn5NbQktVnPiLqtYo= +SIZE (libwww-perl-6.27.tar.gz) = 163020 Index: pkg/PLIST =================================================================== RCS file: /home/cvs/ports/www/p5-libwww/pkg/PLIST,v retrieving revision 1.19 diff -u -p -r1.19 PLIST --- pkg/PLIST 23 Oct 2014 19:49:45 -0000 1.19 +++ pkg/PLIST 18 Sep 2017 11:22:55 -0000 @@ -9,12 +9,13 @@ ${P5SITE}/LWP/Authen/Basic.pm ${P5SITE}/LWP/Authen/Digest.pm ${P5SITE}/LWP/Authen/Ntlm.pm ${P5SITE}/LWP/ConnCache.pm +${P5SITE}/LWP/Debug/ ${P5SITE}/LWP/Debug.pm +${P5SITE}/LWP/Debug/TraceHTTP.pm ${P5SITE}/LWP/DebugFile.pm ${P5SITE}/LWP/MemberMixin.pm ${P5SITE}/LWP/Protocol/ ${P5SITE}/LWP/Protocol.pm -${P5SITE}/LWP/Protocol/GHTTP.pm ${P5SITE}/LWP/Protocol/cpan.pm ${P5SITE}/LWP/Protocol/data.pm ${P5SITE}/LWP/Protocol/file.pm @@ -28,8 +29,9 @@ ${P5SITE}/LWP/Protocol/nogo.pm ${P5SITE}/LWP/RobotUA.pm ${P5SITE}/LWP/Simple.pm ${P5SITE}/LWP/UserAgent.pm -${P5SITE}/lwpcook.pod -${P5SITE}/lwptut.pod +${P5SITE}/libwww/ +${P5SITE}/libwww/lwpcook.pod +${P5SITE}/libwww/lwptut.pod @man man/man1/lwp-download.1 @man man/man1/lwp-dump.1 @man man/man1/lwp-mirror.1 @@ -43,5 +45,5 @@ ${P5SITE}/lwptut.pod @man man/man3p/LWP::RobotUA.3p @man man/man3p/LWP::Simple.3p @man man/man3p/LWP::UserAgent.3p -@man man/man3p/lwpcook.3p -@man man/man3p/lwptut.3p +@man man/man3p/libwww::lwpcook.3p +@man man/man3p/libwww::lwptut.3p