ports/157426: New port: sysutils/fusefs-rar2fs Mount rar archives as filesystem
Joris Vandalon
joris at vandalon.nl
Mon May 30 13:00:26 UTC 2011
>Number: 157426
>Category: ports
>Synopsis: New port: sysutils/fusefs-rar2fs Mount rar archives as filesystem
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon May 30 13:00:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Joris Vandalon
>Release: Freebsd 8.2
>Organization:
>Environment:
FreeBSD collected.vandalon.nl 8.2-RELEASE FreeBSD 8.2-RELEASE #7: Thu Mar 31 13:58:26 CEST 2011 root at Collected.local:/usr/obj/usr/src/sys/COLLECTED amd64
>Description:
rar2fs is a FUSE based file system that can mount a source RAR
archive/volume or a directory containing any number of RAR
archives and access (read only) the contents as plain files/directories.
Other files located in the source directory are handled transparently.
Both compressed and non-compressed archives/volumes are supported but
full media seek support (aka. indexing) is only available for
non-compressed plaintext archives.
WWW: http://code.google.com/p/rar2fs/
Note: This port depends on archivers/libunrar4 which I submitted earlier today.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# fusefs-rar2fs
# fusefs-rar2fs/pkg-descr
# fusefs-rar2fs/distinfo
# fusefs-rar2fs/Makefile
# fusefs-rar2fs/pkg-plist
# fusefs-rar2fs/files
# fusefs-rar2fs/files/patch-config.mk
# fusefs-rar2fs/files/patch-Makefile
#
echo c - fusefs-rar2fs
mkdir -p fusefs-rar2fs > /dev/null 2>&1
echo x - fusefs-rar2fs/pkg-descr
sed 's/^X//' >fusefs-rar2fs/pkg-descr << '1649a5673d057703c25bddddd5458880'
Xrar2fs is a FUSE based file system that can mount a source RAR
Xarchive/volume or a directory containing any number of RAR
Xarchives and access (read only) the contents as plain files/directories.
XOther files located in the source directory are handled transparently.
XBoth compressed and non-compressed archives/volumes are supported but
Xfull media seek support (aka. indexing) is only available for
Xnon-compressed plaintext archives.
X
XWWW: http://code.google.com/p/rar2fs/
1649a5673d057703c25bddddd5458880
echo x - fusefs-rar2fs/distinfo
sed 's/^X//' >fusefs-rar2fs/distinfo << '3937a2cf1a5ea12bdee5e89f09f8f370'
XSHA256 (rar2fs-1.12.0.tar.gz) = cc8bd73536972b72dec366afdad9d140ed7649ab7bc2b798f8420ec259b2bd42
XSIZE (rar2fs-1.12.0.tar.gz) = 68893
XSHA256 (unrarsrc-4.0.7.tar.gz) = eac9ed7493870ca7f67b23e9208aef1db701c381123ac462e97f703777a33071
XSIZE (unrarsrc-4.0.7.tar.gz) = 152853
3937a2cf1a5ea12bdee5e89f09f8f370
echo x - fusefs-rar2fs/Makefile
sed 's/^X//' >fusefs-rar2fs/Makefile << '679879aa0e331a6d72987015ba86af34'
X# New ports collection makefile for: rar2fs
X# Date created: 30 May 2011
X# Whom: Joris Vandalon
X#
X# $FreeBSD$
X#
X
XPORTNAME= rar2fs
XPORTVERSION= 1.12.0
XCATEGORIES= sysutils
XMASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}:rar2fs http://www.rarlab.com/rar/:unrarsrc
XMASTER_SITE_SUBDIR= rar2fs
XPKGNAMEPREFIX= fusefs-
XDISTNAME= rar2fs-${PORTVERSION}
XDISTFILES= rar2fs-1.12.0.tar.gz:rar2fs unrarsrc-4.0.7.tar.gz:unrarsrc
X
XMAINTAINER= joris at vandalon.nl
XCOMMENT= Mount rar archives as filesystem
X
XLIB_DEPENDS= unrar.3:${PORTSDIR}/archivers/libunrar4
X
XMAN1= rar2fs.1
XUSE_GMAKE= yes
X
X.include <bsd.port.mk>
679879aa0e331a6d72987015ba86af34
echo x - fusefs-rar2fs/pkg-plist
sed 's/^X//' >fusefs-rar2fs/pkg-plist << 'a44c89161da3044aec58f3bfc2befbc8'
Xbin/rar2fs
a44c89161da3044aec58f3bfc2befbc8
echo c - fusefs-rar2fs/files
mkdir -p fusefs-rar2fs/files > /dev/null 2>&1
echo x - fusefs-rar2fs/files/patch-config.mk
sed 's/^X//' >fusefs-rar2fs/files/patch-config.mk << 'f41109531514cd9b3b554be63f9692db'
X--- config.mk.orig 2011-05-17 21:17:09.000000000 +0200
X+++ config.mk 2011-05-30 14:11:09.689753703 +0200
X@@ -1,37 +1,39 @@
X # Change below to match current configuration
X ##########################
X
X+DESTDIR=/usr/local
X+
X ##########################
X # This is the path (absolute or relative) to the folder containing
X # the full portable "Unrar C++ library" (libunrar) sources
X-UNRAR_SRC=./unrar
X+UNRAR_SRC=../unrar
X
X ##########################
X # This is the path (absolute or relative) to the folder containing
X # the compiled libunrar.so.
X # This can be left blank if the system already points out the location
X # of a compatible unrarlib.so, eg. /lib.
X-UNRAR_LIB=
X+UNRAR_LIB=/usr/lcoal/lib
X
X ##########################
X # This is the path (absolute or relative) to the folder containing
X # the FUSE development header files.
X # This can be left blank if the header files are already placed in
X # some default location such as /usr/include.
X-FUSE_SRC=
X+FUSE_SRC=/usr/local/include
X
X ##########################
X # This is the path (absolute or relative) to the folder containing
X # the FUSE library files.
X # This can be left blank if the system already points out the location
X # of a compatible FUSE library, eg. /lib.
X-FUSE_LIB=
X+FUSE_LIB=/usr/local/lib
X
X ##########################
X # Does the host support glibc custom streams?
X # If unsure try 'y' here. If linker fails to find e.g. fmemopen()
X # your answer was most likely incorrect.
X-HAS_GLIBC_CUSTOM_STREAMS=y
X+HAS_GLIBC_CUSTOM_STREAMS=n
X
X ##########################
X # For Mac OS X, choose if 64-bit inodes (file serial number) should
f41109531514cd9b3b554be63f9692db
echo x - fusefs-rar2fs/files/patch-Makefile
sed 's/^X//' >fusefs-rar2fs/files/patch-Makefile << '765df0bbc1a0cf37ba2457726ee88f29'
X--- Makefile.orig 2011-05-30 14:09:15.390484811 +0200
X+++ Makefile 2011-05-30 14:10:53.240988212 +0200
X@@ -102,4 +102,8 @@
X mv $*.P $(DEPS); \
X rm -f $*.d
X
X+install:
X+ install rar2fs $(DESTDIR)/bin
X+ install rar2fs.1 $(DESTDIR)/man/man1
X+
X -include $(OBJECTS:%.o=$(DEPS)/%.P)
765df0bbc1a0cf37ba2457726ee88f29
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list