mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-09 06:20:27 +00:00
Changelog: ============ - Add support for EDNS CO flag. - Simplify testing of resolver error paths. - Prevent read beyond end of RDATA in corrupt SVCB RR. - Update b.root-servers.net addresses in resolver hints. - Improve accuracy and completeness of dependency metadata. - Nameserver: hangs on persistent TCP connection (Windows). - IPSECKEY: leave gateway undefined for gatetype 0. - Remove remaining support for GOST. - Accept inbound Ethernet "Jumbo" UDP packet. - Facilitate decoding of mDNS/SD packets with compressed RDATA. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
65 lines
1.8 KiB
BlitzBasic
65 lines
1.8 KiB
BlitzBasic
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=de95b6a896d5f861d724ea854d316a0b"
|
|
|
|
DEPENDS += "perl"
|
|
|
|
SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz"
|
|
|
|
SRC_URI[sha256sum] = "39f4b82ffe822f4d28691f6c4260f6f1fe6b5a09b546b56dd2410c21b38c1380"
|
|
|
|
UPSTREAM_CHECK_REGEX = "Net\-DNS\-(?P<pver>(\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'))
|
|
}
|
|
|