diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2007-02-05 14:06:20 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2007-02-05 14:06:20 +0000 |
commit | 6be45ec5f5338d9a7a109fea410a64e5d19cdac1 (patch) | |
tree | 6aba2d9646c0f454a3d45be10ed7ed5f5f237900 | |
parent | - Fix whom (diff) |
Update to 3.3.7
Notes
Notes:
svn path=/head/; revision=184271
-rw-r--r-- | databases/qt-ibase-plugin/Makefile | 2 | ||||
-rw-r--r-- | databases/qt-ibase-plugin/distinfo | 6 | ||||
-rw-r--r-- | databases/qt-ibase-plugin/pkg-descr | 4 | ||||
-rw-r--r-- | databases/qt-mysql-plugin/Makefile | 2 | ||||
-rw-r--r-- | databases/qt-mysql-plugin/distinfo | 6 | ||||
-rw-r--r-- | databases/qt-mysql-plugin/pkg-descr | 2 | ||||
-rw-r--r-- | databases/qt-odbc-plugin/Makefile | 2 | ||||
-rw-r--r-- | databases/qt-odbc-plugin/distinfo | 6 | ||||
-rw-r--r-- | databases/qt-odbc-plugin/pkg-descr | 4 | ||||
-rw-r--r-- | databases/qt-pgsql-plugin/Makefile | 2 | ||||
-rw-r--r-- | databases/qt-pgsql-plugin/distinfo | 6 | ||||
-rw-r--r-- | databases/qt-pgsql-plugin/pkg-descr | 4 | ||||
-rw-r--r-- | databases/qt-sqlite-plugin/Makefile | 2 | ||||
-rw-r--r-- | databases/qt-sqlite-plugin/distinfo | 6 | ||||
-rw-r--r-- | databases/qt-sqlite-plugin/pkg-descr | 4 | ||||
-rw-r--r-- | devel/qmake/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/qt33/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/qt33/distinfo | 6 | ||||
-rw-r--r-- | x11-toolkits/qt33/files/patch-CVE-2006-4811 | 140 | ||||
-rw-r--r-- | x11-toolkits/qt33/pkg-plist | 2 |
20 files changed, 41 insertions, 177 deletions
diff --git a/databases/qt-ibase-plugin/Makefile b/databases/qt-ibase-plugin/Makefile index 40495332aa4a..735fe819281a 100644 --- a/databases/qt-ibase-plugin/Makefile +++ b/databases/qt-ibase-plugin/Makefile @@ -7,7 +7,7 @@ # PORTNAME= qt-${DB}-plugin -PORTVERSION= 3.3.5 +PORTVERSION= 3.3.7 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_QT} DISTNAME= qt-x11-free-${PORTVERSION} diff --git a/databases/qt-ibase-plugin/distinfo b/databases/qt-ibase-plugin/distinfo index d64e020c1afc..16220770609f 100644 --- a/databases/qt-ibase-plugin/distinfo +++ b/databases/qt-ibase-plugin/distinfo @@ -1,3 +1,3 @@ -MD5 (KDE/qt-x11-free-3.3.5.tar.bz2) = 05d04688c0c0230ed54e89102d689ca4 -SHA256 (KDE/qt-x11-free-3.3.5.tar.bz2) = aac89e862c74b2f3ead768e50e9fa7ada1e4225fe9d1d9e05723a3279259eb96 -SIZE (KDE/qt-x11-free-3.3.5.tar.bz2) = 14431679 +MD5 (KDE/qt-x11-free-3.3.7.tar.bz2) = 655e21cf6a7e66daf8ec6ceda81aae1e +SHA256 (KDE/qt-x11-free-3.3.7.tar.bz2) = 48c05b501029f0640db665fbc7f981a0efbf69ad3cf87a43c5eea4872f4f7ba1 +SIZE (KDE/qt-x11-free-3.3.7.tar.bz2) = 14564513 diff --git a/databases/qt-ibase-plugin/pkg-descr b/databases/qt-ibase-plugin/pkg-descr index 65136661f810..fe74b53299d5 100644 --- a/databases/qt-ibase-plugin/pkg-descr +++ b/databases/qt-ibase-plugin/pkg-descr @@ -1,4 +1,4 @@ -The IBase/Firebird Plugin from Qt3, which provides an easy access method from +The IBase/Firebird Plugin from Qt 3, which provides an easy access method from within Qt applications. -WWW: http://www.trolltech.com/products/qt/database.html +WWW: http://doc.trolltech.com/3.3/sql diff --git a/databases/qt-mysql-plugin/Makefile b/databases/qt-mysql-plugin/Makefile index 5fe3096ac2ae..840e3881407e 100644 --- a/databases/qt-mysql-plugin/Makefile +++ b/databases/qt-mysql-plugin/Makefile @@ -7,7 +7,7 @@ # PORTNAME= qt-${DB}-plugin -PORTVERSION= 3.3.5 +PORTVERSION= 3.3.7 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_QT} DISTNAME= qt-x11-free-${PORTVERSION} diff --git a/databases/qt-mysql-plugin/distinfo b/databases/qt-mysql-plugin/distinfo index d64e020c1afc..16220770609f 100644 --- a/databases/qt-mysql-plugin/distinfo +++ b/databases/qt-mysql-plugin/distinfo @@ -1,3 +1,3 @@ -MD5 (KDE/qt-x11-free-3.3.5.tar.bz2) = 05d04688c0c0230ed54e89102d689ca4 -SHA256 (KDE/qt-x11-free-3.3.5.tar.bz2) = aac89e862c74b2f3ead768e50e9fa7ada1e4225fe9d1d9e05723a3279259eb96 -SIZE (KDE/qt-x11-free-3.3.5.tar.bz2) = 14431679 +MD5 (KDE/qt-x11-free-3.3.7.tar.bz2) = 655e21cf6a7e66daf8ec6ceda81aae1e +SHA256 (KDE/qt-x11-free-3.3.7.tar.bz2) = 48c05b501029f0640db665fbc7f981a0efbf69ad3cf87a43c5eea4872f4f7ba1 +SIZE (KDE/qt-x11-free-3.3.7.tar.bz2) = 14564513 diff --git a/databases/qt-mysql-plugin/pkg-descr b/databases/qt-mysql-plugin/pkg-descr index 1f02fe97e84c..35e638cd1245 100644 --- a/databases/qt-mysql-plugin/pkg-descr +++ b/databases/qt-mysql-plugin/pkg-descr @@ -1,4 +1,4 @@ The MySQL-Plugin from Qt 3, which provides an easy access method from within Qt applications. -WWW: http://www.trolltech.com/products/qt/database.html +WWW: http://doc.trolltech.com/3.3/sql diff --git a/databases/qt-odbc-plugin/Makefile b/databases/qt-odbc-plugin/Makefile index b47865ab2aab..e62f1f5e7826 100644 --- a/databases/qt-odbc-plugin/Makefile +++ b/databases/qt-odbc-plugin/Makefile @@ -7,7 +7,7 @@ # PORTNAME= qt-${DB}-plugin -PORTVERSION= 3.3.5 +PORTVERSION= 3.3.7 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_QT} DISTNAME= qt-x11-free-${PORTVERSION} diff --git a/databases/qt-odbc-plugin/distinfo b/databases/qt-odbc-plugin/distinfo index d64e020c1afc..16220770609f 100644 --- a/databases/qt-odbc-plugin/distinfo +++ b/databases/qt-odbc-plugin/distinfo @@ -1,3 +1,3 @@ -MD5 (KDE/qt-x11-free-3.3.5.tar.bz2) = 05d04688c0c0230ed54e89102d689ca4 -SHA256 (KDE/qt-x11-free-3.3.5.tar.bz2) = aac89e862c74b2f3ead768e50e9fa7ada1e4225fe9d1d9e05723a3279259eb96 -SIZE (KDE/qt-x11-free-3.3.5.tar.bz2) = 14431679 +MD5 (KDE/qt-x11-free-3.3.7.tar.bz2) = 655e21cf6a7e66daf8ec6ceda81aae1e +SHA256 (KDE/qt-x11-free-3.3.7.tar.bz2) = 48c05b501029f0640db665fbc7f981a0efbf69ad3cf87a43c5eea4872f4f7ba1 +SIZE (KDE/qt-x11-free-3.3.7.tar.bz2) = 14564513 diff --git a/databases/qt-odbc-plugin/pkg-descr b/databases/qt-odbc-plugin/pkg-descr index 7e441b58e421..3c74bc108118 100644 --- a/databases/qt-odbc-plugin/pkg-descr +++ b/databases/qt-odbc-plugin/pkg-descr @@ -1,4 +1,4 @@ -The ODBC Plugin from Qt3, which provides an easy access method from +The ODBC Plugin from Qt 3, which provides an easy access method from within Qt applications. -WWW: http://www.trolltech.com/products/qt/database.html +WWW: http://doc.trolltech.com/3.3/sql diff --git a/databases/qt-pgsql-plugin/Makefile b/databases/qt-pgsql-plugin/Makefile index 5159a8613795..270480a6ea26 100644 --- a/databases/qt-pgsql-plugin/Makefile +++ b/databases/qt-pgsql-plugin/Makefile @@ -7,7 +7,7 @@ # PORTNAME= qt-${DB}-plugin -PORTVERSION= 3.3.5 +PORTVERSION= 3.3.7 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_QT} DISTNAME= qt-x11-free-${PORTVERSION} diff --git a/databases/qt-pgsql-plugin/distinfo b/databases/qt-pgsql-plugin/distinfo index d64e020c1afc..16220770609f 100644 --- a/databases/qt-pgsql-plugin/distinfo +++ b/databases/qt-pgsql-plugin/distinfo @@ -1,3 +1,3 @@ -MD5 (KDE/qt-x11-free-3.3.5.tar.bz2) = 05d04688c0c0230ed54e89102d689ca4 -SHA256 (KDE/qt-x11-free-3.3.5.tar.bz2) = aac89e862c74b2f3ead768e50e9fa7ada1e4225fe9d1d9e05723a3279259eb96 -SIZE (KDE/qt-x11-free-3.3.5.tar.bz2) = 14431679 +MD5 (KDE/qt-x11-free-3.3.7.tar.bz2) = 655e21cf6a7e66daf8ec6ceda81aae1e +SHA256 (KDE/qt-x11-free-3.3.7.tar.bz2) = 48c05b501029f0640db665fbc7f981a0efbf69ad3cf87a43c5eea4872f4f7ba1 +SIZE (KDE/qt-x11-free-3.3.7.tar.bz2) = 14564513 diff --git a/databases/qt-pgsql-plugin/pkg-descr b/databases/qt-pgsql-plugin/pkg-descr index 38a33b5b6a4a..7de651de1075 100644 --- a/databases/qt-pgsql-plugin/pkg-descr +++ b/databases/qt-pgsql-plugin/pkg-descr @@ -1,4 +1,4 @@ -The PostgreSQL Plugin from Qt3, which provides an easy access method from +The PostgreSQL Plugin from Qt 3, which provides an easy access method from within Qt applications. -WWW: http://www.trolltech.com/products/qt/database.html +WWW: http://doc.trolltech.com/3.3/sql diff --git a/databases/qt-sqlite-plugin/Makefile b/databases/qt-sqlite-plugin/Makefile index d6d8f97fa675..0ce318ce0de3 100644 --- a/databases/qt-sqlite-plugin/Makefile +++ b/databases/qt-sqlite-plugin/Makefile @@ -7,7 +7,7 @@ # PORTNAME= qt-${DB}-plugin -PORTVERSION= 3.3.5 +PORTVERSION= 3.3.7 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_QT} DISTNAME= qt-x11-free-${PORTVERSION} diff --git a/databases/qt-sqlite-plugin/distinfo b/databases/qt-sqlite-plugin/distinfo index d64e020c1afc..16220770609f 100644 --- a/databases/qt-sqlite-plugin/distinfo +++ b/databases/qt-sqlite-plugin/distinfo @@ -1,3 +1,3 @@ -MD5 (KDE/qt-x11-free-3.3.5.tar.bz2) = 05d04688c0c0230ed54e89102d689ca4 -SHA256 (KDE/qt-x11-free-3.3.5.tar.bz2) = aac89e862c74b2f3ead768e50e9fa7ada1e4225fe9d1d9e05723a3279259eb96 -SIZE (KDE/qt-x11-free-3.3.5.tar.bz2) = 14431679 +MD5 (KDE/qt-x11-free-3.3.7.tar.bz2) = 655e21cf6a7e66daf8ec6ceda81aae1e +SHA256 (KDE/qt-x11-free-3.3.7.tar.bz2) = 48c05b501029f0640db665fbc7f981a0efbf69ad3cf87a43c5eea4872f4f7ba1 +SIZE (KDE/qt-x11-free-3.3.7.tar.bz2) = 14564513 diff --git a/databases/qt-sqlite-plugin/pkg-descr b/databases/qt-sqlite-plugin/pkg-descr index 6b329b0811d1..eedafb78b960 100644 --- a/databases/qt-sqlite-plugin/pkg-descr +++ b/databases/qt-sqlite-plugin/pkg-descr @@ -1,4 +1,4 @@ -The SQLite Plugin from Qt3, which provides an easy access method from +The SQLite Plugin from Qt 3, which provides an easy access method from within Qt applications. -WWW: http://www.trolltech.com/products/qt/database.html +WWW: http://doc.trolltech.com/3.3/sql diff --git a/devel/qmake/Makefile b/devel/qmake/Makefile index eb4e6eacb8f4..1593d46d495e 100644 --- a/devel/qmake/Makefile +++ b/devel/qmake/Makefile @@ -6,7 +6,7 @@ # PORTNAME= qmake -PORTVERSION= 3.3.6 +PORTVERSION= 3.3.7 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_QT} DISTNAME= qt-x11-free-${PORTVERSION} diff --git a/x11-toolkits/qt33/Makefile b/x11-toolkits/qt33/Makefile index f1a4b098f9b4..49df94103f91 100644 --- a/x11-toolkits/qt33/Makefile +++ b/x11-toolkits/qt33/Makefile @@ -7,8 +7,7 @@ # PORTNAME= qt -PORTVERSION= 3.3.6 -PORTREVISION= 3 +PORTVERSION= 3.3.7 CATEGORIES?= x11-toolkits ipv6 MASTER_SITES= ${MASTER_SITE_QT} DISTNAME= qt-x11-free-${PORTVERSION} @@ -31,7 +30,8 @@ USE_BZIP2= yes REINPLACE_ARGS= -i "" USE_X_PREFIX= yes HAS_CONFIGURE= yes -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes +NO_FILTER_SHLIBS=yes .if defined(PACKAGE_BUILDING) TMPDIR?= /tmp @@ -147,6 +147,10 @@ CONFLICTS+= qt-3.3.* CONFLICTS+= qt-copy-[0-9]* .endif +.if ${X_WINDOW_SYSTEM:L} == xfree86-3 +IGNORE= "The QT ${PORTVERSION} port does not support any XFree86 < 4.x" +.endif + .if exists(${X11BASE}/include/qt2/qapp.h) BROKEN= "You have QT2 headers installed! Installing this port" BROKEN+="will result in conflicts between QT3 and QT2!" diff --git a/x11-toolkits/qt33/distinfo b/x11-toolkits/qt33/distinfo index 077f06548a5e..16220770609f 100644 --- a/x11-toolkits/qt33/distinfo +++ b/x11-toolkits/qt33/distinfo @@ -1,3 +1,3 @@ -MD5 (KDE/qt-x11-free-3.3.6.tar.bz2) = dc1384c03ac08af21f6fefab32d982cf -SHA256 (KDE/qt-x11-free-3.3.6.tar.bz2) = 04f12083f6a6f7a8fd4d34a6c1efd37db76a67580c424f4fb7b7c43c0565e6ae -SIZE (KDE/qt-x11-free-3.3.6.tar.bz2) = 14565843 +MD5 (KDE/qt-x11-free-3.3.7.tar.bz2) = 655e21cf6a7e66daf8ec6ceda81aae1e +SHA256 (KDE/qt-x11-free-3.3.7.tar.bz2) = 48c05b501029f0640db665fbc7f981a0efbf69ad3cf87a43c5eea4872f4f7ba1 +SIZE (KDE/qt-x11-free-3.3.7.tar.bz2) = 14564513 diff --git a/x11-toolkits/qt33/files/patch-CVE-2006-4811 b/x11-toolkits/qt33/files/patch-CVE-2006-4811 deleted file mode 100644 index 78b4beff638f..000000000000 --- a/x11-toolkits/qt33/files/patch-CVE-2006-4811 +++ /dev/null @@ -1,140 +0,0 @@ ---- src/kernel/qfontengine_x11.cpp Thu Oct 19 14:41:41 CEST 2006 -+++ src/kernel/qfontengine_x11.cpp Thu Oct 19 14:41:41 CEST 2006 - -@@ -171,7 +171,8 @@ - - QRect br = xmat.mapRect(QRect(x, y - si->ascent, w, h)); - QRect br2 = br & pdevRect; -- if (br2.width() <= 0 || br2.height() <= 0) -+ if (br2.width() <= 0 || br2.height() <= 0 -+ || br2.width() >= 32768 || br2.height() >= 32768) - return; - QWMatrix mat = QPixmap::trueMatrix( xmat, w, h ); - QBitmap wx_bm = ::transform(dpy, bm, br2.x() - br.x(), br2.y() - br.y(), br2.width(), br2.height(), mat); - ---- src/kernel/qimage.cpp Thu Oct 19 14:41:41 CEST 2006 -+++ src/kernel/qimage.cpp Thu Oct 19 14:41:41 CEST 2006 - -@@ -475,7 +475,12 @@ - Endian bitOrder ) - { - init(); -- if ( w <= 0 || h <= 0 || depth <= 0 || numColors < 0 ) -+ int bpl = ((w*depth+31)/32)*4; // bytes per scanline -+ if ( w <= 0 || h <= 0 || depth <= 0 || numColors < 0 -+ || INT_MAX / sizeof(uchar *) < uint(h) -+ || INT_MAX / uint(depth) < uint(w) -+ || bpl <= 0 -+ || INT_MAX / uint(bpl) < uint(h) ) - return; // invalid parameter(s) - data->w = w; - data->h = h; -@@ -483,7 +488,6 @@ - data->ncols = depth != 32 ? numColors : 0; - if ( !yourdata ) - return; // Image header info can be saved without needing to allocate memory. -- int bpl = ((w*depth+31)/32)*4; // bytes per scanline - data->nbytes = bpl*h; - if ( colortable || !data->ncols ) { - data->ctbl = colortable; -@@ -525,7 +529,10 @@ - Endian bitOrder ) - { - init(); -- if ( !yourdata || w <= 0 || h <= 0 || depth <= 0 || numColors < 0 ) -+ if ( !yourdata || w <= 0 || h <= 0 || depth <= 0 || numColors < 0 -+ || INT_MAX / sizeof(uchar *) < uint(h) -+ || INT_MAX / uint(bpl) < uint(h) -+ ) - return; // invalid parameter(s) - data->w = w; - data->h = h; -@@ -1264,7 +1271,7 @@ - if ( data->ncols != numColors ) // could not alloc color table - return FALSE; - -- if ( INT_MAX / depth < width) { // sanity check for potential overflow -+ if ( INT_MAX / uint(depth) < uint(width) ) { // sanity check for potential overflow - setNumColors( 0 ); - return FALSE; - } -@@ -1277,7 +1284,9 @@ - // #### WWA: shouldn't this be (width*depth+7)/8: - const int pad = bpl - (width*depth)/8; // pad with zeros - #endif -- if (INT_MAX / bpl < height) { // sanity check for potential overflow -+ if ( INT_MAX / uint(bpl) < uint(height) -+ || bpl < 0 -+ || INT_MAX / sizeof(uchar *) < uint(height) ) { // sanity check for potential overflow - setNumColors( 0 ); - return FALSE; - } - ---- src/kernel/qpixmap_x11.cpp Thu Oct 19 14:41:41 CEST 2006 -+++ src/kernel/qpixmap_x11.cpp Thu Oct 19 14:41:41 CEST 2006 - -@@ -953,6 +953,9 @@ - bool force_mono = (dd == 1 || isQBitmap() || - (conversion_flags & ColorMode_Mask)==MonoOnly ); - -+ if ( w >= 32768 || h >= 32768 ) -+ return FALSE; -+ - // get rid of the mask - delete data->mask; - data->mask = 0; -@@ -1678,11 +1681,11 @@ - - QPixmap QPixmap::xForm( const QWMatrix &matrix ) const - { -- int w = 0; -- int h = 0; // size of target pixmap -- int ws, hs; // size of source pixmap -+ uint w = 0; -+ uint h = 0; // size of target pixmap -+ uint ws, hs; // size of source pixmap - uchar *dptr; // data in target pixmap -- int dbpl, dbytes; // bytes per line/bytes total -+ uint dbpl, dbytes; // bytes per line/bytes total - uchar *sptr; // data in original pixmap - int sbpl; // bytes per line in original - int bpp; // bits per pixel -@@ -1697,19 +1700,24 @@ - - QWMatrix mat( matrix.m11(), matrix.m12(), matrix.m21(), matrix.m22(), 0., 0. ); - -+ double scaledWidth; -+ double scaledHeight; -+ - if ( matrix.m12() == 0.0F && matrix.m21() == 0.0F ) { - if ( matrix.m11() == 1.0F && matrix.m22() == 1.0F ) - return *this; // identity matrix -- h = qRound( matrix.m22()*hs ); -- w = qRound( matrix.m11()*ws ); -- h = QABS( h ); -- w = QABS( w ); -+ scaledHeight = matrix.m22()*hs; -+ scaledWidth = matrix.m11()*ws; -+ h = QABS( qRound( scaledHeight ) ); -+ w = QABS( qRound( scaledWidth ) ); - } else { // rotation or shearing - QPointArray a( QRect(0,0,ws+1,hs+1) ); - a = mat.map( a ); - QRect r = a.boundingRect().normalize(); - w = r.width()-1; - h = r.height()-1; -+ scaledWidth = w; -+ scaledHeight = h; - } - - mat = trueMatrix( mat, ws, hs ); // true matrix -@@ -1718,7 +1726,8 @@ - bool invertible; - mat = mat.invert( &invertible ); // invert matrix - -- if ( h == 0 || w == 0 || !invertible ) { // error, return null pixmap -+ if ( h == 0 || w == 0 || !invertible -+ || QABS(scaledWidth) >= 32768 || QABS(scaledHeight) >= 32768 ) { // error, return null pixmap - QPixmap pm; - pm.data->bitmap = data->bitmap; - return pm; diff --git a/x11-toolkits/qt33/pkg-plist b/x11-toolkits/qt33/pkg-plist index 25937c0ce0dd..48a7f7dddbde 100644 --- a/x11-toolkits/qt33/pkg-plist +++ b/x11-toolkits/qt33/pkg-plist @@ -415,7 +415,7 @@ lib/libqt-mt.prl lib/libqt-mt.so lib/libqt-mt.so.3 lib/libqt-mt.so.3.3 -lib/libqt-mt.so.3.3.6 +lib/libqt-mt.so.3.3.7 lib/libqui.prl lib/libqui.so lib/libqui.so.1 |