Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,32 @@ jobs:
- name: test
run: prove -bl

build-artifact:
needs: run-tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- name: apt install
run: sudo apt-get install -y git build-essential libmodule-install-perl libdevel-checklib-perl libextutils-pkgconfig-perl libmodule-install-xsutil-perl libssl-dev libidn2-dev

- name: build
run: perl Makefile.PL && make all dist

- name: Get short SHA
id: short_sha
run: echo "short_sha=$(echo ${{ github.event.pull_request.head.sha }} | cut -c1-7)" >> $GITHUB_OUTPUT

- name: Get Zonemaster-LDNS version
id: version
run: |
result=`grep 'our $VERSION' lib/Zonemaster/LDNS.pm`
result+='printf $VERSION;'
VERSION=`perl -e "$result"`
echo "version=$VERSION" >> $GITHUB_OUTPUT

- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: Zonemaster-LDNS-${{ steps.version.outputs.version }}-${{ steps.short_sha.outputs.short_sha }}
path: Zonemaster-LDNS-${{ steps.version.outputs.version }}.tar.gz
7 changes: 7 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ldns
Submodule ldns updated 104 files
2 changes: 1 addition & 1 deletion lib/Zonemaster/LDNS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 0 additions & 2 deletions lib/Zonemaster/LDNS/RRList.pm
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ Zonemaster::LDNS::RRList - class representing lists of resource records.

Creates a new empty L<Zonemaster::LDNS::RRList> object.

=back

=item new($rrs)

Creates a new L<Zonemaster::LDNS::RRList> object for the given resource records.
Expand Down
4 changes: 2 additions & 2 deletions t/rr.t
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
}
}
};
Expand Down