diff options
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/changelog | 5 | ||||
-rwxr-xr-x | debian/compat | 1 | ||||
-rwxr-xr-x | debian/control | 38 | ||||
-rw-r--r-- | debian/python-m2crypto.install | 1 | ||||
-rwxr-xr-x | debian/rules | 47 |
5 files changed, 92 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100755 index 0000000..706b0a9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-m2crypto (0.35.1.1) unstable; urgency=medium + + * Add Debian + + -- Biao Wang <biao716.wang@samsung.com> Tue, 26 May 2020 09:42:32 +0200 diff --git a/debian/compat b/debian/compat new file mode 100755 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100755 index 0000000..ae6f694 --- /dev/null +++ b/debian/control @@ -0,0 +1,38 @@ +Source: python-m2crypto +Section: python +Priority: optional +Maintainer: Daniel Stender <stender@debian.org> +Build-Depends: + debhelper (>= 11), + python-dev, + dh-python, + libssl-dev, + python-all-dev, + python-setuptools, + swig (>= 1.3.40), + openssl +Standards-Version: 4.2.1 +Homepage: http://www.tizen.org + +Package: python-m2crypto +Architecture: any +Depends: + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends} +Provides: + m2crypto, + ${python:Provides} +Description: Python wrapper for the OpenSSL library (Python 2 modules) + 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. + . + This package contains the modules for the Python 2 interpreter. + diff --git a/debian/python-m2crypto.install b/debian/python-m2crypto.install new file mode 100644 index 0000000..41589af --- /dev/null +++ b/debian/python-m2crypto.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/* /usr/lib diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0fa0995 --- /dev/null +++ b/debian/rules @@ -0,0 +1,47 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + python setup.py build +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Installing package + mkdir -p $(CURDIR)/debian/tmp + python setup.py install --prefix=/usr --root=$(CURDIR)/debian/tmp +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_install + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_python2 + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install |