--- m2crypto-0.16.orig/debian/changelog +++ m2crypto-0.16/debian/changelog @@ -0,0 +1,36 @@ +m2crypto (0.16-1ubuntu1) edgy; urgency=low + + * Merge from Debian unstable: + - debian/control: Use python-central (new Python Policy). + - debian/patches/: Drop, subsumed by upstream changes. + - debian/watch: Increment version to 3. + + -- Daniel T Chen Sat, 22 Jul 2006 23:40:53 +0100 + +m2crypto (0.16-1) unstable; urgency=low + + * New upstream release + + -- Dima Barsky Sat, 22 Jul 2006 11:11:40 +0100 + +m2crypto (0.13-1.1ubuntu1) hoary; urgency=low + + * Rebuilt for Python 2.4. + + -- Hervé Cauwelier Wed, 23 Mar 2005 21:34:01 +0100 + +m2crypto (0.13-1.1) unstable; urgency=high + + * Non Maintainer Upload (NMU, 0-day) + * Adjust build depends and depends to use python(-dev) (>= 2.3) and + python(-dev) (<< 2.4) instead of python2.3 + (Closes: #263227) urgency high since this bug was RC + + -- Bastian Kleineidam Tue, 21 Dec 2004 12:58:13 +0100 + +m2crypto (0.13-1) unstable; urgency=low + + * Initial Release. + + -- Dima Barsky Tue, 30 Mar 2004 21:54:28 +0100 + --- m2crypto-0.16.orig/debian/compat +++ m2crypto-0.16/debian/compat @@ -0,0 +1 @@ +5 --- m2crypto-0.16.orig/debian/watch +++ m2crypto-0.16/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=3 +http://wiki.osafoundation.org/pub/Projects/MeTooCrypto/m2crypto-0.16.tar.gz debian uupdate --- m2crypto-0.16.orig/debian/rules +++ m2crypto-0.16/debian/rules @@ -0,0 +1,83 @@ +#!/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=$(subst -dev,,\ + $(subst python,,\ + $(filter python%-dev,\ + $(shell sed -n '/^Build-Depends/s/,//gp' debian/control)))) + +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 --prefix=debian/m2crypto/usr; \ + 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_pycentral + dh_python + 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.16.orig/debian/control +++ m2crypto-0.16/debian/control @@ -0,0 +1,22 @@ +Source: m2crypto +Section: libs +Priority: optional +Maintainer: Dima Barsky +Build-Depends: debhelper (>= 4.2.28), libssl-dev (>= 0.9.7), python, python2.4-dev, swig (>= 1.3.24), python-central +Standards-Version: 3.7.2 +XS-Python-Version: current + +Package: m2crypto +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends} +XB-Python-Version: ${python:Versions} +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.16.orig/debian/copyright +++ m2crypto-0.16/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. + + --- m2crypto-0.16.orig/debian/docs +++ m2crypto-0.16/debian/docs @@ -0,0 +1 @@ +README