[Python-modules-commits] r28222 - in pysrs/trunk (20 files)

hefee-guest at users.alioth.debian.org hefee-guest at users.alioth.debian.org
Mon Mar 17 13:39:25 UTC 2014


    Date: Monday, March 17, 2014 @ 13:39:24
  Author: hefee-guest
Revision: 28222

[svn-inject] Applying Debian modifications (1.0-1) to trunk

Added:
  pysrs/trunk/debian/
  pysrs/trunk/debian/changelog
  pysrs/trunk/debian/compat
  pysrs/trunk/debian/control
  pysrs/trunk/debian/copyright
  pysrs/trunk/debian/manpages/
  pysrs/trunk/debian/manpages/envfrom2srs.1
  pysrs/trunk/debian/manpages/envfrom2srs.1.rst
  pysrs/trunk/debian/manpages/owncloud.1.rst
  pysrs/trunk/debian/manpages/srs2envtol.1
  pysrs/trunk/debian/manpages/srs2envtol.1.rst
  pysrs/trunk/debian/patches/
  pysrs/trunk/debian/patches/series
  pysrs/trunk/debian/patches/version_update.patch
  pysrs/trunk/debian/python-srs.manpages
  pysrs/trunk/debian/rules
  pysrs/trunk/debian/source/
  pysrs/trunk/debian/source/format
  pysrs/trunk/debian/source/options
  pysrs/trunk/debian/watch


Property changes on: pysrs/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: pysrs/trunk/debian/changelog
===================================================================
--- pysrs/trunk/debian/changelog	                        (rev 0)
+++ pysrs/trunk/debian/changelog	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1,5 @@
+pysrs (1.0-1) unstable; urgency=medium
+
+  * Initial release. (Closes: 740865)
+
+ -- Sandro Knauß <bugs at sandroknauss.de>  Wed, 05 Mar 2014 19:21:03 +0100

Added: pysrs/trunk/debian/compat
===================================================================
--- pysrs/trunk/debian/compat	                        (rev 0)
+++ pysrs/trunk/debian/compat	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1 @@
+9

Added: pysrs/trunk/debian/control
===================================================================
--- pysrs/trunk/debian/control	                        (rev 0)
+++ pysrs/trunk/debian/control	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1,18 @@
+Source: pysrs
+Maintainer: Sandro Knauß <bugs at sandroknauss.de>
+Section: python
+Priority: optional
+Build-Depends: python, debhelper (>= 9)
+X-Python-Version: >= 2.4
+Homepage: http://bmsi.com/python/pysrs.html
+Standards-Version: 3.9.5
+
+Package: python-srs
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Python SRS (Sender Rewriting Scheme) library
+ As SPF is implemented, MTAs that check SPF must account for any forwarders.
+ One way to handle forwarding is to have the forwarding MTA rewrite envfrom to a
+ domain they are authorized to use.
+ .
+ See http://spf.pobox.com/srs.html for details.

