diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-fs/fuseiso |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-fs/fuseiso')
-rw-r--r-- | sys-fs/fuseiso/Manifest | 7 | ||||
-rw-r--r-- | sys-fs/fuseiso/files/fuseiso-20070708-fix-typo.patch | 12 | ||||
-rw-r--r-- | sys-fs/fuseiso/files/fuseiso-20070708-largeiso.patch | 48 | ||||
-rw-r--r-- | sys-fs/fuseiso/fuseiso-20070708-r1.ebuild | 28 | ||||
-rw-r--r-- | sys-fs/fuseiso/metadata.xml | 14 |
5 files changed, 109 insertions, 0 deletions
diff --git a/sys-fs/fuseiso/Manifest b/sys-fs/fuseiso/Manifest new file mode 100644 index 000000000000..b5db28ad6c0f --- /dev/null +++ b/sys-fs/fuseiso/Manifest @@ -0,0 +1,7 @@ +AUX fuseiso-20070708-fix-typo.patch 683 SHA256 5c7a6e6c4d78420dd7050d1adda740d40fb9c4a6023dacd896680a7422ce2e92 SHA512 ccfbcdba2c81d834d658f399f378feb6fec9d920c0fcc5cce3cd744f26cb94708a739c34e9e7cc374d31920a84bc6fbcc5b3ff841ee0d352de96a90cdc7c266e WHIRLPOOL 8a0d6c4c72f754967063198b19e9f1e458c77e4cc809d5fd7691f08265a1bd3eb9c5693bbb8f112ec13a5202dff9d1375913b533195cf40c432806042202afd6 +AUX fuseiso-20070708-largeiso.patch 2583 SHA256 aaad2a0ea55e783b667aff98569d1a2514b57fd0e73a111db335ae2b4febb111 SHA512 f3268473d771de520f80d6ccdc6147fdc0c250f4b28070b7cb7b75734b893431ee3e20c46acb54f51f177c2e60f554c5ae8c2e3a514aa97a4208f514512be9cf WHIRLPOOL d25e60270ceaf2ed4182a62672fadbae2ace10437652b9cc89dd8df63d0b12436f75f6e1c0f55577015129b51c5c4b2ee828ccc7d9b26559c30c8290a33732da +DIST fuseiso-20070708.tar.bz2 239960 SHA256 8b242e077d66cd20900c59c905ff90b4c934b0613dd5a20facb0b1260ac5fd88 SHA512 d9d8153101494434fe4ec9c684cec46a1eee46fd3ce06e97fa27f4746990f866e1f23f256b2659e60296d2362cea05d259a0a2ef669ecddf7a0a7e44110c4ae0 WHIRLPOOL df6dd63a3e56cfbce8f85e37215c50d155ee9fb780a80a463c34b79ed1f7964cc3ba6d6b990e32dc991020be309bfdd08a2866ebf3eeedda03ed8262687a1fb4 +EBUILD fuseiso-20070708-r1.ebuild 644 SHA256 270d1041aa95efd7b0c0e54493735faa2752c7c788797ba73c5bbca178375af4 SHA512 ca2756794a08df83a8a64e9a94ed56ad1c62f3e8c9e60ec154e6448a162ca354136f3fce191a7d718c27d6ac76fed07ae730cb0bfc29eaa968f017b6d7ac1cc2 WHIRLPOOL a1be63c825181178959478ccd004ed09a153cc7911dc71bb8f5184baaa90a22a6bfdbeac786c477e3667cd939842b3d5af1c9046c0fe3ee1c3491650080a0481 +MISC ChangeLog 3185 SHA256 e5ec2565a6b033c1d53fde05c58e12a913ff1e7ccb765d3e7b5c11b9b13c9e20 SHA512 c30700bb1b132ca7ec7fdd91ed874f66e4df48fbf3b298e76f14e8db6dacd8f279aae9276f37e99843b1904f390bbffcbfdae41e497d34aa7c4c1f92cd75d674 WHIRLPOOL 866c4e904eedd6752d943cc0ef22edd7d98415eecb38b90f97178521579dece9da0c4fe19fd2509c0c5ae093880e1919ab76de04f87300f911ab3762f78d2000 +MISC ChangeLog-2015 1503 SHA256 18bea1e1acc82f0312370ad0782f5ec2f6b0507f72958bf5995e054d04837726 SHA512 09762b99b5fb8d0a696572c95e6e335eaa90b4c59aebd14ae7f8b36277c719934264e8c8cabeca2b413e6fff865ba774cf0e1b6f0cfb09b41554b0a515c8ec58 WHIRLPOOL e988cab8aee245cda1ea0474cb18708e0a9bb25de37f538702757c1dd95513db6ca89f3d11db0bb40d83c3f1a4a31d51a9f3346812f608a8a0310c5d23df4942 +MISC metadata.xml 420 SHA256 1b7459a20a1a3996d03020bd0a0eff491e37731ccd71e95b1cceb3b0bc0a67b2 SHA512 03659deebcb170d3144010e020528bf2ab8fc946f324a70da5b68db30d0ce89864b355abc358287ee01b3758d3495c246bc102e2a0d61fc54e8c549dad9228e6 WHIRLPOOL f6b576cc8e935db163fcc31da2b69c0a47dc11044358888153df15e513640329cd8a51f6380e30e9dc685e8aaeff84b5f829a8cbfb7b8c24acc26ac639b5cc05 diff --git a/sys-fs/fuseiso/files/fuseiso-20070708-fix-typo.patch b/sys-fs/fuseiso/files/fuseiso-20070708-fix-typo.patch new file mode 100644 index 000000000000..522ee7598e0e --- /dev/null +++ b/sys-fs/fuseiso/files/fuseiso-20070708-fix-typo.patch @@ -0,0 +1,12 @@ +diff -urp fuseiso-20070708.org/src/fuseiso.c fuseiso-20070708/src/fuseiso.c +--- fuseiso-20070708.org/src/fuseiso.c 2013-08-22 19:33:46.316904170 +0800 ++++ fuseiso-20070708/src/fuseiso.c 2013-08-22 19:31:54.789908834 +0800 +@@ -295,7 +295,7 @@ void usage(const char* prog) { + " -f -- run in foreground, do not daemonize\n" + " -d -- run in foreground and print debug information\n" + " -s -- run single-threaded\n" +- "\nPlease consult with FUSE ducumentation for more information\n", ++ "\nPlease consult with FUSE documentation for more information\n", + VERSION, + prog); + }; 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-r1.ebuild b/sys-fs/fuseiso/fuseiso-20070708-r1.ebuild new file mode 100644 index 000000000000..30d3f56f6ded --- /dev/null +++ b/sys-fs/fuseiso/fuseiso-20070708-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Fuse module to mount ISO9660" +HOMEPAGE="https://sourceforge.net/projects/fuseiso" +SRC_URI="http://superb-dca2.dl.sourceforge.net/project/fuseiso/fuseiso/20070708/fuseiso-20070708.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="sys-fs/fuse + sys-libs/zlib + dev-libs/glib:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + epatch "${FILESDIR}/${P}-largeiso.patch" + epatch "${FILESDIR}/${P}-fix-typo.patch" # bug #482078 + epatch_user +} diff --git a/sys-fs/fuseiso/metadata.xml b/sys-fs/fuseiso/metadata.xml new file mode 100644 index 000000000000..220254c786eb --- /dev/null +++ b/sys-fs/fuseiso/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zhaoxiaoqiang007@gmail.com</email> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">fuseiso</remote-id> + </upstream> +</pkgmetadata> |