mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 23:02:33 +00:00
Changelog: =========== - Resync with IANA DNS parameters registry. - Resync with IANA DNSSEC algorithms registry. - Implement DELEGI as derived subtype of DELEG RR. - Backport DELEG parser to SVCB. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
79 lines
2.4 KiB
BlitzBasic
79 lines
2.4 KiB
BlitzBasic
DESCRIPTION = "This package contains the DNS.pm module with friends."
|
|
HOMEPAGE = "https://metacpan.org/pod/Net::DNS"
|
|
SECTION = "libs"
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://README;beginline=252;endline=269;md5=de95b6a896d5f861d724ea854d316a0b"
|
|
|
|
DEPENDS += "perl"
|
|
|
|
SRC_URI = "${CPAN_MIRROR}/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz"
|
|
|
|
SRC_URI[sha256sum] = "7abe0e03e8eead04bfe432d0d90ec0dd61b8ba71afad324a9c76acc6a6fbe2a4"
|
|
|
|
UPSTREAM_CHECK_REGEX = "Net\-DNS\-(?P<pver>(\d+\.\d+))(?!_\d+).tar"
|
|
|
|
S = "${UNPACKDIR}/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 \
|
|
"
|
|
|
|
do_install_ptest_perl:append(){
|
|
install ${S}/MANIFEST ${D}${PTEST_PATH}
|
|
cp -r ${S}/lib ${D}${PTEST_PATH}
|
|
cp ${D}${PTEST_PATH}/t/TestToolkit.pm ${D}${PTEST_PATH}
|
|
|
|
# This test tries to reconcile the MANIFEST file content with the actual
|
|
# package content. While this might be useful for package integrity
|
|
# verification, it is not much for runtime testing. It also requires the
|
|
# whole source package to be installed. Rather just drop this test.
|
|
rm ${D}${PTEST_PATH}/t/00-install.t
|
|
}
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
perl-module-encode \
|
|
perl-module-encode-encoding \
|
|
perl-module-encode-byte \
|
|
perl-module-extutils-mm \
|
|
perl-module-extutils-mm-unix \
|
|
perl-module-overload \
|
|
perl-module-perlio \
|
|
perl-module-perlio-encoding \
|
|
"
|
|
|
|
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'))
|
|
}
|