blob: f7b3d416dfe516b2385648042ab56548336ac871 [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001SUMMARY = "Perl library for transparent SSL"
2DESCRIPTION = "This module is a true drop-in replacement for IO::Socket::INET that \
3uses SSL to encrypt data before it is transferred to a remote server \
4or client. IO::Socket::SSL supports all the extra features that one \
5needs to write a full-featured SSL client or server application: \
6multiple SSL contexts, cipher selection, certificate verification, and \
7SSL version selection. As an extra bonus, it works perfectly with \
8mod_perl."
9HOMEPAGE = "http://search.cpan.org/dist/IO-Socket-SSL/"
10SECTION = "libs"
11
12LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
13LIC_FILES_CHKSUM = "file://META.yml;beginline=12;endline=12;md5=963ce28228347875ace682de56eef8e8"
14
15RDEPENDS:${PN} += "\
16 libmozilla-ca-perl \
17 libnet-ssleay-perl \
18 perl-module-autoloader \
19 perl-module-io-socket \
20 perl-module-scalar-util \
21"
22
23SRC_URI = "${CPAN_MIRROR}/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz"
Patrick Williams73bd93f2024-02-20 08:07:48 -060024SRC_URI[sha256sum] = "95b2f7c0628a7e246a159665fbf0620d0d7835e3a940f22d3fdd47c3aa799c2e"
Patrick Williamsac13d5f2023-11-24 18:59:46 -060025
26S = "${WORKDIR}/IO-Socket-SSL-${PV}"
27
28inherit cpan ptest-perl
29
30do_install:append () {
31 mkdir -p ${D}${docdir}/${PN}/
32 cp ${S}/BUGS ${D}${docdir}/${PN}/
33 cp ${S}/Changes ${D}${docdir}/${PN}/
34 cp ${S}/README ${D}${docdir}/${PN}/
35 cp -pRP ${S}/docs ${D}${docdir}/${PN}/
36 cp -pRP ${S}/t/certs ${D}${docdir}/${PN}/
37 cp -pRP ${S}/example ${D}${docdir}/${PN}/
38}
39
40RDEPENDS:${PN}-ptest += "\
41 libnet-idn-encode \
42 liburi-perl \
43 perl-module-file-glob \
44 perl-module-findbin \
45 perl-module-io-socket-inet \
46 perl-module-io-socket-ip \
47 perl-module-perlio \
48 perl-module-perlio-scalar \
49 perl-module-test-more \
50"
51
52do_install_ptest:append () {
53 cp -r ${B}/t/certs ${D}${PTEST_PATH}
54}