Debian packaging for 2.005

This commit is contained in:
Scott Kitterman 2007-12-15 06:23:14 +00:00
commit 258fa56634
6 changed files with 52 additions and 80 deletions

18
debian/changelog vendored
View file

@ -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
View file

@ -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/.

52
debian/copyright vendored
View file

@ -13,7 +13,7 @@ Copyright:
(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

View file

@ -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,7 +148,7 @@ 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
@ -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
@ -264,3 +264,4 @@ This version of \fBpolicyd-spf-perl\fR was written by Meng Weng Wong
<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
View file

@ -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
View file

@ -0,0 +1,2 @@
version=3
http://www.openspf.org/blobs/postfix-policyd-spf-perl-(.*)\.tar\.gz debian uupdate