diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac967ad7..f417d2aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,12 +6,14 @@ on: - develop - master - 'release/**' + - '**' pull_request: branches: - develop - master - 'release/**' + - '**' env: TEST_WITH_NETWORK: 1 @@ -52,3 +54,32 @@ jobs: - name: test run: prove -bl + build-artifact: + #needs: run-tests + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + + - name: perl version + run: perl -v + + - name: apt install + run: sudo apt-get install -y git cpanminus gettext autoconf automake build-essential libdevel-checklib-perl libextutils-pkgconfig-perl libmime-base32-perl libmodule-install-xsutil-perl libssl-dev libtest-exception-perl libidn2-dev libtool libidn2-dev cpanminus + - name: cpan module + run: sudo cpanm Devel::CheckLib ExtUtils::PkgConfig Module::Install Module::Install::XSUtil Test::Exception Test::Fatal + - name: build + run: perl Makefile.PL && make all dist + + - name: env + run: env + + - name: upload artifact + uses: actions/upload-artifact@v4 + with: + name: Zonemaster-LDNS + path: Zonemaster-LDNS-5.0.1.tar.gz + +# - name: release +# uses: softprops/action-gh-release@v2 +# with: +# files: Zonemaster-*.tar.gz diff --git a/Changes b/Changes index f0e06621..514642dc 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,13 @@ Release history for Zonemaster component Zonemaster-LDNS +5.0.1 2025-12-17 (part of Zonemaster v2025.2 release) + + [Fixes] +- Updates LDNS submodule to v1.8.4 #202 +- RRList.pm: drop misplaced =back #233 + + 5.0.0 2025-06-26 (part of Zonemaster v2025.1 release) [Breaking changes] diff --git a/MANIFEST b/MANIFEST index f6651a5b..7181a447 100644 --- a/MANIFEST +++ b/MANIFEST @@ -15,6 +15,7 @@ ldns/.github/FUNDING.yml ldns/.github/workflows/testsuite.yml ldns/buffer.c ldns/Changelog +ldns/compat/asctime_r.c ldns/compat/b64_ntop.c ldns/compat/b64_pton.c ldns/compat/strlcpy.c @@ -81,7 +82,6 @@ ldns/parse.c ldns/radix.c ldns/rbtree.c ldns/rdata.c -ldns/README-Travis.md ldns/resolver.c ldns/rr.c ldns/rr_functions.c diff --git a/ldns b/ldns index 173fbf30..46f2f003 160000 --- a/ldns +++ b/ldns @@ -1 +1 @@ -Subproject commit 173fbf303518d060e0d2bdc0bbd1830c0ec8f21d +Subproject commit 46f2f0035330414b1c6f19c3b8c43994a1fb766c diff --git a/lib/Zonemaster/LDNS.pm b/lib/Zonemaster/LDNS.pm index 6253e4c5..53bc45cd 100644 --- a/lib/Zonemaster/LDNS.pm +++ b/lib/Zonemaster/LDNS.pm @@ -2,7 +2,7 @@ package Zonemaster::LDNS; use 5.014; -our $VERSION = '5.0.0'; +our $VERSION = '5.0.1'; use parent 'Exporter'; our @EXPORT_OK = qw[lib_version to_idn has_idn has_gost load_zonefile]; diff --git a/lib/Zonemaster/LDNS/RRList.pm b/lib/Zonemaster/LDNS/RRList.pm index 93fb226e..9d99d78d 100644 --- a/lib/Zonemaster/LDNS/RRList.pm +++ b/lib/Zonemaster/LDNS/RRList.pm @@ -35,8 +35,6 @@ Zonemaster::LDNS::RRList - class representing lists of resource records. Creates a new empty L object. -=back - =item new($rrs) Creates a new L object for the given resource records. diff --git a/t/rr.t b/t/rr.t index 876ad81a..bf18d56e 100644 --- a/t/rr.t +++ b/t/rr.t @@ -38,13 +38,13 @@ subtest 'SOA' => sub { foreach my $rr ( $p->answer ) { isa_ok( $rr, 'Zonemaster::LDNS::RR::SOA' ); - is( lc($rr->mname), 'ns.nic.se.' ); + is( lc($rr->mname), 'nsa.dnsnode.net.' ); is( lc($rr->rname), 'hostmaster.nic.se.' ); ok( $rr->serial >= 1381471502, 'serial' ); is( $rr->refresh, 14400, 'refresh' ); is( $rr->retry, 3600, 'retry' ); is( $rr->expire, 2592000, 'expire' ); - is( $rr->minimum, 600, 'minimum' ); + is( $rr->minimum, 480, 'minimum' ); } } };