pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/koffice Update to koffice 1.3.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ec1d71cff1ef
branches:  trunk
changeset: 484059:ec1d71cff1ef
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Nov 23 20:24:08 2004 +0000

description:
Update to koffice 1.3.5

Changes:
KWord
* Fix image inserting
* Fixes when changing properties of multiple frames at once. Also allow
  changing "protect-size" for multiple frames.
KPresenter
* Ignore sticky objects when duplicating a page
KSpread
* Fix un-merging of cells
Filters
KWord's PDF Import Filter
* SECURITY: more robust fix for the integer overflow vulnerability
  [was already in pkgsrc pkg]
KPresenter's OpenOffice.org Impress Export Filter
* Export Group object
* Export Text Vertical Alignment
* Export Text Margins
* Fix "KPresenter export bad horizontal lines in Open Office"
* Fix export vertical line

diffstat:

 misc/koffice/Makefile         |  11 ++++-----
 misc/koffice/distinfo         |   8 ++----
 misc/koffice/patches/patch-ac |  34 ------------------------------
 misc/koffice/patches/patch-ad |  48 -------------------------------------------
 4 files changed, 8 insertions(+), 93 deletions(-)

diffs (125 lines):

diff -r 91fbaafe026f -r ec1d71cff1ef misc/koffice/Makefile
--- a/misc/koffice/Makefile     Tue Nov 23 20:17:55 2004 +0000
+++ b/misc/koffice/Makefile     Tue Nov 23 20:24:08 2004 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.47 2004/11/02 23:32:18 markd Exp $
+# $NetBSD: Makefile,v 1.48 2004/11/23 20:24:08 markd Exp $
 
-DISTNAME=      koffice-1.3.4
-PKGREVISION=   1
+DISTNAME=      koffice-1.3.5
 CATEGORIES=    misc kde
-MASTER_SITES=  ftp://ftp.kde.org/pub/kde/stable/koffice-1.3.4/src/ \
-               ftp://ftp.us.kde.org/pub/kde/stable/koffice-1.3.4/src/ \
-               ftp://ftp.de.kde.org/pub/kde/stable/koffice-1.3.4/src/
+MASTER_SITES=  ftp://ftp.kde.org/pub/kde/stable/koffice-1.3.5/src/ \
+               ftp://ftp.us.kde.org/pub/kde/stable/koffice-1.3.5/src/ \
+               ftp://ftp.de.kde.org/pub/kde/stable/koffice-1.3.5/src/
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
diff -r 91fbaafe026f -r ec1d71cff1ef misc/koffice/distinfo
--- a/misc/koffice/distinfo     Tue Nov 23 20:17:55 2004 +0000
+++ b/misc/koffice/distinfo     Tue Nov 23 20:24:08 2004 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.17 2004/11/02 23:32:18 markd Exp $
+$NetBSD: distinfo,v 1.18 2004/11/23 20:24:08 markd Exp $
 
-SHA1 (koffice-1.3.4.tar.bz2) = 1848f37320833eddae0732aeaabfeddd3e0e35d4
-Size (koffice-1.3.4.tar.bz2) = 10765924 bytes
+SHA1 (koffice-1.3.5.tar.bz2) = feccb391be8039514f23f0f9cde9b01e22625769
+Size (koffice-1.3.5.tar.bz2) = 10778584 bytes
 SHA1 (patch-aa) = 64f32eaaa0f6e29f6ec3c9b92ecf4599cd11f178
 SHA1 (patch-ab) = 6f253484f6c09877cca6b1d1d7610725c895e13a
