diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-26 19:01:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-26 19:01:21 +0000 |
commit | 82fd88ea93e273f4b02580552f808b6305d1e840 (patch) | |
tree | da485ff18e7c82cfdd34040e8c5c8a2712d565fe /dev-perl/Mail-SPF | |
parent | e978c365080e8765f234868ad266cd333c53a94f (diff) |
gentoo auto-resync : 26:03:2024 - 19:01:20
Diffstat (limited to 'dev-perl/Mail-SPF')
-rw-r--r-- | dev-perl/Mail-SPF/Mail-SPF-2.9.0-r4.ebuild | 52 | ||||
-rw-r--r-- | dev-perl/Mail-SPF/Manifest | 1 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-perl/Mail-SPF/Mail-SPF-2.9.0-r4.ebuild b/dev-perl/Mail-SPF/Mail-SPF-2.9.0-r4.ebuild new file mode 100644 index 000000000000..07c26ee66ec0 --- /dev/null +++ b/dev-perl/Mail-SPF/Mail-SPF-2.9.0-r4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=JMEHNLE +DIST_SECTION=mail-spf +DIST_VERSION=v2.9.0 +inherit perl-module + +DESCRIPTION="An object-oriented implementation of Sender Policy Framework" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-perl/Error + >=dev-perl/Net-DNS-0.620.0 + >=dev-perl/NetAddr-IP-4 + >=dev-perl/URI-1.130.0 + >=dev-perl/Net-DNS-Resolver-Programmable-0.3.0 + virtual/perl-version +" +BDEPEND="${RDEPEND} + >=dev-perl/Module-Build-0.280.500 + >=dev-perl/Net-DNS-Resolver-Programmable-0.3.0 + test? ( virtual/perl-Test-Simple ) +" + +src_prepare() { + perl-module_src_prepare + sed -i -e "s:spfquery:spfquery.pl:" Build.PL || die "sed failed" + mv "${S}"/bin/spfquery{,.pl} || die "renaming spfquery failed" + mv "${S}"/sbin/spfd{,.pl} || die "renaming spfd failed" +} + +pkg_postinst() { + elog "The spfquery script was renamed to spfquery.pl because of file collisions." +} + +src_test() { + local badfiles=( + t/90-author-pod-validation.t + ) + if ! has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then + einfo "Removing network tests w/o DIST_TEST_OVERRIDE=~network" + badfiles+=( "t/00.04-class-server.t" ) + fi + perl_rm_files "${badfiles[@]}" + perl-module_src_test +} diff --git a/dev-perl/Mail-SPF/Manifest b/dev-perl/Mail-SPF/Manifest index 6e99120a67e0..9f0892688880 100644 --- a/dev-perl/Mail-SPF/Manifest +++ b/dev-perl/Mail-SPF/Manifest @@ -1,3 +1,4 @@ DIST Mail-SPF-v2.9.0.tar.gz 103834 BLAKE2B 50082d983c17d910a6bd958e0b688aaa6693c24468f000688c3a971eb2a9ee2a3f0a91fd2909b404fc48dee82e3b44fec8f96a5d35469a2d78dcbd05f15af8d0 SHA512 22bf98c4981f121ed85bb5cbc1ebcb2607ada5052bcea0dd8de692e3473a2ebdd3066acd944bb12f0efe64605e4bf7dc695a1549b7608239d0efc059339df60b EBUILD Mail-SPF-2.9.0-r3.ebuild 1324 BLAKE2B 4d36af09dc0bb935b91bc6fea4eba3d2edab3950a5d35ee760725327150b1aa359e4e376eca57bbf7997ccbdd51cb9cd66a90997500a4910323b12ce58700a70 SHA512 65d3a0134035a84f9e138dee85a77fafc594e8e8b7d70123f9ddaf61e44987298bc546a92b2d97bdfc5a0e114805d1950567135c64561e1ad581ee8b30abf8cd +EBUILD Mail-SPF-2.9.0-r4.ebuild 1344 BLAKE2B b435af2af34ec983dad56493fd4716c5d19567f6885e11ee770e0535b0ff7ff299a58d46c381820669374ee4062245473eba2f49729b5863e05251391546d8d4 SHA512 afdaa744969e8e24be0a18c82b43d1e3410393d883a8b4ed4c37d88e4b28305d7129830a815b27814cd6ccda8575f406f594dbe569d362022b8a21b5b46f1f01 MISC metadata.xml 5341 BLAKE2B a193435b42531c593e63fff4cebc5cfa28c620ac25fcc11541af231bde39f44e848e97324c9a3d71ac92e076739632072abb004462cfb3e196fb562f8587527b SHA512 d348b3ab50ac416aa5e1c9b2d5b7d094bd4bc773966a6a608967c53d220744eca20a7293ed95b13d4b92693c3849532fc2497b05d5b6be751626a2358dc92fe3 |