Commit 94e8cc16 authored by Jonathan Carter's avatar Jonathan Carter

Add debian packaging for btfs

parents
debian/btplay.1
man/*.1
.TH "btplay" 1 "2016-01-05" "btplay"
.SH NAME
btplay \- Directly play video torrents using btfs.
.SH SYNOPSIS
.B btplay
[OPTIONS]... torrentlink
.SH DESCRIPTION
btfs uses fuse (filesystem in user space) to expose a bittorrent source as a normal directory on your filesystem.
btplay is a wrapper for btfs that mounts and plays the video directly without a user having to specify a mount point. You can pass either a .torrent link or a magnet link contained in single quotation marks.
.SH OPTIONS
Usage: btplay [OPTIONS...] torrentlink
.B BTFS Options
\fB\-v, \-\-version\fR
.RS
Show version information.
.RE
\fB\-h, \-\-help\fR
.RS
Displays usage for the tool.
.RE
\fB\-b, \-\-browse\-only\fR
.RS
Download metadata only.
.RE
\fB\-k, \-\-keep\fR
.RS
Keep files after unmount.
.RE
.B FUSE Options
\fB\-d, \-o debug\fR
.RS
Enable debug output (implies \-f).
.RE
\fB\-f\fR
.RS
Foreground operation.
.RE
\fB\-s\fR
.RS
Disable multi-threaded operation.
.RE
\fB\-o allow_other\fR
.RS
Allow access to other users.
.RE
\fB\-o allow_root\fR
.RS
Allow access to root.
.RE
\fB\-o auto_unmount\fR
.RS
Auto unmount on process termination.
.RE
\fB\-o nonempty\fR
.RS
Allow mounts over non-empty file/dir.
.RE
\fB\-o default_permissions\fR
.RS
Enable permission checking by kernel.
.RE
\fB\-o fsname=NAME\fR
.RS
Set filesystem name.
.RE
\fB\-o suptype=NAME\fR
.RS
Set filesystem type.
.RE
\fB\-o large_read\fR
.RS
Issue large read requests.
.RE
\fB\-o max_read=N\fR
.RS
Set maximum size of read requests.
.RE
\fB\-o hard_remove\fR
.RS
Immediate removal (don't hide files).
.RE
\fB\-o use_ino\fR
.RS
Let filesystem set inode numbers.
.RE
\fB\-o readdir_ino\fR
.RS
Try to fill in d_ino in readdir.
.RE
\fB\-o direct_io\fR
.RS
Use direct I/O.
.RE
\fB\-o kernel_cache\fR
.RS
Cache files in kernel.
.RE
\fB\-o [no]auto_cache\fR
.RS
Enable caching based on modification times (off).
.RE
\fB\-o umask=M\fR
.RS
Set file permissions (octal).
.RE
\fB\-o uid=N\fR
.RS
Set file owner.
.RE
\fB\-o gid=N\fR
.RS
Set file group.
.RE
\fB\-o entry_timeout=T\fR
.RS
Cache timeout for names (1.0s).
.RE
\fB\-o negative_timeout=T\fR
.RS
Cache timeout for deleted names (0.0s).
.RE
\fB\-o attr_timeout=T\fR
.RS
Cache timeout for attributes (1.0s).
.RE
\fB\-o ac_attr_timeout=T\fR
.RS
Auto cache timeout for attributes (attr_timeout)
.RE
\fB\-o noforget\fR
.RS
Never forget cached inodes.
.RE
\fB\-o remember=T\fR
.RS
Remember cached inodes fot T seconds (0s).
.RE
\fB\-o nopath\fR
.RS
Don't supply path if not necessary.
.RE
\fB\-o intr\fR
.RS
Allow requests to be interrupted.
.RE
\fB\-o intr_signal=NUM\fR
.RS
Signal to send on interript (10).
.RE
\fB\-o modules=M1[:M2...]\fR
.RS
Names of modules to push onto filesystem stack.
.RE
.B Module Options
.B [iconv]
\fB\-o from_code=CHARSET\fR
.RS
Original encoding of file names (default: UTF-8).
.RE
\fB\-o to_code=CHARSET\fR
.RS
New encoding of the file names (default: UTF-8).
.RE
.B [subdir]
\fB\-o subdir=DIR\fR
.RS
Prepend this directory to all paths (madatory).
.RE
\fB\-o [no]rellinks\fR
.RS
Transform absolute symlinks to relative.
.RE
.SH REPORTING BUGS
Please file issues on the GitHub bug tracker: https://github.com/johang/btfs/issues
.SH "SEE ALSO"
.BR fuse (1),
.BR btfs (1)
.SH AUTHORS
This manual page was written by Jonathan Carter <jonathan@ubuntu.com>
btplay was written by Johan Gunnarsson <johan.gunnarsson@gmail.com>
btfs (2.11-1) unstable; urgency=medium
* New upstream release
-- Jonathan Carter <jonathan@ubuntu.com> Sat, 30 Jul 2016 12:23:55 +0200
btfs (2.4-1) unstable; urgency=low
* Initial release (Closes: 809672)
-- Jonathan Carter <jonathan@ubuntu.com> Mon, 04 Jan 2016 21:22:02 +0200
Source: btfs
Section: utils
Priority: optional
Maintainer: Jonathan Carter <jonathan@ubuntu.com>
Build-Depends: debhelper (>= 9),
dh-autoreconf,
libcurl4-openssl-dev,
libfuse-dev,
libtorrent-rasterbar-dev
Standards-Version: 3.9.8
Homepage: https://github.com/johang/btfs
Package: btfs
Architecture: any
Depends: python, ${misc:Depends}, ${shlibs:Depends}
Description: access torrent files as a filesystem
btfs allows you to mount .torrent or magnet links
as local directories using fuse.
.
Tools like cp, cat and ls would work the same as
on a normal filesystem. You can also play videos
using normal video software and only the sections
that you stream will be transferred.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: btfs
Source: https://github.com/johang/btfs
Files: *
Copyright: 2015 Johan Gunnarsson <johan.gunnarsson@gmail.com>
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems the full text of the GNU General Public License
version 3 can be found in the file
`/usr/share/common-licenses/GPL-3'.
Files: debian/*
Copyright: 2016 Jonathan Carter <jonathan@ubuntu.com>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
README.md
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --with autoreconf
version=3
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/btfs-$1\.tar\.gz/ \
https://github.com/johang/btfs/tags .*/v?(\d\S*)\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment