ports/124916: [patch] Update print/freetype2 to version 2.3.6
Nick Barkas
snb at threerings.net
Tue Jun 24 00:20:01 UTC 2008
>Number: 124916
>Category: ports
>Synopsis: [patch] Update print/freetype2 to version 2.3.6
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 24 00:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Nick Barkas
>Release: FreeBSD 6.3-RELEASE-p2 i386
>Organization:
Three Rings Design
>Environment:
System: FreeBSD mail1.earth.threerings.net 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #3: Sat May 31 19:44:03 PDT 2008 root at mail1.earth.threerings.net:/usr/obj/usr/src/sys/SMP i386
>Description:
This patch updates print/freetype2 to the latest release. The new version fixes
a few security vulnerabilities which may lead to execution of arbitrary code:
http://secunia.com/advisories/30600.
>How-To-Repeat:
>Fix:
--- freetype2.patch begins here ---
diff -urN freetype2.orig/Makefile freetype2/Makefile
--- freetype2.orig/Makefile 2008-01-23 22:11:56.000000000 -0800
+++ freetype2/Makefile 2008-06-23 14:23:48.000000000 -0700
@@ -7,7 +7,7 @@
#
PORTNAME= freetype2
-PORTVERSION= 2.3.5
+PORTVERSION= 2.3.6
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,freetype,} \
http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/%SUBDIR%/ \
diff -urN freetype2.orig/distinfo freetype2/distinfo
--- freetype2.orig/distinfo 2007-10-24 16:36:27.000000000 -0700
+++ freetype2/distinfo 2008-06-23 14:29:57.000000000 -0700
@@ -1,3 +1,3 @@
-MD5 (freetype-2.3.5.tar.bz2) = 65234327c5ac46ee00ebda15995d4c1c
-SHA256 (freetype-2.3.5.tar.bz2) = 1b357a3a1106c78c80dfd25e3854c3faa9a3dfc7063a4a1e5404e70c241d677e
-SIZE (freetype-2.3.5.tar.bz2) = 1279861
+MD5 (freetype-2.3.6.tar.bz2) = fb182d508017cb608e9df8c7dca648dc
+SHA256 (freetype-2.3.6.tar.bz2) = d5a698c30376d14c1ce6540ed6d5627796421e6e97576620ea4562411a110e77
+SIZE (freetype-2.3.6.tar.bz2) = 1305717
diff -urN freetype2.orig/files/patch-aa freetype2/files/patch-aa
--- freetype2.orig/files/patch-aa 2007-10-24 16:36:27.000000000 -0700
+++ freetype2/files/patch-aa 2008-06-23 14:34:54.000000000 -0700
@@ -14,11 +14,11 @@
ifdef must_configure
ifneq ($(have_Makefile),)
# we are building FT2 not in the src tree
-- $(TOP_DIR)/builds/unix/configure $(CFG)
-+# $(TOP_DIR)/builds/unix/configure $(CFG)
+- $(TOP_DIR)/builds/unix/configure $(value CFG)
++# $(TOP_DIR)/builds/unix/configure $(value CFG)
else
-- cd builds/unix; ./configure $(CFG)
-+# cd builds/unix; ./configure $(CFG)
+- cd builds/unix; ./configure $(value CFG)
++# cd builds/unix; ./configure $(value CFG)
endif
endif
diff -urN freetype2.orig/files/patch-builds::unix::configure freetype2/files/patch-builds::unix::configure
--- freetype2.orig/files/patch-builds::unix::configure 2006-10-14 01:35:44.000000000 -0700
+++ freetype2/files/patch-builds::unix::configure 1969-12-31 16:00:00.000000000 -0800
@@ -1,13 +0,0 @@
-
-$FreeBSD: ports/print/freetype2/files/patch-builds::unix::configure,v 1.4 2006/10/14 08:35:44 marcus Exp $
-
---- builds/unix/configure.orig Mon Apr 22 19:50:27 2002
-+++ builds/unix/configure Fri Jun 21 15:48:06 2002
-@@ -8654,6 +8654,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN freetype2.orig/pkg-plist freetype2/pkg-plist
--- freetype2.orig/pkg-plist 2007-10-24 16:36:27.000000000 -0700
+++ freetype2/pkg-plist 2008-06-23 14:55:47.000000000 -0700
@@ -10,6 +10,7 @@
include/freetype2/freetype/ftbitmap.h
include/freetype2/freetype/ftcache.h
include/freetype2/freetype/ftchapters.h
+include/freetype2/freetype/ftcid.h
include/freetype2/freetype/fterrdef.h
include/freetype2/freetype/fterrors.h
include/freetype2/freetype/ftgasp.h
--- freetype2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list