--- clean-crypto-1.orig/debian/control +++ clean-crypto-1/debian/control @@ -0,0 +1,24 @@ +Source: clean-crypto +Section: java +Priority: optional +Maintainer: Debian Eucalyptus Maintainers +Uploaders: + Chris Grzegorczyk , + Charles Plessy , + Graziano Obertelli , + Kyo Lee , + Daniel Nuomi , +DM-Upload-Allowed: yes +Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3) +Build-Depends-Indep: default-jdk +Standards-Version: 3.8.4 +Homepage: https://code.launchpad.net/~chris-grze/eucalyptus-commons-ext/clean-crypto +Vcs-Bzr: lp:~chris-grze/eucalyptus-commons-ext/clean-crypto + +Package: libclean-crypto-java +Architecture: all +Depends: ${misc:Depends}, default-jre-headless +Description: Simplified and unrestricted javax.crypto bootstrap library + Provides a simple unrestricted version of the javax.crypto package + which can be provided when bootstrapping the Java Virtual Machine. This + is needed to load, e.g., unsigned crypo SPI implementations. --- clean-crypto-1.orig/debian/changelog +++ clean-crypto-1/debian/changelog @@ -0,0 +1,5 @@ +clean-crypto (1-1) unstable; urgency=low + + * Initial release (Closes: #580386) + + -- Chris Grzegorczyk Wed, 05 May 2010 10:24:55 -0700 --- clean-crypto-1.orig/debian/copyright +++ clean-crypto-1/debian/copyright @@ -0,0 +1,46 @@ +This package was debianized by: + + Chris Grzegorczyk on Fri, 12 Mar 2010 18:59:34 -0800 + +Copyright: + + Copyright 1997-2007 Sun Microsystems, Inc. + +License: + +JCE/Crypto code is distributed under the terms of the GNU General Public +License with the following clarification and special 'Classpath' exception: + + "CLASSPATH" EXCEPTION TO THE GPL + + Certain source files distributed by Sun Microsystems, Inc. are subject to + the following clarification and special exception to the GPL, but only where + Sun has expressly included in the particular source file's header the words + "Sun designates this particular file as subject to the "Classpath" exception + as provided by Sun in the LICENSE file that accompanied this code." + + Linking this library statically or dynamically with other modules is making + a combined work based on this library. Thus, the terms and conditions of + the GNU General Public License cover the whole combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent modules, + and to copy and distribute the resulting executable under terms of your + choice, provided that you also meet, for each linked independent module, + the terms and conditions of the license of that module. An independent + module is a module which is not derived from or based on this library. + If you modify this library, you may extend this exception to your version + of the library, but you are not obligated to do so. If you do not wish to + do so, delete this exception statement from your version. + + On Debian GNU/Linux system you can find a copy of the GPL in + `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is: + + Copyright (C) 2010 Chris Grzegorczyk + +and is licensed under the BSD license, +see `/usr/share/common-licenses/BSD'. + --- clean-crypto-1.orig/debian/docs +++ clean-crypto-1/debian/docs @@ -0,0 +1 @@ +debian/README.source --- clean-crypto-1.orig/debian/rules +++ clean-crypto-1/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +JAVA_HOME := /usr/lib/jvm/default-java +REQUIRED_JVM_VERSION := 1.5 +DEB_ANT_BUILDFILE := debian/build.xml +DEB_ANT_ARGS := -DartifactVersion=$(DEB_UPSTREAM_VERSION) \ + -DartifactId=$(DEB_SOURCE_PACKAGE) \ + -DsourceVersion=$(REQUIRED_JVM_VERSION) \ + -DtargetVersion=$(REQUIRED_JVM_VERSION) + +binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java:: + dh_install -plib$(DEB_SOURCE_PACKAGE)-java build/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java + dh_link -plib$(DEB_SOURCE_PACKAGE)-java usr/share/java/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(DEB_SOURCE_PACKAGE).jar + --- clean-crypto-1.orig/debian/README.source +++ clean-crypto-1/debian/README.source @@ -0,0 +1,14 @@ +libclean-crypto-java +------------------------- + +This package provides a no-op implementation of certain parts of javax.crypto. +Specifically, portions of the Java Crypto API implementation enforce restrictions +on the cryptographic features which can be used at runtime. Two common use cases +are generating public/private keys strong than 64bits and using third-party JCA +implementations which are /not/ signed using a SUN or IBM delegated code signing key. +A typical use of the library would be of the form: -Xbootclasspath/p:/path/to/jar + +Please see http://www.mail-archive.com/security-dev@openjdk.java.net/msg00279.html +for the original submission by Mark Wielard (mark at klomp.org). + + -- Chris Grzegorczyk Fri, 12 Mar 2010 18:59:34 -0800 --- clean-crypto-1.orig/debian/orig-tar.sh +++ clean-crypto-1/debian/orig-tar.sh @@ -0,0 +1,16 @@ +#!/bin/sh -e + +TAR=../../clean-crypto_1.orig.tar.gz +DIR=clean-crypto-1 + +# clean up the upstream tarball +bzr export $DIR http://bazaar.launchpad.net/~chris-grze/eucalyptus-commons-ext/clean-crypto +GZIP="--best --no-name" tar -c -z -f $TAR $DIR +rm -rf $DIR + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir + echo "moved $TAR to $origDir" +fi --- clean-crypto-1.orig/debian/build.xml +++ clean-crypto-1/debian/build.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +