summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-10-25 10:10:58 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-10-25 10:10:58 +0000
commit03a24d0436f82d8099dbdb87f1b01cb7013a2e3e (patch)
tree76e0726b3de8187c972fe2244b121c58f5283e37 /sys-fs
parentAdjust deps on gdb per bug #290440. (diff)
downloadhistorical-03a24d0436f82d8099dbdb87f1b01cb7013a2e3e.tar.gz
historical-03a24d0436f82d8099dbdb87f1b01cb7013a2e3e.tar.bz2
historical-03a24d0436f82d8099dbdb87f1b01cb7013a2e3e.zip
Initial commit wrt #143307, thanks to Thomas Fischer for reporting.
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/fuseiso/ChangeLog10
-rw-r--r--sys-fs/fuseiso/Manifest5
-rw-r--r--sys-fs/fuseiso/files/fuseiso-20070708-largeiso.patch48
-rw-r--r--sys-fs/fuseiso/fuseiso-20070708.ebuild30
-rw-r--r--sys-fs/fuseiso/metadata.xml9
5 files changed, 102 insertions, 0 deletions
diff --git a/sys-fs/fuseiso/ChangeLog b/sys-fs/fuseiso/ChangeLog
new file mode 100644
index 000000000000..a0a9ef3d5e13
--- /dev/null
+++ b/sys-fs/fuseiso/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-fs/fuseiso
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuseiso/ChangeLog,v 1.1 2009/10/25 10:10:57 ssuominen Exp $
+
+*fuseiso-20070708 (25 Oct 2009)
+
+ 25 Oct 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +fuseiso-20070708.ebuild, +files/fuseiso-20070708-largeiso.patch:
+ Initial commit wrt #143307, thanks to Thomas Fischer for reporting.
+
diff --git a/sys-fs/fuseiso/Manifest b/sys-fs/fuseiso/Manifest
new file mode 100644
index 000000000000..7ae100d90ad8
--- /dev/null
+++ b/sys-fs/fuseiso/Manifest
@@ -0,0 +1,5 @@
+AUX fuseiso-20070708-largeiso.patch 2583 RMD160 2541e2324f013c6bead4b8be98d704874b8026dd SHA1 05165b68284f6c5a36b0f834bfe5b38b22be5913 SHA256 aaad2a0ea55e783b667aff98569d1a2514b57fd0e73a111db335ae2b4febb111
+DIST fuseiso-20070708.tar.bz2 239960 RMD160 af5f6ab3ae7c5cd368ce5670182523f0deace73e SHA1 fe142556ad35dd7e5dc31a16183232a6e2da7692 SHA256 8b242e077d66cd20900c59c905ff90b4c934b0613dd5a20facb0b1260ac5fd88
+EBUILD fuseiso-20070708.ebuild 689 RMD160 c34a1c63ab1a432258ed0e618f7be463d32dfd26 SHA1 4ff9e03972cb7cdb59d120c7fea6e3ae62293cca SHA256 fb3a3b64ad5fc35a031b70c1930a315a903dbf30e6edcf4ba4b9e38a824bf551
+MISC ChangeLog 430 RMD160 87fb7e251491578eaa2f586af0183ac42e02b04f SHA1 45a9b12c55b7f0dc98005734d78460f56a267902 SHA256 cfbf0c4ca70cfb98db2417f0760d82474ebebc613840e22d652b17f421ef7d43
+MISC metadata.xml 266 RMD160 b4480e6518739202d8543a84b01b53940907f016 SHA1 3a5b0bff8b6ad1614a1e8fcbecddf54b800c80a2 SHA256 7aba9af99c2de45240978680e160a1bc959795d16c7eeeae6f2822ba59da9af2
diff --git a/sys-fs/fuseiso/files/fuseiso-20070708-largeiso.patch b/sys-fs/fuseiso/files/fuseiso-20070708-largeiso.patch
new file mode 100644
index 000000000000..e323768d247e
--- /dev/null
+++ b/sys-fs/fuseiso/files/fuseiso-20070708-largeiso.patch
@@ -0,0 +1,48 @@
+http://bugzilla.redhat.com/show_bug.cgi?id=440436
+
+diff -ur fuseiso-20070708.orig/src/isofs.c fuseiso-20070708/src/isofs.c
+--- fuseiso-20070708.orig/src/isofs.c 2007-07-08 15:22:59.000000000 +0300
++++ fuseiso-20070708/src/isofs.c 2009-10-25 12:02:16.000000000 +0200
+@@ -178,7 +178,7 @@
+ context.data_size = isonum_723(context.pd.logical_block_size);
+
+ if(!context.block_size) {
+- fprintf(stderr, "init: wrong block data size %d, using default 2048\n", context.data_size);
++ fprintf(stderr, "init: wrong block data size %Lu, using default 2048\n", context.data_size);
+ context.data_size = 2048;
+ };
+
+@@ -324,7 +324,7 @@
+
+ if(context.block_size != 2048) {
+ // report unusual data block size
+- printf("Data block size: %d\n", context.block_size);
++ printf("Data block size: %Lu\n", context.block_size);
+ };
+
+ char buf[129];
+@@ -479,7 +479,7 @@
+ };
+ size_t len = read(context.fd, buf, context.data_size);
+ if(len != context.data_size) {
+- fprintf(stderr, "isofs_read_raw_block: can`t read full block, read only %d bytes from offset %d, %d required; errno %d, message %s\n",
++ fprintf(stderr, "isofs_read_raw_block: can`t read full block, read only %d bytes from offset %d, %Lu required; errno %d, message %s\n",
+ len, (int) off, context.data_size, errno, strerror(errno));
+ fprintf(stderr, "isofs_read_raw_block: huh? reading zeros beyond file end? someone want to save a penny?\n");
+ memset(buf + len, 0, context.data_size - len);
+diff -ur fuseiso-20070708.orig/src/isofs.h fuseiso-20070708/src/isofs.h
+--- fuseiso-20070708.orig/src/isofs.h 2006-10-17 04:50:39.000000000 +0300
++++ fuseiso-20070708/src/isofs.h 2009-10-25 12:02:16.000000000 +0200
+@@ -38,9 +38,9 @@
+ struct iso_directory_record *root;
+ int file_offset; // offset to begin of useful data (for .nrg files)
+ int id_offset; // offset to CD001 inside file
+- size_t block_size; // raw block size
+- size_t block_offset; // offset from block start to data
+- size_t data_size; // data size inside block
++ off_t block_size; // raw block size
++ off_t block_offset; // offset from block start to data
++ off_t data_size; // data size inside block
+ int susp; // parse susp entries
+ int susp_skip; // skip bytes from susp SP entry
+ int joliet_level; // joliet extension level (1, 2 or 3)
diff --git a/sys-fs/fuseiso/fuseiso-20070708.ebuild b/sys-fs/fuseiso/fuseiso-20070708.ebuild
new file mode 100644
index 000000000000..fa4d7567d845
--- /dev/null
+++ b/sys-fs/fuseiso/fuseiso-20070708.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuseiso/fuseiso-20070708.ebuild,v 1.1 2009/10/25 10:10:57 ssuominen Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="Fuse module to mount ISO9660"
+HOMEPAGE="http://fuseiso.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-fs/fuse
+ sys-libs/zlib
+ dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-largeiso.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/sys-fs/fuseiso/metadata.xml b/sys-fs/fuseiso/metadata.xml
new file mode 100644
index 000000000000..7cc5007c5d79
--- /dev/null
+++ b/sys-fs/fuseiso/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+</pkgmetadata>