debian/0000755000000000000000000000000012205411207007160 5ustar debian/rules0000755000000000000000000000146412205411207010245 0ustar #!/usr/bin/make -f SOURCE_PACKAGE = mail-spf-perl TMP = $(CURDIR)/debian/tmp %: dh $@ override_dh_auto_install: dh_auto_install # Manually create man-pages for sbin/ executables: mkdir -p $(TMP)/usr/share/man/man8 pod2man -s8p $(TMP)/usr/sbin/spfd $(TMP)/usr/share/man/man8/spfd.8p # Rename the `spfquery` and `spfd` tools and their man-pages for the alternatives system: mv $(TMP)/usr/bin/spfquery $(TMP)/usr/bin/spfquery.$(SOURCE_PACKAGE) mv $(TMP)/usr/share/man/man1/spfquery.1p $(TMP)/usr/share/man/man1/spfquery.$(SOURCE_PACKAGE).1p mv $(TMP)/usr/sbin/spfd $(TMP)/usr/sbin/spfd.$(SOURCE_PACKAGE) mv $(TMP)/usr/share/man/man8/spfd.8p $(TMP)/usr/share/man/man8/spfd.$(SOURCE_PACKAGE).8p override_dh_installdocs: dh_installdocs -A README TODO debian/control0000644000000000000000000000353212205411207010566 0ustar Source: mail-spf-perl Homepage: https://metacpan.org/release/Mail-SPF/ Section: mail Priority: optional Maintainer: Debian Perl Group Uploaders: gregor herrmann , Scott Kitterman Build-Depends: debhelper (>= 9) Build-Depends-Indep: perl, liberror-perl, libnet-dns-perl, libnet-dns-resolver-programmable-perl, libnetaddr-ip-perl, libtest-pod-perl, liburi-perl Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/mail-spf-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/mail-spf-perl.git Package: libmail-spf-perl Section: perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, liberror-perl, libnet-dns-perl, libnetaddr-ip-perl, liburi-perl Description: Perl implementation of Sender Policy Framework and Sender ID Mail::SPF is an object-oriented Perl implementation of the Sender Policy Framework (SPF) e-mail sender authentication system . . It supports both the TXT and SPF RR types as well as both SPFv1 (v=spf1) and Sender ID (spf2.0) records, and it is fully compliant to RFCs 4408 and 4406. (It does not however implement the patented PRA address selection algorithm described in RFC 4407.) Package: spf-tools-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libmail-spf-perl (>= ${source:Version}) Breaks: spfquery (<< 1.2.5.dfsg-1), libmail-spf-query-perl (<< 1:1.999.1-3) Description: SPF tools (spfquery, spfd) based on the Mail::SPF Perl module A collection of Sender Policy Framework (SPF) tools that are based on the fully RFC-conforming Mail::SPF Perl module. The following tools are included in this package: . * spfquery: A command-line tool for performing SPF checks. * spfd: A daemon for services that perform SPF checks frequently. debian/source/0000755000000000000000000000000012205411207010460 5ustar debian/source/format0000644000000000000000000000001412205411207011666 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001574312205411207011044 0ustar mail-spf-perl (2.9.0-2) unstable; urgency=low * Add patch to fix POD test errors under Perl 5.18. (Closes: #720429) * debian/copyright: switch formatting to Copyright-Format 1.0. -- gregor herrmann Thu, 22 Aug 2013 15:30:33 +0200 mail-spf-perl (2.9.0-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Scott Kitterman ] * New upstream release * Add myself to uploaders * Bump debhelper verion and compat to 9 * Bump standards version to 3.9.4 without further change -- Scott Kitterman Mon, 22 Jul 2013 00:12:37 -0400 mail-spf-perl (2.8.0-1) unstable; urgency=low * New upstream release. * Update years of upstream and packaging copyright. -- gregor herrmann Mon, 30 Jan 2012 23:29:49 +0100 mail-spf-perl (2.007-2) unstable; urgency=low * Take over for the Debian Perl Group on request of the MIA team. * debian/control: Added: Vcs-Git field (source stanza); Vcs-Browser field (source stanza). Changed: Maintainer set to Debian Perl Group (was: Julian Mehnle ). * debian/watch: use dist-based URL. * Switch to "3.0 (quilt)" source format. * Put "set -e" explicitly in maintainer scripts. * Switch to debhelper compatibility level 8, use tiny debian/rules. * Use DEP5 formatting for debian/copyright. * Add /me to Uploaders. * Bump Standards-Version to 3.9.2, remove version from perl build dependency. * Update build and runtime dependencies (versions satisfied in oldstable, modules moved to perl core). -- gregor herrmann Tue, 27 Dec 2011 21:43:46 +0100 mail-spf-perl (2.007-1) unstable; urgency=low * New upstream release. * Standards-Version: 3.8.3 (was: 3.7.2) * Homepage: http://search.cpan.org/dist/Mail-SPF/ * Build-Depends-Indep: perl-modules (>= 5.10.0) | libmodule-build-perl (>= 0.26) (was: libmodule-build-perl (>= 0.26)) * libmail-spf-perl: * Recommends: libnetaddr-ip-perl (>= 4.007) (in addition to the Depends on >= 4), as it has all $& and $` removed for better performance; see . -- Julian Mehnle Sat, 31 Oct 2009 21:29:45 +0000 mail-spf-perl (2.005-1) unstable; urgency=low * Initial Debian release (closes: #444442). * Added watch file. -- Julian Mehnle Fri, 21 Sep 2007 02:20:58 +0000 mail-spf-perl (2.005) unstable; urgency=low Debian: * Conflicts: spfquery (<< 1.2.5.dfsg-1) (was unversioned) Mail::SPF: + Added a "max_void_dns_lookups" option to Mail::SPF::Server's constructor, allowing the number of potentially abusive lookups induced by DoS attacks to be limited. See the documentation of the Mail::SPF::Server class. + Added a "precedence" class property to Mail::SPF::GlobalMod and sub-classes that defines the order in which global modifiers are to be processed (0: first, 1: last). See Mail::SPF::Mod. Mail::SPF::Mod::Exp has precedence 0.2, Mail::SPF::Mod::Redirect has 0.8. Also, Mail::SPF::Record::global_mods() now returns modifiers ordered by precedence. + Added support for a non-standard %{_scope} pseudo macro that expands to the request's identity scope. Note: Do NOT use any such non-standard macros in explanation strings published in DNS! ! Mail::SPF::Util::valid_domain_for_ip_address() now requires a Mail::SPF:: Request object to be passed as a new second argument. This is actually consistent with many of Mail::SPF's methods. Please excuse the late API change (but who uses Mail::SPF::Util directly anyway?). * Updated default authority explanation string to include identity scope in the openspf.org "Why?" page URL in order to avoid misleading result explanations. * Truncate labels resulting from macro expansions to 63 bytes. This is not strictly required by RFC 4408, 8.1/27, but is merely meant as a precaution. * Minor documentation fixes and improvements. Miscellaneous: * We pass (and include) the 2007.05 release of the official RFC 4408 test suite (no changes were required). -- Julian Mehnle Wed, 30 May 2007 23:00:00 +0000 mail-spf-perl (2.004) unstable; urgency=low Mail::SPF: * Correctly fall back to default authority explanation if the authority domain does specify an explanation string but it cannot be expanded (e.g. due to syntax errors). * In Mail::SPF::Result::received_spf_header(), gracefully fall back to a hostname of "unknown" if a fully qualified hostname can not be determined. Some (misconfigured) systems simply will not reveal one. * Minor documentation improvements and fixes. Miscellaneous: * Note in the README file that we pass the 2006.11 release of the official RFC 4408 test-suite. Tests: * Do not test Mail::SPF::Util::hostname(), as some (misconfigured) systems simply will not reveal a fully qualified hostname (see CPANTS tests for 2.003). * Minor code clean-up. -- Julian Mehnle Sat, 20 Jan 2007 02:00:00 +0000 mail-spf-perl (2.003) unstable; urgency=low Mail::SPF: * Fixed two Perl 5.6 incompatibilities: * Added `use utf8` statements in several modules to keep Perl 5.6 from whining about /[\p{}]/. * Do not use the `use constant { a=>1, b=>2 }` multiple-constants idiom, as it was introduced only in constant 1.03 (Perl 5.7.2). * Fixed a very minor bug where a "TempError" result would incorrectly be returned in the very rare case when the SPF-type look-up succeeded but returned 0 records, and the following TXT-type look-up errored or timed out. Now a "None" result is correctly returned in that case as demanded by RFC 4408. spfquery: * Minor documentation fixes. -- Julian Mehnle Wed, 10 Jan 2007 00:00:00 +0000 mail-spf-perl (2.002) unstable; urgency=low Mail::SPF: * Updated default authority explanation string to the SPF website's new "Why?" page URL parameters scheme: spfquery: * Updated the '--help' text and man-page with regard to the black magic options (which require the yet unreleased Mail::SPF::BlackMagic module). -- Julian Mehnle Thu, 14 Dec 2006 00:00:00 +0000 mail-spf-perl (2.001) unstable; urgency=low Gold Release! Major overhaul: ! Major code refactoring, achieving full RFC 4408/4406 compliance, and breaking API compatibility with 2.000. ! Switched from ExtUtils::MakeMaker to Module::Build. + Added complete rewrites of spfquery (2.500) and spfd (2.000). + Added complete documentation. + Added unit tests and the RFC 4408 test-suite. + Added Debian package control files. + And more... (closes: rt.cpan.org #20821, #20822, #21922, #21925) -- Julian Mehnle Sat, 9 Dec 2006 20:00:00 +0000 debian/compat0000644000000000000000000000000212205411207010356 0ustar 9 debian/spf-tools-perl.prerm0000755000000000000000000000040312205411207013115 0ustar #!/bin/sh set -e mode=$1 source_package=mail-spf-perl case "$mode" in remove ) update-alternatives --remove spfquery /usr/bin/spfquery.$source_package update-alternatives --remove spfd /usr/sbin/spfd.$source_package ;; esac #DEBHELPER# debian/spf-tools-perl.postinst0000755000000000000000000000110412205411207013652 0ustar #!/bin/sh set -e mode=$1 source_package=mail-spf-perl case "$mode" in configure ) prev_version=$2 update-alternatives --install /usr/bin/spfquery spfquery /usr/bin/spfquery.$source_package 100 \ --slave /usr/share/man/man1/spfquery.1.gz spfquery.1.gz /usr/share/man/man1/spfquery.$source_package.1p.gz update-alternatives --install /usr/sbin/spfd spfd /usr/sbin/spfd.$source_package 100 \ --slave /usr/share/man/man8/spfd.8.gz spfd.8.gz /usr/share/man/man8/spfd.$source_package.8p.gz ;; esac #DEBHELPER# debian/patches/0000755000000000000000000000000012205411207010607 5ustar debian/patches/series0000644000000000000000000000002012205411207012014 0ustar pod-links.patch debian/patches/pod-links.patch0000644000000000000000000000210612205411207013527 0ustar Description: fix pod test errors "L<> starts or ends with whitespace" Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=88030 Bug-Debian: http://bugs.debian.org/720429 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=88030 Author: gregor herrmann Last-Update: 2013-08-22 --- a/lib/Mail/SPF/Util.pm +++ b/lib/Mail/SPF/Util.pm @@ -155,9 +155,9 @@ throws I Returns the given I IPv4 or IPv6 address compactly formatted as a -I. For IPv4 addresses, this is equivalent to calling L< NetAddr::IP's -C |NetAddr::IP/addr> method. For IPv6 addresses, this is equivalent to -calling L< NetAddr::IP's C |NedAddr::IP/short> method. Throws a +I. For IPv4 addresses, this is equivalent to calling L|NetAddr::IP/addr> method. For IPv6 addresses, this is equivalent to +calling L|NetAddr::IP/short> method. Throws a I exception if the specified object is not a I IPv4 or IPv6 address object. debian/copyright0000644000000000000000000000350012205411207011111 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Mail-SPF Upstream-Contact: Julian Mehnle Source: https://metacpan.org/release/Mail-SPF/ Files: * Copyright: 2005-2012, Julian Mehnle 2005, Shevek License: BSD-3-clause Files: debian/* Copyright: 2006, 2007, 2009, Julian Mehnle 2011-2013, gregor herrmann License: BSD-3-clause License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The names of the authors may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/spf-tools-perl.install0000644000000000000000000000006712205411207013441 0ustar usr/sbin usr/bin usr/share/man/man1 usr/share/man/man8 debian/watch0000644000000000000000000000015512205411207010212 0ustar version=3 https://metacpan.org/release/Mail-SPF/ .*/Mail-SPF-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian/libmail-spf-perl.install0000644000000000000000000000004312205411207013704 0ustar usr/share/man/man3 usr/share/perl5