--- m2crypto-0.13.orig/debian/changelog +++ m2crypto-0.13/debian/changelog @@ -0,0 +1,6 @@ +m2crypto (0.13-1) unstable; urgency=low + + * Initial Release. + + -- Dima Barsky Tue, 30 Mar 2004 21:54:28 +0100 + --- m2crypto-0.13.orig/debian/compat +++ m2crypto-0.13/debian/compat @@ -0,0 +1 @@ +4 --- m2crypto-0.13.orig/debian/dirs +++ m2crypto-0.13/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- m2crypto-0.13.orig/debian/watch +++ m2crypto-0.13/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://sandbox.rulemaker.net/ngps/Dist/m2crypto-0.12.zip debian uupdate --- m2crypto-0.13.orig/debian/rules +++ m2crypto-0.13/debian/rules @@ -0,0 +1,73 @@ +#!/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 + + + + +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 + python setup.py build + touch build-stamp + +clean: + dh_testdir + python setup.py clean -a + rm -f build-stamp configure-stamp SWIG/_m2crypto.py SWIG/_m2crypto.c + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + python setup.py install --prefix=debian/m2crypto/usr; + +# 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_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.13.orig/debian/control +++ m2crypto-0.13/debian/control @@ -0,0 +1,20 @@ +Source: m2crypto +Section: libs +Priority: optional +Maintainer: Dima Barsky +Build-Depends: debhelper (>= 4.1.65), libssl-dev (>= 0.9.7), python2.3-dev, swig (>= 1.3.21) +Standards-Version: 3.6.1 + +Package: m2crypto +Architecture: any +Depends: ${shlibs:Depends}, python2.3 +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.13.orig/debian/copyright +++ m2crypto-0.13/debian/copyright @@ -0,0 +1,27 @@ +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 + +Copyright (c) 1999-2003 Ng Pheng Siong. 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.13.orig/debian/docs +++ m2crypto-0.13/debian/docs @@ -0,0 +1,2 @@ +BUGS +README