[21387] trunk/dports/kde/koffice/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Jan 22 11:08:00 PST 2007


Revision: 21387
          http://trac.macosforge.org/projects/macports/changeset/21387
Author:   takanori at macports.org
Date:     2007-01-22 11:08:00 -0800 (Mon, 22 Jan 2007)

Log Message:
-----------
* Fixed an integer overflow issue in olefilters. (CVE-2006-6120)
  http://www.kde.org/info/security/advisory-20061205-1.txt
* Fixed a DoS vulnerability in kpdf/kword/xpdf. (CVE-2007-0104)
  http://www.kde.org/info/security/advisory-20070115-1.txt

Modified Paths:
--------------
    trunk/dports/kde/koffice/Portfile

Modified: trunk/dports/kde/koffice/Portfile
===================================================================
--- trunk/dports/kde/koffice/Portfile	2007-01-22 19:07:25 UTC (rev 21386)
+++ trunk/dports/kde/koffice/Portfile	2007-01-22 19:08:00 UTC (rev 21387)
@@ -5,6 +5,7 @@
 PortSystem 1.0
 name		koffice
 version		1.6.0
+revision	1
 set kdeadmin	kde-admindir-429
 categories	kde
 maintainers	nomaintainer at macports.org
@@ -18,15 +19,18 @@
 		http://ranger.befunk.com/fink/:admin \
 		http://astrange.ithinksw.net/~astrange/ranger-fink/:admin \
 		http://www.southofheaven.net/befunk/:admin \
-		http://www.opendarwin.org/~takanori/mirror/${name}/${version}_${revision}/:patch
+		http://www.opendarwin.org/~takanori/mirror/${name}/${version}_0/:patch \
+		kde:security_patches/:security
 #		opendarwin::koffice160
 #		opendarwin::admin
 use_bzip2	yes
 distname	${name}-${version}
-set distpatch	${name}-${version}_${revision}-tiger.patch
+set distpatch	${name}-${version}_0-tiger.patch
 distfiles	${distname}.tar.bz2:koffice160 \
 		${distpatch}:patch \
-		${kdeadmin}.tar.bz2:admin
+		${kdeadmin}.tar.bz2:admin \
+		post-koffice-1.6.0.diff:security \
+		koffce-xpdf-CVE-2007-0104.diff:security
 depends_build	port:autoconf \
 		port:unsermake
 depends_lib	port:kdebase3 \
@@ -41,8 +45,10 @@
 
 checksums	${distname}.tar.bz2 md5 e669cf19b2e1c7db7029c0772c527c0d \
 		${kdeadmin}.tar.bz2 md5 73186bf0bdabf96c9f7d559de56d3772 \
-		${name}-${version}_${revision}-panther.patch md5 adbb064e50d02af7f2eebbba51b5c907 \
-		${name}-${version}_${revision}-tiger.patch md5 9f9e5b1c557d5e8da45c5f5f43daa90f
+		${name}-${version}_0-panther.patch md5 adbb064e50d02af7f2eebbba51b5c907 \
+		${name}-${version}_0-tiger.patch md5 9f9e5b1c557d5e8da45c5f5f43daa90f \
+		post-koffice-1.6.0.diff md5 20dff20ccd2e184f1874aa60d85f4380 \
+		koffce-xpdf-CVE-2007-0104.diff md5 dc28881c39f11c040f8c942e4af238d1
 
 extract.only	${distname}.tar.bz2
 post-extract	{ system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
@@ -55,6 +61,8 @@
 			system "sed -e 's, at FINKPREFIX@,${prefix},g' ${filespath}/${file} | patch -p1"
 		}
 		system "perl -pi -e 's,-O2,-Os,g; s,doc/HTML,doc/kde,g; s,/usr/share/doc/packages/qt3/html,${prefix}/share/doc/qt3/html,g;' admin/*"
+		system "patch -p0 < ${distpath}/post-koffice-1.6.0.diff"
+		system "patch -p0 < ${distpath}/koffce-xpdf-CVE-2007-0104.diff"
 }
 post-patch	{
 		reinplace "s|/lib/freetype219||g" ${worksrcpath}/environment-helper.sh
@@ -89,7 +97,7 @@
 
 platform darwin 7 {
 		distfiles-delete	${distpatch}:patch
-		set distpatch		${name}-${version}_${revision}-panther.patch
+		set distpatch		${name}-${version}_0-panther.patch
 		distfiles-append	${distpatch}:patch
 		post-patch	{
 #				if {[variant_isset with-ruby]} {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070122/03df4100/attachment.html


More information about the macports-changes mailing list