Bug#632183: bouncycastle: Package does not deploy maven artifacts

2011-07-12 Thread James Page
Hi Tony

On Sun, 2011-07-10 at 16:13 -0700, tony mancill wrote:
 With some minimal tweaking, the patch applies against the Debian
 version.  The
 only thing that seems to have changed, aside from the addition of the
 maven
 artifacts, is that the .so files deployed to /usr/lib/gcj/ are now
 versioned.
 This seems okay, so uploading now. 

Thanks for picking this up - it may be there are some further Ubuntu
changes that need feeding back to Debian - I'll take a look and see.

Cheers

James

-- 
James Page
Ubuntu Server Developer


signature.asc
Description: This is a digitally signed message part
__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#632183: bouncycastle: Package does not deploy maven artifacts

2011-07-10 Thread tony mancill
Hi James,

With some minimal tweaking, the patch applies against the Debian version.  The
only thing that seems to have changed, aside from the addition of the maven
artifacts, is that the .so files deployed to /usr/lib/gcj/ are now versioned.
This seems okay, so uploading now.

Thanks,
tony

On 06/30/2011 03:39 AM, James Page wrote:
 Package: bouncycastle
 Version: 1.44+dfsg-2
 Severity: normal
 Tags: patch
 User: ubuntu-de...@lists.ubuntu.com
 Usertags: origin-ubuntu oneiric ubuntu-patch
 
 
 
 *** /tmp/tmpC7BqQ4
 In Ubuntu, the attached patch was applied to achieve the following:
 
   * Deployment of Maven artifacts:
 - debian/rules: retrieve source POM's and install
 - debian/control: Build-depend on maven-repo-helper
 - debian/poms/*: versioned POM's from repo1.maven.org
 - debian/lib[bcprov|bcmail|bcpg|bctsp].poms; POM lists
   for deployment to maven-repo
 - debian/maven.rules: Transform rules for POM deployment
 
 This places jar + maven pom metadata files into /usr/share/maven-repo.
 
 Thanks for considering the patch.



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#632183: bouncycastle: Package does not deploy maven artifacts

2011-06-30 Thread James Page
Package: bouncycastle
Version: 1.44+dfsg-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



*** /tmp/tmpC7BqQ4
In Ubuntu, the attached patch was applied to achieve the following:

  * Deployment of Maven artifacts:
- debian/rules: retrieve source POM's and install
- debian/control: Build-depend on maven-repo-helper
- debian/poms/*: versioned POM's from repo1.maven.org
- debian/lib[bcprov|bcmail|bcpg|bctsp].poms; POM lists
  for deployment to maven-repo
- debian/maven.rules: Transform rules for POM deployment

This places jar + maven pom metadata files into /usr/share/maven-repo.

Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-generic (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control  2010-06-03 15:51:05 +
+++ debian/control  2011-06-29 15:42:28 +
@@ -4,7 +4,8 @@
 Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
 XSBC-Original-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-builddep, 
quilt, libgnumail-java, junit, ant-optional
+Build-Depends: cdbs (= 0.4.27), debhelper (= 7), ant, default-jdk-builddep, 
quilt, libgnumail-java, 
+ junit, ant-optional, maven-repo-helper
 Standards-Version: 3.8.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/bouncycastle
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/bouncycastle

=== added file 'debian/libbcmail-java.poms'
--- debian/libbcmail-java.poms  1970-01-01 00:00:00 +
+++ debian/libbcmail-java.poms  2011-03-10 15:12:30 +
@@ -0,0 +1 @@
+debian/poms/bcmail.pom

=== added file 'debian/libbcpg-java.poms'
--- debian/libbcpg-java.poms1970-01-01 00:00:00 +
+++ debian/libbcpg-java.poms2011-03-10 15:12:39 +
@@ -0,0 +1 @@
+debian/poms/bcpg.pom

=== added file 'debian/libbcprov-java.poms'
--- debian/libbcprov-java.poms  1970-01-01 00:00:00 +
+++ debian/libbcprov-java.poms  2011-03-10 15:11:29 +
@@ -0,0 +1 @@
+debian/poms/bcprov.pom

=== added file 'debian/libbctsp-java.poms'
--- debian/libbctsp-java.poms   1970-01-01 00:00:00 +
+++ debian/libbctsp-java.poms   2011-03-10 15:12:51 +
@@ -0,0 +1 @@
+debian/poms/bctsp.pom

=== added file 'debian/maven.rules'
--- debian/maven.rules  1970-01-01 00:00:00 +
+++ debian/maven.rules  2011-06-29 16:29:57 +
@@ -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 directory 'debian/poms'
=== added file 'debian/poms/bcmail.pom'
--- debian/poms/bcmail.pom  1970-01-01 00:00:00 +
+++ debian/poms/bcmail.pom  2009-10-06 22:33:52 +
@@ -0,0 +1,29 @@
+?xml version=1.0 encoding=UTF-8?
+project
+  modelVersion4.0.0/modelVersion
+  groupIdorg.bouncycastle/groupId
+  artifactIdbcmail-jdk14/artifactId
+  packagingjar/packaging
+  nameBouncy Castle CMS and S/MIME API/name
+  version1.44/version
+  descriptionThe 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
+  urlhttp://www.bouncycastle.org/java.html/url
+  licenses
+license
+  nameBouncy Castle Licence/name
+  urlhttp://www.bouncycastle.org/licence.html/url
+  distributionrepo/distribution
+/license
+  /licenses
+  scm
+urlhttp://www.bouncycastle.org/viewcvs/viewcvs.cgi/java/url
+  /scm
+  dependencies
+dependency
+  groupIdorg.bouncycastle/groupId
+  artifactIdbcprov-jdk14/artifactId
+  version1.44/version
+  typejar/type
+/dependency
+  /dependencies
+/project

=== added file 'debian/poms/bcpg.pom'
--- debian/poms/bcpg.pom1970-01-01 00:00:00 +
+++ debian/poms/bcpg.pom2009-10-06 22:34:47 +
@@ -0,0 +1,34 @@
+?xml version=1.0 encoding=UTF-8?
+project
+  modelVersion4.0.0/modelVersion
+  groupIdorg.bouncycastle/groupId
+  artifactIdbcpg-jdk14/artifactId
+  packagingjar/packaging
+  nameBouncy Castle OpenPGP API/name
+  version1.44/version
+  descriptionThe Bouncy Castle Java API for handling the OpenPGP protocol. 
This jar