meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.083.bb
Richard Purdie 091cc14dfc meta-perl: Drop broken BBCLASSEXTEND variants
The command "bitbake universe -c fetch" currently throws a ton of warnings
as there are many 'impossible' dependencies.

In some cases these variants may never have worked and were just added by copy
and paste of recipes. In some cases they once clearly did work but became
broken somewhere along the way. Users may also be carrying local bbappend files
which add further BBCLASSEXTEND.

Having universe fetch work without warnings is desireable so clean up the broken
variants. Anyone actually needing something dropped here can propose adding it
and the correct functional dependencies back quite easily. This also then
ensures we're not carrying or fixing things nobody uses.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 79e0a9d237343ad0af0a40128494155ccaa131ec)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-11-01 08:16:30 -04:00

55 lines
1.7 KiB
BlitzBasic

SUMMARY = "Perl library for transparent SSL"
DESCRIPTION = "This module is a true drop-in replacement for IO::Socket::INET that \
uses SSL to encrypt data before it is transferred to a remote server \
or client. IO::Socket::SSL supports all the extra features that one \
needs to write a full-featured SSL client or server application: \
multiple SSL contexts, cipher selection, certificate verification, and \
SSL version selection. As an extra bonus, it works perfectly with \
mod_perl."
HOMEPAGE = "http://search.cpan.org/dist/IO-Socket-SSL/"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://META.yml;beginline=12;endline=12;md5=963ce28228347875ace682de56eef8e8"
RDEPENDS:${PN} += "\
libmozilla-ca-perl \
libnet-ssleay-perl \
perl-module-autoloader \
perl-module-io-socket \
perl-module-scalar-util \
"
SRC_URI = "${CPAN_MIRROR}/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz"
SRC_URI[sha256sum] = "904ef28765440a97d8a9a0df597f8c3d7f3cb0a053d1b082c10bed03bc802069"
S = "${WORKDIR}/IO-Socket-SSL-${PV}"
inherit cpan ptest-perl
do_install:append () {
mkdir -p ${D}${docdir}/${PN}/
cp ${S}/BUGS ${D}${docdir}/${PN}/
cp ${S}/Changes ${D}${docdir}/${PN}/
cp ${S}/README ${D}${docdir}/${PN}/
cp -pRP ${S}/docs ${D}${docdir}/${PN}/
cp -pRP ${S}/t/certs ${D}${docdir}/${PN}/
cp -pRP ${S}/example ${D}${docdir}/${PN}/
}
RDEPENDS:${PN}-ptest += "\
libnet-idn-encode \
liburi-perl \
perl-module-file-glob \
perl-module-findbin \
perl-module-io-socket-inet \
perl-module-io-socket-ip \
perl-module-perlio \
perl-module-perlio-scalar \
perl-module-test-more \
"
do_install_ptest:append () {
cp -r ${B}/t/certs ${D}${PTEST_PATH}
}