[Python-apps-commits] r1489 - in packages/pypolicyd-spf/tags (16 files)
kitterma-guest at users.alioth.debian.org
kitterma-guest at users.alioth.debian.org
Mon Jun 23 06:15:59 UTC 2008
Date: Monday, June 23, 2008 @ 06:15:57
Author: kitterma-guest
Revision: 1489
Tag pypolicyd-spf 0.7-1.
Added:
packages/pypolicyd-spf/tags/0.7-1/
packages/pypolicyd-spf/tags/0.7-1/debian/
packages/pypolicyd-spf/tags/0.7-1/debian/README.Debian
packages/pypolicyd-spf/tags/0.7-1/debian/README.source
packages/pypolicyd-spf/tags/0.7-1/debian/changelog
packages/pypolicyd-spf/tags/0.7-1/debian/compat
packages/pypolicyd-spf/tags/0.7-1/debian/control
packages/pypolicyd-spf/tags/0.7-1/debian/copyright
packages/pypolicyd-spf/tags/0.7-1/debian/patches/
packages/pypolicyd-spf/tags/0.7-1/debian/patches/install-conf-fix.patch
packages/pypolicyd-spf/tags/0.7-1/debian/postfix-policyd-spf-python.docs
packages/pypolicyd-spf/tags/0.7-1/debian/postfix-policyd-spf-python.postrm
packages/pypolicyd-spf/tags/0.7-1/debian/postfix-policyd-spf-python.preinst
packages/pypolicyd-spf/tags/0.7-1/debian/pycompat
packages/pypolicyd-spf/tags/0.7-1/debian/rules
packages/pypolicyd-spf/tags/0.7-1/debian/watch
Added: packages/pypolicyd-spf/tags/0.7-1/debian/README.Debian
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/README.Debian (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/README.Debian 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1,26 @@
+See man 1 policyd-spf for additional documentation.
+
+Installing
+----------
+This package must be integrated with Postfix to be effective:
+
+ 1. Add the following to /etc/postfix/master.cf:
+
+ policyd-spf unix - n n - 0 spawn
+ user=nobody argv=/usr/bin/python /usr/bin/policyd-spf /etc/postfix-policyd-spf-python/policyd-spf.conf
+
+ 2. Configure the Postfix policy service in /etc/postfix/main.cf:
+
+ smtpd_recipient_restrictions =
+ ...
+ reject_unauth_destination
+ check_policy_service unix:private/policyd-spf
+ ...
+
+ policyd-spf_time_limit = 3600
+
+ NOTE: Specify check_policy_service AFTER reject_unauth_destination or
+ else your system can become an open relay.
+
+ 3. Reload Postfix.
+
Added: packages/pypolicyd-spf/tags/0.7-1/debian/README.source
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/README.source (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/README.source 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1,5 @@
+This package uses CDBS simple patchsys. dpkg-source -x does produce source
+ready for building with dpkg-buildpackage. It does not procude source ready
+for editing. To edit or update a patch, use cdbs-edit-patch. See man
+cdbs-edit-patch for details.
+
Added: packages/pypolicyd-spf/tags/0.7-1/debian/changelog
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/changelog (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/changelog 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1,156 @@
+pypolicyd-spf (0.7-1) unstable; urgency=low
+
+ * New upstream release
+ - Added receiver policy options to reject softfail and neutral SPF
+ messages
+ - Use minimal configuration file by default and provide additional
+ fully commented config file
+ * Correct README.Debian directory names (thanks to Carlos Pasqualini
+ for noticing and letting me know)
+ * Freshen debian/patches/install-conf-fix.patch
+ * Install new policyd-spf.conf.commented file with docs
+ * Bump standards version to 3.8.0 and add README.source
+ * Switch to python-central
+ - Add XS/XB-Python-Version: current to debian/control
+ - Update build-dep and debian/rules
+ - Remove debian/pyversions
+
+ -- Scott Kitterman <scott at kitterman.com> Sun, 22 Jun 2008 17:55:18 -0400
+
+pypolicyd-spf (0.6.1-1) unstable; urgency=low
+
+ [ Scott Kitterman ]
+ * New upstream release
+ - Fix crash if HELO checking is disabled
+
+ [ Piotr Ożarowski ]
+ * Add DM-Upload-Allowed: yes
+
+ -- Scott Kitterman <scott at kitterman.com> Sat, 05 Apr 2008 01:58:32 -0400
+
+pypolicyd-spf (0.6-2) unstable; urgency=low
+
+ * Remove transitional package (rejected by ftp-masters)
+ * Rename debian/docs to debian/postfix-policyd-spf-python.docs for
+ consistency
+
+ -- Scott Kitterman <scott at kitterman.com> Mon, 25 Feb 2008 14:30:12 -0500
+
+pypolicyd-spf (0.6-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ - Domain whitelisting fixed
+ - IP whitelists with multiple items fixed
+ - IPv6 whitelist CIDR length fixed
+ - Logging and config file improvements
+ * Add transitional package to ease binary package name transition
+ * Remove pythonpath.patch (incorporated upstream)
+ * Update debian/copyright for 2008
+ * Update install-conf-fix.patch for new binary package name
+ * Add preinst and prerm to move conffile to correct directory for new
+ package name
+
+ -- Scott Kitterman <scott at kitterman.com> Sat, 23 Feb 2008 00:38:02 -0500
+
+pypolicyd-spf (0.5.2-3) unstable; urgency=low
+
+ * Remove unneeded reference to debian/README.Debian and README in
+ debian/docs
+ * Change postfix from recommends to depends
+ * Rename binary postfix-policyd-spf-python for clarity - add provides,
+ conflicts, replaces python-policyd-spf
+ * Bump standards version to 3.7.3 without further change
+
+ -- Scott Kitterman <scott at kitterman.com> Tue, 08 Jan 2008 16:59:39 -0500
+
+pypolicyd-spf (0.5.2-2) unstable; urgency=low
+
+ * Finish freshening install-conf-fix.patch so that we actually use
+ the installed config file
+
+ -- Scott Kitterman <scott at kitterman.com> Wed, 31 Oct 2007 09:13:34 -0400
+
+pypolicyd-spf (0.5.2-1) unstable; urgency=low
+
+ * New upstream release
+ - Fixes permerror processing some more
+ - Logging is more consistent
+ * Freshen install-conf-fix.patch and pythonpath.patch
+
+ -- Scott Kitterman <scott at kitterman.com> Sat, 27 Oct 2007 12:56:31 -0400
+
+pypolicyd-spf (0.5.1-1) unstable; urgency=low
+
+ [ Piotr Ożarowski ]
+ * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
+
+ [ Scott Kitterman ]
+ * New upstream release.
+ - Fix per user restriction class filtering to work.
+ - Fix reject on SPF Permerror to work.
+ * Remove man-page-fixup.patch (incorporated upstream).
+ * Changed postfix restart to reload in README.Debian (Thanks John A. Martin)
+ * Update install-conf-fix.patch to adjust paths for Debian package in man
+ pages.
+
+ -- Scott Kitterman <scott at kitterman.com> Wed, 17 Oct 2007 18:36:46 -0400
+
+pypolicyd-spf (0.5-1) unstable; urgency=low
+
+ * New Upstream release
+ * Remove unnecessary python provides in debian/control
+ * Patch out usr/local PYTHONPATH addition (pythonpath.patch)
+ * Freshen install-conf-fix.patch
+ * Add debian/pycompat
+ * Add Python Applications Packaging Team as Uploaders
+ * Add Homepage: field to debian/control
+ * Add XS-Vcs-Svn: and XS-Vcs-Browser: fields to debian/control
+ * Add debian/pyversions and remove XS/XB-Python-Version from debian/control
+ * Add debian/rules to install new upstream man page
+ * Add man-page-fixup.patch to quiet lintian
+ * Simplify debian/rules
+
+ -- Scott Kitterman <scott at kitterman.com> Wed, 03 Oct 2007 16:48:12 -0400
+
+pypolicyd-spf (0.4.1-1) unstable; urgency=low
+
+ * Correct multi-recipient reject processing (Closes: #437361)
+ * Correct typos in README.Debian (Closes: #434623)
+ * Add debian/watch
+
+ -- Scott Kitterman <scott at kitterman.com> Mon, 13 Aug 2007 11:03:09 -0400
+
+pypolicyd-spf (0.4-3) unstable; urgency=low
+
+ * Correct debian/rules to fix FTBFS (Closes: #434017)
+ - Change config file mv to install in debian/rules with correct path.
+ - Change dh_installdirs path to relative rather than absolute.
+
+ -- Scott Kitterman <scott at kitterman.com> Sun, 21 Jul 2007 11:32:58 -0400
+
+pypolicyd-spf (0.4-2) unstable; urgency=low
+
+ * Merge debian/changelog entries from 0.3-1 and 0.4-1
+
+ -- Scott Kitterman <scott at kitterman.com> Mon, 09 Jul 2007 23:17:09 -0400
+
+pypolicyd-spf (0.4-1) unstable; urgency=low
+
+ * New upstream release
+ - Mutliple receiver policy options controlled by config file
+ - SPF Whitelist via config file
+ - Many minor changes
+ * debian/control - Moved from section Python to Mail
+ * debian/rules - Changes to install default config file
+ * debian/pycompat - removed
+ * debain/README.Debian updated to match upstream changes
+
+ -- Scott Kitterman <scott at kitterman.com> Mon, 09 Jul 2007 17:37:13 -0400
+
+pypolicyd-spf (0.3-1) unstable; urgency=low
+
+ * Initial Debian package for Python SPF policy server for Postfix
+ (Closes: #419887)
+
+ -- Scott Kitterman <scott at kitterman.com> Wed, 18 Apr 2007 10:11:36 -0400
+
Added: packages/pypolicyd-spf/tags/0.7-1/debian/compat
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/compat (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/compat 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1 @@
+5
Added: packages/pypolicyd-spf/tags/0.7-1/debian/control
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/control (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/control 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1,25 @@
+Source: pypolicyd-spf
+Section: mail
+Priority: extra
+Maintainer: Scott Kitterman <scott at kitterman.com>
+Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.1), python-dev, python-central (>= 0.6)
+Standards-Version: 3.8.0
+Homepage: http://www.openspf.org/Software
+Vcs-Svn: svn://svn.debian.org/python-apps/packages/pypolicyd-spf/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/python-apps/packages/pypolicyd-spf/?op=log
+DM-Upload-Allowed: yes
+XS-Python-Version: current
+
+Package: postfix-policyd-spf-python
+Architecture: all
+XB-Python-Version: current
+Depends: ${python:Depends}, python-spf (>= 2.0), postfix (>= 2.1)
+Provides: python-policyd-spf
+Replaces: python-policyd-spf
+Conflicts: python-policyd-spf
+Description: pure-Python Postfix policy daemon for SPF checking
+ python-policyd-spf is a Postfix SMTPd policy engine for SPF checking.
+ It is implemented in pure Python and uses the python-spf module. The SPF
+ web site is http://www.openspf.org/.
+
Added: packages/pypolicyd-spf/tags/0.7-1/debian/copyright
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/copyright (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/copyright 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1,36 @@
+This package was debianized by Scott Kitterman <scott at kitterman.com> on
+Wed January 17, 2007 19:04:29 -0500.
+
+It was downloaded from http://www.openspf.org/Software
+
+Copyright Holder:
+Copyright (c) 2007,2008 Scott Kitterman <scott at kitterman.com>
+Portions Copyright (c) 2004-2005, Sean Reifschneider, tummy.com, ltd.
+<jafo at tummy.com>
+Portions Copyright (c) 2003-2004 Meng Weng Wong <mengwong at pobox.com>
+
+License:
+
+This is free software; you can redistribute it and/or modify it under the terms
+of the GNU General Public License (version 2).
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+On Debian systems, the complete text of the GPL v2 can be found here:
+ /usr/share/common-licenses/GPL-2
+
+The Debian packaging is (C) 2007,2008, Scott Kitterman <scott at kitterman.com>
+and is licensed under the GPL. See above.
+
Added: packages/pypolicyd-spf/tags/0.7-1/debian/patches/install-conf-fix.patch
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/patches/install-conf-fix.patch (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/patches/install-conf-fix.patch 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1,69 @@
+diff -Nur -x '*.orig' -x '*~' pypolicyd-spf-0.7/policyd-spf pypolicyd-spf-0.7.new/policyd-spf
+--- pypolicyd-spf-0.7/policyd-spf 2008-06-22 12:44:25.000000000 -0400
++++ pypolicyd-spf-0.7.new/policyd-spf 2008-06-23 00:49:12.000000000 -0400
+@@ -385,7 +385,7 @@
+ ###################################################
+ # load config file {{{1
+ # Default location:
+-configFile = '/etc/python-policyd-spf/policyd-spf.conf'
++configFile = '/etc/postfix-policyd-spf-python/policyd-spf.conf'
+ if len(sys.argv) > 1:
+ if sys.argv[1] in ( '-?', '--help', '-h' ):
+ print 'usage: policyd-spf [<configfilename>]'
+diff -Nur -x '*.orig' -x '*~' pypolicyd-spf-0.7/policyd-spf.1 pypolicyd-spf-0.7.new/policyd-spf.1
+--- pypolicyd-spf-0.7/policyd-spf.1 2008-06-20 23:24:45.000000000 -0400
++++ pypolicyd-spf-0.7.new/policyd-spf.1 2008-06-23 00:51:28.000000000 -0400
+@@ -145,12 +145,13 @@
+
+ $ policyd-spf \-h (Display usage message)
+
+-$ policyd-spf /etc/policyd-spf/policyd-spf.conf (Config file name to use)
++$ policyd-spf /etc/postfix-policyd-spf-python/policyd-spf.conf
++ (Config file name to use)
+
+-Configuration options are described in the sample configuration file provided
+-with the package (policyd-spf.conf.commented) and in policyd-spf.conf(5). The
+-provided setup.py installs an uncommented configuration file in
+-/etc/policyd-spf/.
++Configuration options are described in the sample configuration file installed
++in /usr/share/doc/postfix-policyd-spf-python (policyd-spf.conf.commented) and
++in policyd-spf.conf(5). The provided setup.py installs an uncommented
++configuration file in /etc/postfix-policyd-spf-python/.
+
+ Additionally, whitelisting certain IP addresses or IP addresses used by listed
+ domains from SPF checks is supported. Skipping SPF checks for local submission
+diff -Nur -x '*.orig' -x '*~' pypolicyd-spf-0.7/policyd-spf.conf.5 pypolicyd-spf-0.7.new/policyd-spf.conf.5
+--- pypolicyd-spf-0.7/policyd-spf.conf.5 2008-06-20 23:21:54.000000000 -0400
++++ pypolicyd-spf-0.7.new/policyd-spf.conf.5 2008-06-23 00:49:12.000000000 -0400
+@@ -138,7 +138,7 @@
+ .SH "USAGE"
+ .IX Header "USAGE"
+ Usage:
+- policyd-spf [/etc/policyd-spf/policyd-spf.conf]
++ policyd-spf [/etc/postfix-policyd-spf-python/policyd-spf.conf]
+
+ .SH "OTHER DOCUMENTATION"
+ .IX Header "OTHER DOCUMENTATION"
+@@ -163,7 +163,7 @@
+
+ Configuration options are described here and in the configuration file
+ provided with the package. The provided setup.py installs this configuration
+-file in /etc/policyd-spf/.
++file in /etc/postfix-policyd-spf-python/.
+
+ Additionally, whitelisting certain IP addresses from SPF checks is supported.
+ The this man page and the sample configuration file show the format to use.
+diff -Nur -x '*.orig' -x '*~' pypolicyd-spf-0.7/setup.py pypolicyd-spf-0.7.new/setup.py
+--- pypolicyd-spf-0.7/setup.py 2008-06-18 01:50:24.000000000 -0400
++++ pypolicyd-spf-0.7.new/setup.py 2008-06-23 00:49:12.000000000 -0400
+@@ -17,8 +17,8 @@
+ scripts = ['policyd-spf'],
+ data_files=[(os.path.join('share', 'man', 'man1'),
+ ['policyd-spf.1']), (os.path.join('share', 'man', 'man5'),
+- ['policyd-spf.conf.5']), (os.path.join('../etc', 'python-policyd-spf'),
+- ['policyd-spf.conf'])],
++ ['policyd-spf.conf.5']), (os.path.join('../etc',
++ 'postfix-policyd-spf-python'), ['policyd-spf.conf'])],
+ classifiers = [
+ 'Development Status :: 5 - Production/Stable',
+ 'Environment :: No Input/Output (Daemon)',
Added: packages/pypolicyd-spf/tags/0.7-1/debian/postfix-policyd-spf-python.docs
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/postfix-policyd-spf-python.docs (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/postfix-policyd-spf-python.docs 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1,2 @@
+README.per_user_whitelisting
+policyd-spf.conf.commented
Added: packages/pypolicyd-spf/tags/0.7-1/debian/postfix-policyd-spf-python.postrm
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/postfix-policyd-spf-python.postrm (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/postfix-policyd-spf-python.postrm 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+# conffile renamed in 0.6-1
+if dpkg --compare-versions "$2" lt-nl "0.6-1"; then
+ # "$1" is equal to "upgrade" (which means downgrading in this case) or "abort-upgrade"
+ # downgrading to <0.6-1 (0.5.2-3 most probably) -- restore old conffile name
+ if [ ! -e /etc/python-policyd-spf/policyd-spf.conf ]; then
+ test ! -d /etc/python-policyd-spf && mkdir /etc/python-policyd-spf/
+ # policyd-spf.conf should exist but lets test it anyway
+ test -f /etc/postfix-policyd-spf-python/policyd-spf.conf && \
+ mv /etc/postfix-policyd-spf-python/policyd-spf.conf /etc/python-policyd-spf/policyd-spf.conf
+ rmdir /etc/postfix-policyd-spf-python/
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
Added: packages/pypolicyd-spf/tags/0.7-1/debian/postfix-policyd-spf-python.preinst
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/postfix-policyd-spf-python.preinst (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/postfix-policyd-spf-python.preinst 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1,35 @@
+#! /bin/sh
+
+# Prepare to move a conffile without triggering a dpkg question
+prep_mv_conffile() {
+ PKGNAME="$1"
+ CONFFILE="$2"
+ if [ -e "$CONFFILE" ]; then
+ md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
+ old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`"
+ if [ "$md5sum" = "$old_md5sum" ]; then
+ rm -f "$CONFFILE"
+ test -d /etc/python-policyd-spf/ && rmdir /etc/python-policyd-spf/
+ else
+ if [ -e "$CONFFILE" ]; then
+ if [ -n "/etc/postfix-policyd-spf-python/" ]; then
+ mkdir "/etc/postfix-policyd-spf-python/"
+ fi
+ mv -f "$CONFFILE" "/etc/postfix-policyd-spf-python/policyd-spf.conf"
+ test -d /etc/python-policyd-spf/ && rmdir /etc/python-policyd-spf/
+ fi
+ fi
+ fi
+}
+case "$1" in
+install|upgrade)
+ if dpkg --compare-versions "$2" le "0.5.2-3"; then
+ prep_mv_conffile postfix-policyd-spf-python "/etc/python-policyd-spf/policyd-spf.conf"
+ fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+esac
Added: packages/pypolicyd-spf/tags/0.7-1/debian/pycompat
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/pycompat (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/pycompat 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1 @@
+2
Added: packages/pypolicyd-spf/tags/0.7-1/debian/rules
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/rules (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/rules 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+
+DEB_PYTHON_SYSTEM=pycentral
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
Property changes on: packages/pypolicyd-spf/tags/0.7-1/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/pypolicyd-spf/tags/0.7-1/debian/watch
===================================================================
--- packages/pypolicyd-spf/tags/0.7-1/debian/watch (rev 0)
+++ packages/pypolicyd-spf/tags/0.7-1/debian/watch 2008-06-23 06:15:57 UTC (rev 1489)
@@ -0,0 +1,4 @@
+version=3
+http://www.openspf.org/blobs/pypolicyd-spf-(.*)\.tar\.gz debian uupdate
+
+
More information about the Python-apps-commits
mailing list