[Python-apps-commits] r1988 - in packages/svnmailer/trunk (18 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Nov 23 23:31:47 UTC 2008


    Date: Sunday, November 23, 2008 @ 23:31:46
  Author: morph
Revision: 1988

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/svnmailer/trunk/debian/
  packages/svnmailer/trunk/debian/README.Debian
  packages/svnmailer/trunk/debian/changelog
  packages/svnmailer/trunk/debian/compat
  packages/svnmailer/trunk/debian/control
  packages/svnmailer/trunk/debian/copyright
  packages/svnmailer/trunk/debian/dirs
  packages/svnmailer/trunk/debian/docs
  packages/svnmailer/trunk/debian/examples
  packages/svnmailer/trunk/debian/manpages
  packages/svnmailer/trunk/debian/patches/
  packages/svnmailer/trunk/debian/patches/00list
  packages/svnmailer/trunk/debian/patches/01_restore_pristine_code.dpatch
  packages/svnmailer/trunk/debian/pycompat
  packages/svnmailer/trunk/debian/pyversions
  packages/svnmailer/trunk/debian/rules
  packages/svnmailer/trunk/debian/svn-mailer.1
  packages/svnmailer/trunk/debian/svnmailer.conf


Property changes on: packages/svnmailer/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/svnmailer/trunk/debian/README.Debian
===================================================================
--- packages/svnmailer/trunk/debian/README.Debian	                        (rev 0)
+++ packages/svnmailer/trunk/debian/README.Debian	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1,21 @@
+svnmailer for Debian
+--------------------
+
+To use svnmailer, create a configuration file (an example is provided in
+/usr/share/doc/svnmailer/examples/) and add to your hooks/post-commit:
+
+REPOS="$1"
+REV="$2"
+/usr/bin/svn-mailer --commit --config <path>/svnmailer.conf --repository $REPOS --revision $REV
+
+Please make sure that your post-commit hook script is executable (chmod +x).
+
+For more complete information, read the full documentation.
+
+If you're mail are double encoded (python >= 2.4.3), you can set:
+
+  mail_transfer_encoding = 8bit
+
+to fix the problem.
+
+ -- Julien Danjou <acid at debian.org>, Fri, 27 May 2005 20:58:11 +0200

Added: packages/svnmailer/trunk/debian/changelog
===================================================================
--- packages/svnmailer/trunk/debian/changelog	                        (rev 0)
+++ packages/svnmailer/trunk/debian/changelog	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1,160 @@
+svnmailer (1.0.8-10) UNRELEASED; urgency=low
+
+  * debian/control
+    - added dpatch to build-deps
+  * debian/rules
+    - added dpatch stuff
+  * debian/patches/01_restore_pristine_code.dpatch
+    - added to remove direct upstream code modifications
+
+ -- Sandro Tosi <morph at debian.org>  Sun, 23 Nov 2008 23:44:17 +0100
+
+svnmailer (1.0.8-9) unstable; urgency=medium
+
+  * Use standard python lookup error (Closes: #482919)
+  * Bump standard version
+  * Switch to dh 5
+  * Fix configuration paths in manpage (Closes: #471075)
+  * Fix documentatin path in manpage (Closes: #422252)
+
+ -- Julien Danjou <acid at debian.org>  Mon, 02 Jun 2008 10:36:45 +0200
+
+svnmailer (1.0.8-8) unstable; urgency=low
+
+  * Add a note in README.Debian that hook script should be +x
+    and how to fix the double encoded problem.
+
+ -- Julien Danjou <acid at debian.org>  Wed, 10 Oct 2007 10:13:17 +0200
+
+svnmailer (1.0.8-7) unstable; urgency=low
+
+  * Improve description (Closes: #404369)
+
+ -- Julien Danjou <acid at debian.org>  Sun, 24 Dec 2006 10:25:36 +0100
+
+svnmailer (1.0.8-6) unstable; urgency=low
+
+  * Fix the new Python bordel (Closes: #382006)
+
+ -- Julien Danjou <acid at debian.org>  Tue,  8 Aug 2006 12:13:46 +0200
+
+svnmailer (1.0.8-5) unstable; urgency=low
+
+  * Switch to new Python policy (Closes: #380967)
+  * Bump standards version
+
+ -- Julien Danjou <acid at debian.org>  Tue,  1 Aug 2006 14:13:36 +0200
+
+svnmailer (1.0.8-4) unstable; urgency=low
+
+  * Fix FTBFS caused by #363368
+  * Fix clean target in debian/rules, remove build/
+  * Build-dep on debhelper instead of build-dep-indep
+
+ -- Julien Danjou <acid at debian.org>  Sat, 22 Apr 2006 16:06:52 +0200
+
+svnmailer (1.0.8-3) unstable; urgency=low
+
+  * Use manpage from upstream instead
+
+ -- Julien Danjou <acid at debian.org>  Fri, 21 Apr 2006 18:30:42 +0200
+
+svnmailer (1.0.8-2) unstable; urgency=low
+
+  * Add a manpage (Closes: #317377)
+
+ -- Julien Danjou <acid at debian.org>  Fri, 21 Apr 2006 10:01:30 +0200
+
+svnmailer (1.0.8-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Julien Danjou <acid at debian.org>  Mon, 17 Apr 2006 13:36:07 +0200
+
+svnmailer (1.0.7-1) unstable; urgency=low
+
+  * New upstream release 
+
+ -- Julien Danjou <acid at debian.org>  Sun, 26 Mar 2006 00:26:04 +0100
+
+svnmailer (1.0.6-1) unstable; urgency=low
+
+  * New upstream release 
+
+ -- Julien Danjou <acid at debian.org>  Mon,  6 Feb 2006 16:15:24 +0100
+
+svnmailer (1.0.5-3) unstable; urgency=low
+
+  * Fix this FTBFS again (Closes: #325678)
+
+ -- Julien Danjou <acid at debian.org>  Sun, 11 Dec 2005 18:54:17 +0100
+
+svnmailer (1.0.5-2) unstable; urgency=low
+
+  * Fix FTBFS (Closes: #325678)
+
+ -- Julien Danjou <acid at debian.org>  Thu, 13 Oct 2005 22:47:40 +0200
+
+svnmailer (1.0.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Julien Danjou <acid at debian.org>  Sun, 28 Aug 2005 22:29:09 +0200
+
+svnmailer (1.0.4-1) unstable; urgency=low
+
+  * New upstream release
+    + Adds the possibility to specify content type of diffs (Closes: #325288)
+  * Really add example (Closes: #325297) 
+
+ -- Julien Danjou <acid at debian.org>  Sun, 28 Aug 2005 19:25:51 +0200
+
+svnmailer (1.0.3-2) unstable; urgency=low
+
+  * Update control file 
+
+ -- Julien Danjou <acid at debian.org>  Tue,  2 Aug 2005 19:45:29 +0200
+
+svnmailer (1.0.3-1) unstable; urgency=low
+
+  * New upstream release 
+
+ -- Julien Danjou <acid at debian.org>  Tue,  2 Aug 2005 19:25:21 +0200
+
+svnmailer (1.0.2-2) unstable; urgency=low
+
+  * Add dependency on python2.3-subversion (Closes: #316989)
+
+ -- Julien Danjou <acid at debian.org>  Tue,  5 Jul 2005 17:27:00 +0200
+
+svnmailer (1.0.2-1) unstable; urgency=low
+
+  * New upstream release 
+
+ -- Julien Danjou <acid at debian.org>  Mon, 20 Jun 2005 20:13:54 +0200
+
+svnmailer (1.0.0-2) unstable; urgency=low
+
+  * Add an example configuration file and some notes in README.Debian
+    (Closes: #311009) 
+
+ -- Julien Danjou <acid at debian.org>  Fri, 27 May 2005 21:02:51 +0200
+
+svnmailer (1.0.0-1) unstable; urgency=low
+
+  * New upstream release 
+
+ -- Julien Danjou <acid at debian.org>  Sun, 22 May 2005 21:43:49 +0200
+
+svnmailer (0.9.9-2) unstable; urgency=low
+
+  * Add python-dev to Build-Deps (Closes: #306828)
+
+ -- Julien Danjou <acid at debian.org>  Thu, 28 Apr 2005 20:57:54 +0200
+
+svnmailer (0.9.9-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #306178)
+
+ -- Julien Danjou <acid at debian.org>  Mon, 25 Apr 2005 14:42:27 +0200
+

Added: packages/svnmailer/trunk/debian/compat
===================================================================
--- packages/svnmailer/trunk/debian/compat	                        (rev 0)
+++ packages/svnmailer/trunk/debian/compat	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1 @@
+5

Added: packages/svnmailer/trunk/debian/control
===================================================================
--- packages/svnmailer/trunk/debian/control	                        (rev 0)
+++ packages/svnmailer/trunk/debian/control	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1,19 @@
+Source: svnmailer
+Section: utils
+Priority: optional
+Maintainer: Julien Danjou <acid at debian.org>
+Build-Depends: debhelper (>= 5.0.0), dpatch
+Build-Depends-Indep: python-dev (>= 2.3), python-support (>= 0.3)
+Standards-Version: 3.7.3
+
+Package: svnmailer
+Architecture: all
+Depends: ${python:Depends}, python-subversion
+Description: an extensible subversion commit notification tool
+ The svnmailer is a tool, which is usually called by a subversion hook 
+ to submit commit notifications in various ways (at the moment: mail via 
+ SMTP or a pipe to a sendmail like program, news via NNTP, CIA live 
+ tracker notification via XML-RPC). It is derived from the original 
+ mailer.py distributed with subversion, but supposed to be much more 
+ consistent, better extensible and to have much more features. Have a 
+ look at the documentation for further details. 

Added: packages/svnmailer/trunk/debian/copyright
===================================================================
--- packages/svnmailer/trunk/debian/copyright	                        (rev 0)
+++ packages/svnmailer/trunk/debian/copyright	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1,211 @@
+This package was debianized by Julien Danjou <acid at debian.org> on
+Mon, 25 Apr 2005 14:42:27 +0200.
+
+It was downloaded from http://opensource.perlig.de/svnmailer/
+
+Copyright: 2004-2006 André "nd" Malo <nd at perlig.de>
+
+License:
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+

Added: packages/svnmailer/trunk/debian/dirs
===================================================================
--- packages/svnmailer/trunk/debian/dirs	                        (rev 0)
+++ packages/svnmailer/trunk/debian/dirs	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1,2 @@
+usr/bin
+

Added: packages/svnmailer/trunk/debian/docs
===================================================================
--- packages/svnmailer/trunk/debian/docs	                        (rev 0)
+++ packages/svnmailer/trunk/debian/docs	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1,2 @@
+README
+docs

Added: packages/svnmailer/trunk/debian/examples
===================================================================
--- packages/svnmailer/trunk/debian/examples	                        (rev 0)
+++ packages/svnmailer/trunk/debian/examples	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1 @@
+debian/svnmailer.conf

Added: packages/svnmailer/trunk/debian/manpages
===================================================================
--- packages/svnmailer/trunk/debian/manpages	                        (rev 0)
+++ packages/svnmailer/trunk/debian/manpages	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1 @@
+debian/svn-mailer.1

Added: packages/svnmailer/trunk/debian/patches/00list
===================================================================
--- packages/svnmailer/trunk/debian/patches/00list	                        (rev 0)
+++ packages/svnmailer/trunk/debian/patches/00list	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1 @@
+01_restore_pristine_code

Added: packages/svnmailer/trunk/debian/patches/01_restore_pristine_code.dpatch
===================================================================
--- packages/svnmailer/trunk/debian/patches/01_restore_pristine_code.dpatch	                        (rev 0)
+++ packages/svnmailer/trunk/debian/patches/01_restore_pristine_code.dpatch	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1,53 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_restore_pristine_code.dpatch by Sandro Tosi <morph at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from svnmailer 1.0.8-10 diff.gz
+
+ at DPATCH@
+
+--- svnmailer-1.0.8.orig/src/lib/svnmailer/notifier/_base.py
++++ svnmailer-1.0.8/src/lib/svnmailer/notifier/_base.py
+@@ -345,7 +345,6 @@
+             @return: The two encodings
+             @rtype: C{tuple} of C{str}
+         """
+-        from encodings import exceptions
+ 
+         enc1 = enc2 = default
+         if not change.wasAdded() or change.wasCopied():
+@@ -353,7 +352,7 @@
+                 enc1 = self._getContentEncoding(
+                     change.getBasePath(), change.getBaseRevision()
+                 )
+-            except exceptions.LookupError:
++            except LookupError:
+                 # fall back
+                 pass
+ 
+@@ -364,7 +363,7 @@
+                 enc2 = self._getContentEncoding(
+                     change.path, change.revision
+                 )
+-            except exceptions.LookupError:
++            except LookupError:
+                 # fall back
+                 pass
+ 
+@@ -389,7 +388,6 @@
+             @exception encodings.exception.LookupError: The specified encoding
+                 is not implemented or no encoding was specified
+         """
+-        from encodings import exceptions
+ 
+         # first try the svn:mime-type
+         enc = self.getEncodingFromMimeType(path, revision)
+@@ -427,7 +425,7 @@
+             codecs.lookup(enc)
+             return enc
+ 
+-        raise exceptions.LookupError("No Encoding configured")
++        raise LookupError("No Encoding configured")
+ 
+ 
+     def getEncodingFromMimeType(self, path, revision):


Property changes on: packages/svnmailer/trunk/debian/patches/01_restore_pristine_code.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/svnmailer/trunk/debian/pycompat
===================================================================
--- packages/svnmailer/trunk/debian/pycompat	                        (rev 0)
+++ packages/svnmailer/trunk/debian/pycompat	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1 @@
+2

Added: packages/svnmailer/trunk/debian/pyversions
===================================================================
--- packages/svnmailer/trunk/debian/pyversions	                        (rev 0)
+++ packages/svnmailer/trunk/debian/pyversions	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1 @@
+2.1-

Added: packages/svnmailer/trunk/debian/rules
===================================================================
--- packages/svnmailer/trunk/debian/rules	                        (rev 0)
+++ packages/svnmailer/trunk/debian/rules	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1,83 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp patch-stamp
+	dh_testdir
+
+	# Add here commands to compile the package.
+	python setup.py build
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -rf build
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/svnmailer.
+	python setup.py install --root=$(CURDIR)/debian/svnmailer
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_installman
+	dh_installdocs
+	dh_installexamples
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_pysupport
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


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

Added: packages/svnmailer/trunk/debian/svn-mailer.1
===================================================================
--- packages/svnmailer/trunk/debian/svn-mailer.1	                        (rev 0)
+++ packages/svnmailer/trunk/debian/svn-mailer.1	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1,134 @@
+.\"  Copyright 2005-2006 André Malo or his licensors, as applicable
+.\"
+.\"  Licensed under the Apache License, Version 2.0 (the "License");
+.\"  you may not use this file except in compliance with the License.
+.\"  You may obtain a copy of the License at
+.\" 
+.\"      http://www.apache.org/licenses/LICENSE-2.0
+.\"
+.\"  Unless required by applicable law or agreed to in writing, software
+.\"  distributed under the License is distributed on an "AS IS" BASIS,
+.\"  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+.\"  See the License for the specific language governing permissions and
+.\"  limitations under the License.
+.\"
+.TH SVN-MAILER "1" "2006" "svn-mailer 1.0.8" "User Commands"
+.SH NAME
+svn-mailer \- A feature rich subversion commit notification tool
+.SH SYNOPSIS
+.B svn-mailer
+\fB\-\-commit\fR \fB\-d\fR \fIrepos\fR \fB\-r\fR \fIrev\fR [\fB\-f\fR \fIconfig\fR]
+
+.B svn-mailer
+\fB\-\-propchange\fR \fB\-d\fR \fIrepos\fR \fB\-r\fR \fIrev\fR \fB\-a\fR \fIauthor\fR \fB\-n\fR \fIpropname\fR
+    [\fB\-o\fR \fIaction\fR] [\fB\-f\fR \fIconfig\fR]
+
+.B svn-mailer
+\fB\-\-lock\fR \fB\-d\fR \fIrepos\fR \fB\-a\fR \fIauthor\fR [\fB\-f\fR \fIconfig\fR]
+
+.B svn-mailer
+\fB\-\-unlock\fR \fB\-d\fR \fIrepos\fR \fB\-a\fR \fIauthor\fR [\fB\-f\fR \fIconfig\fR]
+.SH DESCRIPTION
+The svnmailer package is a tool to post notifications of subversion events to
+various targets in different ways.  Currently implemented: Mail via SMTP or
+a sendmail pipe, news via NNTP, XML via XMLRPC to a CIA tracker (see
+http://cia.navi.cx/ for details).
+
+The \fBsvn\-mailer\fR command line script is typically invoked via
+subversion's hook mechanism, but you can run it manually as well.  This is
+useful to resend missing messages or for debugging purposes.  Remember
+to start it under the correct user/group id.  Otherwise it may have problems
+to open the repository or the config file.
+
+The svnmailer can be used in most cases as a drop-in replacement for
+\fImailer.py\fR distributed with subversion.  There are some subtle differences
+which are dedicated to more behavior consistency.  (Hopefully) all of them are
+stated in the HTML documentation.
+.SS GENERAL OPTIONS
+.TP
+\fB\-\-version\fR
+show program's version number and exit
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show a help message and exit
+.SS COMMON PARAMETERS
+.TP
+\fB\-\-debug\fR
+Run in debug mode (means basically that all messages are
+sent to STDOUT)
+.TP
+\fB\-dREPOSITORY\fR, \fB\-\-repository\fR=\fIREPOSITORY\fR
+The repository directory
+.TP
+\fB\-fCONFIG\fR, \fB\-\-config\fR=\fICONFIG\fR
+The configuration file
+.TP
+\fB\-ePATH_ENCODING\fR, \fB\-\-path\-encoding\fR=\fIPATH_ENCODING\fR
+Specifies the character encoding to be used for
+filenames. By default the encoding is tried to be
+determined automatically depending on the locale.
+.SS BEHAVIOR OPTIONS
+.PP
+The behavior options are mutually exclusive, i.e. the last one wins.
+.TP
+\fB\-c\fR, \fB\-\-commit\fR
+This is a regular commit of versioned data (post-commit hook). This is default.
+.TP
+\fB\-p\fR, \fB\-\-propchange\fR
+This is a modification of unversioned properties (post-revprop-change hook)
+.TP
+\fB\-l\fR, \fB\-\-lock\fR
+(svn 1.2 and later) This is a locking call (post-lock hook). The locked file
+names are read from STDIN.
+.TP
+\fB\-u\fR, \fB\-\-unlock\fR
+(svn 1.2 and later) This is a unlocking call (post-unlock hook). The unlocked
+file names are read from STDIN.
+.SS SUPPLEMENTAL PARAMETERS
+.TP
+\fB\-rREVISION\fR, \fB\-\-revision\fR=\fIREVISION\fR
+The modified/committed revision number
+.TP
+\fB\-aAUTHOR\fR, \fB\-\-author\fR=\fIAUTHOR\fR
+The author of the modification
+.TP
+\fB\-nPROPNAME\fR, \fB\-\-propname\fR=\fIPROPNAME\fR
+The name of the modified property
+.TP
+\fB\-oACTION\fR, \fB\-\-action\fR=\fIACTION\fR
+(svn 1.2 and later) The property change action. If specified, the old
+property value is read from STDIN.
+.SH "CONFIGURATION FILES"
+If the configuration file is not specified on the command line it is searched
+at default locations. The first one found is loaded. The locations are, in
+order: \fImailer.conf\fR in the \fIconf/\fR directory of the given
+repository, \fImailer.conf\fR in the script directory itself,
+\fI/etc/svn-mailer.conf\fR.
+.SH OLD STYLE COMMAND LINE
+Alternatively you can use the old style compatibility command lines (options
+described above don't apply then):
+
+\fBsvn\-mailer\fR \fBcommit\fR \fIrepos\fR \fIrev\fR [\fIconfig\fR]
+
+\fBsvn\-mailer\fR \fBpropchange\fR \fIrepos\fR \fIrev\fR \fIauthor\fR \fIpropname\fR [\fIconfig\fR]
+
+With svn 1.2 and later:
+.br
+\fBsvn\-mailer\fR \fBpropchange2\fR \fIrepos\fR \fIrev\fR \fIauthor\fR
+\fIpropname\fR \fIaction\fR [\fIconfig\fR]
+
+\fBsvn\-mailer\fR \fBlock\fR \fIrepos\fR \fIauthor\fR [\fIconfig\fR]
+
+\fBsvn\-mailer\fR \fBunlock\fR \fIrepos\fR \fIauthor\fR [\fIconfig\fR]
+.SH "REPORTING BUGS"
+If you've found a bug or have an idea how to improve the svnmailer,
+please send a mail to <\fIsvnmailer\-bugs at perlig.de\fR>.
+.SH "AUTHOR INFORMATION"
+Andr\('e "nd" Malo <nd at perlig.de>, GPG: 0x8103A37E
+.SH "SEE ALSO"
+The full documentation of the svnmailer package is maintained in HTML form.
+You may find it in the \fI/usr/share/doc/svnmailer/\fR directory at your
+site or online at <\fIhttp://opensource.perlig.de/svnmailer/\fR>.
+
+For detailed information about subversion, consult the subversion book at
+<\fIhttp://svnbook.red-bean.com/\fR>.

Added: packages/svnmailer/trunk/debian/svnmailer.conf
===================================================================
--- packages/svnmailer/trunk/debian/svnmailer.conf	                        (rev 0)
+++ packages/svnmailer/trunk/debian/svnmailer.conf	2008-11-23 23:31:46 UTC (rev 1988)
@@ -0,0 +1,25 @@
+[general]
+config_charset = iso-8859-1
+sendmail_command = /usr/sbin/sendmail
+# debug_all_mails_to = acid at naquadah.org
+
+[defaults]
+commit_subject_prefix = [svn] commit:
+propchange_subject_prefix = [svn] revpropchange:
+from_addr = subversion at naquadah.org
+generate_diffs = modify
+
+[iup]
+for_repos = .*iup$
+to_addr = acid at naquadah.org diodo at oute.org
+
+[vhffs]
+for_repos = .*vhffs$
+to_addr = vhffs-dev at vhffs.org
+from_addr = vhffs-dev at vhffs.org 
+
+[home-acid]
+for_repos = /home/staff/acid/svn/home$
+to_addr = acid+svn at naquadah.org
+from_addr = acid+svn at naquadah.org
+generate_diffs = none




More information about the Python-apps-commits mailing list