debian/0000755000000000000000000000000011567545370007203 5ustar debian/svn-orig-source.sh0000755000000000000000000000172411567544222012603 0ustar #!/bin/sh set -e # Usage: set the following ENVVARs # UPNAME upstream source name # UPVER upstream version # SVNURL URL to svn repo # SVNREV svn revision workdir=`pwd` if ! which svn >/dev/null then echo "Error: subversion must be installed for this to work" >&2 exit 1 fi for reqvar in UPNAME UPVER SVNURL SVNREV do if [ -z "`eval echo '$'$reqvar`" ] then echo "Error: \$$reqvar is not set" >&2 exit 1 fi done tmpdir=`mktemp -d` cd $tmpdir if ! svn export -q -r $SVNREV $SVNURL $UPNAME-$UPVER.orig then rm -rf $tmpdir exit 1 fi # Clean up a bit cd $UPNAME-$UPVER.orig rm -rf .checkstyle .project .pydevproject .settings python_keyczar.egg-info cd .. if ! GZIP="-9" tar --owner=root --group=root --mode=a+rX \ -czf orig.tar.gz $UPNAME-$UPVER.orig then rm -rf $tmpdir exit 1 else mv orig.tar.gz $workdir/${UPNAME}_${UPVER}+svn${SVNREV}.orig.tar.gz fi rm -rf $tmpdir debian/compat0000644000000000000000000000000211406735033010366 0ustar 7 debian/control0000644000000000000000000000257311567545304010612 0ustar Source: python-keyczar Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Christian Kastner DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), python-support (>= 0.90), python-all, python-simplejson, python-pyasn1, python-crypto Standards-Version: 3.9.2 Homepage: http://www.keyczar.org/ Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-keyczar/trunk Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-keyczar/trunk Package: python-keyczar Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.6) | python-simplejson, python-pyasn1, python-crypto Conflicts: python-json Description: Toolkit for safe and simple cryptography for Python Keyczar is an open source cryptographic toolkit designed to make it easier and safer for devlopers to use cryptography in their applications. Keyczar supports authentication and encryption with both symmetric and asymmetric keys. Some features of Keyczar include: . * A simple API * Key rotation and versioning * Safe default algorithms, modes, and key lengths * Automated generation of initialization vectors and ciphertext signatures * Java, Python, and C++ implementations . This package provides the Python implementation of Keyczar. debian/copyright0000644000000000000000000000440011413614016011114 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: python-keyczar Maintainer: Arkajit Dey Source: http://code.google.com/p/keyczar/ Copyright: 2008-2009 Google Inc. License: Apache-2 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. . 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. . On Debian systems, the complete text of the Apache version 2.0 license can be found in "/usr/share/common-licenses/Apache-2.0". Files: doc/pycrypt.* Copyright: 2002-2005, A. M. Kuchling License: other Distribute and use freely; there are no restrictions on further dissemination and usage except those imposed by the laws of your country of residence. This software is provided "as is" without warranty of fitness for use or suitability for any purpose, express or implied. Use at your own risk or not at all. . Incorporating the code into commercial products is permitted; you do not have to make source available or contribute your changes back (though that would be nice). Files: debian/* Copyright: 2010, Christian Kastner License: GPL-3+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/watch0000644000000000000000000000042511413443252010217 0ustar version=3 opts=\ downloadurlmangle=s|.*[?]name=(.*?)&.*|http://keyczar.googlecode.com/files/$1|,\ filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1|,\ uversionmangle=s/(\d+)\.(\d+)(\D+)/$1.$2~$3/ \ http://code.google.com/p/keyczar/downloads/detail[?]name=python-keyczar-(.*).tar.gz&.* debian/docs0000644000000000000000000000000711406735033010040 0ustar README debian/changelog0000644000000000000000000000365411567545353011066 0ustar python-keyczar (0.6~b.061709+svn502-1) unstable; urgency=low [ Christian Kastner ] * Grab newest version from SVN. The diff to 0.6~b.061709 is just a few commits and comprises mainly bugfixes. Closes: #627727 * debian/control: - Bumped Standards-Version to 3.9.2 (no changes needed) * debian/svn-get-orig.sh: - Added this script which creates an upstream tarball from an SVN revision * debian/rules: - Added get-orig-source target (via svn-get-orig.sh above) * debian/patches dropped: - 0001-use-os-urandom-for-entropy No longer needed, the current SVN snapshot includes it [ Jakub Wilk ] * Add DM-Upload-Allowed. -- Christian Kastner Thu, 26 May 2011 23:49:27 +0200 python-keyczar (0.6~b.061709-3) unstable; urgency=low * Team upload. [ Christian Kastner ] * debian/control: - Bump Standards-Version to 3.9.1 (no changes needed) [ Luke Faraone ] * debian/rules: - Handle cases when Python 2.5 is not used during build. Fixes FTBFS when running tests. Closes: #601259 * debian/patches: - Remove 0001-workaround-deprecated-interface This patch did not work with older versions of PyCrypto. Closes: #601264 - Added 0001-use-os-urandom-for-entropy This cherry-picked patch uses os.urandom() directly for entropy. -- Luke Faraone Mon, 08 Nov 2010 22:29:17 -0500 python-keyczar (0.6~b.061709-2) unstable; urgency=low * debian/copyright: - Add missing copyright information for PyCrypto documentation included in source package. Closes: #588704 * debian/patches: - Added 0001-workaround-deprecated-interface This resolves the DeprecationWarning printed by PyCrypto. -- Christian Kastner Sat, 17 Jul 2010 01:04:30 +0200 python-keyczar (0.6~b.061709-1) unstable; urgency=low * Initial release (Closes: #494868) -- Christian Kastner Fri, 02 Jul 2010 22:49:40 +0200 debian/source/0000755000000000000000000000000011567545367010511 5ustar debian/source/format0000644000000000000000000000001411406735033011676 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000214011567026047010253 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PYVERS = $(shell pyversions -r -v) # For svn-orig-source.sh PKGDIR = $(dir $(firstword $(MAKEFILE_LIST))) UPNAME = $(shell dpkg-parsechangelog -l$(PKGDIR)/changelog | \ sed -nre 's,^Source:\s+(.*),\1,p') UPVER = $(shell dpkg-parsechangelog -l$(PKGDIR)/changelog | \ sed -nre 's,^Version:\s+(.*)\+svn([0-9]+)-.*,\1,p') SVNREV = $(shell dpkg-parsechangelog -l$(PKGDIR)/changelog | \ sed -nre 's,^Version:\s+(.*)\+svn([0-9]+)-.*,\2,p') SVNURL = http://keyczar.googlecode.com/svn/trunk/python/ export UPNAME UPVER SVNURL SVNREV %: dh $@ override_dh_auto_test: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) set -e ; \ cd tests/keyczar/; \ for py in $(PYVERS); do \ if [ "$$py" \< "2.6" ]; then \ PYTHONPATH=$(CURDIR)/build/lib python$$py alltests.py; \ else \ PYTHONPATH=$(CURDIR)/build/lib.$(shell python -c 'import distutils.util as d; print d.get_platform()')-$$py python$$py alltests.py; \ fi; \ done endif .PHONY: get-orig-source get-orig-source: sh $(PKGDIR)/svn-orig-source.sh debian/pyversions0000644000000000000000000000000511413455003011321 0ustar 2.4-