| Summary: | Review Request: perl-WWW-Twilio-API - Accessing Twilio's REST API with Perl | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Denis Fateyev <denis> |
| Component: | Package Review | Assignee: | Petr Šabata <psabata> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | package-review, perl-devel, psabata |
| Target Milestone: | --- | Flags: | psabata:
fedora-review+
|
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-01-24 22:50:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Denis Fateyev
2016-01-11 19:04:09 UTC
Question.
32 Requires: perl(LWP::Protocol::https)
33 # perl-libwww-perl in el6 haven't got ssl support by default
34 %{?el6:Requires: perl(Crypt::SSLeay)}
Does this mean that, in EPEL6, HTTPS doesn't work with LWP::Protocol::https?
Right, technically "LWP::Protocol::https" in rhel6 doesn't support HTTPS by default. In more details, "perl(LWP::Protocol::https)" in rhel6 is provided by "perl-libwww-perl" which doesn't require SSL by itself.
# yum whatprovides 'perl(LWP::Protocol::https)'
...
perl-libwww-perl-5.833-2.el6.noarch : A Perl interface to the World-Wide Web
Repo : base
Matched from:
Other : perl(LWP::Protocol::https)
...
perl-libwww-perl-5.833-2.el6.noarch : A Perl interface to the World-Wide Web
Repo : installed
Matched from:
Other : Provides-match: perl(LWP::Protocol::https)
# rpm -qR perl-libwww-perl
/usr/bin/perl
mailcap
perl >= 0:5.002
perl >= 0:5.004
perl >= 0:5.005
perl(:MODULE_COMPAT_5.10.1)
perl(AnyDBM_File)
perl(Carp)
perl(Compress::Zlib)
perl(Digest::MD5)
perl(Exporter)
perl(Fcntl)
perl(File::Listing)
perl(Getopt::Long)
perl(Getopt::Std)
perl(HTML::Entities)
perl(HTTP::Cookies)
perl(HTTP::Cookies::Netscape)
perl(HTTP::Date)
perl(HTTP::Headers)
perl(HTTP::Headers::Util)
perl(HTTP::Message)
perl(HTTP::Negotiate)
perl(HTTP::Request)
perl(HTTP::Response)
perl(HTTP::Status)
perl(IO::Select)
perl(IO::Socket)
perl(LWP)
perl(LWP::MediaTypes)
perl(LWP::MemberMixin)
perl(LWP::Protocol)
perl(LWP::Protocol::http)
perl(LWP::Protocol::http10)
perl(LWP::Simple)
perl(LWP::UserAgent)
perl(MIME::Base64)
perl(Net::HTTP)
perl(Net::HTTP::Methods)
perl(Net::HTTPS)
perl(Net::NNTP)
perl(Time::Local)
perl(URI)
perl(URI::Heuristic)
perl(URI::URL)
perl(WWW::RobotRules)
perl(base)
perl(integer)
perl(locale)
perl(strict)
perl(vars)
perl-HTML-Parser >= 3.33
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1
rpmlib(PayloadIsXz) <= 5.2-1
--------------
A simple practical check:
# yum install 'perl(LWP::Protocol::https)'
...
Package perl-libwww-perl-5.833-2.el6.noarch already installed and latest version
# perl -le 'use LWP::UserAgent; my $ua = new LWP::UserAgent; my $request = new HTTP::Request("GET", "https://bugzilla.redhat.com"); my $response = $ua->request($request); print $response->content;'
LWP will support https URLs if either Crypt::SSLeay or IO::Socket::SSL
is installed. More information at
<http://search.cpan.org/dist/libwww-perl/README.SSL>.
P.S. In rhel7 and fedora it's different: perl(LWP::Protocol::https) is provided by a separate package which requires IO::Socket::SSL.
Hrm, okay. perl-libwww-perl's packaging in EL6 could be improved, it seems. Anyhow, the package is mostly fine. Just... * You could add the version constraint to that EL6 runtime dependency on Crypt::SSLeay. * Require version constrained LWP::UserAgent and URI::Escape + filter out the autogenerated underspecified dependencies. And that's it :) dfateyev's scratch build of perl-WWW-Twilio-API-0.18-2.fc23.denf.src.rpm for rawhide completed http://koji.fedoraproject.org/koji/taskinfo?taskID=12547493 (In reply to Petr Šabata from comment #3) > Hrm, okay. perl-libwww-perl's packaging in EL6 could be improved, it seems. It would be good, but I doubt they would do it now with rhel6. > * You could add the version constraint to that EL6 runtime dependency on > Crypt::SSLeay. > > * Require version constrained LWP::UserAgent and URI::Escape + filter out > the autogenerated underspecified dependencies. Done. The updated version: Spec URL: http://www.fateyev.com/RPMS/Fedora22/perl-WWW-Twilio-API.spec SRPM URL: http://www.fateyev.com/RPMS/Fedora22/perl-WWW-Twilio-API-0.18-2.fc24.src.rpm Acking changes and approving. Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/perl-WWW-Twilio-API perl-WWW-Twilio-API-0.18-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-7eef5cd0bf perl-WWW-Twilio-API-0.18-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0d6a91da2e perl-WWW-Twilio-API-0.18-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a21b459a4e perl-WWW-Twilio-API-0.18-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-7eef5cd0bf perl-WWW-Twilio-API-0.18-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a21b459a4e perl-WWW-Twilio-API-0.18-2.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-2807c20ee4 perl-WWW-Twilio-API-0.18-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0d6a91da2e perl-WWW-Twilio-API-0.18-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. perl-WWW-Twilio-API-0.18-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. perl-WWW-Twilio-API-0.18-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. perl-WWW-Twilio-API-0.18-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |