[Python-modules-commits] r3900 - in packages/pyspf/trunk/debian (5 files)
kitterma-guest at users.alioth.debian.org
kitterma-guest at users.alioth.debian.org
Fri Dec 7 06:28:58 UTC 2007
Date: Friday, December 7, 2007 @ 06:28:57
Author: kitterma-guest
Revision: 3900
* Remove README.Debian from debian/docs (not needed)
* Move man page installation to python-spf.manpages
* Correct formatting errors in debian/psyfp.1
Modified:
packages/pyspf/trunk/debian/changelog
packages/pyspf/trunk/debian/copyright
packages/pyspf/trunk/debian/docs
packages/pyspf/trunk/debian/pyspf.1
packages/pyspf/trunk/debian/rules
Modified: packages/pyspf/trunk/debian/changelog
===================================================================
--- packages/pyspf/trunk/debian/changelog 2007-12-07 00:39:56 UTC (rev 3899)
+++ packages/pyspf/trunk/debian/changelog 2007-12-07 06:28:57 UTC (rev 3900)
@@ -2,15 +2,18 @@
[ Scott Kitterman ]
- * Agreed maintainer change.
+ * Agreed maintainer change - updated debian/control and debian/copyright.
* Really update debian/watch to version 3 (Closes: #453591)
+ * Remove README.Debian from debian/docs (not needed)
+ * Move man page installation to python-spf.manpages
+ * Correct formatting errors in debian/psyfp.1
[ Piotr Ozarowski ]
* Homepage field added
* Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
- -- Scott Kitterman <scott at kitterman.com> Sat, 01 Dec 2007 14:45:09 -0500
+ -- Scott Kitterman <scott at kitterman.com> Fri, 07 Dec 2007 01:25:09 -0500
pyspf (2.0.4-1) unstable; urgency=low
Modified: packages/pyspf/trunk/debian/copyright
===================================================================
--- packages/pyspf/trunk/debian/copyright 2007-12-07 00:39:56 UTC (rev 3899)
+++ packages/pyspf/trunk/debian/copyright 2007-12-07 06:28:57 UTC (rev 3900)
@@ -1,7 +1,7 @@
This package was debianized by Gustavo Franco <stratus at debian.org> on
Thu, 23 Jun 2005 11:04:29 -0300.
-The current Debian maintainer is Gustavo Franco <stratus at debian.org>.
+The current Debian maintainer is Scott Kitterman <scott at kitterman.com>.
This version was downloaded from http://downloads.sourceforge.net/pymilter/
Modified: packages/pyspf/trunk/debian/docs
===================================================================
--- packages/pyspf/trunk/debian/docs 2007-12-07 00:39:56 UTC (rev 3899)
+++ packages/pyspf/trunk/debian/docs 2007-12-07 06:28:57 UTC (rev 3900)
@@ -1,2 +1,2 @@
README
-debian/README.Debian
+
Modified: packages/pyspf/trunk/debian/pyspf.1
===================================================================
--- packages/pyspf/trunk/debian/pyspf.1 2007-12-07 00:39:56 UTC (rev 3899)
+++ packages/pyspf/trunk/debian/pyspf.1 2007-12-07 06:28:57 UTC (rev 3900)
@@ -128,7 +128,7 @@
.\" ========================================================================
.\"
.IX Title "python-spf 1"
-.TH python-spf 1 "2007-01-16"
+.TH python-spf 1 "2007-12-07"
.SH "NAME"
pyspf \- pure-Python SPF library
.SH "VERSION"
@@ -155,19 +155,19 @@
There are two ways to use this package. The first is from the command
line::
- % python spf.py {ip-addr} {mail-from} {helo}
+ % python spf.py {ip-addr} {mail-from} {helo}
For instance, during an SMTP exchange from client 69.55.226.139::
- S: 220 mail.example.com ESMTP Postfix
- C: EHLO mx1.wayforward.net
- S: 250-mail.example.com
- S: ...
- S: 250 8BITMIME
- C: MAIL FROM:<terry at wayforward.net>
+ S: 220 mail.example.com ESMTP Postfix
+ C: EHLO mx1.wayforward.net
+ S: 250-mail.example.com
+ S: ...
+ S: 250 8BITMIME
+ C: MAIL FROM:<terry at wayforward.net>
Then the following command line would check if this is a valid sender:
- % ./spf.py 69.55.226.139 terry at wayforward.net mx1.wayforward.net
- ('pass', 250, 'sender SPF authorized')
+ % ./spf.py 69.55.226.139 terry at wayforward.net mx1.wayforward.net
+ ('pass', 250, 'sender SPF authorized')
Command line calls return RFC 4408 result codes, i.e. 'pass', 'fail', 'neutral',
\'softfail, 'permerror', or 'temperror'.
@@ -175,11 +175,11 @@
The second way is via the module's APIs.
The legacy (pySPF 1.6) API:
- >>> import spf
- >>> spf.check(i='69.55.226.139',
- ... s='terry at wayforward.net',
- ... h='mx1.wayforward.net')
- ('pass', 250, 'sender SPF authorized')
+ >>> import spf
+ >>> spf.check(i='69.55.226.139',
+ ... s='terry at wayforward.net',
+ ... h='mx1.wayforward.net')
+ ('pass', 250, 'sender SPF authorized')
The first element in the tuple is one of 'pass', 'fail', 'netural', 'softfail',
'unknown', or 'error'. The second is the SMTP response status code: 550 for
@@ -220,12 +220,12 @@
The test suite supports multiple allowed results with a warning for a
non-preferred result. For the current version, the expected results are:
-WARN: invalid-domain-long in rfc4408-tests.yml, ['8.1/2', '5/10']: fail
-preferred to temperror
-WARN: txttimeout in rfc4408-tests.yml, 4.4/1: fail preferred to temperror
-WARN: spfoverride in rfc4408-tests.yml, 4.5/5: pass preferred to fail
-WARN: multitxt1 in rfc4408-tests.yml, 4.5/5: pass preferred to permerror
-WARN: multispf2 in rfc4408-tests.yml, 4.5/6: permerror preferred to pass
+ WARN: invalid-domain-long in rfc4408-tests.yml, ['8.1/2', '5/10']: fail
+ preferred to temperror
+ WARN: txttimeout in rfc4408-tests.yml, 4.4/1: fail preferred to temperror
+ WARN: spfoverride in rfc4408-tests.yml, 4.5/5: pass preferred to fail
+ WARN: multitxt1 in rfc4408-tests.yml, 4.5/5: pass preferred to permerror
+ WARN: multispf2 in rfc4408-tests.yml, 4.5/6: permerror preferred to pass
.SH "OTHER PROGRAMS"
.IX Header "OTHER PROGRAMS"
Modified: packages/pyspf/trunk/debian/rules
===================================================================
--- packages/pyspf/trunk/debian/rules 2007-12-07 00:39:56 UTC (rev 3899)
+++ packages/pyspf/trunk/debian/rules 2007-12-07 06:28:57 UTC (rev 3900)
@@ -14,7 +14,5 @@
# Give the `type99` tool a more specific name
# (omitting the ".py" language extension):
mv debian/python-spf/usr/bin/type99.py debian/python-spf/usr/bin/$(DEB_SOURCE_PACKAGE)-type99
- # Install man pages
- dh_installman debian/pyspf.1 debian/spfquery.pyspf.1 debian/pyspf-type99.1
# Install test suite
dh_install test usr/share/python-support/python-spf
More information about the Python-modules-commits
mailing list