Added: pysrs/trunk/debian/copyright
===================================================================
--- pysrs/trunk/debian/copyright	                        (rev 0)
+++ pysrs/trunk/debian/copyright	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1,151 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pysrs
+Upstream-Contact: Stuart D. Gathman <stuart at bmsi.com>
+Source: http://sourceforge.net/projects/pymilter/files/pysrs
+
+Files: debian/*
+Copyright: 2013 Sandro Knauß <bugs at sandroknauss.de>
+License: PSF-2.4
+
+Files: *
+Copyright: 2004 Shevek
+           2004-2010 Business Management Systems
+License: PSF-2.4
+
+Files: pysrs.m4
+       pysrsprog.m4
+Copyright: 2004 Alain Knaff
+           1988, 1993 The Regents of the University of California
+           2004-2009 Business Management Systems, Inc
+License: sendmail
+
+License: PSF-2.4
+ PSF LICENSE AGREEMENT FOR PYTHON 2.4
+ ------------------------------------
+ .
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
+ otherwise using Python 2.4 software in source or binary form and its
+ associated documentation.
+ .
+ 2. Subject to the terms and conditions of this License Agreement, PSF
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
+ license to reproduce, analyze, test, perform and/or display publicly,
+ prepare derivative works, distribute, and otherwise use Python 2.4
+ alone or in any derivative version, provided, however, that PSF's
+ License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
+ 2001, 2002, 2003, 2004 Python Software Foundation; All Rights Reserved"
+ are retained in Python 2.4 alone or in any derivative version prepared
+ by Licensee.
+ .
+ 3. In the event Licensee prepares a derivative work that is based on
+ or incorporates Python 2.4 or any part thereof, and wants to make
+ the derivative work available to others as provided herein, then
+ Licensee hereby agrees to include in any such work a brief summary of
+ the changes made to Python 2.4.
+ .
+ 4. PSF is making Python 2.4 available to Licensee on an "AS IS"
+ basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+ IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.4 WILL NOT
+ INFRINGE ANY THIRD PARTY RIGHTS.
+ .
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+ 2.4 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.4,
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+ .
+ 6. This License Agreement will automatically terminate upon a material
+ breach of its terms and conditions.
+ .
+ 7. Nothing in this License Agreement shall be deemed to create any
+ relationship of agency, partnership, or joint venture between PSF and
+ Licensee.  This License Agreement does not grant permission to use PSF
+ trademarks or trade name in a trademark sense to endorse or promote
+ products or services of Licensee, or any third party.
+ .
+ 8. By copying, installing or otherwise using Python 2.4, Licensee
+ agrees to be bound by the terms and conditions of this License
+
+License: sendmail
+ SENDMAIL LICENSE
+ .
+ The following license terms and conditions apply, unless a different
+ license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor,
+ Emeryville, CA 94608, USA, or by electronic mail at license at sendmail.com.
+ .
+ License Terms:
+ .
+ Use, Modification and Redistribution (including distribution of any
+ modified or derived work) in source and binary forms is permitted only if
+ each of the following conditions is met:
+ .
+ 1. Redistributions qualify as "freeware" or "Open Source Software" under
+    one of the following terms:
+ .
+    (a) Redistributions are made at no charge beyond the reasonable cost of
+        materials and delivery.
+ .
+    (b) Redistributions are accompanied by a copy of the Source Code or by an
+        irrevocable offer to provide a copy of the Source Code for up to three
+        years at the cost of materials and delivery.  Such redistributions
+        must allow further use, modification, and redistribution of the Source
+        Code under substantially the same terms as this license.  For the
+        purposes of redistribution "Source Code" means the complete compilable
+        and linkable source code of sendmail including all modifications.
+ .
+ 2. Redistributions of source code must retain the copyright notices as they
+    appear in each source code file, these license terms, and the
+    disclaimer/limitation of liability set forth as paragraph 6 below.
+ .
+ 3. Redistributions in binary form must reproduce the Copyright Notice,
+    these license terms, and the disclaimer/limitation of liability set
+    forth as paragraph 6 below, in the documentation and/or other materials
+    provided with the distribution.  For the purposes of binary distribution
+    the "Copyright Notice" refers to the following language:
+    "Copyright (c) 1998-2004 Sendmail, Inc.  All rights reserved."
+ .
+ 4. Neither the name of Sendmail, Inc. nor the University of California nor
+    the names of their contributors may be used to endorse or promote
+    products derived from this software without specific prior written
+    permission.  The name "sendmail" is a trademark of Sendmail, Inc.
+ .
+ 5. All redistributions must comply with the conditions imposed by the
+    University of California on certain embedded code, whose copyright
+    notice and conditions for redistribution are as follows:
+ .
+    (a) Copyright (c) 1988, 1993 The Regents of the University of
+        California.  All rights reserved.
+ .
+    (b) Redistribution and use in source and binary forms, with or without
+        modification, are permitted provided that the following conditions
+        are met:
+ .
+       (i)   Redistributions of source code must retain the above copyright
+             notice, this list of conditions and the following disclaimer.
+ .
+       (ii)  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.
+ .
+       (iii) Neither the name of the University nor the names of its
+             contributors may be used to endorse or promote products derived
+             from this software without specific prior written permission.
+ .
+ 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY
+    SENDMAIL, INC. AND CONTRIBUTORS "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 SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF
+    CALIFORNIA OR CONTRIBUTORS 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 DAMAGES.
+ .
+ $Revision: 1.1 $, Last updated $Date: 2010/03/18 02:19:03 $
+

Added: pysrs/trunk/debian/manpages/envfrom2srs.1
===================================================================
--- pysrs/trunk/debian/manpages/envfrom2srs.1	                        (rev 0)
+++ pysrs/trunk/debian/manpages/envfrom2srs.1	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1,71 @@
+.\" Man page generated from reStructuredText.
+.
+.TH ENVFROM2SRS 1 "" "1.0" ""
+.SH NAME
+envfrom2srs \- rewrites the envelope sender address in view of remailing it
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.SH SYNOPSIS
+.sp
+\fIenvfrom2srs\fP [\fIfwdomain\fP] \fIemail\fP
+.SH DESCRIPTION
+.sp
+Rewrite the \fIemail\fP with an SRS encoded version.
+\fIfwdomain\fP is used as forward domain.
+.sp
+\fBWARNING:\fP
+.INDENT 0.0
+.INDENT 3.5
+Use only if absolutely necessary.  It is \fIvery\fP inefficient and a security risk.
+.UNINDENT
+.UNINDENT
+.SH CONFIG FILE
+.sp
+The programm ueses \fI/etc/mail/pysrs.cfg\fP, if available:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+[srs]
+secret = \(aqshhhh!\(aq
+maxage = 8
+hashlength = 8
+fwdomain =  \(aqmydomain.com\(aq
+separator = \(aq=\(aq
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.SH SEE ALSO
+.sp
+\fBsrs2envtol\fP(1)
+
+Datum: 2013-03-17
+.\" Generated by docutils manpage writer.
+.

Added: pysrs/trunk/debian/manpages/envfrom2srs.1.rst
===================================================================
--- pysrs/trunk/debian/manpages/envfrom2srs.1.rst	                        (rev 0)
+++ pysrs/trunk/debian/manpages/envfrom2srs.1.rst	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1,41 @@
+===========
+envfrom2srs
+===========
+
+------------------------------------------------------------
+rewrites the envelope sender address in view of remailing it
+------------------------------------------------------------
+
+:Datum: 2014-03-17
+:Version: 1.0
+:Manual section: 1
+
+SYNOPSIS
+========
+*envfrom2srs* [`fwdomain`] `email`
+
+
+DESCRIPTION
+===========
+Rewrite the `email` with an SRS encoded version.
+`fwdomain` is used as forward domain.
+
+
+.. warning ::
+        Use only if absolutely necessary.  It is *very* inefficient and a security risk.
+
+Config File
+===========
+The programm ueses `/etc/mail/pysrs.cfg`, if available::
+
+     [srs]
+     secret = 'shhhh!'
+     maxage = 8
+     hashlength = 8
+     fwdomain =  'mydomain.com'
+     separator = '='
+
+SEE ALSO
+========
+``srs2envtol``\(1)
+

Added: pysrs/trunk/debian/manpages/owncloud.1.rst
===================================================================
--- pysrs/trunk/debian/manpages/owncloud.1.rst	                        (rev 0)
+++ pysrs/trunk/debian/manpages/owncloud.1.rst	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1,22 @@
+
+envfrom2srs(1)
+--------------
+
+SYNOPSIS
+========
+*envfrom2srs* [`fwdomain`] `email`
+
+
+DESCRIPTION
+===========
+Rewrite the `email` with an SRS encoded version.
+`fwdomain` is used as forward domain.
+
+
+Use only if absolutely necessary.  It is *very* inefficient and a security risk.
+
+
+SEE ALSO
+========
+:manpage:`srs2envtol(1)`
+

Added: pysrs/trunk/debian/manpages/srs2envtol.1
===================================================================
--- pysrs/trunk/debian/manpages/srs2envtol.1	                        (rev 0)
+++ pysrs/trunk/debian/manpages/srs2envtol.1	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1,69 @@
+.\" Man page generated from reStructuredText.
+.
+.TH SRS2ENVTOL 1 "" "1.0" ""
+.SH NAME
+srs2envtol \- Translate a SRS encoded email address back
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.SH SYNOPSIS
+.sp
+\fIsrs2envtol\fP \fIsrsemail\fP
+.SH DESCRIPTION
+.sp
+Reverses \fIsrsemail\fP back to there normal email address. It does the opposite of \fBenvfrom2srs\fP\&.
+.sp
+\fBWARNING:\fP
+.INDENT 0.0
+.INDENT 3.5
+Use only if absolutely necessary.  It is \fIvery\fP inefficient and a security risk.
+.UNINDENT
+.UNINDENT
+.SH OPTIONS
+.sp
+The programm ueses \fI/etc/mail/pysrs.cfg\fP, if available:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+[srs]
+secret = \(aqshhhh!\(aq
+maxage = 8
+hashlength = 8
+separator = \(aq=\(aq
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.SH SEE ALSO
+.sp
+\fBenvfrom2srs\fP(1)
+
+Datum: 2014-03-17
+.\" Generated by docutils manpage writer.
+.

Added: pysrs/trunk/debian/manpages/srs2envtol.1.rst
===================================================================
--- pysrs/trunk/debian/manpages/srs2envtol.1.rst	                        (rev 0)
+++ pysrs/trunk/debian/manpages/srs2envtol.1.rst	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1,39 @@
+==========
+srs2envtol
+==========
+
+------------------------------------------
+Translate a SRS encoded email address back
+------------------------------------------
+
+:Datum: 2014-03-17
+:Version: 1.0
+:Manual section: 1
+
+SYNOPSIS
+========
+*srs2envtol* `srsemail`
+
+
+DESCRIPTION
+===========
+Reverses `srsemail` back to there normal email address. It does the opposite of ``envfrom2srs``.
+
+
+.. warning ::
+        Use only if absolutely necessary.  It is *very* inefficient and a security risk.
+
+OPTIONS
+=======
+The programm ueses `/etc/mail/pysrs.cfg`, if available::
+
+  [srs]
+  secret = 'shhhh!'
+  maxage = 8
+  hashlength = 8
+  separator = '='
+
+SEE ALSO
+========
+``envfrom2srs``\(1)
+

Added: pysrs/trunk/debian/patches/series
===================================================================
--- pysrs/trunk/debian/patches/series	                        (rev 0)
+++ pysrs/trunk/debian/patches/series	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1 @@
+version_update.patch

Added: pysrs/trunk/debian/patches/version_update.patch
===================================================================
--- pysrs/trunk/debian/patches/version_update.patch	                        (rev 0)
+++ pysrs/trunk/debian/patches/version_update.patch	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1,32 @@
+Description: Fix version of SRS
+ Upstream has forgotten to update all strings with the current version.
+Author: Sandro Knauß <bugs at sandroknauss.de>
+Last-Update: 2014-03-14
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: pysrs-1.0/SRS/__init__.py
+===================================================================
+--- pysrs-1.0.orig/SRS/__init__.py	2007-01-16 22:02:47.000000000 +0100
++++ pysrs-1.0/SRS/__init__.py	2014-03-09 12:07:42.810795100 +0100
+@@ -45,7 +45,7 @@
+ # This program is free software; you can redistribute it and/or modify
+ # it under the same terms as Python itself.
+ 
+-__version__ = '0.30.12'
++__version__ = '1.0'
+ 
+ __all__= [
+   'Base',
+Index: pysrs-1.0/setup.py
+===================================================================
+--- pysrs-1.0.orig/setup.py	2010-03-17 23:05:34.000000000 +0100
++++ pysrs-1.0/setup.py	2014-03-09 12:07:26.130631844 +0100
+@@ -19,7 +19,7 @@
+         #-- Package description
+         name = 'pysrs',
+         license = 'Python license',
+-        version = '0.30.12',
++        version = '1.0',
+         description = 'Python SRS (Sender Rewriting Scheme) library',
+         long_description = """Python SRS (Sender Rewriting Scheme) library.
+ As SPF is implemented, MTAs that check SPF must account for any forwarders.

Added: pysrs/trunk/debian/python-srs.manpages
===================================================================
--- pysrs/trunk/debian/python-srs.manpages	                        (rev 0)
+++ pysrs/trunk/debian/python-srs.manpages	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1 @@
+debian/manpages/*.1

Added: pysrs/trunk/debian/rules
===================================================================
--- pysrs/trunk/debian/rules	                        (rev 0)
+++ pysrs/trunk/debian/rules	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with python2 --buildsystem=python_distutils
+
+override_dh_auto_install:
+	dh_auto_install --buildsystem=python_distutils
+	mv $(CURDIR)/debian/python-srs/usr/bin/envfrom2srs.py debian/python-srs/usr/bin/envfrom2srs
+	mv $(CURDIR)/debian/python-srs/usr/bin/srs2envtol.py debian/python-srs/usr/bin/srs2envtol


Property changes on: pysrs/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: pysrs/trunk/debian/source/format
===================================================================
--- pysrs/trunk/debian/source/format	                        (rev 0)
+++ pysrs/trunk/debian/source/format	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: pysrs/trunk/debian/source/options
===================================================================
--- pysrs/trunk/debian/source/options	                        (rev 0)
+++ pysrs/trunk/debian/source/options	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1 @@
+extend-diff-ignore="\.egg-info"
\ No newline at end of file

Added: pysrs/trunk/debian/watch
===================================================================
--- pysrs/trunk/debian/watch	                        (rev 0)
+++ pysrs/trunk/debian/watch	2014-03-17 13:39:24 UTC (rev 28222)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/pymilter/pysrs-(.*).tar.gz debian uupdate




More information about the Python-modules-commits mailing list