[Python-modules-commits] r6840 - in packages (19 files)

kitterma-guest at users.alioth.debian.org kitterma-guest at users.alioth.debian.org
Fri Nov 7 06:23:41 UTC 2008


    Date: Friday, November 7, 2008 @ 06:23:39
  Author: kitterma-guest
Revision: 6840

Add pydkim to DPMT repository with proposed package.

Added:
  packages/pydkim/
  packages/pydkim/branches/
  packages/pydkim/tags/
  packages/pydkim/trunk/
  packages/pydkim/trunk/debian/
  packages/pydkim/trunk/debian/changelog
  packages/pydkim/trunk/debian/compat
  packages/pydkim/trunk/debian/control
  packages/pydkim/trunk/debian/copyright
  packages/pydkim/trunk/debian/dkimsign.1
  packages/pydkim/trunk/debian/dkimverify.1
  packages/pydkim/trunk/debian/docs
  packages/pydkim/trunk/debian/examples
  packages/pydkim/trunk/debian/manpages
  packages/pydkim/trunk/debian/patches/
  packages/pydkim/trunk/debian/patches/adjust-setup.py.patch
  packages/pydkim/trunk/debian/pycompat
  packages/pydkim/trunk/debian/rules
  packages/pydkim/trunk/debian/watch

