Hello community,

here is the log from the commit of package apache-pdfbox for openSUSE:Factory 
checked in at 2018-07-07 21:56:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-pdfbox (Old)
 and      /work/SRC/openSUSE:Factory/.apache-pdfbox.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-pdfbox"

Sat Jul  7 21:56:31 2018 rev:8 rq:620189 version:1.8.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/apache-pdfbox/apache-pdfbox.changes      
2017-10-17 01:51:09.838240297 +0200
+++ /work/SRC/openSUSE:Factory/.apache-pdfbox.new/apache-pdfbox.changes 
2018-07-07 21:57:09.095412548 +0200
@@ -1,0 +2,73 @@
+Mon Jul  2 09:00:09 UTC 2018 - [email protected]
+
+- Update to 1.8.15:
+  * [PDFBOX-4197] - PDStructureElement.getAttributes() ignores reference 
objects (CVE-2018-8036,bsc#1099721)
+- Update to 1.8.14:
+  * [PDFBOX-3625] - Use correct file encoding when saving fdf data
+  * [PDFBOX-3724] - Wrong size in rendering of some artifacts
+  * [PDFBOX-3733] - image added to pdf by tool AddImageToPDF is turn-overed
+  * [PDFBOX-3739] - ImageWriterIterator.next() and ImageReaderIterator.next() 
can return null
+  * [PDFBOX-3742] - Unknown dir object c='>' cInt=62 peek='>' peekInt=62
+  * [PDFBOX-3813] - PDF Box crash when using PDFToImage or PDFDebug
+  * [PDFBOX-3843] - Rect of Annotation contains indirect elements + Patch
+  * [PDFBOX-3889] - javax.crypto.BadPaddingException: Given final block not 
properly padded
+  * [PDFBOX-3909] - End of inline image not detected
+  * [PDFBOX-3919] - Infinite loop while parsing (2)
+  * [PDFBOX-3933] - PDFParser swallows a CR at the end of a stream
+  * [PDFBOX-3942] - ClassCastException in getOptionalContentGroups
+  * [PDFBOX-4005] - Incorrect use of PDNumberTreeNode in PDPageLabels
+  * [PDFBOX-4011] - BBox in signature forms has wrong order
+  * [PDFBOX-4027] - IndexOutOfBoundsException when XObject form matrix has 
only 5 elements
+  * [PDFBOX-4030] - ClassCastException when matrix array has indirect objects
+  * [PDFBOX-4064] - cm operator has 7 numbers
+  * [PDFBOX-4083] - Line annotation /LL, /LLE and /LLO have wrong default 
values
+  * [PDFBOX-4088] - Root/StructTreeRoot/K/S must be name, not string (merge)
+  * [PDFBOX-3635] - Remove workaround to avoid SSLHandshakeException
+  * [PDFBOX-4142] - Don't use md5 checksum due to changes to the release 
distribuition policy
+- Update to 1.8.13:
+  * [PDFBOX-2420] - DateConverter doesn't handle time zones outside -12 to +12 
range properly
+  * [PDFBOX-2919] - org.apache.fontbox.cff.CFFParser.readEntry sometimes 
throws java.lang.IllegalArgumentException
+  * [PDFBOX-3315] - Dates falsely detected as different by preflight
+  * [PDFBOX-3335] - Issue while Merging PDF with Hidden Layers
+  * [PDFBOX-3341] - currentAccessPermission.setReadOnly() not set in 
StandardSecurityHandler
+  * [PDFBOX-3355] - PDPageLabels.getLabelsByPageIndices() returns Uppercase 
letters for style a
+  * [PDFBOX-3368] - ContainsKey don't work for the Map<String, Object> 
returned by PDStructureTreeRoot.getRoleMap
+  * [PDFBOX-3369] - Error expected floating point number actual='0.00-35095424'
+  * [PDFBOX-3409] - TextToPDF drops leading spaces
+  * [PDFBOX-3420] - Can't sign pdf with a particular attachment
+  * [PDFBOX-3446] - Infinite loop while parsing
+  * [PDFBOX-3448] - NullPointerException at 
org.apache.pdfbox.pdmodel.common.COSArrayList.convertFloatCOSArrayToList
+  * [PDFBOX-3450] - ArrayIndexOutOfBoundsException at 
org.apache.fontbox.cmap.CMapParser.increment
+  * [PDFBOX-3463] - XMPSchemaBasic.getLabel() always returns null
+  * [PDFBOX-3466] - Java 9 warnings
+  * [PDFBOX-3472] - NPE when PDF/A identification metadata does not contain ID
+  * [PDFBOX-3477] - CA and ca values should be clipped
+  * [PDFBOX-3481] - Localization in XRef generation results in unusable PDFs
+  * [PDFBOX-3487] - ClassCastException in COSWriter.write() when saving PDF
+  * [PDFBOX-3491] - NumberFormatException in CFFParser.readRealNumber
+  * [PDFBOX-3500] - Error expected floating point number actual='0.-262'
+  * [PDFBOX-3532] - Java 6 errors
+  * [PDFBOX-3546] - IOException over DataFormatException, "invalid stored 
block lengths" on a valid PDF
+  * [PDFBOX-3551] - CLI Decrypt broken, only allows 1 argument
+  * [PDFBOX-3555] - FlateFilter.decode cause native memory leaks
+  * [PDFBOX-3558] - NPE in JBig2Filter if BitsPerComponent is missing
+  * [PDFBOX-3570] - JDK-8054565 Java 8 close contract issue
+  * [PDFBOX-3571] - sRGB Color Space Profile is subject to 3rd party copyright
+  * [PDFBOX-3578] - java.lang.IllegalArgumentException: dash lengths all zero
+  * [PDFBOX-3590] - AccessPermission not applied
+  * [PDFBOX-3594] - Use PDOutlineItem#findDestinationPage() cannot get PDPage, 
return was null
+  * [PDFBOX-3609] - ClassCastException in PDCIDFont.readWidths()
+  * [PDFBOX-3410] - TextToPDF needs orientation control
+  * [PDFBOX-3352] - Calendar values are parsed with unknown timezones
+- Refresh pdfbox-1.8.12-bouncycastle.patch
+- Add patch to fix the version number:
+  * fix-version.patch
+- Use %license
+
+-------------------------------------------------------------------
+Tue May 15 13:31:52 UTC 2018 - [email protected]
+
+- Build with source and target 8 to prepare for a possible removal
+  of 1.6 compatibility
+
+-------------------------------------------------------------------

Old:
----
  fontbox-1.8.12.pom
  jempbox-1.8.12.pom
  pdfbox-1.8.12-src.zip
  pdfbox-1.8.12.pom

New:
----
  fix-version.patch
  fontbox-1.8.15.pom
  jempbox-1.8.15.pom
  pdfbox-1.8.15-src.zip
  pdfbox-1.8.15.pom

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apache-pdfbox.spec ++++++
--- /var/tmp/diff_new_pack.JV31xk/_old  2018-07-07 21:57:13.015407572 +0200
+++ /var/tmp/diff_new_pack.JV31xk/_new  2018-07-07 21:57:13.019407567 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package apache-pdfbox
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 # Only fontbox and jempbox are built as pdfbox itself depends on Adobe's pcif.
 Name:           apache-pdfbox
-Version:        1.8.12
+Version:        1.8.15
 Release:        0
 Summary:        Java PDF Library
 License:        Apache-2.0
@@ -32,12 +32,13 @@
 Patch1:         disable-downloads.patch
 Patch2:         fix-javadoc-dep.patch
 Patch3:         pdfbox-1.8.12-sourcetarget.patch
+Patch4:         fix-version.patch
 BuildRequires:  ant
 BuildRequires:  apache-commons-logging
 BuildRequires:  bouncycastle
 BuildRequires:  fdupes
 BuildRequires:  icu4j
-BuildRequires:  java-devel >= 1.6
+BuildRequires:  java-devel >= 1.8
 BuildRequires:  javapackages-local
 BuildRequires:  javapackages-tools
 BuildRequires:  junit
@@ -62,17 +63,14 @@
 
 %prep
 %setup -q -n pdfbox-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%autopatch -p1
 
 %build
 # Build
 ant -buildfile pdfbox/build.xml \
     -Dbcprov.jar=$(build-classpath bcprov) -Djunit.jar=$(build-classpath 
junit4) \
     -Dicu4j.jar=$(build-classpath icu4j) -Dlogging.jar=$(build-classpath 
commons-logging) \
-    -Dbuild.sysclasspath=first -Dcompile.source=1.6 -Dcompile.target=1.6 \
+    -Dbuild.sysclasspath=first -Dcompile.source=8 -Dcompile.target=8 \
     fontbox.package jempbox.package javadoc
 
 %install
@@ -100,7 +98,8 @@
 %{_javadocdir}/%{name}
 
 %files
-%doc RELEASE-NOTES.txt LICENSE.txt NOTICE.txt README.txt
+%doc RELEASE-NOTES.txt NOTICE.txt README.txt
+%license LICENSE.txt
 %{_javadir}/fontbox.jar
 %{_javadir}/jempbox.jar
 %{_mavenpomdir}/JPP-fontbox.pom

++++++ fix-version.patch ++++++
Index: pdfbox-1.8.15/pdfbox/build.xml
===================================================================
--- pdfbox-1.8.15.orig/pdfbox/build.xml
+++ pdfbox-1.8.15/pdfbox/build.xml
@@ -31,7 +31,7 @@
     <property name="tool.dir" value="tools" />
     <property name="bin.dir" value="bin" />
 
-    <property name="project.version" value="1.8.14" />
+    <property name="project.version" value="1.8.15" />
 
     <!-- pdfbox -->
     <property name="pdfbox.project.name" value="pdfbox"/>
++++++ fontbox-1.8.12.pom -> fontbox-1.8.15.pom ++++++
--- /work/SRC/openSUSE:Factory/apache-pdfbox/fontbox-1.8.12.pom 2016-06-19 
10:49:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.apache-pdfbox.new/fontbox-1.8.15.pom    
2018-07-07 21:57:09.143412487 +0200
@@ -21,7 +21,7 @@
   <parent>
     <groupId>org.apache.pdfbox</groupId>
     <artifactId>pdfbox-parent</artifactId>
-    <version>1.8.12</version>
+    <version>1.8.15</version>
     <relativePath>../parent/pom.xml</relativePath>
   </parent>
 

++++++ jempbox-1.8.12.pom -> jempbox-1.8.15.pom ++++++
--- /work/SRC/openSUSE:Factory/apache-pdfbox/jempbox-1.8.12.pom 2016-06-19 
10:49:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.apache-pdfbox.new/jempbox-1.8.15.pom    
2018-07-07 21:57:09.155412471 +0200
@@ -21,7 +21,7 @@
   <parent>
     <groupId>org.apache.pdfbox</groupId>
     <artifactId>pdfbox-parent</artifactId>
-    <version>1.8.12</version>
+    <version>1.8.15</version>
     <relativePath>../parent/pom.xml</relativePath>
   </parent>
 

++++++ pdfbox-1.8.12-bouncycastle.patch ++++++
--- /var/tmp/diff_new_pack.JV31xk/_old  2018-07-07 21:57:13.075407496 +0200
+++ /var/tmp/diff_new_pack.JV31xk/_new  2018-07-07 21:57:13.075407496 +0200
@@ -1,6 +1,8 @@
---- 
pdfbox-1.8.12/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java
      2017-09-15 07:55:42.552501155 +0200
-+++ 
pdfbox-1.8.12/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java
      2017-09-15 08:21:29.621212330 +0200
-@@ -38,7 +38,7 @@
+Index: 
pdfbox-1.8.15/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java
+===================================================================
+--- 
pdfbox-1.8.15.orig/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java
++++ 
pdfbox-1.8.15/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java
+@@ -38,7 +38,7 @@ import org.apache.commons.logging.Log;
  import org.apache.commons.logging.LogFactory;
  
  import org.bouncycastle.asn1.ASN1InputStream;
@@ -9,7 +11,7 @@
  import org.bouncycastle.asn1.DERObjectIdentifier;
  import org.bouncycastle.asn1.DEROctetString;
  import org.bouncycastle.asn1.DEROutputStream;
-@@ -53,9 +53,6 @@
+@@ -53,9 +53,6 @@ import org.bouncycastle.asn1.cms.Recipie
  import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
  import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
  import org.bouncycastle.asn1.x509.TBSCertificateStructure;
@@ -19,7 +21,7 @@
  import org.apache.pdfbox.cos.COSArray;
  import org.apache.pdfbox.cos.COSString;
  import org.apache.pdfbox.exceptions.CryptographyException;
-@@ -311,7 +308,7 @@
+@@ -311,7 +308,7 @@ public class PublicKeySecurityHandler ex
                  pkcs7input[22] = two;
                  pkcs7input[23] = one;
  
@@ -28,7 +30,7 @@
  
                  ByteArrayOutputStream baos = new ByteArrayOutputStream();
  
-@@ -378,7 +375,7 @@
+@@ -378,7 +375,7 @@ public class PublicKeySecurityHandler ex
  
      }
  
