diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-06-21 08:31:33 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-06-21 08:31:33 +0000 |
commit | d91bbcd35a5513c972ef6e33924f50879bb1238d (patch) | |
tree | 49983bbc9e5f7135c9dc876d8172c98a06c9d495 /app-cdr/xbiso | |
parent | stable x86, bug 227603 (diff) | |
download | gentoo-2-d91bbcd35a5513c972ef6e33924f50879bb1238d.tar.gz gentoo-2-d91bbcd35a5513c972ef6e33924f50879bb1238d.tar.bz2 gentoo-2-d91bbcd35a5513c972ef6e33924f50879bb1238d.zip |
old
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc3 x86_64)
Diffstat (limited to 'app-cdr/xbiso')
-rw-r--r-- | app-cdr/xbiso/files/xbiso-0.6.0-fnamecheck.patch | 16 | ||||
-rw-r--r-- | app-cdr/xbiso/xbiso-0.6.0-r1.ebuild | 24 |
2 files changed, 0 insertions, 40 deletions
diff --git a/app-cdr/xbiso/files/xbiso-0.6.0-fnamecheck.patch b/app-cdr/xbiso/files/xbiso-0.6.0-fnamecheck.patch deleted file mode 100644 index 932b66d4d86c..000000000000 --- a/app-cdr/xbiso/files/xbiso-0.6.0-fnamecheck.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- xbiso-0.6.0.orig/xbiso.c 2004-01-25 17:53:05.000000000 +0000 -+++ xbiso-0.6.0/xbiso.c 2005-05-21 11:56:21.729060440 +0000 -@@ -309,7 +309,12 @@ - - memset(dirent.fname,0,dirent.fnamelen+1); - fread(dirent.fname, dirent.fnamelen, 1, xiso); //filename -- -+ -+ if (strstr(dirent.fname,"..") || strchr(dirent.fname, '/') || strchr(dirent.fname, '\\')) -+ { -+ printf("Filename contains invalid characters"); -+ exit(1); -+ } - - if(verb) { - printf("ltable offset: %i\nrtable offset: %i\nsector: %li\nfilesize: %li\nattributes: 0x%x\nfilename length: %i\nfilename: %s\n\n", dirent.ltable, dirent.rtable, dirent.sector, dirent.size, dirent.attribs, dirent.fnamelen, dirent.fname); diff --git a/app-cdr/xbiso/xbiso-0.6.0-r1.ebuild b/app-cdr/xbiso/xbiso-0.6.0-r1.ebuild deleted file mode 100644 index 6003d80289f3..000000000000 --- a/app-cdr/xbiso/xbiso-0.6.0-r1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/xbiso/xbiso-0.6.0-r1.ebuild,v 1.3 2008/06/15 12:15:11 drac Exp $ - -inherit eutils - -DESCRIPTION="Xbox xdvdfs ISO extraction utility" -HOMEPAGE="http://sourceforge.net/projects/xbiso/" -SRC_URI="mirror://sourceforge/xbiso/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~ppc x86" -IUSE="" - -src_unpack() { - unpack ${A} - epatch "${FILESDIR}"/${P}-fnamecheck.patch -} - -src_install() { - dobin xbiso || die "dobin failed." - dodoc README CHANGELOG -} |