Debian packaging for 2.005
This commit is contained in:
parent
f778a5ebbf
commit
258fa56634
6 changed files with 52 additions and 80 deletions
18
debian/changelog
vendored
18
debian/changelog
vendored
|
|
@ -1,3 +1,21 @@
|
||||||
|
postfix-policyd-spf-perl (2.005-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release
|
||||||
|
- Reduce DNS timeout period from 20 seconds to 10 seconds for faster
|
||||||
|
performance with broken DNS servers
|
||||||
|
* Move postfix from recommends to depends
|
||||||
|
* Add watch file
|
||||||
|
* Correct debian/copyright to only refer to GPL V2 and trim excess license
|
||||||
|
quoting
|
||||||
|
* Added Homepage field
|
||||||
|
* Update standards version to 3.7.3 without further change
|
||||||
|
* Clarify package description
|
||||||
|
* Minor updates to postfix-policyd-spf-perl and move from section 8 to
|
||||||
|
section 1
|
||||||
|
* Minor white space cleanup in debian/control
|
||||||
|
|
||||||
|
-- Scott Kitterman <scott@kitterman.com> Fri, 14 Dec 2007 23:40:45 -0500
|
||||||
|
|
||||||
postfix-policyd-spf-perl (2.004-1) unstable; urgency=low
|
postfix-policyd-spf-perl (2.004-1) unstable; urgency=low
|
||||||
|
|
||||||
* Initial Debian package (Closes: #236701)
|
* Initial Debian package (Closes: #236701)
|
||||||
|
|
|
||||||
12
debian/control
vendored
12
debian/control
vendored
|
|
@ -3,13 +3,13 @@ Section: mail
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Maintainer: Scott Kitterman <scott@kitterman.com>
|
Maintainer: Scott Kitterman <scott@kitterman.com>
|
||||||
Build-Depends: debhelper (>= 5)
|
Build-Depends: debhelper (>= 5)
|
||||||
Standards-Version: 3.7.2
|
Standards-Version: 3.7.3
|
||||||
|
Homepage: http://www.openspf.org/Software
|
||||||
|
|
||||||
Package: postfix-policyd-spf-perl
|
Package: postfix-policyd-spf-perl
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: libversion-perl, libnetaddr-ip-perl (>= 4), libmail-spf-perl, ${perl:Depends}
|
Depends: postfix, libversion-perl, libnetaddr-ip-perl (>= 4), libmail-spf-perl, ${perl:Depends}
|
||||||
Recommends: postfix
|
|
||||||
Description: pure-Perl Postfix policy daemon for RFC 4408 compliant SPF checking
|
Description: pure-Perl Postfix policy daemon for RFC 4408 compliant SPF checking
|
||||||
postfix-policyd-spf-perl is a Postfix SMTPd policy server for SPF checking.
|
postfix-policyd-spf-perl is a Postfix SMTP policy server for SPF checking.
|
||||||
It is implemented in pure Perl and uses the Mail::SPF module. The SPF web
|
It is implemented in pure Perl and uses the Mail::SPF module. The SPF
|
||||||
site is http://www.openspf.org/.
|
project web site is http://www.openspf.org/.
|
||||||
|
|
|
||||||
58
debian/copyright
vendored
58
debian/copyright
vendored
|
|
@ -1,19 +1,19 @@
|
||||||
This package was debianized by Scott Kitterman <scott@kitterman.com> on
|
This package was debianized by Scott Kitterman <scott@kitterman.com> on
|
||||||
Thu, 11 Jan 2007 04:29:13 -0500.
|
Thu, 11 Jan 2007 04:29:13 -0500.
|
||||||
|
|
||||||
It was downloaded from <http://www.openspf.org/Software>.
|
It was downloaded from <http://www.openspf.org/Software>.
|
||||||
|
|
||||||
Upstream authors Meng Weng Wong <mengwong@pobox.com>, Scott Kitterman
|
Upstream authors Meng Weng Wong <mengwong@pobox.com>, Scott Kitterman
|
||||||
<scott@kitterman.com>, and Julian Mehnle <julian@mehnle.net>
|
<scott@kitterman.com>, and Julian Mehnle <julian@mehnle.net>
|
||||||
|
|
||||||
Copyright:
|
Copyright:
|
||||||
|
|
||||||
(C) 2007 Scott Kitterman <scott@kitterman.com> and Julian Mehnle
|
(C) 2007 Scott Kitterman <scott@kitterman.com> and Julian Mehnle
|
||||||
<julian@mehnle.net>
|
<julian@mehnle.net>
|
||||||
(C) 2003-2004 Meng Weng Wong <mengwong@pobox.com>
|
(C) 2003-2004 Meng Weng Wong <mengwong@pobox.com>
|
||||||
|
|
||||||
This is free software; you can redistribute it and/or modify it under the terms
|
This is free software; you can redistribute it and/or modify it under the terms
|
||||||
of the GNU General Public License (version 2 or later).
|
of the GNU General Public License (version 2).
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 2, June 1991
|
Version 2, June 1991
|
||||||
|
|
@ -23,56 +23,6 @@ of the GNU General Public License (version 2 or later).
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The licenses for most software are designed to take away your
|
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
|
||||||
License is intended to guarantee your freedom to share and change free
|
|
||||||
software--to make sure the software is free for all its users. This
|
|
||||||
General Public License applies to most of the Free Software
|
|
||||||
Foundation's software and to any other program whose authors commit to
|
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
|
||||||
the GNU Lesser General Public License instead.) You can apply it to
|
|
||||||
your programs, too.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
|
||||||
have the freedom to distribute copies of free software (and charge for
|
|
||||||
this service if you wish), that you receive source code or can get it
|
|
||||||
if you want it, that you can change the software or use pieces of it
|
|
||||||
in new free programs; and that you know you can do these things.
|
|
||||||
|
|
||||||
To protect your rights, we need to make restrictions that forbid
|
|
||||||
anyone to deny you these rights or to ask you to surrender the rights.
|
|
||||||
These restrictions translate to certain responsibilities for you if you
|
|
||||||
distribute copies of the software, or if you modify it.
|
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
|
||||||
gratis or for a fee, you must give the recipients all the rights that
|
|
||||||
you have. You must make sure that they, too, receive or can get the
|
|
||||||
source code. And you must show them these terms so they know their
|
|
||||||
rights.
|
|
||||||
|
|
||||||
We protect your rights with two steps: (1) copyright the software, and
|
|
||||||
(2) offer you this license which gives you legal permission to copy,
|
|
||||||
distribute and/or modify the software.
|
|
||||||
|
|
||||||
Also, for each author's protection and ours, we want to make certain
|
|
||||||
that everyone understands that there is no warranty for this free
|
|
||||||
software. If the software is modified by someone else and passed on, we
|
|
||||||
want its recipients to know that what they have is not the original, so
|
|
||||||
that any problems introduced by others will not reflect on the original
|
|
||||||
authors' reputations.
|
|
||||||
|
|
||||||
Finally, any free program is threatened constantly by software
|
|
||||||
patents. We wish to avoid the danger that redistributors of a free
|
|
||||||
program will individually obtain patent licenses, in effect making the
|
|
||||||
program proprietary. To prevent this, we have made it clear that any
|
|
||||||
patent must be licensed for everyone's free use or not licensed at all.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow.
|
|
||||||
|
|
||||||
On Debian systems, the complete text of the GPL v2 can be found here:
|
On Debian systems, the complete text of the GPL v2 can be found here:
|
||||||
/usr/share/common-licenses/GPL-2
|
/usr/share/common-licenses/GPL-2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -128,12 +128,12 @@
|
||||||
.\" ========================================================================
|
.\" ========================================================================
|
||||||
.\"
|
.\"
|
||||||
.IX Title "postfix-policyd-spf-perl 1p"
|
.IX Title "postfix-policyd-spf-perl 1p"
|
||||||
.TH postfix-policyd-spf-perl 8p "2007-04-18"
|
.TH postfix-policyd-spf-perl 1 "2007-12-14"
|
||||||
.SH "NAME"
|
.SH "NAME"
|
||||||
postfix-policyd-spf-perl \- pure-Perl Postfix policy daemon for SPF checking
|
postfix-policyd-spf-perl \- pure-Perl Postfix policy server for SPF checking
|
||||||
.SH "VERSION"
|
.SH "VERSION"
|
||||||
.IX Header "VERSION"
|
.IX Header "VERSION"
|
||||||
2\.004
|
2\.005
|
||||||
|
|
||||||
.SH "USAGE"
|
.SH "USAGE"
|
||||||
.IX Header "USAGE"
|
.IX Header "USAGE"
|
||||||
|
|
@ -148,34 +148,34 @@ SMTPD_POLICY_README.
|
||||||
.SH "SYNOPSIS"
|
.SH "SYNOPSIS"
|
||||||
.IX Header "SYNOPSIS"
|
.IX Header "SYNOPSIS"
|
||||||
|
|
||||||
postfix-policyd-spf-perl is a Postfix SMTPd policy daemon for SPF checking.
|
postfix-policyd-spf-perl is a Postfix SMTP policy server for SPF checking.
|
||||||
It is implemented in pure Perl and uses the Mail::SPF CPAN module. Note that
|
It is implemented in pure Perl and uses the Mail::SPF CPAN module. Note that
|
||||||
Mail::SPF is a complete re-implementation of SPF based on the final SPF RFC,
|
Mail::SPF is a complete re-implementation of SPF based on the final SPF RFC,
|
||||||
RFC 4408. It shares no code with the older Mail::SPF::Query that was the
|
RFC 4408. It shares no code with the older Mail::SPF::Query that was the
|
||||||
original SPF development implementation. If you are upgrading from on older
|
original SPF development implementation. If you are upgrading from on older
|
||||||
version of this policy server you will need to install Mail::SPF.
|
version of this policy server you will need to install Mail::SPF.
|
||||||
|
|
||||||
This version of the policy server always checks HELO before Mail From (older
|
This version of the policy server always checks HELO before Mail From (older
|
||||||
versions just checked HELO if Mail From was null). It will reject mail that
|
versions just checked HELO if Mail From was null). It will reject mail that
|
||||||
fails either Mail From or HELO SPF checks. It will defer mail if there is a
|
fails either Mail From or HELO SPF checks. It will defer mail if there is a
|
||||||
temporary SPF error and the message would othersise be permitted
|
temporary SPF error and the message would othersise be permitted
|
||||||
(DEFER_IF_PERMIT). If the HELO check produces a REJECT/DEFER result, Mail From
|
(DEFER_IF_PERMIT). If the HELO check produces a REJECT/DEFER result, Mail From
|
||||||
will not be checked.
|
will not be checked.
|
||||||
|
|
||||||
If the message is not rejected or deferred, the policy server will PREPEND the
|
If the message is not rejected or deferred, the policy server will PREPEND the
|
||||||
appropriate SPF Received header. If Mail From is anything other than completely
|
appropriate SPF Received header. If Mail From is anything other than completely
|
||||||
empty (i.e. <>) then the Mail From result will be used for SPF Received (e.g.
|
empty (i.e. <>) then the Mail From result will be used for SPF Received (e.g.
|
||||||
Mail From None even if HELO is Pass).
|
Mail From None even if HELO is Pass).
|
||||||
|
|
||||||
The policy server skips SPF checks for connections from the localhost (127.) and
|
The policy server skips SPF checks for connections from the localhost (127.) and
|
||||||
instead prepends and logs 'SPF skipped - localhost is always allowed.' If you
|
instead prepends and logs 'SPF skipped - localhost is always allowed.' If you
|
||||||
have relays that you want to skip SPF checks for, you can add them to
|
have relays that you want to skip SPF checks for, you can add them to
|
||||||
relay_addresses on line 78 using standard CIDR notation in a space separated
|
relay_addresses on line 78 using standard CIDR notation in a space separated
|
||||||
list. For these addresses, 'X-Comment: SPF skipped for whitelisted relay' is
|
list. For these addresses, 'X-Comment: SPF skipped for whitelisted relay' is
|
||||||
prepended and logged.
|
prepended and logged.
|
||||||
|
|
||||||
Error conditions within the policy server (that don't result in a crash) or from
|
Error conditions within the policy server (that don't result in a crash) or from
|
||||||
Mail::SPF will return DUNNO.
|
Mail::SPF will return DUNNO.
|
||||||
|
|
||||||
.SH "DESCRIPTION"
|
.SH "DESCRIPTION"
|
||||||
.IX Header "DESCRIPTION"
|
.IX Header "DESCRIPTION"
|
||||||
|
|
@ -186,7 +186,7 @@ Each time a Postfix SMTP server process is started it connects to the policy
|
||||||
service socket and Postfix runs one instance of this Perls script. By
|
service socket and Postfix runs one instance of this Perls script. By
|
||||||
default, a Postfix SMTP server process terminates after 100 seconds of idle
|
default, a Postfix SMTP server process terminates after 100 seconds of idle
|
||||||
time, or after serving 100 clients. Thus, the cost of starting this Perl
|
time, or after serving 100 clients. Thus, the cost of starting this Perl
|
||||||
script is smoothed over time
|
script is smoothed over time.
|
||||||
|
|
||||||
The default policy_time_limit is 1000 seconds. This may be too short for some
|
The default policy_time_limit is 1000 seconds. This may be too short for some
|
||||||
SMTP transactions to complete. As recommended in SMTPD_POLICY_README, this
|
SMTP transactions to complete. As recommended in SMTPD_POLICY_README, this
|
||||||
|
|
@ -201,7 +201,7 @@ To test the policy daemon by hand, execute:
|
||||||
|
|
||||||
% perl /usr/sbin/postfix-policyd-spf-perl
|
% perl /usr/sbin/postfix-policyd-spf-perl
|
||||||
|
|
||||||
Each query is a bunch of attributes. Order does not matter, and the daemon
|
Each query is a bunch of attributes. Order does not matter, and the server
|
||||||
uses only a few of all the attributes shown below:
|
uses only a few of all the attributes shown below:
|
||||||
|
|
||||||
request=smtpd_access_policy
|
request=smtpd_access_policy
|
||||||
|
|
@ -259,8 +259,9 @@ libmail-spf-perl, <http://www.openspf.org>
|
||||||
|
|
||||||
.SH "AUTHORS"
|
.SH "AUTHORS"
|
||||||
.IX Header "AUTHORS"
|
.IX Header "AUTHORS"
|
||||||
This version of \fBpolicyd-spf-perl\fR was written by Meng Weng Wong
|
This version of \fBpolicyd-spf-perl\fR was written by Meng Weng Wong
|
||||||
<mengwong+spf@pobox.com> and updated for libmail-spf-perl by Scott Kitterman
|
<mengwong+spf@pobox.com> and updated for libmail-spf-perl by Scott Kitterman
|
||||||
<scott@kitterman.com> and Julian Mehnle <julian@mehnle.net>.
|
<scott@kitterman.com> and Julian Mehnle <julian@mehnle.net>.
|
||||||
.PP
|
.PP
|
||||||
This man-page was written by Scott Kitterman <scott@kitterman.com>.
|
This man-page was written by Scott Kitterman <scott@kitterman.com>.
|
||||||
|
|
||||||
3
debian/rules
vendored
3
debian/rules
vendored
|
|
@ -31,7 +31,7 @@ binary-indep: build install
|
||||||
dh_testroot
|
dh_testroot
|
||||||
|
|
||||||
dh_installdocs
|
dh_installdocs
|
||||||
dh_installman debian/postfix-policyd-spf-perl.8
|
dh_installman debian/postfix-policyd-spf-perl.1
|
||||||
dh_installchangelogs CHANGES
|
dh_installchangelogs CHANGES
|
||||||
|
|
||||||
dh_compress
|
dh_compress
|
||||||
|
|
@ -49,3 +49,4 @@ binary-arch:
|
||||||
binary: binary-indep binary-arch
|
binary: binary-indep binary-arch
|
||||||
|
|
||||||
.PHONY: build clean binary-indep binary-arch binary install
|
.PHONY: build clean binary-indep binary-arch binary install
|
||||||
|
|
||||||
|
|
|
||||||
2
debian/watch
vendored
Normal file
2
debian/watch
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
version=3
|
||||||
|
http://www.openspf.org/blobs/postfix-policyd-spf-perl-(.*)\.tar\.gz debian uupdate
|
||||||
Loading…
Add table
Add a link
Reference in a new issue