-SHA1 (patch-ac) = e686a889c9c5c2d17482301227139218ad58ba94
-SHA1 (patch-ad) = a1c30be30cbf80828b10a808bb02fe55835cf2cd
diff -r 91fbaafe026f -r ec1d71cff1ef misc/koffice/patches/patch-ac
--- a/misc/koffice/patches/patch-ac     Tue Nov 23 20:17:55 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-$NetBSD: patch-ac,v 1.6 2004/11/02 23:32:19 markd Exp $
-
---- filters/kword/pdf/xpdf/xpdf/Catalog.cc.orig        2004-10-23 20:01:23.000000000 +1300
-+++ filters/kword/pdf/xpdf/xpdf/Catalog.cc
-@@ -12,6 +12,7 @@
- #pragma implementation
- #endif
- 
-+#include <limits.h>
- #include <stddef.h>
- #include "gmem.h"
- #include "Object.h"
-@@ -63,8 +64,8 @@ Catalog::Catalog(XRef *xrefA) {
-   }
-   pagesSize = numPages0 = obj.getInt();
-   obj.free();
--  if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize ||
--      pagesSize*sizeof(Ref)/sizeof(Ref) != pagesSize) {
-+  if ((unsigned) pagesSize >= INT_MAX / sizeof(Page *) ||
-+      (unsigned) pagesSize >= INT_MAX / sizeof(Ref)) {
-     error(-1, "Invalid 'pagesSize'");
-     ok = gFalse;
-     return;
-@@ -196,8 +197,8 @@ int Catalog::readPageTree(Dict *pagesDic
-       }
-       if (start >= pagesSize) {
-       pagesSize += 32;
--        if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize ||
--            pagesSize*sizeof(Ref)/sizeof(Ref) != pagesSize) {
-+        if ((unsigned) pagesSize >= INT_MAX / sizeof(Page *) ||
-+            (unsigned) pagesSize >= INT_MAX / sizeof(Ref)) {
-           error(-1, "Invalid 'pagesSize' parameter.");
-           goto err3;
-         }
diff -r 91fbaafe026f -r ec1d71cff1ef misc/koffice/patches/patch-ad
--- a/misc/koffice/patches/patch-ad     Tue Nov 23 20:17:55 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-$NetBSD: patch-ad,v 1.7 2004/11/02 23:32:19 markd Exp $
-
---- filters/kword/pdf/xpdf/xpdf/XRef.cc.orig   2004-10-23 20:01:23.000000000 +1300
-+++ filters/kword/pdf/xpdf/xpdf/XRef.cc
-@@ -12,6 +12,7 @@
- #pragma implementation
- #endif
- 
-+#include <limits.h>
- #include <stdlib.h>
- #include <stddef.h>
- #include <string.h>
-@@ -76,7 +77,7 @@ XRef::XRef(BaseStream *strA, GString *ow
- 
-   // trailer is ok - read the xref table
-   } else {
--    if (size*sizeof(XRefEntry)/sizeof(XRefEntry) != size) {
-+    if ((unsigned) size >= INT_MAX / sizeof(XRefEntry)) {
-       error(-1, "Invalid 'size' inside xref table.");
-       ok = gFalse;
-       errCode = errDamaged;
-@@ -273,7 +274,7 @@ GBool XRef::readXRef(Guint *pos) {
-     // table size
-     if (first + n > size) {
-       newSize = size + 256;
--      if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
-+      if ((unsigned) newSize >= INT_MAX / sizeof(XRefEntry)) {
-         error(-1, "Invalid 'newSize'");
-         goto err2;
-       }
-@@ -420,7 +421,7 @@ GBool XRef::constructXRef() {
-           if (!strncmp(p, "obj", 3)) {
-             if (num >= size) {
-               newSize = (num + 1 + 255) & ~255;
--              if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
-+              if ((unsigned) newSize >= INT_MAX / sizeof(XRefEntry)) {
-                 error(-1, "Invalid 'obj' parameters.");
-                 return gFalse;
-               }
-@@ -445,7 +446,7 @@ GBool XRef::constructXRef() {
-     } else if (!strncmp(p, "endstream", 9)) {
-       if (streamEndsLen == streamEndsSize) {
-       streamEndsSize += 64;
--        if (streamEndsSize*sizeof(int)/sizeof(int) != streamEndsSize) {
-+        if ((unsigned) streamEndsSize >= INT_MAX / sizeof(int)) {
-           error(-1, "Invalid 'endstream' parameter.");
-           return gFalse;
-         }



Home | Main Index | Thread Index | Old Index