Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=8e45d38022ef049108cfbcf6a73de67c94797c9e

commit 8e45d38022ef049108cfbcf6a73de67c94797c9e
Author: voroskoi <[EMAIL PROTECTED]>
Date:   Tue Oct 2 23:06:55 2007 +0200

t1lib-5.1.1-2-i686
secfix relbump, closes #2297
disabled docs build because does not work
fixed .so permissions
new m8r

diff --git a/source/xlib/t1lib/CVE-2007-4033.diff 
b/source/xlib/t1lib/CVE-2007-4033.diff
new file mode 100644
index 0000000..6154c56
--- /dev/null
+++ b/source/xlib/t1lib/CVE-2007-4033.diff
@@ -0,0 +1,15 @@
+--- t1lib-5.1.0.orig/lib/t1lib/t1env.c
++++ t1lib-5.1.0/lib/t1lib/t1env.c
+@@ -611,6 +611,12 @@
+ #endif
+     strcat( pathbuf, DIRECTORY_SEP);
+     /* And finally the filename: */
++    /* If current pathbuf + StrippedName + 1 byte for NULL is bigger than 
pathbuf
++       let's try next pathbuf */
++    if( strlen(pathbuf) + strlen(StrippedName) + 1 > sizeof(pathbuf) ) {
++      i++;
++      continue;
++    }
+     strcat( pathbuf, StrippedName);
+
+     /* Check for existence of the path: */
diff --git a/source/xlib/t1lib/FrugalBuild b/source/xlib/t1lib/FrugalBuild
index 088f2a9..2f5bd01 100644
--- a/source/xlib/t1lib/FrugalBuild
+++ b/source/xlib/t1lib/FrugalBuild
@@ -1,23 +1,27 @@
# Compiling time: 0.28 SBU
-# Maintainer: Bence Nagy <[EMAIL PROTECTED]>
+# Contributor: Bence Nagy <[EMAIL PROTECTED]>
+# Maintainer: voroskoi <[EMAIL PROTECTED]>

pkgname=t1lib
pkgver=5.1.1
-pkgrel=1
-pkgdesc="Library for generating character- and string-glyphs from Adobe Type 1 
fonts"
+pkgrel=2
+pkgdesc="Library for generating character- and string-glyphs from Adobe Type 1 
fonts."
url="http://www.ibiblio.org/pub/Linux/libs/graphics/!INDEX.html";
depends=('libxaw')
-makedepends=('tetex')
groups=('xlib')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.ibiblio.org/pub/Linux/libs/graphics/ | grep 
t1lib-.*.tar.gz | tail -n 1 | sed \"s/.*t1lib-\(.*\).tar.gz.*/\1/\""
-source=("http://www.ibiblio.org/pub/Linux/libs/graphics/$pkgname-$pkgver.tar.gz";)
+source=(http://www.ibiblio.org/pub/Linux/libs/graphics/$pkgname-$pkgver.tar.gz 
CVE-2007-4033.diff)

build()
{
-       Fsed "all: t1lib_doc.ps" "all: pdf" doc/Makefile.in
-       Fbuild
+       Fpatchall
+       Fconf
+       make without_doc || Fdie
+       Fmakeinstall
+       chmod +x $Fdestdir/usr/lib/*.so || Fdie
}
+sha1sums=('98418741cb9e0a27d65c2313f93bd1ef53ec1833' \
+          'f99460baf795c67bf4063fad33c93b040a13e78a')

-sha1sums=('98418741cb9e0a27d65c2313f93bd1ef53ec1833')
# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to