Added: packages/pydkim/trunk/debian/changelog
===================================================================
--- packages/pydkim/trunk/debian/changelog	                        (rev 0)
+++ packages/pydkim/trunk/debian/changelog	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1,8 @@
+pydkim (0.3-1) unstable; urgency=low
+
+  * Initial Debian package (Closes: #502264)
+  * Add adjust-setup.py.patch to correct shebang in setup.py and to 
+    not install dkimsend.sh in /usr/bin (at best it's an example and not
+    suitable for actual use - will install with docs)
+
+ -- Scott Kitterman <scott at kitterman.com>  Thu, 06 Nov 2008 23:53:21 -0500

Added: packages/pydkim/trunk/debian/compat
===================================================================
--- packages/pydkim/trunk/debian/compat	                        (rev 0)
+++ packages/pydkim/trunk/debian/compat	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1,2 @@
+5
+

Added: packages/pydkim/trunk/debian/control
===================================================================
--- packages/pydkim/trunk/debian/control	                        (rev 0)
+++ packages/pydkim/trunk/debian/control	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1,22 @@
+Source: pydkim
+Section: python
+Priority: optional
+Maintainer: Scott Kitterman <scott at kitterman.com>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> 
+Build-Depends: debhelper (>= 5), cdbs (>=0.4.48), python (>=2.5), python-central
+XS-Python-Version: 2.5
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pydkim/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pydkim/trunk/
+Standards-Version: 3.8.0.1
+Homepage: http://hewgill.com/pydkim
+DM-Upload-Allowed: yes
+
+Package: python-dkim
+Architecture: all
+Depends: ${python:Depends}, python-dnspython
+XB-Python-Version: 2.5
+Description: Python module for DKIM signing and verification
+ Python module that implements DKIM (DomainKeys Identified Mail) email signing
+ and verification.  It also provides helper scripts for command line signing
+ and verification.
+

Added: packages/pydkim/trunk/debian/copyright
===================================================================
--- packages/pydkim/trunk/debian/copyright	                        (rev 0)
+++ packages/pydkim/trunk/debian/copyright	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1,29 @@
+This package was debianized by Scott Kitterman <scott at kitterman.com> on
+Thu, 06 Nov 2008 23:12:29 -0500.
+
+It was downloaded from http://hewgill.com/pydkim
+
+Copyright Holder: Copyright (c) 2008 Greg Hewgill http://hewgill.com
+
+License:
+
+# This software is provided 'as-is', without any express or implied
+# warranty.  In no event will the author be held liable for any damages
+# arising from the use of this software.
+#
+# Permission is granted to anyone to use this software for any purpose,
+# including commercial applications, and to alter it and redistribute it
+# freely, subject to the following restrictions:
+#
+# 1. The origin of this software must not be misrepresented; you must not
+#    claim that you wrote the original software. If you use this software
+#    in a product, an acknowledgment in the product documentation would be
+#    appreciated but is not required.
+# 2. Altered source versions must be plainly marked as such, and must not be
+#    misrepresented as being the original software.
+# 3. This notice may not be removed or altered from any source distribution.
+#
+# Copyright (c) 2008 Greg Hewgill http://hewgill.com
+
+The Debian packaging is (C) 2008, Scott Kitterman <scott at kitterman.com> and
+is licensed under the same terms as pydkim, see above.

Added: packages/pydkim/trunk/debian/dkimsign.1
===================================================================
--- packages/pydkim/trunk/debian/dkimsign.1	                        (rev 0)
+++ packages/pydkim/trunk/debian/dkimsign.1	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1,157 @@
+\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sh \" Subsection heading
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings.  \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
+.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
+.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
+.\" nothing in troff, for use with C<>.
+.tr \(*W-
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+.    ds -- \(*W-
+.    ds PI pi
+.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
+.    ds L" ""
+.    ds R" ""
+.    ds C` ""
+.    ds C' ""
+'br\}
+.el\{\
+.    ds -- \|\(em\|
+.    ds PI \(*p
+.    ds L" ``
+.    ds R" ''
+'br\}
+.\"
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
+.\" entries marked with X<> in POD.  Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.if \nF \{\
+.    de IX
+.    tm Index:\\$1\t\\n%\t"\\$2"
+..
+.    nr % 0
+.    rr F
+.\}
+.\"
+.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.hy 0
+.if n .na
+.\"
+.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
+.    \" fudge factors for nroff and troff
+.if n \{\
+.    ds #H 0
+.    ds #V .8m
+.    ds #F .3m
+.    ds #[ \f1
+.    ds #] \fP
+.\}
+.if t \{\
+.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+.    ds #V .6m
+.    ds #F 0
+.    ds #[ \&
+.    ds #] \&
+.\}
+.    \" simple accents for nroff and troff
+.if n \{\
+.    ds ' \&
+.    ds ` \&
+.    ds ^ \&
+.    ds , \&
+.    ds ~ ~
+.    ds /
+.\}
+.if t \{\
+.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+.\}
+.    \" troff and (daisy-wheel) nroff accents
+.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+.ds ae a\h'-(\w'a'u*4/10)'e
+.ds Ae A\h'-(\w'A'u*4/10)'E
+.    \" corrections for vroff
+.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+.    \" for low resolution devices (crt and lpr)
+.if \n(.H>23 .if \n(.V>19 \
+\{\
+.    ds : e
+.    ds 8 ss
+.    ds o a
+.    ds d- d\h'-1'\(ga
+.    ds D- D\h'-1'\(hy
+.    ds th \o'bp'
+.    ds Th \o'LP'
+.    ds ae ae
+.    ds Ae AE
+.\}
+.rm #[ #] #H #V #F C
+.\" ========================================================================
+.\"
+.IX Title "dkimsign 1"
+.TH dkimsign 1 "2008-11-07"
+.SH "NAME"
+dkimsign \- Script for DKIM signing messages on stdin
+.SH "VERSION"
+.IX Header "VERSION"
+0\.3
+
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+
+dkimsign is a filter that reads an RFC822 message on standard input, and writes
+the same message on standard output with a DKIM-Signature line prepended.  
+
+.SH "USAGE"
+.IX Header "USAGE"
+
+The signing options are specified on the command line:
+
+dkimsign selector domain privatekeyfile [identity]
+
+The identity is optional and defaults to "@domain".
+
+.SH "AUTHORS"
+.IX Header "AUTHORS"
+This version of \fBdkimsign\fR was written by Greg Hewgill <greg at hewgill.com>.
+.PP
+This man-page was created by Scott Kitterman <scott at kitterman.com>.

Added: packages/pydkim/trunk/debian/dkimverify.1
===================================================================
--- packages/pydkim/trunk/debian/dkimverify.1	                        (rev 0)
+++ packages/pydkim/trunk/debian/dkimverify.1	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1,149 @@
+\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sh \" Subsection heading
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings.  \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
+.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
+.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
+.\" nothing in troff, for use with C<>.
+.tr \(*W-
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+.    ds -- \(*W-
+.    ds PI pi
+.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
+.    ds L" ""
+.    ds R" ""
+.    ds C` ""
+.    ds C' ""
+'br\}
+.el\{\
+.    ds -- \|\(em\|
+.    ds PI \(*p
+.    ds L" ``
+.    ds R" ''
+'br\}
+.\"
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
+.\" entries marked with X<> in POD.  Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.if \nF \{\
+.    de IX
+.    tm Index:\\$1\t\\n%\t"\\$2"
+..
+.    nr % 0
+.    rr F
+.\}
+.\"
+.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.hy 0
+.if n .na
+.\"
+.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
+.    \" fudge factors for nroff and troff
+.if n \{\
+.    ds #H 0
+.    ds #V .8m
+.    ds #F .3m
+.    ds #[ \f1
+.    ds #] \fP
+.\}
+.if t \{\
+.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+.    ds #V .6m
+.    ds #F 0
+.    ds #[ \&
+.    ds #] \&
+.\}
+.    \" simple accents for nroff and troff
+.if n \{\
+.    ds ' \&
+.    ds ` \&
+.    ds ^ \&
+.    ds , \&
+.    ds ~ ~
+.    ds /
+.\}
+.if t \{\
+.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+.\}
+.    \" troff and (daisy-wheel) nroff accents
+.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+.ds ae a\h'-(\w'a'u*4/10)'e
+.ds Ae A\h'-(\w'A'u*4/10)'E
+.    \" corrections for vroff
+.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+.    \" for low resolution devices (crt and lpr)
+.if \n(.H>23 .if \n(.V>19 \
+\{\
+.    ds : e
+.    ds 8 ss
+.    ds o a
+.    ds d- d\h'-1'\(ga
+.    ds D- D\h'-1'\(hy
+.    ds th \o'bp'
+.    ds Th \o'LP'
+.    ds ae ae
+.    ds Ae AE
+.\}
+.rm #[ #] #H #V #F C
+.\" ========================================================================
+.\"
+.IX Title "dkimverify 1"
+.TH dkimverify 1 "2008-11-07"
+.SH "NAME"
+dkimverify \- Script for DKIM verifying messages on stdin
+.SH "VERSION"
+.IX Header "VERSION"
+0\.3
+
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+
+dkimverify reads an RFC822 message on standard input, and returns with exit
+code 0 if the signature verifies successfully. Otherwise, it returns with exit
+code 1.
+
+.SH "AUTHORS"
+.IX Header "AUTHORS"
+This version of \fBdkimsign\fR was written by Greg Hewgill <greg at hewgill.com>.
+.PP
+This man-page was created by Scott Kitterman <scott at kitterman.com>.

Added: packages/pydkim/trunk/debian/docs
===================================================================
--- packages/pydkim/trunk/debian/docs	                        (rev 0)
+++ packages/pydkim/trunk/debian/docs	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1,2 @@
+README
+dkimsend.sh

Added: packages/pydkim/trunk/debian/examples
===================================================================
--- packages/pydkim/trunk/debian/examples	                        (rev 0)
+++ packages/pydkim/trunk/debian/examples	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1,2 @@
+examples/*
+

Added: packages/pydkim/trunk/debian/manpages
===================================================================
--- packages/pydkim/trunk/debian/manpages	                        (rev 0)
+++ packages/pydkim/trunk/debian/manpages	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1,3 @@
+debian/dkimsign.1
+debian/dkimverify.1
+

Added: packages/pydkim/trunk/debian/patches/adjust-setup.py.patch
===================================================================
--- packages/pydkim/trunk/debian/patches/adjust-setup.py.patch	                        (rev 0)
+++ packages/pydkim/trunk/debian/patches/adjust-setup.py.patch	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1,16 @@
+diff -Nur -x '*.orig' -x '*~' pydkim-0.3/setup.py pydkim-0.3.new/setup.py
+--- pydkim-0.3/setup.py	2008-06-25 06:42:31.000000000 -0400
++++ pydkim-0.3.new/setup.py	2008-11-07 00:24:33.000000000 -0500
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python
+ 
+ # This software is provided 'as-is', without any express or implied
+ # warranty.  In no event will the author be held liable for any damages
+@@ -34,5 +34,5 @@
+     url = "http://hewgill.com/pydkim/",
+     license = "BSD-like",
+     py_modules = ["dkim"],
+-    scripts = ["dkimsign.py", "dkimverify.py", "dkimsend.sh"],
++    scripts = ["dkimsign.py", "dkimverify.py"],
+ )

Added: packages/pydkim/trunk/debian/pycompat
===================================================================
--- packages/pydkim/trunk/debian/pycompat	                        (rev 0)
+++ packages/pydkim/trunk/debian/pycompat	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1 @@
+2

Added: packages/pydkim/trunk/debian/rules
===================================================================
--- packages/pydkim/trunk/debian/rules	                        (rev 0)
+++ packages/pydkim/trunk/debian/rules	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pycentral
+DEB_COMPRESS_EXCLUDE := .py
+
+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
+
+install/python-dkim::
+	mv debian/python-dkim/usr/bin/dkimsign.py  debian/python-dkim/usr/bin/dkimsign
+	mv debian/python-dkim/usr/bin/dkimverify.py  debian/python-dkim/usr/bin/dkimverify
+


Property changes on: packages/pydkim/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/pydkim/trunk/debian/watch
===================================================================
--- packages/pydkim/trunk/debian/watch	                        (rev 0)
+++ packages/pydkim/trunk/debian/watch	2008-11-07 06:23:39 UTC (rev 6840)
@@ -0,0 +1,3 @@
+version=3
+http://hewgill.com/pydkim/pydkim-(.*)\.tar\.gz debian uupdate
+




More information about the Python-modules-commits mailing list