Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added rar2fs #3990

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions cross/rar2fs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
PKG_NAME = rar2fs
PKG_VERS = 1.29.0
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/hasse69/rar2fs/releases/download/v$(PKG_VERS)/
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

CONFIGURE_ARGS = --with-fuse=$(WORK_DIR)/libfuse-fuse-2.9.9/include --with-fuse-lib=$(WORK_DIR)/install/usr/local/rar2fs/lib --with-unrar=$(WORK_DIR)/unrar
BUILD_DEPENDS = cross/fuse cross/unrar
PRE_CONFIGURE_TARGET = fulfill_rar2fs_prerequisite
PRE_COMPILE_TARGET = build_unrar_static
HOMEPAGE = https://github.com/hasse69/rar2fs
COMMENT = sshfs is a network filesystem client to connect to SSH servers
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commend references sshfs. This should be updated to reflect rarfs.

LICENSE = GPLv2

GNU_CONFIGURE = 1

include ../../mk/spksrc.cross-cc.mk

.PHONY: fulfill_rar2fs_prerequisite
fulfill_rar2fs_prerequisite:
touch $(WORK_DIR)/unrar/libunrar.a

.PHONY: build_unrar_static
build_unrar_static:
cd $(WORK_DIR)/unrar; \
make -f makefile lib;
3 changes: 3 additions & 0 deletions cross/rar2fs/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bin:bin/mkr2i
bin:bin/rar2fs
lnk:sbin/mount.rar2fs
3 changes: 3 additions & 0 deletions cross/rar2fs/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
rar2fs-1.29.0.tar.gz SHA1 66be422ec7436bd2ffd7ff1fa190d3895da7ad2b
rar2fs-1.29.0.tar.gz SHA256 1bc42aa0516b276d24bdd8b69c53973fddd58bbd4e2c0d293c84912d14fdc6c7
rar2fs-1.29.0.tar.gz MD5 13b518a6be0863f1fd10ce4c14bc2c30
21 changes: 21 additions & 0 deletions diyspk/rar2fs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
SPK_NAME = rar2fs
SPK_VERS = 1.0
SPK_REV = 1
SPK_ICON = src/rar2fs.png

DEPENDS = cross/$(SPK_NAME)

MAINTAINER = Kristofer Hammarskold (kristofer.hammarskold[AT]gmail[DOT]com)
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 read the contents as regular files on-the-fly.
DISPLAY_NAME = rar2fs
STARTABLE = no
CHANGELOG = "Initial version"
BETA = 1

HOMEPAGE = https://github.com/hasse69/rar2fs
LICENSE = GPLv3, LGPLv2.1 (libfuse.so), UnRAR License (unrar)

INSTALL_PREFIX = /usr/local/$(SPK_NAME)

include ../../mk/spksrc.spk.mk

Empty file added diyspk/rar2fs/PLIST
Empty file.
Binary file added diyspk/rar2fs/src/rar2fs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions spk/synocli-file/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SPK_ICON = src/synocli-file.png
include ../../mk/spksrc.common.mk

DEPENDS = cross/less cross/tree cross/ncdu cross/jdupes cross/rhash cross/mc cross/nano cross/file
DEPENDS += cross/detox
DEPENDS += cross/detox cross/rar2fs

MAINTAINER = SynoCommunity
DISPLAY_NAME = SynoCli File Tools
Expand Down Expand Up @@ -42,8 +42,9 @@ SPK_COMMANDS += bin/file
SPK_COMMANDS += bin/detox
SPK_COMMANDS += bin/rmlint
SPK_COMMANDS += bin/rnm

SPK_COMMANDS += bin/rhash
SPK_COMMANDS += bin/rar2fs

SPK_LINKS = /usr/local/bin/ed2k-link:bin/rhash
SPK_LINKS += /usr/local/bin/edonr256-hash:bin/rhash
SPK_LINKS += /usr/local/bin/edonr512-hash:bin/rhash
Expand All @@ -55,5 +56,4 @@ SPK_LINKS += /usr/local/bin/tiger-hash:bin/rhash
SPK_LINKS += /usr/local/bin/tth-hash:bin/rhash
SPK_LINKS += /usr/local/bin/whirlpool-hash:bin/rhash


include ../../mk/spksrc.spk.mk