Marcel Telka
2024-02-05 b959a2b918046257d5295207fe7ec7edac554c18
perl/Mail-SPF: update to 3.20240205

1 files deleted
6 files modified
61 ■■■■ changed files
components/perl/Mail-SPF/Mail-SPF-PERLVER.p5m 4 ●●●● patch | view | raw | blame | history
components/perl/Mail-SPF/Makefile 16 ●●●●● patch | view | raw | blame | history
components/perl/Mail-SPF/manifests/sample-manifest.p5m 6 ●●●● patch | view | raw | blame | history
components/perl/Mail-SPF/patches/01-Util.pm.patch 17 ●●●●● patch | view | raw | blame | history
components/perl/Mail-SPF/perl-integrate-module.conf 5 ●●●● patch | view | raw | blame | history
components/perl/Mail-SPF/pkg5 12 ●●●● patch | view | raw | blame | history
tools/perl-version-convert 1 ●●●● patch | view | raw | blame | history
components/perl/Mail-SPF/Mail-SPF-PERLVER.p5m
@@ -79,6 +79,6 @@
# Automatically generated dependencies based on distribution metadata
depend type=require fmri=pkg:/library/perl-5/error-$(PLV)
depend type=require fmri=pkg:/library/perl-5/net-dns-$(PLV)@0.62
depend type=require fmri=pkg:/library/perl-5/netaddr-ip-$(PLV)@4.7
depend type=require fmri=pkg:/library/perl-5/net-dns-$(PLV)
depend type=require fmri=pkg:/library/perl-5/netaddr-ip-$(PLV)
depend type=require fmri=pkg:/library/perl-5/uri-$(PLV)@1.13
components/perl/Mail-SPF/Makefile
@@ -14,32 +14,30 @@
#   $WS_TOOLS/perl-integrate-module Mail::SPF
#
BUILD_STYLE = modulebuild
BUILD_STYLE = makemaker
include ../../../make-rules/shared-macros.mk
COMPONENT_PERL_MODULE =        Mail::SPF
HUMAN_VERSION =            2.9.0
COMPONENT_REVISION =        2
HUMAN_VERSION =            3.20240205
COMPONENT_SUMMARY =        Mail::SPF - An object-oriented implementation of Sender Policy Framework
COMPONENT_ARCHIVE_URL=        https://cpan.metacpan.org/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz
COMPONENT_CPAN_AUTHOR =        MBRADSHAW
COMPONENT_ARCHIVE_HASH =    \
    sha256:61cb5915f1c7acc7a931ffc1bfc1291bdfac555e2a46eb2391b995ea9ecb6162
    sha256:5f2fee25649bc97ecb7b7444d87110e50d0119f341d8b94ac3f9765fda120edf
