0
  "   ˆl–ß=¿JÕ/”Š�nãB¸”Å£ÆƒO=ÅÄ 	¸    Release history for LWP-Protocol-https

6.10      2020-12-17 15:42:06Z
    - Fix #39 - prevent user env from breaking the test (GH#63) (Gianni
      Ceccarelli)
    - Include Net::SSLeay in reported prereqs (GH#60) (Olaf Alders)
    - Use GitHub as a bug tracker (GH#59) (Olaf Alders)

6.09      2020-07-16 13:33:05Z
    - Make available the version of SSL/TLS protocol used in the connection
      (GH#56) (Jon Jensen)

6.08      2020-03-23 20:19:22Z (TRIAL RELEASE)
    - Add defined check (GH#53) (Mohammad S Anwar)
    - Fix copyright year (GH#55) (Olaf Alders)
    - Upgrade Mozilla::CA dependency; originally #26 by dolmen (GH#54) (Shoichi Kaji)
    - Adds coverage tests (GH#51) (Juan Julin Merelo Guervs)
    - Migrated to DZil (GH PR#30)
    - Moved bug tracking from RT to GitHub (GH#48) (Olaf Alders)

6.07      2017-02-19
    - Cleaned up the Changes log
    - Explicitly add hostname for SNI to start_SSL (GH PR#17)
    - Fix the license name
    - Update some documentation on SSL args
    - Fix bug when checking for Mozilla::CA (GH PR#29)

6.06      2014-04-18
    - Merge pull request #12 from drieux/subjectAltName
    - Merge pull request #9 from chorny/master
    - Updated libwww requirement to 6.06 to fix failing t/proxy.t test cases.
    - Getopt::Long isn't actually used
    - Merge pull request #7 from noxxi/master
    - better diagnostics in case of failures in apache.t
    - Merge pull request #8 from cpansprout/patch-1
    - correct behavior for https_proxy, this goes together with change to
    - libwww-perl cb80c2ddb7, new method _upgrade_sock in LWP::Protocol::https
    - Typo fix: envirionment =~ s/io/o/
    - support for subjectAltName

6.04      2013-04-29
    - Fix IO::Socket::SSL warnings when not verifying hostname.
    - Doc spelling fix.

6.03      2012-02-18
    - Skip test if offline [RT#74163]
    - Typo fixes
    - Restore perl-5.8.1 compatibility.

6.02      2011-03-27
    - Initial release of LWP-Protocol-https as a separate distribution. There
      are no code changes besides setting the version number since
      libwww-perl-6.01.
    - The LWP::Protocol::https module used to be bundled with the libwww-perl
      distribution, but it was unbundled in v6.02 in order to be able to declare
      its dependencies properly for the CPAN tool chain.  Applications that need
      https support can just declare their dependency on LWP::Protocol::https
      and will no longer need to know what underlying modules to install.
     ˆÇÆƒaÅÄ 	Ð    #!/usr/local/cpanel/3rdparty/bin/perl

# cpanel - scripts/check_plugin_pkgs               Copyright 2022 cPanel, L.L.C.
#                                                           All rights reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

package scripts::check_plugin_pkgs;

use cPstrict;

use parent qw( Cpanel::HelpfulScript );

use Cpanel::OS      ();
use Cpanel::Plugins ();

=encoding utf-8

=head1 NAME

scripts::check_plugin_pkgs

=head1 SYNOPSIS

    check_plugin_pkgs [ --pkg <pkg> --pkg <pkg> | help ]

    NOTE: The `pkg` argument can be passed 1 or more times

=head1 DESCRIPTION

This script verifies the integrity of installed plugin packages. If it finds an
altered package, the script will replace it with an unaltered version.  If the
package is not installed, the script will install it.

=cut

sub _OPTIONS {
    return qw( pkg=s@ );
}

exit( __PACKAGE__->new(@ARGV)->script() // 0 ) unless caller();

sub script ($self) {

    if ( !Cpanel::OS::supports_plugins_repo() ) {
        $self->say( "cPanel plugins are not supported for your current distribution: " . Cpanel::OS::display_name() );
        return;
    }

    $self->ensure_root();

    my $pkgs = $self->getopt('pkg') // die "Please specify at least one package to check with --pkg.\n" . $self->help();

    my $ok = 1;
    foreach my $pkg (@$pkgs) {
        $self->say("* Checking package â€˜$pkgâ€™");

        my $ch