Author: apo-guest Date: 2015-12-06 16:07:41 +0000 (Sun, 06 Dec 2015) New Revision: 18925
Added: tags/libitext-java/2.1.7-10/ tags/libitext-java/2.1.7-10/debian/ant.properties tags/libitext-java/2.1.7-10/debian/changelog tags/libitext-java/2.1.7-10/debian/control tags/libitext-java/2.1.7-10/debian/patches/bouncycastle-1.51.patch tags/libitext-java/2.1.7-10/debian/patches/series tags/libitext-java/2.1.7-10/debian/rules Removed: tags/libitext-java/2.1.7-10/debian/changelog tags/libitext-java/2.1.7-10/debian/control tags/libitext-java/2.1.7-10/debian/patches/series tags/libitext-java/2.1.7-10/debian/rules Log: [svn-buildpackage] Tagging libitext-java 2.1.7-10 Copied: tags/libitext-java/2.1.7-10/debian/ant.properties (from rev 18924, trunk/libitext-java/debian/ant.properties) =================================================================== --- tags/libitext-java/2.1.7-10/debian/ant.properties (rev 0) +++ tags/libitext-java/2.1.7-10/debian/ant.properties 2015-12-06 16:07:41 UTC (rev 18925) @@ -0,0 +1 @@ +itext.jdk.core=1.5 Deleted: tags/libitext-java/2.1.7-10/debian/changelog =================================================================== --- trunk/libitext-java/debian/changelog 2015-12-06 15:57:35 UTC (rev 18923) +++ tags/libitext-java/2.1.7-10/debian/changelog 2015-12-06 16:07:41 UTC (rev 18925) @@ -1,226 +0,0 @@ -libitext-java (2.1.7-9) unstable; urgency=medium - - * Team upload. - * Fixed the dependencies in the pom (Closes: #771198) - * Standards-Version updated to 3.9.6 (no changes) - - -- Emmanuel Bourg <[email protected]> Thu, 27 Nov 2014 16:14:33 +0100 - -libitext-java (2.1.7-8) unstable; urgency=low - - * Team upload. - * Bumped standards version to 3.9.5 (no changes). - * Wrap and sort Build-Depends. - * Add a build dependency on maven-repo-helper. - * Provide Maven artifacts (Closes: #729010). - * Add mh_clean to clean target. - - -- Stephen Nelson <[email protected]> Mon, 20 Jan 2014 22:59:50 +0000 - -libitext-java (2.1.7-7) unstable; urgency=low - - * Patched to compile against Bouncy Castle 1.49 - * Use canonical URLs for the Vcs-* fields - - -- Emmanuel Bourg <[email protected]> Mon, 15 Jul 2013 23:57:34 +0200 - -libitext-java (2.1.7-6) unstable; urgency=low - - * Team upload. - * Upload to unstable. (Closes: #710410) - - -- tony mancill <[email protected]> Thu, 30 May 2013 23:12:41 -0700 - -libitext-java (2.1.7-5) experimental; urgency=low - - * Team upload. - * Update to Standards-Version to 3.9.4 (no change required) - * Added a patch to compile against Bouncy Castle 1.47 or later. - * debian/watch: Changed to match only the 2.x releases - * debian/rules: Added a get-orig-source target - - -- Emmanuel Bourg <[email protected]> Fri, 29 Mar 2013 22:47:29 +0100 - -libitext-java (2.1.7-4) unstable; urgency=low - - * Team upload. - * Add missing the Class-Path for the java packages. - - Use javahelper to set the classpath. - - Use javahelper to compute dependencies. - * Add versioned (Build-)Dependency on libbcprov-java due to - #687694. - - -- Niels Thykier <[email protected]> Sat, 15 Sep 2012 11:02:37 +0200 - -libitext-java (2.1.7-3) unstable; urgency=low - - [ Miguel Landaeta ] - * Team upload. - * Add Build-Depends on gcj-native-helper. - * Remove Michael Koch from Uploaders list. - Thanks for your work on this package. (Closes: #654069). - - [ Jari Aalto ] - * Update to Standards-Version to 3.9.3 and debhelper to 9. - * Change obsolete default-jdk-builddep to default-jdk. (Closes: #669157). - * Replace debian/patches/01* template with headers and rename file to - standard *.patch extension. - * Fix copyright-refers-to-symlink-license (Lintian). - * Fix debian-control-has-unusual-field-spacing (Lintian). - * Fix duplicate-short-description (Lintian). - * Fix needless-dependency-on-jre (Lintian). - * Fix missing-classpath (Lintian). - - -- Miguel Landaeta <[email protected]> Tue, 17 Apr 2012 18:37:46 -0430 - -libitext-java (2.1.7-2) unstable; urgency=low - - [ Michael Koch ] - * Removed Gerardo Curiel from Uploaders (Closes: #553081). - - [ Onkar Shinde ] - * Move -gcj package from 'Recommends' to 'Suggests' as discussed on Debian - Java mailing list. - * Update standards version to 3.8.4. - * Convert direct code changes to patch. - * Remove simple-patchsys inclusion from rules file. - * Convert package to source format 3.0. - - -- Debian Java Maintainers <[email protected]> Tue, 18 May 2010 20:08:26 +0530 - -libitext-java (2.1.7-1) unstable; urgency=low - - * New upstream release (Closes: #549347). - * Build-Depends on libbctsp-java. - * Build-Depends on debhelper (>= 7). - * Added missing Depends on ${misc:Depends}. - * Added Vcs-Svn and Vcs-Browser fields. - * Updated Standards-Version 3.8.3. - - -- Michael Koch <[email protected]> Fri, 02 Oct 2009 21:23:15 +0200 - -libitext-java (2.1.5-1) unstable; urgency=low - - * New upstream version. - * Build packages natively compiled for gcj. - * Handle reading PDF's from stdin. - - -- Matthias Klose <[email protected]> Mon, 27 Apr 2009 23:59:05 +0200 - -libitext-java (2.1.4-1) unstable; urgency=low - - * New upstream release - - -- Adriaan Peeters <[email protected]> Sun, 23 Nov 2008 12:26:51 +0100 - -libitext-java (2.1.3-1) unstable; urgency=low - - [Adriaan Peeters] - * New upstream release (Closes: #447359) - * Removed patches: - - debian/patches/01_jpeg_encoder_classpath.patch - - debian/patches/02_ant_properties.patch - * debian/control: - - Added libitext-rtf-java and libitext-rups-java binary packages - - Added myself to Uploaders - - Added Homepage - - Bumped Standards-Version from 3.7.2 to 3.8.0, no changes needed - - Increased dephelper Build-Depends to >= 5.0.0 - - Only use Build-Depends, do not depend on libservlet2.3-java, ecj - - Rewrote short and long descriptions - * debian/rules: - - Added DEB_ANT_BUILDFILE - - Removed ANT_ARGS - - Removed API_VERSION, use DEB_UPSTREAM_VERSION instead - - Compiled iText.jar is in lib/ instead of build/bin/ - - Use dh_link instead of ln -s - - Added build targets for libitext-rtf-java and libitext-rups-java - * Bumped debian/compat from 4 to 5 - * Added debian/watch - - [Matthias Klose] - * (Build-)depend on default-jre/-jdk. - - [ Torsten Werner ] - * Add missing Build-Depends. - * Add myself to Uploaders. - * Add copyright statement to debian/copyright. - * Some lintian fixes. - * Add more copyright and license information to debian/copyright. - - -- Torsten Werner <[email protected]> Sun, 31 Aug 2008 01:03:45 +0200 - -libitext-java (1.4.5-3) unstable; urgency=low - - * Build-Depend on ecj instead of ecj-bootstrap. Closes: #442958. - - -- Michael Koch <[email protected]> Tue, 18 Sep 2007 20:57:45 +0200 - -libitext-java (1.4.5-2) unstable; urgency=low - - * Removed Suggests on libitext-java-doc. This package doesn't exist. - * Removed two trailing empty lines. - * Added myself to Uploaders. - - -- Michael Koch <[email protected]> Thu, 02 Aug 2007 07:30:43 +0200 - -libitext-java (1.4.5-1) unstable; urgency=low - - * New upstream release - * debian/rules modified due to a new build.xml file - * Patched Pdfgraphics2d.java to remove privative dependencie on com.sun.image.codec.jpeg.* - (more information on - http://developer.classpath.org/mediation/ClasspathMigration#head-d4ee9efe53a641e29ffdcd96e985bf38bbc671c1 ) - * ant/.ant.properties paths fixed - * Build package with the packages provided by java-gcj-compat-dev - * Removed unused README.Debian - * Removed unused debian/patches/01libitext-java-addbuildscript.patch - - - -- Gerardo Curiel <[email protected]> Thu, 21 Sep 2006 00:08:53 -0400 - -libitext-java (1.02b-5) unstable; urgency=low - - - * debian/rules,debian/control: Build package with Kaffe to be able - to move the package to main. - * debian/rules: Converted rules to the cdbs - * debian/libitext-java-doc.docs,libitext-java.dirs: Removed partly - generated files, and used the debhelpers direct in the rules. - * debian/patches/01libitext-java-addbuildscript.patch: Used a patch - instead to have this file direct to the diff.gz - * debian/rules: Renamed jar files like iTextXML.jar to - itext-xml-1.02b.jar - * debian/rules,debian/control: Depending on libservlet2.3-java - - -- Stephan Michels <[email protected]> Thu, 23 Feb 2006 07:28:32 +0100 - -libitext-java (1.02b-4) unstable; urgency=high - - * Applied patch proposed by Andreas Jochens related to - FTBFS: JAVA_HOME is not defined correctly. (Closes: Bug#306296) - - -- Christian Bayle <[email protected]> Mon, 25 Apr 2005 21:56:25 +0200 - -libitext-java (1.02b-3) unstable; urgency=low - - * Rebuild with .orig tarball - - -- Christian Bayle <[email protected]> Thu, 19 Feb 2004 21:13:08 +0100 - -libitext-java (1.02b-1) unstable; urgency=low - - * Removed depend on gij-3.2 (closes #232871) - * New upstream version - - -- Christian Bayle <[email protected]> Thu, 19 Feb 2004 20:40:48 +0100 - -libitext-java (1.00-1) unstable; urgency=low - - * Initial Release. - - -- Christian Bayle <[email protected]> Mon, 7 Jul 2003 00:47:01 +0200 - -Local variables: -mode: debian-changelog -End: Copied: tags/libitext-java/2.1.7-10/debian/changelog (from rev 18924, trunk/libitext-java/debian/changelog) =================================================================== --- tags/libitext-java/2.1.7-10/debian/changelog (rev 0) +++ tags/libitext-java/2.1.7-10/debian/changelog 2015-12-06 16:07:41 UTC (rev 18925) @@ -0,0 +1,237 @@ +libitext-java (2.1.7-10) unstable; urgency=medium + + * Team upload. + * Add bouncycastle-1.51.patch and fix FTBFS with version 1.51 of + bouncycastle. + * Vcs-Browser: Use cgit and https. + * Add ant.properties file and build with Java version 1.5 due to use of + generics. + + -- Markus Koschany <[email protected]> Sun, 06 Dec 2015 16:53:35 +0100 + +libitext-java (2.1.7-9) unstable; urgency=medium + + * Team upload. + * Fixed the dependencies in the pom (Closes: #771198) + * Standards-Version updated to 3.9.6 (no changes) + + -- Emmanuel Bourg <[email protected]> Thu, 27 Nov 2014 16:14:33 +0100 + +libitext-java (2.1.7-8) unstable; urgency=low + + * Team upload. + * Bumped standards version to 3.9.5 (no changes). + * Wrap and sort Build-Depends. + * Add a build dependency on maven-repo-helper. + * Provide Maven artifacts (Closes: #729010). + * Add mh_clean to clean target. + + -- Stephen Nelson <[email protected]> Mon, 20 Jan 2014 22:59:50 +0000 + +libitext-java (2.1.7-7) unstable; urgency=low + + * Patched to compile against Bouncy Castle 1.49 + * Use canonical URLs for the Vcs-* fields + + -- Emmanuel Bourg <[email protected]> Mon, 15 Jul 2013 23:57:34 +0200 + +libitext-java (2.1.7-6) unstable; urgency=low + + * Team upload. + * Upload to unstable. (Closes: #710410) + + -- tony mancill <[email protected]> Thu, 30 May 2013 23:12:41 -0700 + +libitext-java (2.1.7-5) experimental; urgency=low + + * Team upload. + * Update to Standards-Version to 3.9.4 (no change required) + * Added a patch to compile against Bouncy Castle 1.47 or later. + * debian/watch: Changed to match only the 2.x releases + * debian/rules: Added a get-orig-source target + + -- Emmanuel Bourg <[email protected]> Fri, 29 Mar 2013 22:47:29 +0100 + +libitext-java (2.1.7-4) unstable; urgency=low + + * Team upload. + * Add missing the Class-Path for the java packages. + - Use javahelper to set the classpath. + - Use javahelper to compute dependencies. + * Add versioned (Build-)Dependency on libbcprov-java due to + #687694. + + -- Niels Thykier <[email protected]> Sat, 15 Sep 2012 11:02:37 +0200 + +libitext-java (2.1.7-3) unstable; urgency=low + + [ Miguel Landaeta ] + * Team upload. + * Add Build-Depends on gcj-native-helper. + * Remove Michael Koch from Uploaders list. + Thanks for your work on this package. (Closes: #654069). + + [ Jari Aalto ] + * Update to Standards-Version to 3.9.3 and debhelper to 9. + * Change obsolete default-jdk-builddep to default-jdk. (Closes: #669157). + * Replace debian/patches/01* template with headers and rename file to + standard *.patch extension. + * Fix copyright-refers-to-symlink-license (Lintian). + * Fix debian-control-has-unusual-field-spacing (Lintian). + * Fix duplicate-short-description (Lintian). + * Fix needless-dependency-on-jre (Lintian). + * Fix missing-classpath (Lintian). + + -- Miguel Landaeta <[email protected]> Tue, 17 Apr 2012 18:37:46 -0430 + +libitext-java (2.1.7-2) unstable; urgency=low + + [ Michael Koch ] + * Removed Gerardo Curiel from Uploaders (Closes: #553081). + + [ Onkar Shinde ] + * Move -gcj package from 'Recommends' to 'Suggests' as discussed on Debian + Java mailing list. + * Update standards version to 3.8.4. + * Convert direct code changes to patch. + * Remove simple-patchsys inclusion from rules file. + * Convert package to source format 3.0. + + -- Debian Java Maintainers <[email protected]> Tue, 18 May 2010 20:08:26 +0530 + +libitext-java (2.1.7-1) unstable; urgency=low + + * New upstream release (Closes: #549347). + * Build-Depends on libbctsp-java. + * Build-Depends on debhelper (>= 7). + * Added missing Depends on ${misc:Depends}. + * Added Vcs-Svn and Vcs-Browser fields. + * Updated Standards-Version 3.8.3. + + -- Michael Koch <[email protected]> Fri, 02 Oct 2009 21:23:15 +0200 + +libitext-java (2.1.5-1) unstable; urgency=low + + * New upstream version. + * Build packages natively compiled for gcj. + * Handle reading PDF's from stdin. + + -- Matthias Klose <[email protected]> Mon, 27 Apr 2009 23:59:05 +0200 + +libitext-java (2.1.4-1) unstable; urgency=low + + * New upstream release + + -- Adriaan Peeters <[email protected]> Sun, 23 Nov 2008 12:26:51 +0100 + +libitext-java (2.1.3-1) unstable; urgency=low + + [Adriaan Peeters] + * New upstream release (Closes: #447359) + * Removed patches: + - debian/patches/01_jpeg_encoder_classpath.patch + - debian/patches/02_ant_properties.patch + * debian/control: + - Added libitext-rtf-java and libitext-rups-java binary packages + - Added myself to Uploaders + - Added Homepage + - Bumped Standards-Version from 3.7.2 to 3.8.0, no changes needed + - Increased dephelper Build-Depends to >= 5.0.0 + - Only use Build-Depends, do not depend on libservlet2.3-java, ecj + - Rewrote short and long descriptions + * debian/rules: + - Added DEB_ANT_BUILDFILE + - Removed ANT_ARGS + - Removed API_VERSION, use DEB_UPSTREAM_VERSION instead + - Compiled iText.jar is in lib/ instead of build/bin/ + - Use dh_link instead of ln -s + - Added build targets for libitext-rtf-java and libitext-rups-java + * Bumped debian/compat from 4 to 5 + * Added debian/watch + + [Matthias Klose] + * (Build-)depend on default-jre/-jdk. + + [ Torsten Werner ] + * Add missing Build-Depends. + * Add myself to Uploaders. + * Add copyright statement to debian/copyright. + * Some lintian fixes. + * Add more copyright and license information to debian/copyright. + + -- Torsten Werner <[email protected]> Sun, 31 Aug 2008 01:03:45 +0200 + +libitext-java (1.4.5-3) unstable; urgency=low + + * Build-Depend on ecj instead of ecj-bootstrap. Closes: #442958. + + -- Michael Koch <[email protected]> Tue, 18 Sep 2007 20:57:45 +0200 + +libitext-java (1.4.5-2) unstable; urgency=low + + * Removed Suggests on libitext-java-doc. This package doesn't exist. + * Removed two trailing empty lines. + * Added myself to Uploaders. + + -- Michael Koch <[email protected]> Thu, 02 Aug 2007 07:30:43 +0200 + +libitext-java (1.4.5-1) unstable; urgency=low + + * New upstream release + * debian/rules modified due to a new build.xml file + * Patched Pdfgraphics2d.java to remove privative dependencie on com.sun.image.codec.jpeg.* + (more information on + http://developer.classpath.org/mediation/ClasspathMigration#head-d4ee9efe53a641e29ffdcd96e985bf38bbc671c1 ) + * ant/.ant.properties paths fixed + * Build package with the packages provided by java-gcj-compat-dev + * Removed unused README.Debian + * Removed unused debian/patches/01libitext-java-addbuildscript.patch + + + -- Gerardo Curiel <[email protected]> Thu, 21 Sep 2006 00:08:53 -0400 + +libitext-java (1.02b-5) unstable; urgency=low + + + * debian/rules,debian/control: Build package with Kaffe to be able + to move the package to main. + * debian/rules: Converted rules to the cdbs + * debian/libitext-java-doc.docs,libitext-java.dirs: Removed partly + generated files, and used the debhelpers direct in the rules. + * debian/patches/01libitext-java-addbuildscript.patch: Used a patch + instead to have this file direct to the diff.gz + * debian/rules: Renamed jar files like iTextXML.jar to + itext-xml-1.02b.jar + * debian/rules,debian/control: Depending on libservlet2.3-java + + -- Stephan Michels <[email protected]> Thu, 23 Feb 2006 07:28:32 +0100 + +libitext-java (1.02b-4) unstable; urgency=high + + * Applied patch proposed by Andreas Jochens related to + FTBFS: JAVA_HOME is not defined correctly. (Closes: Bug#306296) + + -- Christian Bayle <[email protected]> Mon, 25 Apr 2005 21:56:25 +0200 + +libitext-java (1.02b-3) unstable; urgency=low + + * Rebuild with .orig tarball + + -- Christian Bayle <[email protected]> Thu, 19 Feb 2004 21:13:08 +0100 + +libitext-java (1.02b-1) unstable; urgency=low + + * Removed depend on gij-3.2 (closes #232871) + * New upstream version + + -- Christian Bayle <[email protected]> Thu, 19 Feb 2004 20:40:48 +0100 + +libitext-java (1.00-1) unstable; urgency=low + + * Initial Release. + + -- Christian Bayle <[email protected]> Mon, 7 Jul 2003 00:47:01 +0200 + +Local variables: +mode: debian-changelog +End: Deleted: tags/libitext-java/2.1.7-10/debian/control =================================================================== --- trunk/libitext-java/debian/control 2015-12-06 15:57:35 UTC (rev 18923) +++ tags/libitext-java/2.1.7-10/debian/control 2015-12-06 16:07:41 UTC (rev 18925) @@ -1,61 +0,0 @@ -Source: libitext-java -Section: java -Priority: optional -Maintainer: Debian Java Maintainers <[email protected]> -Uploaders: Adriaan Peeters <[email protected]>, Torsten Werner <[email protected]>, - Emmanuel Bourg <[email protected]> -Build-Depends: ant, - debhelper (>= 9), - default-jdk, - cdbs, - gcj-native-helper, - javahelper (>= 0.43), - libbcmail-java, - libbcpkix-java, - libbcprov-java (>= 1.48), - libdom4j-java, - libpdfrenderer-java, - maven-repo-helper -Standards-Version: 3.9.6 -Homepage: http://www.lowagie.com/iText/ -Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libitext-java -Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/libitext-java - -Package: libitext-java -Architecture: all -Depends: ${misc:Depends}, libbcprov-java (>= 1.48), ${java:Depends} -Suggests: libitext-java-gcj -Description: Java Library to create and manipulate PDF on the fly - iText is a library that allows you to generate PDF files on the fly. - The iText classes are very useful for people who need to generate read-only, - platform independent documents containing text, lists, tables and images. - The library is especially useful in combination with Java(TM) - technology-based Servlets: The look and feel of HTML is browser dependent; - with iText and PDF you can control exactly how your servlet's output will look. - -Package: libitext-java-gcj -Architecture: any -Depends: libitext-java (>= ${source:Version}), ${misc:Depends}, ${shlibs:Depends} -Description: Java Library to create and manipulate PDF on the fly - iText is a library that allows you to generate PDF files on the fly. - The iText classes are very useful for people who need to generate read-only, - platform independent documents containing text, lists, tables and images. - The library is especially useful in combination with Java(TM) - technology-based Servlets: The look and feel of HTML is browser dependent; - with iText and PDF you can control exactly how your servlet's output will look. - . - This package contains the natively compiled code for use by gij. - -Package: libitext-rtf-java -Architecture: all -Depends: libitext-java (= ${binary:Version}), ${misc:Depends}, ${java:Depends} -Description: Java Library to create and manipulate RTF files on the fly - iText RTF is a library that allows you to generate RTF files on the fly in - a similar fashion to iText itself. - -Package: libitext-rups-java -Architecture: all -Depends: libitext-java (= ${binary:Version}), ${misc:Depends}, ${java:Depends} -Description: graphical tool for Reading and Updating PDF Syntax (RUPS) - iText RUPS provides a GUI for visualizing PDF files and investigating their - internal structure. Copied: tags/libitext-java/2.1.7-10/debian/control (from rev 18924, trunk/libitext-java/debian/control) =================================================================== --- tags/libitext-java/2.1.7-10/debian/control (rev 0) +++ tags/libitext-java/2.1.7-10/debian/control 2015-12-06 16:07:41 UTC (rev 18925) @@ -0,0 +1,61 @@ +Source: libitext-java +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Adriaan Peeters <[email protected]>, Torsten Werner <[email protected]>, + Emmanuel Bourg <[email protected]> +Build-Depends: ant, + debhelper (>= 9), + default-jdk, + cdbs, + gcj-native-helper, + javahelper (>= 0.43), + libbcmail-java, + libbcpkix-java, + libbcprov-java (>= 1.48), + libdom4j-java, + libpdfrenderer-java, + maven-repo-helper +Standards-Version: 3.9.6 +Homepage: http://www.lowagie.com/iText/ +Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libitext-java +Vcs-Browser: https://anonscm.debian.org/viewvc/pkg-java/trunk/libitext-java + +Package: libitext-java +Architecture: all +Depends: ${misc:Depends}, libbcprov-java (>= 1.48), ${java:Depends} +Suggests: libitext-java-gcj +Description: Java Library to create and manipulate PDF on the fly + iText is a library that allows you to generate PDF files on the fly. + The iText classes are very useful for people who need to generate read-only, + platform independent documents containing text, lists, tables and images. + The library is especially useful in combination with Java(TM) + technology-based Servlets: The look and feel of HTML is browser dependent; + with iText and PDF you can control exactly how your servlet's output will look. + +Package: libitext-java-gcj +Architecture: any +Depends: libitext-java (>= ${source:Version}), ${misc:Depends}, ${shlibs:Depends} +Description: Java Library to create and manipulate PDF on the fly + iText is a library that allows you to generate PDF files on the fly. + The iText classes are very useful for people who need to generate read-only, + platform independent documents containing text, lists, tables and images. + The library is especially useful in combination with Java(TM) + technology-based Servlets: The look and feel of HTML is browser dependent; + with iText and PDF you can control exactly how your servlet's output will look. + . + This package contains the natively compiled code for use by gij. + +Package: libitext-rtf-java +Architecture: all +Depends: libitext-java (= ${binary:Version}), ${misc:Depends}, ${java:Depends} +Description: Java Library to create and manipulate RTF files on the fly + iText RTF is a library that allows you to generate RTF files on the fly in + a similar fashion to iText itself. + +Package: libitext-rups-java +Architecture: all +Depends: libitext-java (= ${binary:Version}), ${misc:Depends}, ${java:Depends} +Description: graphical tool for Reading and Updating PDF Syntax (RUPS) + iText RUPS provides a GUI for visualizing PDF files and investigating their + internal structure. Copied: tags/libitext-java/2.1.7-10/debian/patches/bouncycastle-1.51.patch (from rev 18924, trunk/libitext-java/debian/patches/bouncycastle-1.51.patch) =================================================================== --- tags/libitext-java/2.1.7-10/debian/patches/bouncycastle-1.51.patch (rev 0) +++ tags/libitext-java/2.1.7-10/debian/patches/bouncycastle-1.51.patch 2015-12-06 16:07:41 UTC (rev 18925) @@ -0,0 +1,197 @@ +From: Markus Koschany <[email protected]> +Date: Wed, 2 Dec 2015 20:56:51 +0100 +Subject: bouncycastle 1.51 + +Fix FTBFS with bouncycastle 1.51. +Forwarded: no +--- + .../lowagie/text/pdf/OcspClientBouncyCastle.java | 47 +++++++++++++--------- + core/com/lowagie/text/pdf/PdfPKCS7.java | 19 ++++++--- + core/com/lowagie/text/pdf/PdfReader.java | 10 +++-- + 3 files changed, 46 insertions(+), 30 deletions(-) + +diff --git a/core/com/lowagie/text/pdf/OcspClientBouncyCastle.java b/core/com/lowagie/text/pdf/OcspClientBouncyCastle.java +index 982d708..74978c9 100644 +--- a/core/com/lowagie/text/pdf/OcspClientBouncyCastle.java ++++ b/core/com/lowagie/text/pdf/OcspClientBouncyCastle.java +@@ -59,20 +59,29 @@ import java.math.BigInteger; + import java.net.HttpURLConnection; + import java.net.URL; + import java.security.Security; ++import java.security.cert.CertificateEncodingException; + import java.security.cert.X509Certificate; + import java.util.Vector; + import org.bouncycastle.asn1.DEROctetString; + import org.bouncycastle.asn1.ocsp.OCSPObjectIdentifiers; ++import org.bouncycastle.asn1.x509.AlgorithmIdentifier; ++import org.bouncycastle.asn1.x509.Extension; ++import org.bouncycastle.asn1.x509.Extensions; + import org.bouncycastle.asn1.x509.X509Extension; + import org.bouncycastle.asn1.x509.X509Extensions; +-import org.bouncycastle.ocsp.BasicOCSPResp; +-import org.bouncycastle.ocsp.CertificateID; +-import org.bouncycastle.ocsp.CertificateStatus; +-import org.bouncycastle.ocsp.OCSPException; +-import org.bouncycastle.ocsp.OCSPReq; +-import org.bouncycastle.ocsp.OCSPReqGenerator; +-import org.bouncycastle.ocsp.OCSPResp; +-import org.bouncycastle.ocsp.SingleResp; ++import org.bouncycastle.cert.jcajce.JcaX509CertificateHolder; ++import org.bouncycastle.cert.ocsp.BasicOCSPResp; ++import org.bouncycastle.cert.ocsp.CertificateID; ++import org.bouncycastle.cert.ocsp.CertificateStatus; ++import org.bouncycastle.cert.ocsp.OCSPException; ++import org.bouncycastle.cert.ocsp.OCSPReq; ++import org.bouncycastle.cert.ocsp.OCSPReqBuilder; ++import org.bouncycastle.cert.ocsp.OCSPResp; ++import org.bouncycastle.cert.ocsp.SingleResp; ++import org.bouncycastle.operator.DigestCalculator; ++import org.bouncycastle.operator.DigestCalculatorProvider; ++import org.bouncycastle.operator.OperatorException; ++import org.bouncycastle.operator.jcajce.JcaDigestCalculatorProviderBuilder; + + /** + * OcspClient implementation using BouncyCastle. +@@ -107,28 +116,26 @@ public class OcspClientBouncyCastle implements OcspClient { + * @throws OCSPException + * @throws IOException + */ +- private static OCSPReq generateOCSPRequest(X509Certificate issuerCert, BigInteger serialNumber) throws OCSPException, IOException { ++ private static OCSPReq generateOCSPRequest(X509Certificate issuerCert, BigInteger serialNumber) throws OCSPException, IOException, OperatorException, CertificateEncodingException { + //Add provider BC + Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider()); + ++ JcaDigestCalculatorProviderBuilder digestCalculatorProviderBuilder = new JcaDigestCalculatorProviderBuilder(); ++ DigestCalculatorProvider digestCalculatorProvider = digestCalculatorProviderBuilder.build(); ++ DigestCalculator digestCalculator = digestCalculatorProvider.get(CertificateID.HASH_SHA1); + // Generate the id for the certificate we are looking for +- CertificateID id = new CertificateID(CertificateID.HASH_SHA1, issuerCert, serialNumber); ++ CertificateID id = new CertificateID(digestCalculator, new JcaX509CertificateHolder(issuerCert), serialNumber); + + // basic request generation with nonce +- OCSPReqGenerator gen = new OCSPReqGenerator(); ++ OCSPReqBuilder gen = new OCSPReqBuilder(); + + gen.addRequest(id); + + // create details for nonce extension +- Vector oids = new Vector(); +- Vector values = new Vector(); ++ Extension ext = new Extension(OCSPObjectIdentifiers.id_pkix_ocsp_nonce, false, new DEROctetString(new DEROctetString(PdfEncryption.createDocumentId()).getEncoded())); ++ gen.setRequestExtensions(new Extensions(new Extension[]{ext})); + +- oids.add(OCSPObjectIdentifiers.id_pkix_ocsp_nonce); +- values.add(new X509Extension(false, new DEROctetString(new DEROctetString(PdfEncryption.createDocumentId()).getEncoded()))); +- +- gen.setRequestExtensions(new X509Extensions(oids, values)); +- +- return gen.generate(); ++ return gen.build(); + } + + /** +@@ -167,7 +174,7 @@ public class OcspClientBouncyCastle implements OcspClient { + if (status == CertificateStatus.GOOD) { + return basicResponse.getEncoded(); + } +- else if (status instanceof org.bouncycastle.ocsp.RevokedStatus) { ++ else if (status instanceof org.bouncycastle.cert.ocsp.RevokedStatus) { + throw new IOException("OCSP Status is revoked!"); + } + else { +diff --git a/core/com/lowagie/text/pdf/PdfPKCS7.java b/core/com/lowagie/text/pdf/PdfPKCS7.java +index ccb1653..d99d730 100644 +--- a/core/com/lowagie/text/pdf/PdfPKCS7.java ++++ b/core/com/lowagie/text/pdf/PdfPKCS7.java +@@ -109,10 +109,15 @@ import org.bouncycastle.asn1.cms.ContentInfo; + import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; + import org.bouncycastle.asn1.tsp.MessageImprint; + import org.bouncycastle.asn1.x509.X509Extensions; +-import org.bouncycastle.ocsp.BasicOCSPResp; +-import org.bouncycastle.ocsp.CertificateID; +-import org.bouncycastle.ocsp.SingleResp; + import org.bouncycastle.tsp.TimeStampToken; ++import org.bouncycastle.cert.jcajce.JcaX509CertificateHolder; ++import org.bouncycastle.cms.SignerInformationVerifier; ++import org.bouncycastle.cms.jcajce.JcaSimpleSignerInfoVerifierBuilder; ++import org.bouncycastle.cert.ocsp.BasicOCSPResp; ++import org.bouncycastle.cert.ocsp.CertificateID; ++import org.bouncycastle.cert.ocsp.SingleResp; ++import org.bouncycastle.operator.jcajce.JcaContentVerifierProviderBuilder; ++import org.bouncycastle.operator.jcajce.JcaDigestCalculatorProviderBuilder; + + /** + * This class does all the processing related to signing and verifying a PKCS#7 +@@ -899,7 +904,7 @@ public class PdfPKCS7 { + if (!keystore.isCertificateEntry(alias)) + continue; + X509Certificate certStoreX509 = (X509Certificate)keystore.getCertificate(alias); +- if (ocsp.verify(certStoreX509.getPublicKey(), provider)) ++ if (ocsp.isSignatureValid(new JcaContentVerifierProviderBuilder().setProvider(provider).build(certStoreX509.getPublicKey()))) + return true; + } + catch (Exception ex) { +@@ -929,7 +934,8 @@ public class PdfPKCS7 { + if (!keystore.isCertificateEntry(alias)) + continue; + X509Certificate certStoreX509 = (X509Certificate)keystore.getCertificate(alias); +- ts.validate(certStoreX509, provider); ++ SignerInformationVerifier siv = new JcaSimpleSignerInfoVerifierBuilder().setProvider(provider).build(certStoreX509); ++ ts.validate(siv); + return true; + } + catch (Exception ex) { +@@ -992,7 +998,8 @@ public class PdfPKCS7 { + CertificateID cid = sr.getCertID(); + X509Certificate sigcer = getSigningCertificate(); + X509Certificate isscer = cs[1]; +- CertificateID tis = new CertificateID(CertificateID.HASH_SHA1, isscer, sigcer.getSerialNumber()); ++ CertificateID tis = new CertificateID( ++ new JcaDigestCalculatorProviderBuilder().build().get(CertificateID.HASH_SHA1), new JcaX509CertificateHolder(isscer), sigcer.getSerialNumber()); + return tis.equals(cid); + } + catch (Exception ex) { +diff --git a/core/com/lowagie/text/pdf/PdfReader.java b/core/com/lowagie/text/pdf/PdfReader.java +index 8699f22..ca4c207 100644 +--- a/core/com/lowagie/text/pdf/PdfReader.java ++++ b/core/com/lowagie/text/pdf/PdfReader.java +@@ -67,6 +67,7 @@ import java.util.zip.InflaterInputStream; + import java.util.Stack; + import java.security.Key; + import java.security.MessageDigest; ++import java.security.PrivateKey; + import java.security.cert.Certificate; + + import com.lowagie.text.ExceptionConverter; +@@ -80,6 +81,7 @@ import com.lowagie.text.pdf.internal.PdfViewerPreferencesImp; + + import org.bouncycastle.cms.CMSEnvelopedData; + import org.bouncycastle.cms.RecipientInformation; ++import org.bouncycastle.cms.jcajce.JceKeyTransEnvelopedRecipient; + + /** Reads a PDF document. + * @author Paulo Soares ([email protected]) +@@ -713,13 +715,13 @@ public class PdfReader implements PdfViewerPreferences { + try { + data = new CMSEnvelopedData(recipient.getBytes()); + +- Iterator recipientCertificatesIt = data.getRecipientInfos().getRecipients().iterator(); ++ Iterator<RecipientInformation> recipientCertificatesIt = data.getRecipientInfos().getRecipients().iterator(); + + while (recipientCertificatesIt.hasNext()) { +- RecipientInformation recipientInfo = (RecipientInformation)recipientCertificatesIt.next(); ++ RecipientInformation recipientInfo = recipientCertificatesIt.next(); + + if (recipientInfo.getRID().match(certificate) && !foundRecipient) { +- envelopedData = recipientInfo.getContent(certificateKey, certificateKeyProvider); ++ envelopedData = recipientInfo.getContent(new JceKeyTransEnvelopedRecipient((PrivateKey) certificateKey).setProvider(certificateKeyProvider)); + foundRecipient = true; + } + } +@@ -3493,4 +3495,4 @@ public class PdfReader implements PdfViewerPreferences { + if (!encrypted || !ownerPasswordUsed) return null; + return decrypt.computeUserPassword(password); + } +-} +\ No newline at end of file ++} Deleted: tags/libitext-java/2.1.7-10/debian/patches/series =================================================================== --- trunk/libitext-java/debian/patches/series 2015-12-06 15:57:35 UTC (rev 18923) +++ tags/libitext-java/2.1.7-10/debian/patches/series 2015-12-06 16:07:41 UTC (rev 18925) @@ -1,2 +0,0 @@ -01_allow_standard_input.patch -02_bouncycastle_compatibility.patch Copied: tags/libitext-java/2.1.7-10/debian/patches/series (from rev 18924, trunk/libitext-java/debian/patches/series) =================================================================== --- tags/libitext-java/2.1.7-10/debian/patches/series (rev 0) +++ tags/libitext-java/2.1.7-10/debian/patches/series 2015-12-06 16:07:41 UTC (rev 18925) @@ -0,0 +1,3 @@ +01_allow_standard_input.patch +02_bouncycastle_compatibility.patch +bouncycastle-1.51.patch Deleted: tags/libitext-java/2.1.7-10/debian/rules =================================================================== --- trunk/libitext-java/debian/rules 2015-12-06 15:57:35 UTC (rev 18923) +++ tags/libitext-java/2.1.7-10/debian/rules 2015-12-06 16:07:41 UTC (rev 18925) @@ -1,68 +0,0 @@ -#!/usr/bin/make -f - -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/ant.mk - -JAVA_HOME := /usr/lib/jvm/default-java -ANT_HOME := /usr/share/ant -DEB_ANT_BUILD_TARGET := jar jar.rtf jar.rups -DEB_ANT_CLEAN_TARGET := -DEB_ANT_BUILDFILE := src/build.xml -DEB_JARS := bcprov bcmail bcpkix dom4j pdfrenderer -CORE_CLASS_PATH := /usr/share/java/bcprov.jar /usr/share/java/bcmail.jar /usr/share/java/bcpkix.jar -RTF_CLASS_PATH := /usr/share/java/itext.jar /usr/share/java/pdfrenderer.jar /usr/share/java/dom4j.jar -RUPS_CLASS_PATH := /usr/share/java/itext.jar - -include /usr/share/gcj/debian_defaults -ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs))) - with_gcj_native := yes -endif - -LIBRARY_PACKAGE := itext - -makebuilddir/lib$(LIBRARY_PACKAGE)-java:: debian/stamp-makebuilddir -debian/stamp-makebuilddir: - ln -s . src - mkdir lib - touch $@ - -install/lib$(LIBRARY_PACKAGE)-java:: - dh_installdirs -plib$(LIBRARY_PACKAGE)-java usr/share/java - # Add Class-Path - jh_manifest -c "$(CORE_CLASS_PATH)" lib/iText.jar - install -m 644 lib/iText.jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar - dh_link -plib$(LIBRARY_PACKAGE)-java usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE).jar - jh_depends -plib$(LIBRARY_PACKAGE)-java - mh_installpoms -plib$(LIBRARY_PACKAGE)-java -e$(DEB_UPSTREAM_VERSION) - mh_installjar -plib$(LIBRARY_PACKAGE)-java -l -e$(DEB_UPSTREAM_VERSION) ant/pom.xml debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar - -install/lib$(LIBRARY_PACKAGE)-rtf-java:: - dh_installdirs -plib$(LIBRARY_PACKAGE)-rtf-java usr/share/java - # Add Class-Path - jh_manifest -c "$(RTF_CLASS_PATH)" lib/iText-rtf.jar - # install - install -m 644 lib/iText-rtf.jar debian/lib$(LIBRARY_PACKAGE)-rtf-java/usr/share/java/$(LIBRARY_PACKAGE)-rtf-$(DEB_UPSTREAM_VERSION).jar - dh_link -plib$(LIBRARY_PACKAGE)-rtf-java usr/share/java/$(LIBRARY_PACKAGE)-rtf-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE)-rtf.jar - jh_depends -plib$(LIBRARY_PACKAGE)-rtf-java - -install/lib$(LIBRARY_PACKAGE)-rups-java:: - dh_installdirs -plib$(LIBRARY_PACKAGE)-rups-java usr/share/java - # Add Class-Path - jh_manifest -c "$(RUPS_CLASS_PATH)" lib/iText-rups.jar - install -m 644 lib/iText-rups.jar debian/lib$(LIBRARY_PACKAGE)-rups-java/usr/share/java/$(LIBRARY_PACKAGE)-rups-$(DEB_UPSTREAM_VERSION).jar - dh_link -plib$(LIBRARY_PACKAGE)-rups-java usr/share/java/$(LIBRARY_PACKAGE)-rups-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE)-rups.jar - jh_depends -plib$(LIBRARY_PACKAGE)-rups-java - -ifeq ($(with_gcj_native),yes) -install/libitext-java-gcj:: install/libitext-java - AOT_GCJFLAGS=-fno-indirect-classes dh_nativejava -plibitext-java-gcj -endif - -clean:: - dh_testdir - dh_testroot - mh_clean - -rm -rf build src lib debian/stamp-* - -get-orig-source: - uscan --force-download --download-version $(DEB_UPSTREAM_VERSION) --rename Copied: tags/libitext-java/2.1.7-10/debian/rules (from rev 18924, trunk/libitext-java/debian/rules) =================================================================== --- tags/libitext-java/2.1.7-10/debian/rules (rev 0) +++ tags/libitext-java/2.1.7-10/debian/rules 2015-12-06 16:07:41 UTC (rev 18925) @@ -0,0 +1,68 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk + +JAVA_HOME := /usr/lib/jvm/default-java +ANT_HOME := /usr/share/ant +DEB_ANT_BUILD_TARGET := jar jar.rtf jar.rups +DEB_ANT_CLEAN_TARGET := +DEB_ANT_BUILDFILE := src/build.xml +DEB_JARS := bcprov bcmail bcpkix dom4j pdfrenderer +CORE_CLASS_PATH := /usr/share/java/bcprov.jar /usr/share/java/bcmail.jar /usr/share/java/bcpkix.jar +RTF_CLASS_PATH := /usr/share/java/itext.jar /usr/share/java/pdfrenderer.jar /usr/share/java/dom4j.jar +RUPS_CLASS_PATH := /usr/share/java/itext.jar + +include /usr/share/gcj/debian_defaults +ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs))) + with_gcj_native := yes +endif + +LIBRARY_PACKAGE := itext + +makebuilddir/lib$(LIBRARY_PACKAGE)-java:: debian/stamp-makebuilddir +debian/stamp-makebuilddir: + ln -s . src + mkdir lib + touch $@ + +install/lib$(LIBRARY_PACKAGE)-java:: + dh_installdirs -plib$(LIBRARY_PACKAGE)-java usr/share/java + # Add Class-Path + jh_manifest -c "$(CORE_CLASS_PATH)" lib/iText.jar + install -m 644 lib/iText.jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar + dh_link -plib$(LIBRARY_PACKAGE)-java usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE).jar + jh_depends -plib$(LIBRARY_PACKAGE)-java + mh_installpoms -plib$(LIBRARY_PACKAGE)-java -e$(DEB_UPSTREAM_VERSION) + mh_installjar -plib$(LIBRARY_PACKAGE)-java -l -e$(DEB_UPSTREAM_VERSION) ant/pom.xml debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar + +install/lib$(LIBRARY_PACKAGE)-rtf-java:: + dh_installdirs -plib$(LIBRARY_PACKAGE)-rtf-java usr/share/java + # Add Class-Path + jh_manifest -c "$(RTF_CLASS_PATH)" lib/iText-rtf.jar + # install + install -m 644 lib/iText-rtf.jar debian/lib$(LIBRARY_PACKAGE)-rtf-java/usr/share/java/$(LIBRARY_PACKAGE)-rtf-$(DEB_UPSTREAM_VERSION).jar + dh_link -plib$(LIBRARY_PACKAGE)-rtf-java usr/share/java/$(LIBRARY_PACKAGE)-rtf-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE)-rtf.jar + jh_depends -plib$(LIBRARY_PACKAGE)-rtf-java + +install/lib$(LIBRARY_PACKAGE)-rups-java:: + dh_installdirs -plib$(LIBRARY_PACKAGE)-rups-java usr/share/java + # Add Class-Path + jh_manifest -c "$(RUPS_CLASS_PATH)" lib/iText-rups.jar + install -m 644 lib/iText-rups.jar debian/lib$(LIBRARY_PACKAGE)-rups-java/usr/share/java/$(LIBRARY_PACKAGE)-rups-$(DEB_UPSTREAM_VERSION).jar + dh_link -plib$(LIBRARY_PACKAGE)-rups-java usr/share/java/$(LIBRARY_PACKAGE)-rups-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE)-rups.jar + jh_depends -plib$(LIBRARY_PACKAGE)-rups-java + +ifeq ($(with_gcj_native),yes) +install/libitext-java-gcj:: install/libitext-java + AOT_GCJFLAGS=-fno-indirect-classes dh_nativejava -plibitext-java-gcj +endif + +clean:: + dh_testdir + dh_testroot + mh_clean + -rm -rf build src lib debian/stamp-* + +get-orig-source: + uscan --force-download --download-version $(DEB_UPSTREAM_VERSION) --rename _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

