From 193236933b0f4ab91b1625b64e2187e2db4e0e8f Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Fri, 5 Apr 2019 15:28:33 -0400 Subject: reset upstream subtrees to HEAD Reset the following subtrees on HEAD: poky: 8217b477a1(master) meta-xilinx: 64aa3d35ae(master) meta-openembedded: 0435c9e193(master) meta-raspberrypi: 490a4441ac(master) meta-security: cb6d1c85ee(master) Squashed patches: meta-phosphor: drop systemd 239 patches meta-phosphor: mrw-api: use correct install path Change-Id: I268e2646d9174ad305630c6bbd3fbc1a6105f43d Signed-off-by: Brad Bishop --- meta-openembedded/meta-perl/README | 10 +-- meta-openembedded/meta-perl/conf/layer.conf | 2 +- .../recipes-extended/logcheck/logcheck_1.3.19.bb | 78 --------------------- .../recipes-extended/logcheck/logcheck_1.3.20.bb | 80 ++++++++++++++++++++++ .../recipes-perl/adduser/adduser_3.118.bb | 2 +- .../recipes-perl/images/meta-perl-base.bb | 7 ++ .../recipes-perl/images/meta-perl-image.bb | 5 ++ .../recipes-perl/images/meta-perl-ptest-image.bb | 5 ++ .../libio/libio-socket-ssl-perl_2.060.bb | 47 ------------- .../libio/libio-socket-ssl-perl_2.066.bb | 47 +++++++++++++ .../recipes-perl/libnet/libnet-dns-perl_1.18.bb | 66 ------------------ .../recipes-perl/libnet/libnet-dns-perl_1.19.bb | 66 ++++++++++++++++++ .../libxml/libxml-libxml-perl_2.0132.bb | 47 ------------- .../libxml/libxml-libxml-perl_2.0134.bb | 47 +++++++++++++ .../packagegroups/packagegroup-meta-perl.bb | 52 ++++++++++++++ 15 files changed, 317 insertions(+), 244 deletions(-) delete mode 100644 meta-openembedded/meta-perl/recipes-extended/logcheck/logcheck_1.3.19.bb create mode 100644 meta-openembedded/meta-perl/recipes-extended/logcheck/logcheck_1.3.20.bb create mode 100644 meta-openembedded/meta-perl/recipes-perl/images/meta-perl-base.bb create mode 100644 meta-openembedded/meta-perl/recipes-perl/images/meta-perl-image.bb create mode 100644 meta-openembedded/meta-perl/recipes-perl/images/meta-perl-ptest-image.bb delete mode 100644 meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.060.bb create mode 100644 meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.066.bb delete mode 100644 meta-openembedded/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.18.bb create mode 100644 meta-openembedded/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.19.bb delete mode 100644 meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0132.bb create mode 100644 meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb create mode 100644 meta-openembedded/meta-perl/recipes-perl/packagegroups/packagegroup-meta-perl.bb (limited to 'meta-openembedded/meta-perl') diff --git a/meta-openembedded/meta-perl/README b/meta-openembedded/meta-perl/README index 3c787f417..67f291079 100644 --- a/meta-openembedded/meta-perl/README +++ b/meta-openembedded/meta-perl/README @@ -52,7 +52,7 @@ Dependencies This layer depends on: URI: git://git.openembedded.org/openembedded-core - branch: thud + branch: master revision: HEAD prio: default @@ -75,12 +75,14 @@ Maintenance ----------- Send patches / pull requests to openembedded-devel@lists.openembedded.org with -'[meta-perl][thud]' in the subject. +'[meta-perl]' in the subject. When sending single patches, please using something like: -'git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-perl][thud][PATCH' +'git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-perl][PATCH' -Thud maintainers: Armin kuster +Layer maintainers: + Hongxu Jia + Tim "moto-timo" Orling License ------- diff --git a/meta-openembedded/meta-perl/conf/layer.conf b/meta-openembedded/meta-perl/conf/layer.conf index b2bb37910..6e600aa67 100644 --- a/meta-openembedded/meta-perl/conf/layer.conf +++ b/meta-openembedded/meta-perl/conf/layer.conf @@ -15,4 +15,4 @@ LAYERVERSION_perl-layer = "1" LAYERDEPENDS_perl-layer = "core openembedded-layer" -LAYERSERIES_COMPAT_perl-layer = "thud" +LAYERSERIES_COMPAT_perl-layer = "thud warrior" diff --git a/meta-openembedded/meta-perl/recipes-extended/logcheck/logcheck_1.3.19.bb b/meta-openembedded/meta-perl/recipes-extended/logcheck/logcheck_1.3.19.bb deleted file mode 100644 index 873ac2b10..000000000 --- a/meta-openembedded/meta-perl/recipes-extended/logcheck/logcheck_1.3.19.bb +++ /dev/null @@ -1,78 +0,0 @@ -SUMMARY = "Analyzes log files and sends noticeable events as email" -DESCRIPTION = "\ -Logcheck is a simple utility which is designed to allow a system administrator \ -to view the log-files which are produced upon hosts under their control. \ -It does this by mailing summaries of the log-files to them, after first \ -filtering out "normal" entries. \ -Normal entries are entries which match one of the many included regular \ -expression files contain in the database." -SECTION = "Applications/System" -HOMEPAGE = "http://logcheck.org/" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b" - -SRC_URI = "${DEBIAN_MIRROR}/main/l/${BPN}/${BPN}_${PV}.tar.xz \ - file://99_logcheck \ -" -SRC_URI[md5sum] = "7b50d10da6f185228627c55fdd51f624" -SRC_URI[sha256sum] = "06294c092b2115eca3d054c57778718c91dd2e0fd1c46650b7343c2a92672ca9" - -inherit useradd - -USERADD_PACKAGES = "${PN}" -USERADD_PARAM_${PN} = "-m -g ${BPN} -G adm -r -d ${localstatedir}/lib/${BPN} \ - -s /bin/false -c 'logcheck account' ${BPN}" -GROUPADD_PARAM_${PN} = "-r ${BPN}" - -do_install() { - # Fix QA Issue - sed -i '/install -d $(DESTDIR)\/var\/lock\/logcheck/s/^/#/' Makefile - - # "make install" do not install the manpages. Install them manually. - install -m 755 -d ${D}${mandir}/man1 - install -m 755 -d ${D}${mandir}/man8 - install -m 644 docs/logcheck-test.1 ${D}${mandir}/man1/ - install -m 644 docs/logtail.8 ${D}${mandir}/man8/ - install -m 644 docs/logtail2.8 ${D}${mandir}/man8/ - - install -m 755 -d ${D}${sysconfdir}/cron.d - install -m 644 debian/logcheck.cron.d ${D}${sysconfdir}/cron.d/logcheck - install -m 755 -d ${D}/var/lib/logcheck - - oe_runmake install DESTDIR=${D} - - # install header.txt for generated mails - install -m 0644 ${S}/debian/header.txt ${D}${sysconfdir}/${BPN} - - chown -R ${BPN}:${BPN} ${D}${localstatedir}/lib/${BPN} - chown -R root:${BPN} ${D}${sysconfdir}/${BPN} - - # Don't install /var/lock when populating rootfs. Do it through volatile - if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then - install -d ${D}${sysconfdir}/default/volatiles - install -m 0644 ${WORKDIR}/99_logcheck ${D}${sysconfdir}/default/volatiles - fi - if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then - install -d ${D}${sysconfdir}/tmpfiles.d - echo "d /var/lock/logcheck 0755 logcheck logcheck -" \ - > ${D}${sysconfdir}/tmpfiles.d/logcheck.conf - fi -} - -VIRTUAL-RUNTIME_syslog ??= "rsyslog" - -RDEPENDS_${PN} = "\ - bash \ - cronie \ - debianutils-run-parts \ - grep \ - lockfile-progs \ - mime-construct \ - perl \ - perl-module-file-basename \ - perl-module-getopt-std \ - perl-module-file-glob \ - ${VIRTUAL-RUNTIME_syslog} \ -" - -FILES_${PN} += "${datadir}/logtail" diff --git a/meta-openembedded/meta-perl/recipes-extended/logcheck/logcheck_1.3.20.bb b/meta-openembedded/meta-perl/recipes-extended/logcheck/logcheck_1.3.20.bb new file mode 100644 index 000000000..10b281a66 --- /dev/null +++ b/meta-openembedded/meta-perl/recipes-extended/logcheck/logcheck_1.3.20.bb @@ -0,0 +1,80 @@ +SUMMARY = "Analyzes log files and sends noticeable events as email" +DESCRIPTION = "\ +Logcheck is a simple utility which is designed to allow a system administrator \ +to view the log-files which are produced upon hosts under their control. \ +It does this by mailing summaries of the log-files to them, after first \ +filtering out "normal" entries. \ +Normal entries are entries which match one of the many included regular \ +expression files contain in the database." +SECTION = "Applications/System" +HOMEPAGE = "http://logcheck.org/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b" + +SRC_URI = "${DEBIAN_MIRROR}/main/l/${BPN}/${BPN}_${PV}.tar.xz \ + file://99_logcheck \ +" +SRC_URI[md5sum] = "1c6e9a97f9cc485353c25147cb99fb25" +SRC_URI[sha256sum] = "9fb6d02b933470d0b1d1efb54ea186e0d0d27336f9d146be592f65ce60dfb3e6" + +S = "${WORKDIR}/${BPN}" + +inherit useradd + +USERADD_PACKAGES = "${PN}" +USERADD_PARAM_${PN} = "-m -g ${BPN} -G adm -r -d ${localstatedir}/lib/${BPN} \ + -s /bin/false -c 'logcheck account' ${BPN}" +GROUPADD_PARAM_${PN} = "-r ${BPN}" + +do_install() { + # Fix QA Issue + sed -i '/install -d $(DESTDIR)\/var\/lock\/logcheck/s/^/#/' Makefile + + # "make install" do not install the manpages. Install them manually. + install -m 755 -d ${D}${mandir}/man1 + install -m 755 -d ${D}${mandir}/man8 + install -m 644 docs/logcheck-test.1 ${D}${mandir}/man1/ + install -m 644 docs/logtail.8 ${D}${mandir}/man8/ + install -m 644 docs/logtail2.8 ${D}${mandir}/man8/ + + install -m 755 -d ${D}${sysconfdir}/cron.d + install -m 644 debian/logcheck.cron.d ${D}${sysconfdir}/cron.d/logcheck + install -m 755 -d ${D}/var/lib/logcheck + + oe_runmake install DESTDIR=${D} + + # install header.txt for generated mails + install -m 0644 ${S}/debian/header.txt ${D}${sysconfdir}/${BPN} + + chown -R ${BPN}:${BPN} ${D}${localstatedir}/lib/${BPN} + chown -R root:${BPN} ${D}${sysconfdir}/${BPN} + + # Don't install /var/lock when populating rootfs. Do it through volatile + if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then + install -d ${D}${sysconfdir}/default/volatiles + install -m 0644 ${WORKDIR}/99_logcheck ${D}${sysconfdir}/default/volatiles + fi + if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then + install -d ${D}${sysconfdir}/tmpfiles.d + echo "d /var/lock/logcheck 0755 logcheck logcheck -" \ + > ${D}${sysconfdir}/tmpfiles.d/logcheck.conf + fi +} + +VIRTUAL-RUNTIME_syslog ??= "rsyslog" + +RDEPENDS_${PN} = "\ + bash \ + cronie \ + debianutils-run-parts \ + grep \ + lockfile-progs \ + mime-construct \ + perl \ + perl-module-file-basename \ + perl-module-getopt-std \ + perl-module-file-glob \ + ${VIRTUAL-RUNTIME_syslog} \ +" + +FILES_${PN} += "${datadir}/logtail" diff --git a/meta-openembedded/meta-perl/recipes-perl/adduser/adduser_3.118.bb b/meta-openembedded/meta-perl/recipes-perl/adduser/adduser_3.118.bb index 660a7f777..e695c5894 100644 --- a/meta-openembedded/meta-perl/recipes-perl/adduser/adduser_3.118.bb +++ b/meta-openembedded/meta-perl/recipes-perl/adduser/adduser_3.118.bb @@ -22,7 +22,7 @@ do_install() { install -m 0755 ${S}/adduser ${D}${sbindir} install -m 0755 ${S}/deluser ${D}${sbindir} - install -D -m 0644 ${S}/AdduserCommon.pm ${D}${libdir}/perl/${@get_perl_version(d)}/Debian/AdduserCommon.pm + install -D -m 0644 ${S}/AdduserCommon.pm ${D}${libdir}/perl5/${@get_perl_version(d)}/Debian/AdduserCommon.pm sed -i -e "s/VERSION/${PV}/" ${D}${sbindir}/* install -d ${D}/${sysconfdir} diff --git a/meta-openembedded/meta-perl/recipes-perl/images/meta-perl-base.bb b/meta-openembedded/meta-perl/recipes-perl/images/meta-perl-base.bb new file mode 100644 index 000000000..ec671020d --- /dev/null +++ b/meta-openembedded/meta-perl/recipes-perl/images/meta-perl-base.bb @@ -0,0 +1,7 @@ +SUMMARY = "meta-per build test image" + +IMAGE_INSTALL = "packagegroup-core-boot" + +LICENSE = "MIT" + +inherit core-image diff --git a/meta-openembedded/meta-perl/recipes-perl/images/meta-perl-image.bb b/meta-openembedded/meta-perl/recipes-perl/images/meta-perl-image.bb new file mode 100644 index 000000000..c10d20a64 --- /dev/null +++ b/meta-openembedded/meta-perl/recipes-perl/images/meta-perl-image.bb @@ -0,0 +1,5 @@ +require meta-perl-base.bb + +SUMMARY = "meta-perl build test image" + +IMAGE_INSTALL += "packagegroup-meta-perl" diff --git a/meta-openembedded/meta-perl/recipes-perl/images/meta-perl-ptest-image.bb b/meta-openembedded/meta-perl/recipes-perl/images/meta-perl-ptest-image.bb new file mode 100644 index 000000000..3b776f814 --- /dev/null +++ b/meta-openembedded/meta-perl/recipes-perl/images/meta-perl-ptest-image.bb @@ -0,0 +1,5 @@ +require meta-perl-base.bb + +SUMMARY = "meta-perl build ptest image" + +IMAGE_INSTALL += "packagegroup-meta-perl-ptest" diff --git a/meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.060.bb b/meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.060.bb deleted file mode 100644 index 20f880829..000000000 --- a/meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.060.bb +++ /dev/null @@ -1,47 +0,0 @@ -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|GPLv1+" -LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8" - -RDEPENDS_${PN} += "\ - libnet-ssleay-perl \ - perl-module-autoloader \ - perl-module-scalar-util \ - perl-module-io-socket \ -" - -SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz \ - file://run-ptest \ - " -SRC_URI[md5sum] = "97fa6cd64f15db60f810cd8ab02d57fc" -SRC_URI[sha256sum] = "fb5b2877ac5b686a5d7b8dd71cf5464ffe75d10c32047b5570674870e46b1b8c" - -S = "${WORKDIR}/IO-Socket-SSL-${PV}" - -inherit cpan ptest - -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}/certs ${D}${docdir}/${PN}/ - cp -pRP ${S}/example ${D}${docdir}/${PN}/ -} - -do_install_ptest () { - cp -r ${B}/t ${D}${PTEST_PATH} - cp -r ${B}/certs ${D}${PTEST_PATH} -} - -BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.066.bb b/meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.066.bb new file mode 100644 index 000000000..7609846d6 --- /dev/null +++ b/meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.066.bb @@ -0,0 +1,47 @@ +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|GPLv1+" +LIC_FILES_CHKSUM = "file://META.yml;beginline=12;endline=12;md5=963ce28228347875ace682de56eef8e8" + +RDEPENDS_${PN} += "\ + libnet-ssleay-perl \ + perl-module-autoloader \ + perl-module-scalar-util \ + perl-module-io-socket \ +" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "ecf96ce2ff9e04a03a2d101c76ce1020" +SRC_URI[sha256sum] = "0d47064781a545304d5dcea5dfcee3acc2e95a32e1b4884d80505cde8ee6ebcd" + +S = "${WORKDIR}/IO-Socket-SSL-${PV}" + +inherit cpan ptest + +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}/certs ${D}${docdir}/${PN}/ + cp -pRP ${S}/example ${D}${docdir}/${PN}/ +} + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} + cp -r ${B}/certs ${D}${PTEST_PATH} +} + +BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.18.bb b/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.18.bb deleted file mode 100644 index 4e0c9c446..000000000 --- a/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.18.bb +++ /dev/null @@ -1,66 +0,0 @@ -DESCRIPTION = "This package contains the DNS.pm module with friends." -HOMEPAGE = "http://www.net-dns.org/" -SECTION = "libs" -LICENSE = "MIT" - -LIC_FILES_CHKSUM = "file://README;beginline=252;endline=269;md5=27db37b42cd1a5173a53922d67072bcb" - -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" - -UPSTREAM_CHECK_REGEX = "Net\-DNS\-(?P(\d+\.\d+))(?!_\d+).tar" - -S = "${WORKDIR}/Net-DNS-${PV}" - -EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" - -inherit cpan ptest-perl - -RDEPENDS_${PN} = " \ - libdigest-hmac-perl \ - perl-module-base \ - perl-module-constant \ - perl-module-digest-md5 \ - perl-module-digest-sha \ - perl-module-file-spec \ - perl-module-integer \ - perl-module-io-file \ - perl-module-io-select \ - perl-module-io-socket \ - perl-module-io-socket-ip \ - perl-module-mime-base64 \ - perl-module-scalar-util \ - perl-module-test-more \ - perl-module-time-local \ -" - -RRECOMMENDS_${PN} += " \ - libnet-dns-sec-perl \ -" - -RDEPENDS_${PN}-ptest += " \ - perl-module-encode \ - perl-module-encode-byte \ - perl-module-extutils-mm \ - perl-module-extutils-mm-unix \ - perl-module-overload \ -" - -python __anonymous () { - # rather than use "find" to determine libc-*.so, - # statically export the known paths for glibc and musl - import os - if d.getVar('TCLIBC') == "glibc": - os.environ["LIBC"] = "${STAGING_BASELIBDIR}/libc.so.6" - elif d.getVar('TCLIBC') == "musl": - os.environ["LIBC"] = "${STAGING_LIBDIR}/libc.so" - else: - raise bb.parse.SkipRecipe("incompatible with %s C library" % - d.getVar('TCLIBC')) -} - -BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.19.bb b/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.19.bb new file mode 100644 index 000000000..b0be604f8 --- /dev/null +++ b/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.19.bb @@ -0,0 +1,66 @@ +DESCRIPTION = "This package contains the DNS.pm module with friends." +HOMEPAGE = "http://www.net-dns.org/" +SECTION = "libs" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://README;beginline=252;endline=269;md5=27db37b42cd1a5173a53922d67072bcb" + +DEPENDS += "perl" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz" + +SRC_URI[md5sum] = "8a40402888487b853f861d21433f341a" +SRC_URI[sha256sum] = "206278bdd9a538bec3e45b50e80cc5a9d7dc6e70ebf0889ef78254f0f710ccd7" + +UPSTREAM_CHECK_REGEX = "Net\-DNS\-(?P(\d+\.\d+))(?!_\d+).tar" + +S = "${WORKDIR}/Net-DNS-${PV}" + +EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" + +inherit cpan ptest-perl + +RDEPENDS_${PN} = " \ + libdigest-hmac-perl \ + perl-module-base \ + perl-module-constant \ + perl-module-digest-md5 \ + perl-module-digest-sha \ + perl-module-file-spec \ + perl-module-integer \ + perl-module-io-file \ + perl-module-io-select \ + perl-module-io-socket \ + perl-module-io-socket-ip \ + perl-module-mime-base64 \ + perl-module-scalar-util \ + perl-module-test-more \ + perl-module-time-local \ +" + +RRECOMMENDS_${PN} += " \ + libnet-dns-sec-perl \ +" + +RDEPENDS_${PN}-ptest += " \ + perl-module-encode \ + perl-module-encode-byte \ + perl-module-extutils-mm \ + perl-module-extutils-mm-unix \ + perl-module-overload \ +" + +python __anonymous () { + # rather than use "find" to determine libc-*.so, + # statically export the known paths for glibc and musl + import os + if d.getVar('TCLIBC') == "glibc": + os.environ["LIBC"] = "${STAGING_BASELIBDIR}/libc.so.6" + elif d.getVar('TCLIBC') == "musl": + os.environ["LIBC"] = "${STAGING_LIBDIR}/libc.so" + else: + raise bb.parse.SkipRecipe("incompatible with %s C library" % + d.getVar('TCLIBC')) +} + +BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0132.bb b/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0132.bb deleted file mode 100644 index 1f1840118..000000000 --- a/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0132.bb +++ /dev/null @@ -1,47 +0,0 @@ -SUMMARY = "Perl interface to the libxml2 library" -DESCRIPTION = "This module is an interface to libxml2, providing XML and HTML parsers \ -with DOM, SAX and XMLReader interfaces, a large subset of DOM Layer 3 \ -interface and a XML::XPath-like interface to XPath API of libxml2. \ -The module is split into several packages which are not described in this \ -section; unless stated otherwise, you only need to use XML::LibXML; in \ -your programs." - -HOMEPAGE = "http://search.cpan.org/dist/XML-LibXML-1.99/" -SECTION = "libs" -LICENSE = "Artistic-1.0|GPLv1+" -DEPENDS += "libxml2 \ - libxml-sax-perl-native \ - zlib \ -" -RDEPENDS_${PN} += "\ - libxml2 \ - libxml-sax-perl \ - libxml-sax-base-perl \ - perl-module-encode \ - perl-module-data-dumper \ - zlib \ -" - -SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-${PV}.tar.gz;name=libxml \ - file://disable-libxml2-check.patch \ - file://fix-CATALOG-conditional-compile.patch \ - file://using-DOCB-conditional.patch \ -" -LIC_FILES_CHKSUM = "file://debian/copyright;md5=64eda1bc135f0ece1d1187f2a8ac82c1 \ - file://LICENSE;md5=97871bde150daeb5e61ad95137ff2446 \ -" -SRC_URI[libxml.md5sum] = "43546fd9a3974f19323f9fb04861ece9" -SRC_URI[libxml.sha256sum] = "721452e3103ca188f5968ab06d5ba29fe8e00e49f4767790882095050312d476" - -S = "${WORKDIR}/XML-LibXML-${PV}" - -inherit cpan - -EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR}/libxml2 LIBS=-L${STAGING_LIBDIR}" - -BBCLASSEXTEND = "native" - -CFLAGS += " -D_GNU_SOURCE " -BUILD_CFLAGS += " -D_GNU_SOURCE " - -FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/XML/LibXML/.debug/" diff --git a/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb b/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb new file mode 100644 index 000000000..9753520ae --- /dev/null +++ b/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb @@ -0,0 +1,47 @@ +SUMMARY = "Perl interface to the libxml2 library" +DESCRIPTION = "This module is an interface to libxml2, providing XML and HTML parsers \ +with DOM, SAX and XMLReader interfaces, a large subset of DOM Layer 3 \ +interface and a XML::XPath-like interface to XPath API of libxml2. \ +The module is split into several packages which are not described in this \ +section; unless stated otherwise, you only need to use XML::LibXML; in \ +your programs." + +HOMEPAGE = "http://search.cpan.org/dist/XML-LibXML-1.99/" +SECTION = "libs" +LICENSE = "Artistic-1.0|GPLv1+" +DEPENDS += "libxml2 \ + libxml-sax-perl-native \ + zlib \ +" +RDEPENDS_${PN} += "\ + libxml2 \ + libxml-sax-perl \ + libxml-sax-base-perl \ + perl-module-encode \ + perl-module-data-dumper \ + zlib \ +" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-${PV}.tar.gz;name=libxml \ + file://disable-libxml2-check.patch \ + file://fix-CATALOG-conditional-compile.patch \ + file://using-DOCB-conditional.patch \ +" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=64eda1bc135f0ece1d1187f2a8ac82c1 \ + file://LICENSE;md5=97871bde150daeb5e61ad95137ff2446 \ +" +SRC_URI[libxml.md5sum] = "dce687dd8b7e82d1c359fd74b1852f64" +SRC_URI[libxml.sha256sum] = "f0bca4d0c2da35d879fee4cd13f352014186cedab27ab5e191f39b5d7d4f46cf" + +S = "${WORKDIR}/XML-LibXML-${PV}" + +inherit cpan + +EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR}/libxml2 LIBS=-L${STAGING_LIBDIR}" + +BBCLASSEXTEND = "native" + +CFLAGS += " -D_GNU_SOURCE " +BUILD_CFLAGS += " -D_GNU_SOURCE " + +FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/XML/LibXML/.debug/" diff --git a/meta-openembedded/meta-perl/recipes-perl/packagegroups/packagegroup-meta-perl.bb b/meta-openembedded/meta-perl/recipes-perl/packagegroups/packagegroup-meta-perl.bb new file mode 100644 index 000000000..9d0e33baf --- /dev/null +++ b/meta-openembedded/meta-perl/recipes-perl/packagegroups/packagegroup-meta-perl.bb @@ -0,0 +1,52 @@ +SUMMARY = "Meta-perl packagegroup" + +inherit packagegroup + +PROVIDES = "${PACKAGES}" +PACKAGES = ' \ + packagegroup-meta-perl \ + packagegroup-meta-perl-extended \ +' + +RDEPENDS_packagegroup-meta-perl = "\ + libproc-waitstat-perl libmoo-perl libterm-readkey-perl \ + libunicode-linebreak-perl libcurses-perl libmime-types-perl \ + libmime-charset-perl libio-socket-ssl-perl libio-stringy-perl \ + libtext-iconv-perl libtext-charwidth-perl libtext-diff-perl \ + libtext-wrapi18n-perl liblocale-gettext-perl libdata-hexdump-perl \ + libextutils-installpaths-perl libextutils-helpers-perl libextutils-parsexs-perl \ + libextutils-config-perl libextutils-cppguess-perl libimport-into-perl \ + libcrypt-openssl-rsa-perl libcrypt-openssl-guess libcrypt-openssl-random-perl \ + libxml-sax-writer-perl libxml-libxml-perl libxml-filter-buffertext-perl \ + adduser \ + libauthen-sasl-perl libnet-ldap-perl libnet-dns-perl \ + libnet-dns-sec-perl libnet-libidn-perl libnet-ssleay-perl \ + libnet-telnet-perl libdevel-globaldestruction-perl libipc-signal-perl \ + librole-tiny-perl libencode-perl libencode-locale-perl \ + libfile-slurp-perl libcapture-tiny-perl \ + po4a \ + libstrictures-perl libtest-harness-perl libsub-exporter-progressive-perl \ + libclass-method-modifiers-perl libhtml-parser-perl libhtml-tree-perl \ + libmodule-pluggable-perl libmodule-build-perl libmodule-runtime-perl \ + libmodule-build-tiny-perl libcgi-perl libalgorithm-diff-perl \ + libdbd-sqlite-perl libdigest-sha1-perl libdigest-hmac-perl \ + " + +RDEPENDS_packagegroup-meta-perl-extended = "\ + logcheck mime-construct \ + " + +RDEPENDS_packagegroup-meta-perl-ptest = "\ + libmime-types-perl-ptest \ + libio-socket-ssl-perl-ptest \ + libdata-hexdump-perl-ptest \ + libauthen-sasl-perl-ptest \ + libnet-dns-perl-ptest \ + libnet-dns-sec-perl-ptest \ + libnet-ssleay-perl-ptest \ + libtest-harness-perl-ptest \ + libdigest-sha1-perl-ptest \ + libdigest-hmac-perl-ptest \ + " + +EXCLUDE_FROM_WORLD = "1" -- cgit v1.2.3