@@ -37,12 +39,12 @@
          throws IOException,
                 GeneralSecurityException
      {
-@@ -389,7 +386,7 @@
+@@ -389,7 +386,7 @@ public class PublicKeySecurityHandler ex
          AlgorithmParameters algorithmparameters = 
algorithmparametergenerator.generateParameters();
          ByteArrayInputStream bytearrayinputstream = new 
ByteArrayInputStream(algorithmparameters.getEncoded("ASN.1"));
          ASN1InputStream asn1inputstream = new 
ASN1InputStream(bytearrayinputstream);
 -        DERObject derobject = asn1inputstream.readObject();
 +        ASN1Primitive derobject = asn1inputstream.readObject();
-         KeyGenerator keygenerator = KeyGenerator.getInstance(s);
-         keygenerator.init(128);
-         SecretKey secretkey = keygenerator.generateKey();
+         KeyGenerator keygenerator;
+         try
+         {

++++++ pdfbox-1.8.12.pom -> pdfbox-1.8.15.pom ++++++
--- /work/SRC/openSUSE:Factory/apache-pdfbox/pdfbox-1.8.12.pom  2016-06-19 
10:49:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.apache-pdfbox.new/pdfbox-1.8.15.pom     
2018-07-07 21:57:12.147408674 +0200
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.pdfbox</groupId>
         <artifactId>pdfbox-parent</artifactId>
-        <version>1.8.12</version>
+        <version>1.8.15</version>
         <relativePath>../parent/pom.xml</relativePath>
     </parent>
 
@@ -77,35 +77,28 @@
             <scope>test</scope>
         </dependency>
 
-        <!-- For legal reasons (incompatible license), these two dependencies
+        <!-- For legal reasons (incompatible license), these dependencies
         are to be used only in the tests and may not be distributed.
         See also LEGAL-195 -->
         <dependency>
             <groupId>com.levigo.jbig2</groupId>
             <artifactId>levigo-jbig2-imageio</artifactId>
-            <version>1.6.2</version>
+            <version>1.6.5</version>
             <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>net.java.dev.jai-imageio</groupId>
-            <artifactId>jai-imageio-core-standalone</artifactId>
-            <version>1.2-pre-dr-b04-2011-07-04</version>
+            <groupId>com.github.jai-imageio</groupId>
+            <artifactId>jai-imageio-core</artifactId>
+            <version>1.3.1</version>
             <scope>test</scope>
         </dependency>    
+        <dependency>
+            <groupId>com.github.jai-imageio</groupId>
+            <artifactId>jai-imageio-jpeg2000</artifactId>
+            <version>1.3.0</version>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
-  
-    <repositories>
-        <repository>
-            <id>jbig2.googlecode</id>
-            <name>JBIG2 ImageIO-Plugin repository at googlecode.com</name>
-            
<url>https://jbig2-imageio.googlecode.com/svn/maven-repository/</url>
-        </repository>
-        <repository>
-            <id>mygrid-repository</id>
-            <name>myGrid Repository</name>
-            <url>http://www.mygrid.org.uk/maven/repository</url>
-        </repository>
-    </repositories>
 
     <build>
         <resources>
@@ -141,7 +134,7 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <argLine>-Xmx128m</argLine>
+                    <argLine>-Xmx128m 
-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider</argLine>
                     <includes>
                         <include>org/apache/pdfbox/TestAll.java</include>
                         
<include>org/apache/pdfbox/util/TestImageIOUtils.java</include>
@@ -181,6 +174,7 @@
                         
<exclude>src/test/resources/org/apache/pdfbox/filter/*.bin</exclude>
                         
<exclude>src/test/resources/org/apache/pdfbox/encryption/*.der</exclude>
                         
<exclude>src/test/resources/org/apache/pdfbox/encryption/*.pfx</exclude>
+                        
<exclude>src/test/resources/org/apache/pdfbox/pdmodel/sRGB.*</exclude>
                         <exclude>download/glyphlist.txt</exclude>
                         <exclude>release.properties</exclude>
                     </excludes>


Reply via email to