diff options
Diffstat (limited to 'meta-perl/recipes-perl/libnet')
-rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-dns-perl_1.40.bb (renamed from meta-perl/recipes-perl/libnet/libnet-dns-perl_1.18.bb) | 12 | ||||
-rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb | 4 | ||||
-rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-idn-encode/Net-IDN-Encode-2.500-use_uvchr_to_utf8_flags_instead_of_uvuni_to_utf8_flags.patch | 36 | ||||
-rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-idn-encode_2.500.bb | 25 | ||||
-rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.65.bb | 29 | ||||
-rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb | 43 | ||||
-rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb | 8 | ||||
-rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch | 4 | ||||
-rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb | 11 | ||||
-rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb (renamed from meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.04.bb) | 10 |
10 files changed, 128 insertions, 54 deletions
diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.18.bb b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.40.bb index 4e0c9c446b..e30125ab7b 100644 --- a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.18.bb +++ b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.40.bb @@ -3,14 +3,13 @@ HOMEPAGE = "http://www.net-dns.org/" SECTION = "libs" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://README;beginline=252;endline=269;md5=27db37b42cd1a5173a53922d67072bcb" +LIC_FILES_CHKSUM = "file://README;beginline=252;endline=269;md5=de95b6a896d5f861d724ea854d316a0b" DEPENDS += "perl" SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz" -SRC_URI[md5sum] = "67af7e5c1c339f60c45c1054374bd8ee" -SRC_URI[sha256sum] = "52ce1494fc9707fd5a60ed71db5cde727157b7f2363787d730d4d1bd9800a9d3" +SRC_URI[sha256sum] = "209bbd40de8d48c1bd7aade48da237fe0a499f89d279baa2e1a99bd5ec922ddc" UPSTREAM_CHECK_REGEX = "Net\-DNS\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" @@ -20,7 +19,7 @@ EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR} inherit cpan ptest-perl -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ libdigest-hmac-perl \ perl-module-base \ perl-module-constant \ @@ -38,11 +37,11 @@ RDEPENDS_${PN} = " \ perl-module-time-local \ " -RRECOMMENDS_${PN} += " \ +RRECOMMENDS:${PN} += " \ libnet-dns-sec-perl \ " -RDEPENDS_${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += " \ perl-module-encode \ perl-module-encode-byte \ perl-module-extutils-mm \ @@ -63,4 +62,3 @@ python __anonymous () { d.getVar('TCLIBC')) } -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb index 3fa6294f1c..fe7bb3326e 100644 --- a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb +++ b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb @@ -19,7 +19,7 @@ EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L$ inherit cpan ptest-perl -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ libnet-dns-perl \ libcrypto \ perl-module-dynaloader \ @@ -29,5 +29,3 @@ RDEPENDS_${PN} = " \ perl-module-mime-base64 \ perl-module-test-more \ " - -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libnet/libnet-idn-encode/Net-IDN-Encode-2.500-use_uvchr_to_utf8_flags_instead_of_uvuni_to_utf8_flags.patch b/meta-perl/recipes-perl/libnet/libnet-idn-encode/Net-IDN-Encode-2.500-use_uvchr_to_utf8_flags_instead_of_uvuni_to_utf8_flags.patch new file mode 100644 index 0000000000..f0e9010bf4 --- /dev/null +++ b/meta-perl/recipes-perl/libnet/libnet-idn-encode/Net-IDN-Encode-2.500-use_uvchr_to_utf8_flags_instead_of_uvuni_to_utf8_flags.patch @@ -0,0 +1,36 @@ +Subject: [PATCH] use uvchr_to_utf8_flags instead of uvuni_to_utf8_flags (which is removed in perl 5.38.0) + +https://perldoc.perl.org/5.36.0/perlintern#uvuni_to_utf8_flags +Signed-off-by: Shin Kojima <shin@kojima.org> +Upstream-Status: Submitted [https://github.com/cfaerber/Net-IDN-Encode/pull/11] +--- + lib/Net/IDN/Punycode.xs | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/lib/Net/IDN/Punycode.xs b/lib/Net/IDN/Punycode.xs +index 211ef9c..36530dd 100644 +--- a/lib/Net/IDN/Punycode.xs ++++ b/lib/Net/IDN/Punycode.xs +@@ -24,6 +24,10 @@ + #define utf8_to_uvchr_buf(in_p,in_e,u8) utf8_to_uvchr(in_p,u8); + #endif + ++#ifndef uvchr_to_utf8_flags ++#define uvchr_to_utf8_flags(d, uv, flags) uvuni_to_utf8_flags(d, uv, flags); ++#endif ++ + static char enc_digit[BASE] = { + 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', + 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', +@@ -253,7 +257,7 @@ decode_punycode(input) + if(skip_p < re_p) /* move succeeding chars */ + Move(skip_p, skip_p + u8, re_p - skip_p, char); + re_p += u8; +- uvuni_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY); ++ uvchr_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY); + } + + if(!first) SvUTF8_on(RETVAL); /* UTF-8 chars have been inserted */ +-- +2.41.0 + diff --git a/meta-perl/recipes-perl/libnet/libnet-idn-encode_2.500.bb b/meta-perl/recipes-perl/libnet/libnet-idn-encode_2.500.bb new file mode 100644 index 0000000000..7f33fd2b1f --- /dev/null +++ b/meta-perl/recipes-perl/libnet/libnet-idn-encode_2.500.bb @@ -0,0 +1,25 @@ +SUMMARY = "IDN Perl module" +DESCRIPTION = "This module provides an easy-to-use interface for encoding \ + and decoding Internationalized Domain Names (IDNs)." + +SECTION = "libs" + +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8ea5704cf65ca4ec6e9e167fb94f14dd" + +SRC_URI = "${CPAN_MIRROR}/authors/id/C/CF/CFAERBER/Net-IDN-Encode-${PV}.tar.gz \ + file://Net-IDN-Encode-2.500-use_uvchr_to_utf8_flags_instead_of_uvuni_to_utf8_flags.patch \ +" +SRC_URI[sha256sum] = "55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa" + +S = "${WORKDIR}/Net-IDN-Encode-${PV}" + +inherit cpan ptest-perl + +do_configure:prepend() { + perl -pi -e 's/auto_install_now.*//g' Makefile.PL +} + +BBCLASSEXTEND = "native" + +RDEPENDS:${PN} += "perl-module-unicode-normalize perl-module-encode-encoding" diff --git a/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.65.bb b/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.65.bb deleted file mode 100644 index f2b1f1634d..0000000000 --- a/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.65.bb +++ /dev/null @@ -1,29 +0,0 @@ -SUMMARY = "LDAP Perl module" -DESCRIPTION = "Net::LDAP is a collection of modules that implements \ -a LDAP services API for Perl programs. The module may be used to \ -search directories or perform maintenance functions such as adding, \ -deleting or modifying entries." - -SECTION = "libs" - -LICENSE = "Artistic-1.0|GPLv1+" -LIC_FILES_CHKSUM = "file://README;beginline=3;endline=5;md5=4d6588c2fa0d38ae162f6314d201d89e" - -SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARSCHAP/perl-ldap-${PV}.tar.gz" - -SRC_URI[md5sum] = "d057c8db76913d95c0e460c7bdd98b27" -SRC_URI[sha256sum] = "5f57dd261dc16ebf942a272ddafe69526598df71151a51916edc37a4f2f23834" - -S = "${WORKDIR}/perl-ldap-${PV}" - -inherit cpan - -do_configure_prepend() { - perl -pi -e 's/auto_install_now.*//g' Makefile.PL -} - -RDEPENDS_${PN} = "perl \ - libconvert-asn1-perl \ - libio-socket-ssl-perl \ - libauthen-sasl-perl \ -" diff --git a/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb b/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb new file mode 100644 index 0000000000..a77381dce8 --- /dev/null +++ b/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb @@ -0,0 +1,43 @@ +SUMMARY = "LDAP Perl module" +DESCRIPTION = "Net::LDAP is a collection of modules that implements \ +a LDAP services API for Perl programs. The module may be used to \ +search directories or perform maintenance functions such as adding, \ +deleting or modifying entries." + +SECTION = "libs" + +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://README;beginline=3;endline=5;md5=4d6588c2fa0d38ae162f6314d201d89e" + +SRC_URI = "${CPAN_MIRROR}/authors/id/M/MA/MARSCHAP/perl-ldap-${PV}.tar.gz" + +SRC_URI[md5sum] = "d091ed00302f0276069bca9df9478744" +SRC_URI[sha256sum] = "e2f389fe3e7a9e4b61488692919ad723b98f3b479b5288f610daa8c27995b351" + +S = "${WORKDIR}/perl-ldap-${PV}" + +inherit cpan ptest-perl + +do_configure:prepend() { + perl -pi -e 's/auto_install_now.*//g' Makefile.PL +} + +do_install_ptest() { + cp -r ${B}/data ${D}${PTEST_PATH} + chown -R root:root ${D}${PTEST_PATH} +} + +RDEPENDS:${PN} += " \ + libconvert-asn1-perl \ + libio-socket-ssl-perl \ + libauthen-sasl-perl \ + perl-module-integer \ +" + +RDEPENDS:${PN}-ptest += " \ + libxml-sax-base-perl \ + libxml-sax-writer-perl \ + perl-module-file-compare \ + perl-module-perlio \ + perl-module-test-more \ +" diff --git a/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb b/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb index 1ef9f0bc35..4c4faab4db 100644 --- a/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb +++ b/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb @@ -5,12 +5,12 @@ Domain Names according to IDNA (RFC 3490), in a way very much inspired by \ Turbo Fredriksson's PHP-IDN. \ " SECTION = "libs" -LICENSE = "Artistic-1.0 | GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" HOMEPAGE = "http://search.cpan.org/dist/Net-LibIDN/" DEPENDS += "libidn" # We must need glibc-gconvs to enable charset related functions, # such as Net::LibIDN::idn_to_ascii(). -RDEPENDS_${PN}_append_libc-glibc = " glibc-gconvs" +RDEPENDS:${PN}:append:libc-glibc = " glibc-gconvs" SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-${PV}.tar.gz" SRC_URI[md5sum] = "c3e4de2065009d67bcb1df0afb473e12" @@ -27,8 +27,8 @@ EXTRA_CPANFLAGS += "--disable-tld" inherit cpan -FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Net/LibIDN/.debug/" +FILES:${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Net/LibIDN/.debug/" -do_configure_prepend() { +do_configure:prepend() { rm -rf ${S}/.pc/ } diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch index 6efa7d8f95..9620df5ece 100644 --- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch +++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch @@ -1,3 +1,7 @@ +Avoid running target binaries during in cross build + +Upstream-Status: Inappropriate [Cross-compile specific] +Signed-off-by: Khem Raj <raj.khem@gmail.com> --- a/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 14:56:24.788544991 +0200 +++ b/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 15:00:12.847266331 +0200 @@ -24,20 +24,7 @@ diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb index dccef16404..5d0eccd84a 100644 --- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb +++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb @@ -7,11 +7,11 @@ so you can write servers or clients for more complicated applications." HOMEPAGE = "http://search.cpan.org/dist/Net-SSLeay/" SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=274;endline=294;md5=67d67095d83e339da538a082fad5f38e" DEPENDS = "openssl zlib openssl-native" -RDEPENDS_${PN} += "\ +RDEPENDS:${PN} += "\ libssl \ libcrypto \ perl-module-carp \ @@ -19,6 +19,7 @@ RDEPENDS_${PN} += "\ perl-module-extutils-makemaker \ perl-module-mime-base64 \ perl-module-socket \ + perl-module-autoloader \ zlib \ " @@ -42,8 +43,6 @@ do_install_ptest() { cp -r ${B}/t ${D}${PTEST_PATH} } -BBCLASSEXTEND = "native" +FILES:${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Net/SSLeay/.debug/" -FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Net/SSLeay/.debug/" - -RDEPENDS_${PN}-ptest = " perl" +RDEPENDS:${PN}-ptest = " perl" diff --git a/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.04.bb b/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb index 652e8c941e..d1365f269c 100644 --- a/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.04.bb +++ b/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb @@ -11,15 +11,15 @@ shell." HOMEPAGE = "http://search.cpan.org/dist/Net-Telnet/" SECTION = "Development/Libraries" -LICENSE = "Artistic-1.0|GPLv1+" -LIC_FILES_CHKSUM = "file://README;beginline=4;endline=7;md5=3fd238bfb6ee1810cb15d5d95e07b0f5" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://README;beginline=4;endline=7;md5=e94ab3b72335e3cdadd6c1ff736dd714" SRC_URI = "http://search.cpan.org/CPAN/authors/id/J/JR/JROGERS/Net-Telnet-${PV}.tar.gz" -SRC_URI[md5sum] = "d2514080116c1b0fa5f96295c84538e3" -SRC_URI[sha256sum] = "e64d567a4e16295ecba949368e7a6b8b5ae2a16b3ad682121d9b007dc5d2a37a" +SRC_URI[md5sum] = "c8573c57a2d9469f038c40ac284b1e5f" +SRC_URI[sha256sum] = "677f68ba2cd2a824fae323fa82e183bf7e3d03c3c499c91d923bd6283796a743" S = "${WORKDIR}/Net-Telnet-${PV}" inherit cpan -RDEPENDS_${PN} = "perl" +RDEPENDS:${PN} = "perl" |