Author: tmancill Date: 2011-07-10 23:14:59 +0000 (Sun, 10 Jul 2011) New Revision: 13846
Added: trunk/bouncycastle/debian/libbcmail-java.poms trunk/bouncycastle/debian/libbcpg-java.poms trunk/bouncycastle/debian/libbcprov-java.poms trunk/bouncycastle/debian/libbctsp-java.poms trunk/bouncycastle/debian/maven.rules trunk/bouncycastle/debian/poms/ trunk/bouncycastle/debian/poms/bcmail.pom trunk/bouncycastle/debian/poms/bcpg.pom trunk/bouncycastle/debian/poms/bcprov.pom trunk/bouncycastle/debian/poms/bctsp.pom Modified: trunk/bouncycastle/debian/changelog trunk/bouncycastle/debian/control trunk/bouncycastle/debian/rules Log: add patch for maven artifacts Modified: trunk/bouncycastle/debian/changelog =================================================================== --- trunk/bouncycastle/debian/changelog 2011-07-10 21:54:33 UTC (rev 13845) +++ trunk/bouncycastle/debian/changelog 2011-07-10 23:14:59 UTC (rev 13846) @@ -1,13 +1,19 @@ -bouncycastle (1.44+dfsg-3) UNRELEASED; urgency=low +bouncycastle (1.44+dfsg-3) unstable; urgency=low * Team upload. + + [Niels Thykier] * Changed the section of the gcj packages to java. - * Bumped Standards-Versions 3.9.0 - no changes required. * Replaced B-D on default-jdk-builddep with gcj-native-helper and default-jdk. - -- Niels Thykier <ni...@thykier.net> Tue, 29 Jun 2010 23:04:56 +0200 + [tony mancill] + * Apply patch to deploy maven artifacts (Closes: #632183) + Thanks to James Page. + * Bumped Standards-Versions 3.9.2 - no changes required. + -- tony mancill <tmanc...@debian.org> Sun, 10 Jul 2011 15:48:32 -0700 + bouncycastle (1.44+dfsg-2) unstable; urgency=low [ Thierry Carrez ] Modified: trunk/bouncycastle/debian/control =================================================================== --- trunk/bouncycastle/debian/control 2011-07-10 21:54:33 UTC (rev 13845) +++ trunk/bouncycastle/debian/control 2011-07-10 23:14:59 UTC (rev 13846) @@ -3,9 +3,9 @@ Priority: optional Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Uploaders: Matthias Klose <d...@ubuntu.com>, Michael Koch <konque...@gmx.de> -Build-Depends: cdbs (>= 0.4.27), debhelper (>= 7), ant, default-jdk, gcj-native-helper, - quilt, libgnumail-java, junit -Standards-Version: 3.9.0 +Build-Depends: cdbs (>= 0.4.27), debhelper (>= 7), ant, default-jdk, gcj-native-helper, quilt, libgnumail-java, + junit, ant-optional, maven-repo-helper +Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/bouncycastle Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/bouncycastle Homepage: http://www.bouncycastle.org/ Added: trunk/bouncycastle/debian/libbcmail-java.poms =================================================================== --- trunk/bouncycastle/debian/libbcmail-java.poms (rev 0) +++ trunk/bouncycastle/debian/libbcmail-java.poms 2011-07-10 23:14:59 UTC (rev 13846) @@ -0,0 +1 @@ +debian/poms/bcmail.pom Added: trunk/bouncycastle/debian/libbcpg-java.poms =================================================================== --- trunk/bouncycastle/debian/libbcpg-java.poms (rev 0) +++ trunk/bouncycastle/debian/libbcpg-java.poms 2011-07-10 23:14:59 UTC (rev 13846) @@ -0,0 +1 @@ +debian/poms/bcpg.pom Added: trunk/bouncycastle/debian/libbcprov-java.poms =================================================================== --- trunk/bouncycastle/debian/libbcprov-java.poms (rev 0) +++ trunk/bouncycastle/debian/libbcprov-java.poms 2011-07-10 23:14:59 UTC (rev 13846) @@ -0,0 +1 @@ +debian/poms/bcprov.pom Added: trunk/bouncycastle/debian/libbctsp-java.poms =================================================================== --- trunk/bouncycastle/debian/libbctsp-java.poms (rev 0) +++ trunk/bouncycastle/debian/libbctsp-java.poms 2011-07-10 23:14:59 UTC (rev 13846) @@ -0,0 +1 @@ +debian/poms/bctsp.pom Added: trunk/bouncycastle/debian/maven.rules =================================================================== --- trunk/bouncycastle/debian/maven.rules (rev 0) +++ trunk/bouncycastle/debian/maven.rules 2011-07-10 23:14:59 UTC (rev 13846) @@ -0,0 +1,5 @@ +# Strip out -jdk14 as Ubuntu/Debian does not build multiple versions +org.bouncycastle s/bcmail-jdk14/bcmail/ * s/.*/debian/ * * +org.bouncycastle s/bcprov-jdk14/bcprov/ * s/.*/debian/ * * +org.bouncycastle s/bctsp-jdk14/bctsp/ * s/.*/debian/ * * +org.bouncycastle s/bcpg-jdk14/bcpg/ * s/.*/debian/ * * Added: trunk/bouncycastle/debian/poms/bcmail.pom =================================================================== --- trunk/bouncycastle/debian/poms/bcmail.pom (rev 0) +++ trunk/bouncycastle/debian/poms/bcmail.pom 2011-07-10 23:14:59 UTC (rev 13846) @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>org.bouncycastle</groupId> + <artifactId>bcmail-jdk14</artifactId> + <packaging>jar</packaging> + <name>Bouncy Castle CMS and S/MIME API</name> + <version>1.44</version> + <description>The Bouncy Castle Java CMS and S/MIME APIs for handling the CMS and S/MIME protocols. This jar contains CMS and S/MIME APIs for JDK 1.4. The APIs can be used in conjunction with a JCE/JCA provider such as the one provided with the Bouncy Castle Cryptography APIs. If the S/MIME API is used, the JavaMail API and the Java activation framework will also be needed.</description> + <url>http://www.bouncycastle.org/java.html</url> + <licenses> + <license> + <name>Bouncy Castle Licence</name> + <url>http://www.bouncycastle.org/licence.html</url> + <distribution>repo</distribution> + </license> + </licenses> + <scm> + <url>http://www.bouncycastle.org/viewcvs/viewcvs.cgi/java</url> + </scm> + <dependencies> + <dependency> + <groupId>org.bouncycastle</groupId> + <artifactId>bcprov-jdk14</artifactId> + <version>1.44</version> + <type>jar</type> + </dependency> + </dependencies> +</project> Added: trunk/bouncycastle/debian/poms/bcpg.pom =================================================================== --- trunk/bouncycastle/debian/poms/bcpg.pom (rev 0) +++ trunk/bouncycastle/debian/poms/bcpg.pom 2011-07-10 23:14:59 UTC (rev 13846) @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>org.bouncycastle</groupId> + <artifactId>bcpg-jdk14</artifactId> + <packaging>jar</packaging> + <name>Bouncy Castle OpenPGP API</name> + <version>1.44</version> + <description>The Bouncy Castle Java API for handling the OpenPGP protocol. This jar contains the OpenPGP API for JDK 1.4. The APIs can be used in conjunction with a JCE/JCA provider such as the one provided with the Bouncy Castle Cryptography APIs.</description> + <url>http://www.bouncycastle.org/java.html</url> + <licenses> + <license> + <name>Bouncy Castle Licence</name> + <url>http://www.bouncycastle.org/licence.html</url> + <distribution>repo</distribution> + </license> + <license> + <name>Apache Software License, Version 1.1</name> + <url>http://www.apache.org/licenses/LICENSE-1.1</url> + <distribution>repo</distribution> + </license> + </licenses> + <scm> + <url>http://www.bouncycastle.org/viewcvs/viewcvs.cgi/java</url> + </scm> + <dependencies> + <dependency> + <groupId>org.bouncycastle</groupId> + <artifactId>bcprov-jdk14</artifactId> + <version>1.44</version> + <type>jar</type> + </dependency> + </dependencies> +</project> Added: trunk/bouncycastle/debian/poms/bcprov.pom =================================================================== --- trunk/bouncycastle/debian/poms/bcprov.pom (rev 0) +++ trunk/bouncycastle/debian/poms/bcprov.pom 2011-07-10 23:14:59 UTC (rev 13846) @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>org.bouncycastle</groupId> + <artifactId>bcprov-jdk14</artifactId> + <packaging>jar</packaging> + <name>Bouncy Castle Provider</name> + <version>1.44</version> + <description>The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.4.</description> + <url>http://www.bouncycastle.org/java.html</url> + <licenses> + <license> + <name>Bouncy Castle Licence</name> + <url>http://www.bouncycastle.org/licence.html</url> + <distribution>repo</distribution> + </license> + </licenses> + <scm> + <url>http://www.bouncycastle.org/viewcvs/viewcvs.cgi/java</url> + </scm> +</project> Added: trunk/bouncycastle/debian/poms/bctsp.pom =================================================================== --- trunk/bouncycastle/debian/poms/bctsp.pom (rev 0) +++ trunk/bouncycastle/debian/poms/bctsp.pom 2011-07-10 23:14:59 UTC (rev 13846) @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>org.bouncycastle</groupId> + <artifactId>bctsp-jdk14</artifactId> + <packaging>jar</packaging> + <name>Bouncy Castle OpenPGP API</name> + <version>1.44</version> + <description>The Bouncy Castle Java API for handling the Time Stamp Protocol (TSP). This jar contains the TSP API for JDK 1.4. The APIs can be used in conjunction with a JCE/JCA provider such as the one provided with the Bouncy Castle Cryptography APIs.</description> + <url>http://www.bouncycastle.org/java.html</url> + <licenses> + <license> + <name>Bouncy Castle Licence</name> + <url>http://www.bouncycastle.org/licence.html</url> + <distribution>repo</distribution> + </license> + </licenses> + <scm> + <url>http://www.bouncycastle.org/viewcvs/viewcvs.cgi/java</url> + </scm> + <dependencies> + <dependency> + <groupId>org.bouncycastle</groupId> + <artifactId>bcprov-jdk14</artifactId> + <version>1.44</version> + <type>jar</type> + </dependency> + <dependency> + <groupId>org.bouncycastle</groupId> + <artifactId>bcmail-jdk14</artifactId> + <version>1.44</version> + <type>jar</type> + </dependency> + </dependencies> +</project> Modified: trunk/bouncycastle/debian/rules =================================================================== --- trunk/bouncycastle/debian/rules 2011-07-10 21:54:33 UTC (rev 13845) +++ trunk/bouncycastle/debian/rules 2011-07-10 23:14:59 UTC (rev 13846) @@ -32,7 +32,8 @@ # bcprov binary-install/libbcprov-java:: build/libbcprov-java - install -m 644 $(builddir)/jars/bcprov-jdk14-*.jar debian/libbcprov-java/usr/share/java/bcprov.jar + mh_installpoms -plibbcprov-java + mh_installjar -plibbcprov-java -l debian/poms/bcprov.pom $(builddir)/jars/bcprov-jdk14-*.jar ln -sf ../bcprov.jar debian/libbcprov-java/usr/share/java/gcj-endorsed/bcprov.jar touch debian/libbcprov-java/etc/java/security/security.d/2000-org.bouncycastle.jce.provider.BouncyCastleProvider binary-install/libbcprov-java-doc:: @@ -40,19 +41,22 @@ # bcmail binary-install/libbcmail-java:: build/libbcmail-java - install -m 644 $(builddir)/jars/bcmail-jdk14-*.jar debian/libbcmail-java/usr/share/java/bcmail.jar + mh_installpoms -plibbcmail-java + mh_installjar -plibbcmail-java -l debian/poms/bcmail.pom $(builddir)/jars/bcmail-jdk14-*.jar binary-install/libbcmail-java-doc:: mv -i $(builddir)/javadoc/bcmail debian/libbcmail-java-doc/usr/share/doc/libbcmail-java-doc/api # bcpg binary-install/libbcpg-java:: build/libbcpg-java - install -m 644 $(builddir)/jars/bcpg-jdk14-*.jar debian/libbcpg-java/usr/share/java/bcpg.jar + mh_installpoms -plibbcpg-java + mh_installjar -plibbcpg-java -l debian/poms/bcpg.pom $(builddir)/jars/bcpg-jdk14-*.jar binary-install/libbcpg-java-doc:: mv -i $(builddir)/javadoc/bcpg debian/libbcpg-java-doc/usr/share/doc/libbcpg-java-doc/api # bctsp binary-install/libbctsp-java:: build/libbctsp-java - install -m 644 $(builddir)/jars/bctsp-jdk14-*.jar debian/libbctsp-java/usr/share/java/bctsp.jar + mh_installpoms -plibbctsp-java + mh_installjar -plibbctsp-java -l debian/poms/bctsp.pom $(builddir)/jars/bctsp-jdk14-*.jar binary-install/libbctsp-java-doc:: mv -i $(builddir)/javadoc/bctsp debian/libbctsp-java-doc/usr/share/doc/libbctsp-java-doc/api @@ -88,3 +92,14 @@ ifeq ($(with_native),yes) dh_nativejava -plibbctsp-java-gcj endif + +POMS=bcprov bcpg bcmail bctsp +UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p' | sed 's/\+dfsg//') + +get-orig-pom: + mkdir -p debian/poms + for pom in $(POMS); do \ + wget -O debian/poms/$${pom}.pom -U NoAgent-1.0 \ + http://repo1.maven.org/maven2/org/bouncycastle/$${pom}-jdk14/$(UPSTREAM_VERSION)/$${pom}-jdk14-$(UPSTREAM_VERSION).pom ; \ + done ; + _______________________________________________ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits