Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 1 | SUMMARY = "Perl library for transparent SSL" |
| 2 | DESCRIPTION = "This module is a true drop-in replacement for IO::Socket::INET that \ |
| 3 | uses SSL to encrypt data before it is transferred to a remote server \ |
| 4 | or client. IO::Socket::SSL supports all the extra features that one \ |
| 5 | needs to write a full-featured SSL client or server application: \ |
| 6 | multiple SSL contexts, cipher selection, certificate verification, and \ |
| 7 | SSL version selection. As an extra bonus, it works perfectly with \ |
| 8 | mod_perl." |
| 9 | HOMEPAGE = "http://search.cpan.org/dist/IO-Socket-SSL/" |
| 10 | SECTION = "libs" |
| 11 | |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 12 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 13 | LIC_FILES_CHKSUM = "file://META.yml;beginline=12;endline=12;md5=963ce28228347875ace682de56eef8e8" |
| 14 | |
| 15 | RDEPENDS:${PN} += "\ |
| 16 | libnet-ssleay-perl \ |
| 17 | perl-module-autoloader \ |
| 18 | perl-module-scalar-util \ |
| 19 | perl-module-io-socket \ |
| 20 | " |
| 21 | |
| 22 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz \ |
| 23 | file://run-ptest \ |
| 24 | " |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 25 | SRC_URI[sha256sum] = "c30ee2220b1e181a968ebbc81861d0cadf334b001377a44105ae5a8637ddae8c" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 26 | |
| 27 | S = "${WORKDIR}/IO-Socket-SSL-${PV}" |
| 28 | |
| 29 | inherit cpan ptest |
| 30 | |
| 31 | do_install:append () { |
| 32 | mkdir -p ${D}${docdir}/${PN}/ |
| 33 | cp ${S}/BUGS ${D}${docdir}/${PN}/ |
| 34 | cp ${S}/Changes ${D}${docdir}/${PN}/ |
| 35 | cp ${S}/README ${D}${docdir}/${PN}/ |
| 36 | cp -pRP ${S}/docs ${D}${docdir}/${PN}/ |
| 37 | cp -pRP ${S}/certs ${D}${docdir}/${PN}/ |
| 38 | cp -pRP ${S}/example ${D}${docdir}/${PN}/ |
| 39 | } |
| 40 | |
| 41 | do_install_ptest () { |
| 42 | cp -r ${B}/t ${D}${PTEST_PATH} |
| 43 | cp -r ${B}/certs ${D}${PTEST_PATH} |
| 44 | } |
| 45 | |
| 46 | BBCLASSEXTEND = "native" |