COMPONENT_LICENSE =        BSD-3-Clause
COMPONENT_LICENSE_FILE =    LICENSE
COMPONENT_SRC =                 $(COMPONENT_NAME)-v$(HUMAN_VERSION)
include $(WS_MAKE_RULES)/common.mk
# Both are provided by library/libspf2 package
GENERATE_EXTRA_CMD += | $(GNU_GREP) -v spfd
GENERATE_EXTRA_CMD += | $(GNU_GREP) -v spfquery
# Auto-generated dependencies
PERL_REQUIRED_PACKAGES += library/perl-5/error
PERL_REQUIRED_PACKAGES += library/perl-5/module-build
PERL_REQUIRED_PACKAGES += library/perl-5/net-dns
PERL_REQUIRED_PACKAGES += library/perl-5/net-dns-resolver-programmable
PERL_REQUIRED_PACKAGES += library/perl-5/netaddr-ip
PERL_REQUIRED_PACKAGES += library/perl-5/uri
PERL_REQUIRED_PACKAGES += runtime/perl
TEST_REQUIRED_PACKAGES.perl += library/perl-5/net-dns
TEST_REQUIRED_PACKAGES.perl += library/perl-5/net-dns-resolver-programmable
components/perl/Mail-SPF/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2023 <contributor>
# Copyright 2024 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PLV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -79,6 +79,6 @@
# Automatically generated dependencies based on distribution metadata
depend type=require fmri=pkg:/library/perl-5/error-$(PLV)
depend type=require fmri=pkg:/library/perl-5/net-dns-$(PLV)@0.62
depend type=require fmri=pkg:/library/perl-5/netaddr-ip-$(PLV)@4.7
depend type=require fmri=pkg:/library/perl-5/net-dns-$(PLV)
depend type=require fmri=pkg:/library/perl-5/netaddr-ip-$(PLV)
depend type=require fmri=pkg:/library/perl-5/uri-$(PLV)@1.13
components/perl/Mail-SPF/patches/01-Util.pm.patch
File was deleted
components/perl/Mail-SPF/perl-integrate-module.conf
@@ -13,10 +13,7 @@
# Copyright 2022 Friedrich Kink
#
%patch% 01-Util.pm.patch
%include-2%
COMPONENT_SRC =                 $(COMPONENT_NAME)-v$(HUMAN_VERSION)
%include-3%
# Both are provided by library/libspf2 package
GENERATE_EXTRA_CMD += | $(GNU_GREP) -v spfd
GENERATE_EXTRA_CMD += | $(GNU_GREP) -v spfquery
components/perl/Mail-SPF/pkg5
@@ -3,15 +3,9 @@
        "library/perl-5/error-534",
        "library/perl-5/error-536",
        "library/perl-5/error-538",
        "library/perl-5/module-build-534",
        "library/perl-5/module-build-536",
        "library/perl-5/module-build-538",
        "library/perl-5/net-dns-534",
        "library/perl-5/net-dns-536",
        "library/perl-5/net-dns-538",
        "library/perl-5/net-dns-resolver-programmable-534",
        "library/perl-5/net-dns-resolver-programmable-536",
        "library/perl-5/net-dns-resolver-programmable-538",
        "library/perl-5/netaddr-ip-534",
        "library/perl-5/netaddr-ip-536",
        "library/perl-5/netaddr-ip-538",
@@ -23,10 +17,10 @@
        "runtime/perl-538"
    ],
    "fmris": [
        "library/perl-5/mail-spf",
        "library/perl-5/mail-spf-534",
        "library/perl-5/mail-spf-536",
        "library/perl-5/mail-spf-538",
        "library/perl-5/mail-spf"
        "library/perl-5/mail-spf-538"
    ],
    "name": "Mail-SPF"
}
}
tools/perl-version-convert
@@ -102,6 +102,7 @@
            i=$((i + 1))
        done
    fi
    [[ "$DIST" == "Mail-SPF" && "${VERSION:0:2}" == "3." ]] && ((${#VERSION} == 10)) && VER[1]=$((1${VERSION:2:4} - 10000)) && VER[2]=$((1${VERSION:6:2} - 100)) && VER[3]=$((1${VERSION:8:2} - 100)) && VERSION=${VERSION:0:1}
    [[ "$DIST" == "Module-Build" ]] && ((${#VERSION} == 6)) && VER[1]=$((1${VERSION:2:4} - 10000)) && VERSION=${VERSION:0:1}
    [[ "$DIST" == "Mozilla-CA" ]] && ((${#VERSION} == 8)) && VER[1]=$((1${VERSION:4:2} - 100)) && VER[2]=$((1${VERSION:6:2} - 100)) && VERSION=${VERSION:0:4}
    [[ "$DIST" == "Net-DNS-Resolver-Mock" && "${VERSION:0:2}" == "1." ]] && ((${#VERSION} == 10)) && VER[1]=$((1${VERSION:2:4} - 10000)) && VER[2]=$((1${VERSION:6:2} - 100)) && VER[3]=$((1${VERSION:8:2} - 100)) && VERSION=${VERSION:0:1}