summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2007-09-22 19:14:06 +0000
committerRyan Hill <rhill@gentoo.org>2007-09-22 19:14:06 +0000
commitbaed49befccfe5cb675c33d79118c8e3ed7fd6cd (patch)
tree543b4272bdbddad91cadc3e01e32c9d3da9943c7 /media-libs/t1lib
parentAdd epunt_cxx for bug #185602. (diff)
downloadhistorical-baed49befccfe5cb675c33d79118c8e3ed7fd6cd.tar.gz
historical-baed49befccfe5cb675c33d79118c8e3ed7fd6cd.tar.bz2
historical-baed49befccfe5cb675c33d79118c8e3ed7fd6cd.zip
Revision bump for Secunia SA26241, bug #193437. Version bump for bug #130362.
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'media-libs/t1lib')
-rw-r--r--media-libs/t1lib/ChangeLog10
-rw-r--r--media-libs/t1lib/Manifest27
-rw-r--r--media-libs/t1lib/files/digest-t1lib-5.0.2-r13
-rw-r--r--media-libs/t1lib/files/digest-t1lib-5.1.13
-rw-r--r--media-libs/t1lib/files/t1lib-5.0.2-SA26241_buffer_overflow.patch20
-rw-r--r--media-libs/t1lib/t1lib-5.0.2-r1.ebuild74
-rw-r--r--media-libs/t1lib/t1lib-5.1.1.ebuild72
7 files changed, 204 insertions, 5 deletions
diff --git a/media-libs/t1lib/ChangeLog b/media-libs/t1lib/ChangeLog
index a190c44ce0cb..9b453bc87008 100644
--- a/media-libs/t1lib/ChangeLog
+++ b/media-libs/t1lib/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/t1lib
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/ChangeLog,v 1.54 2007/07/22 09:01:05 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/ChangeLog,v 1.55 2007/09/22 19:14:05 dirtyepic Exp $
+
+*t1lib-5.1.1 (22 Sep 2007)
+*t1lib-5.0.2-r1 (22 Sep 2007)
+
+ 22 Sep 2007; Ryan Hill <dirtyepic@gentoo.org>
+ +files/t1lib-5.0.2-SA26241_buffer_overflow.patch, +t1lib-5.0.2-r1.ebuild,
+ +t1lib-5.1.1.ebuild:
+ Revision bump for Secunia SA26241, bug #193437. Version bump for bug #130362.
22 Jul 2007; Samuli Suominen <drac@gentoo.org> t1lib-5.0.2.ebuild:
Remove virtual/x11 references.
diff --git a/media-libs/t1lib/Manifest b/media-libs/t1lib/Manifest
index 3d35f0c422ac..354f3fe97739 100644
--- a/media-libs/t1lib/Manifest
+++ b/media-libs/t1lib/Manifest
@@ -2,6 +2,10 @@ AUX t1lib-1.3.1-asneeded.patch 446 RMD160 04dbf0f2e515ab0dd0da4d49e096679344b72c
MD5 7e629249d8886a80df94bbf2a091bae3 files/t1lib-1.3.1-asneeded.patch 446
RMD160 04dbf0f2e515ab0dd0da4d49e096679344b72cf9 files/t1lib-1.3.1-asneeded.patch 446
SHA256 fcb13e53bc92b93f67717a473061d7b9e50a214135559a932a18719b2e3bb43b files/t1lib-1.3.1-asneeded.patch 446
+AUX t1lib-5.0.2-SA26241_buffer_overflow.patch 725 RMD160 daaae2cc279c9380121fffbede4314142c87e7ef SHA1 d95db25a0c3924d9fa0cd0bb5f46358adfc8b2d7 SHA256 9cd3ab4d7ede0cf32a233a669b49c7189fa90551b60f2d6677aa699430e677ba
+MD5 a74eb33858b9c5b99ecdc4d934bc30ed files/t1lib-5.0.2-SA26241_buffer_overflow.patch 725
+RMD160 daaae2cc279c9380121fffbede4314142c87e7ef files/t1lib-5.0.2-SA26241_buffer_overflow.patch 725
+SHA256 9cd3ab4d7ede0cf32a233a669b49c7189fa90551b60f2d6677aa699430e677ba files/t1lib-5.0.2-SA26241_buffer_overflow.patch 725
AUX t1lib-5.0.2-asneeded.patch 446 RMD160 04dbf0f2e515ab0dd0da4d49e096679344b72cf9 SHA1 7310f93cc45908d67dd5c2184e6e359ad9785a06 SHA256 fcb13e53bc92b93f67717a473061d7b9e50a214135559a932a18719b2e3bb43b
MD5 7e629249d8886a80df94bbf2a091bae3 files/t1lib-5.0.2-asneeded.patch 446
RMD160 04dbf0f2e515ab0dd0da4d49e096679344b72cf9 files/t1lib-5.0.2-asneeded.patch 446
@@ -12,18 +16,27 @@ RMD160 15c0f89f625c0433ee05af1e5c08ce06904b1235 files/t1lib-5.0.2-gentoo.diff 26
SHA256 a336bc4b305b1635d665a746f47e77cbc8e79a836dbf784ec58d1c339df38c5b files/t1lib-5.0.2-gentoo.diff 2619
DIST t1lib-1.3.1.tar.gz 1528684 RMD160 c45bb3ca5170c55e841132bacc9b2ee049ef723f SHA1 01fba5a0c9249e69e6fd41d24641e85d17e94a26 SHA256 489a594f259339edab33890b47102945ac141ccfa8342b9e1e4c6432b174071f
DIST t1lib-5.0.2.tar.gz 1697086 RMD160 d6ff7fa3baca4a4ce78960a145bfa69b4cd771fa SHA1 71a6ec6c84a2e28a21f261be865e0dabe52daeb5 SHA256 34ff6a85d1dae64d06b5aca04fb17822dd26a734f40cd966e3dd980afa4a037a
+DIST t1lib-5.1.1.tar.gz 1838914 RMD160 4421f5d86de810682304b36ca129b5aeb37bf2a1 SHA1 98418741cb9e0a27d65c2313f93bd1ef53ec1833 SHA256 08deab80f72427b4457295384698b7f9c719ad1653289baae7123539495a3c64
EBUILD t1lib-1.3.1.ebuild 1552 RMD160 476ddfb63e3710fadc8d7dbd2f200baa9b080e9c SHA1 880c1e709a75d48eb65cfd774167ed42aeae90bf SHA256 49897e3a5c20755cf86e52a81f0c5f0d70fc902e63fd708ad5d9a7b79d459b88
MD5 bbe012f489d0312cbb3d23e2ce15394e t1lib-1.3.1.ebuild 1552
RMD160 476ddfb63e3710fadc8d7dbd2f200baa9b080e9c t1lib-1.3.1.ebuild 1552
SHA256 49897e3a5c20755cf86e52a81f0c5f0d70fc902e63fd708ad5d9a7b79d459b88 t1lib-1.3.1.ebuild 1552
+EBUILD t1lib-5.0.2-r1.ebuild 1804 RMD160 5f8512ca6fddbcdd83533131f593ddce53236e80 SHA1 968e1383b5812634a67f24a284492968b990fc13 SHA256 625f1ce2434978725017731a4c8b1e5375ad326b352d8782a9bbdf1f6cf8b34a
+MD5 df8d06966c510e76854c87bac38708e1 t1lib-5.0.2-r1.ebuild 1804
+RMD160 5f8512ca6fddbcdd83533131f593ddce53236e80 t1lib-5.0.2-r1.ebuild 1804
+SHA256 625f1ce2434978725017731a4c8b1e5375ad326b352d8782a9bbdf1f6cf8b34a t1lib-5.0.2-r1.ebuild 1804
EBUILD t1lib-5.0.2.ebuild 1692 RMD160 fca0896e4d7cc68dec53fb9d1db35ba256ed5945 SHA1 b9b7a1f0e82f86a3f221d525a3b91db5e96f486c SHA256 90e1fbcc5b095dca65c09f769c5acadabded51b344d781bb9a60d0d8ed342309
MD5 1a553bcfc8749bc675e641f31f1b5991 t1lib-5.0.2.ebuild 1692
RMD160 fca0896e4d7cc68dec53fb9d1db35ba256ed5945 t1lib-5.0.2.ebuild 1692
SHA256 90e1fbcc5b095dca65c09f769c5acadabded51b344d781bb9a60d0d8ed342309 t1lib-5.0.2.ebuild 1692
-MISC ChangeLog 7453 RMD160 75e6807167d5a4a54f05337b9061dc0f9dca9727 SHA1 74649a26cdd6e369c2211fe9c4763f0589fd5e06 SHA256 04f86a18a7d40793d636eb94b55e501f56868baabbd1e8096e672238777f02ab
-MD5 47ac12d8a9b31c3ad838a0be1668f01b ChangeLog 7453
-RMD160 75e6807167d5a4a54f05337b9061dc0f9dca9727 ChangeLog 7453
-SHA256 04f86a18a7d40793d636eb94b55e501f56868baabbd1e8096e672238777f02ab ChangeLog 7453
+EBUILD t1lib-5.1.1.ebuild 1727 RMD160 732d1f9189eb1e10bfeb45279bed306cdf4231b7 SHA1 33b62d389cbf71eb9ae3cd5fd72695d1d8144e3c SHA256 585e317e92f8cae0040825a6713e38c6a6b2f3c7b435df8c8627dc9c1745c4ff
+MD5 d4b6f25ff6b386ed8a525fcaee5f5f23 t1lib-5.1.1.ebuild 1727
+RMD160 732d1f9189eb1e10bfeb45279bed306cdf4231b7 t1lib-5.1.1.ebuild 1727
+SHA256 585e317e92f8cae0040825a6713e38c6a6b2f3c7b435df8c8627dc9c1745c4ff t1lib-5.1.1.ebuild 1727
+MISC ChangeLog 7745 RMD160 1ad6fcf6fac90eb7cf0c7ad478948d5cccf24d18 SHA1 065317f7d8aee1e7f2a7e355a4a359a4863561fa SHA256 941788dfc5fa8ff7426be57da18dddd37f539cfe710b4260ec93417b01dbc60a
+MD5 aa14b78c3d39913ddba2c7351a389545 ChangeLog 7745
+RMD160 1ad6fcf6fac90eb7cf0c7ad478948d5cccf24d18 ChangeLog 7745
+SHA256 941788dfc5fa8ff7426be57da18dddd37f539cfe710b4260ec93417b01dbc60a ChangeLog 7745
MISC metadata.xml 158 RMD160 e563fdca0707ee5927deab77f2e5ef79816384ca SHA1 8e4ca6d183e52cdbea8cfba08b7a7910e648fc84 SHA256 9a8722fb0b5a1992b3942e85f23df4e08f10cabc2d783ca887479abe115b3ea8
MD5 295674d4bed87f5a7c2796e032ed561e metadata.xml 158
RMD160 e563fdca0707ee5927deab77f2e5ef79816384ca metadata.xml 158
@@ -34,3 +47,9 @@ SHA256 85840b00c33dca1e41a45f8bccc54fdb7504727684070b52d70379f07486add7 files/di
MD5 b8930e4fe2f445ac9ccdd7166a90e0ba files/digest-t1lib-5.0.2 238
RMD160 aaf896ded495bcb9d5244591b062e05110adf83f files/digest-t1lib-5.0.2 238
SHA256 3ba7977cbbf37a7906355d641e10a01dd52a2acea9551fbcc6af955cc1475fb0 files/digest-t1lib-5.0.2 238
+MD5 b8930e4fe2f445ac9ccdd7166a90e0ba files/digest-t1lib-5.0.2-r1 238
+RMD160 aaf896ded495bcb9d5244591b062e05110adf83f files/digest-t1lib-5.0.2-r1 238
+SHA256 3ba7977cbbf37a7906355d641e10a01dd52a2acea9551fbcc6af955cc1475fb0 files/digest-t1lib-5.0.2-r1 238
+MD5 d4d1a05b513af6164dc8f271a5450307 files/digest-t1lib-5.1.1 238
+RMD160 1416045b9fc4044932264136f1ec763ce6a53914 files/digest-t1lib-5.1.1 238
+SHA256 e8068f61b7183c5b7df974483ea5bc2f737e1d8e624fb60c75804ff176f08f93 files/digest-t1lib-5.1.1 238
diff --git a/media-libs/t1lib/files/digest-t1lib-5.0.2-r1 b/media-libs/t1lib/files/digest-t1lib-5.0.2-r1
new file mode 100644
index 000000000000..c34c2a37a74e
--- /dev/null
+++ b/media-libs/t1lib/files/digest-t1lib-5.0.2-r1
@@ -0,0 +1,3 @@
+MD5 cc5d4130b25bb8a1c930488b78930e9b t1lib-5.0.2.tar.gz 1697086
+RMD160 d6ff7fa3baca4a4ce78960a145bfa69b4cd771fa t1lib-5.0.2.tar.gz 1697086
+SHA256 34ff6a85d1dae64d06b5aca04fb17822dd26a734f40cd966e3dd980afa4a037a t1lib-5.0.2.tar.gz 1697086
diff --git a/media-libs/t1lib/files/digest-t1lib-5.1.1 b/media-libs/t1lib/files/digest-t1lib-5.1.1
new file mode 100644
index 000000000000..a771f26d49c6
--- /dev/null
+++ b/media-libs/t1lib/files/digest-t1lib-5.1.1
@@ -0,0 +1,3 @@
+MD5 b1b86b5014364d92ab3b7cee6c81e29d t1lib-5.1.1.tar.gz 1838914
+RMD160 4421f5d86de810682304b36ca129b5aeb37bf2a1 t1lib-5.1.1.tar.gz 1838914
+SHA256 08deab80f72427b4457295384698b7f9c719ad1653289baae7123539495a3c64 t1lib-5.1.1.tar.gz 1838914
diff --git a/media-libs/t1lib/files/t1lib-5.0.2-SA26241_buffer_overflow.patch b/media-libs/t1lib/files/t1lib-5.0.2-SA26241_buffer_overflow.patch
new file mode 100644
index 000000000000..766f74cbe624
--- /dev/null
+++ b/media-libs/t1lib/files/t1lib-5.0.2-SA26241_buffer_overflow.patch
@@ -0,0 +1,20 @@
+http://secunia.com/advisories/26241/
+http://www.bugtraq.ir/adv/t1lib.txt
+https://bugs.gentoo.org/193437
+
+diff -Naur t1lib-5.0.2-orig/lib/t1lib/t1env.c t1lib-5.0.2/lib/t1lib/t1env.c
+--- t1lib-5.0.2-orig/lib/t1lib/t1env.c 2002-11-27 19:53:11.000000000 -0600
++++ t1lib-5.0.2/lib/t1lib/t1env.c 2007-09-22 12:57:01.000000000 -0600
+@@ -568,6 +568,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/media-libs/t1lib/t1lib-5.0.2-r1.ebuild b/media-libs/t1lib/t1lib-5.0.2-r1.ebuild
new file mode 100644
index 000000000000..fa867797a2a8
--- /dev/null
+++ b/media-libs/t1lib/t1lib-5.0.2-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/t1lib-5.0.2-r1.ebuild,v 1.1 2007/09/22 19:14:05 dirtyepic Exp $
+
+inherit eutils flag-o-matic libtool toolchain-funcs
+
+DESCRIPTION="A Type 1 Font Rasterizer Library for UNIX/X11"
+HOMEPAGE="ftp://metalab.unc.edu/pub/Linux/libs/graphics/"
+SRC_URI="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/${P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="5"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="X doc"
+
+RDEPEND="X? ( x11-libs/libXaw
+ x11-libs/libX11
+ x11-libs/libXt )"
+DEPEND="${RDEPEND}
+ doc? ( virtual/tetex )
+ X? ( x11-libs/libXfont
+ x11-proto/xproto
+ x11-proto/fontsproto )"
+
+src_unpack() {
+ unpack ${A}
+ use ppc-macos && darwintoolize
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-gentoo.diff
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ epatch "${FILESDIR}"/${P}-SA26241_buffer_overflow.patch
+
+ sed -i -e "s:dvips:#dvips:" "${S}"/doc/Makefile.in
+ sed -i -e "s:\./\(t1lib\.config\):/etc/t1lib/\1:" "${S}"/xglyph/xglyph.c
+}
+
+src_compile() {
+ local myopt=""
+ tc-export CC
+
+ use alpha && append-flags -mieee
+
+ if ! use doc; then
+ myopt="without_doc"
+ else
+ addwrite /var/cache/fonts
+ fi
+
+ econf \
+ --datadir=/etc \
+ $(use_with X x) \
+ || die "econf failed."
+
+ emake ${myopt} || die "emake failed."
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed."
+ dodoc Changes README*
+ if use doc ; then
+ cd doc
+ insinto /usr/share/doc/${PF}
+ doins *.pdf *.dvi
+ fi
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "You may have to rebuild other packages depending on t1lib."
+ ewarn "You may use revdep-rebuild (from app-portage/gentoolkit)"
+ ewarn "to do all necessary tricks."
+ ewarn
+}
diff --git a/media-libs/t1lib/t1lib-5.1.1.ebuild b/media-libs/t1lib/t1lib-5.1.1.ebuild
new file mode 100644
index 000000000000..5fcc38bfdac4
--- /dev/null
+++ b/media-libs/t1lib/t1lib-5.1.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/t1lib-5.1.1.ebuild,v 1.1 2007/09/22 19:14:05 dirtyepic Exp $
+
+inherit eutils flag-o-matic libtool toolchain-funcs
+
+DESCRIPTION="A Type 1 Font Rasterizer Library for UNIX/X11"
+HOMEPAGE="ftp://metalab.unc.edu/pub/Linux/libs/graphics/"
+SRC_URI="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/${P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="5"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="X doc"
+
+RDEPEND="X? ( x11-libs/libXaw
+ x11-libs/libX11
+ x11-libs/libXt )"
+DEPEND="${RDEPEND}
+ doc? ( virtual/tetex )
+ X? ( x11-libs/libXfont
+ x11-proto/xproto
+ x11-proto/fontsproto )"
+
+src_unpack() {
+ unpack ${A}
+ use ppc-macos && darwintoolize
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-5.0.2-SA26241_buffer_overflow.patch
+
+ sed -i -e "s:dvips:#dvips:" "${S}"/doc/Makefile.in
+ sed -i -e "s:\./\(t1lib\.config\):/etc/t1lib/\1:" "${S}"/xglyph/xglyph.c
+}
+
+src_compile() {
+ local myopt=""
+ tc-export CC
+
+ use alpha && append-flags -mieee
+
+ if ! use doc; then
+ myopt="without_doc"
+ else
+ addwrite /var/cache/fonts
+ fi
+
+ econf \
+ --datadir=/etc \
+ $(use_with X x) \
+ || die "econf failed."
+
+ emake ${myopt} || die "emake failed."
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed."
+ dodoc Changes README*
+ if use doc ; then
+ cd doc
+ insinto /usr/share/doc/${PF}
+ doins *.pdf *.dvi
+ fi
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "You may have to rebuild other packages depending on t1lib."
+ ewarn "You may use revdep-rebuild (from app-portage/gentoolkit)"
+ ewarn "to do all necessary tricks."
+ ewarn
+}