--- m2crypto-0.17.orig/debian/changelog +++ m2crypto-0.17/debian/changelog @@ -0,0 +1,29 @@ +m2crypto (0.17-1) unstable; urgency=low + + * New upstream release + * Acknowledge NMU (Closes: #380861) + * Changed section to python (Closes: #425875) + + -- Dima Barsky Thu, 24 May 2007 21:14:36 +0100 + +m2crypto (0.16-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Update package to the last python policy (Closes: #380861), + this includes renaming from m2crypto to python-m2crypto. + * Bumped compat to 5. + + -- Ana Beatriz Guerrero Lopez Sat, 12 Aug 2006 16:07:49 +0200 + +m2crypto (0.16-1) unstable; urgency=low + + * New upstream release + + -- Dima Barsky Sat, 22 Jul 2006 11:11:40 +0100 + +m2crypto (0.13-1) unstable; urgency=low + + * Initial Release. + + -- Dima Barsky Tue, 30 Mar 2004 21:54:28 +0100 + --- m2crypto-0.17.orig/debian/control +++ m2crypto-0.17/debian/control @@ -0,0 +1,23 @@ +Source: m2crypto +Section: python +Priority: optional +Maintainer: Dima Barsky +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-support (>= 0.4), libssl-dev (>= 0.9.7), swig (>= 1.3.24) +Standards-Version: 3.7.2 + +Package: python-m2crypto +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends} +Provides: ${python:Provides}, m2crypto +Conflicts: m2crypto (<< 0.16-1.1) +Replaces: m2crypto (<< 0.16-1.1) +Description: a crypto and SSL toolkit for Python + m2crypto features the following: + * RSA, DSA, DH, HMACs, message digests, symmetric ciphers (including AES). + * SSL functionality to implement clients and servers. + * HTTPS extensions to Python's httplib, urllib, and xmlrpclib. + * Unforgeable HMAC'ing AuthCookies for web session management. + * FTP/TLS client and server. + * S/MIME. + * ZServerSSL: A HTTPS server for Zope. + * ZSmime: An S/MIME messenger for Zope. --- m2crypto-0.17.orig/debian/rules +++ m2crypto-0.17/debian/rules @@ -0,0 +1,79 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +versions := $(shell pyversions -vs) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +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 + dh_testdir + for version in $(versions); \ + do python$$version setup.py build; \ + done + + touch build-stamp + +clean: + dh_testdir + for version in $(versions); \ + do python$$version setup.py clean -a; \ + done + rm -f build-stamp configure-stamp SWIG/_m2crypto.py SWIG/_m2crypto.c SWIG/_m2crypto_wrap.c + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + for version in $(versions); \ + do python$$version setup.py install --root=debian/python-m2crypto --no-compile; \ + done + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES + dh_installdocs doc/[A-HK-Za-z]* # Everything but INSTALL.html + dh_strip + dh_compress + dh_fixperms + dh_pysupport + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- m2crypto-0.17.orig/debian/watch +++ m2crypto-0.17/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +http://wiki.osafoundation.org/pub/Projects/MeTooCrypto/m2crypto-0.16.tar.gz debian uupdate --- m2crypto-0.17.orig/debian/docs +++ m2crypto-0.17/debian/docs @@ -0,0 +1 @@ +README --- m2crypto-0.17.orig/debian/compat +++ m2crypto-0.17/debian/compat @@ -0,0 +1 @@ +5 --- m2crypto-0.17.orig/debian/copyright +++ m2crypto-0.17/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Dima Barsky on +Sun, 28 Mar 2004 19:42:33 +0100. + +It was downloaded from + +Upstream Author: Ng Pheng Siong +Current upstream maintainer: Heikki Toivonen (heikki@osafoundation.org) + +Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved. + +Portions copyright (c) 2004-2006 Open Source Applications Foundation. +All rights reserved. + +Portions copyright (c) 2005-2006 Vrije Universiteit Amsterdam. +All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation. + +THE AUTHOR PROVIDES THIS SOFTWARE ``AS IS'' AND ANY EXPRESSED 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 THE AUTHOR 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 DAMAGE. + +