Compare commits
3 Commits
6913ec40d4
...
3f4de1b9cc
Author | SHA1 | Date |
---|---|---|
Matteo Bini | 3f4de1b9cc | |
Matteo Bini | e9d17df3bd | |
Matteo Bini | 338799fc1d |
|
@ -1,2 +1,3 @@
|
||||||
bluraybackup
|
bluraybackup
|
||||||
|
bluraybackup-[1-9].[0-9].tar.gz
|
||||||
*.o
|
*.o
|
||||||
|
|
13
Makefile
13
Makefile
|
@ -34,17 +34,28 @@ clean:
|
||||||
|
|
||||||
dist: clean
|
dist: clean
|
||||||
mkdir ${BIN}-${VERSION}
|
mkdir ${BIN}-${VERSION}
|
||||||
cp -R ${SRC} LICENSE Makefile README ${BIN}-${VERSION}
|
cp -R ${BIN}.1 ${SRC} debian LICENSE Makefile README ${BIN}-${VERSION}
|
||||||
tar -cf ${BIN}-${VERSION}.tar ${BIN}-${VERSION}
|
tar -cf ${BIN}-${VERSION}.tar ${BIN}-${VERSION}
|
||||||
gzip ${BIN}-${VERSION}.tar
|
gzip ${BIN}-${VERSION}.tar
|
||||||
rm -fr ${BIN}-${VERSION}
|
rm -fr ${BIN}-${VERSION}
|
||||||
|
|
||||||
install: ${BIN}
|
install: ${BIN}
|
||||||
|
# bin
|
||||||
mkdir -p ${DESTDIR}${PREFIX}/bin
|
mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||||
cp -f ${BIN} ${DESTDIR}${PREFIX}/bin
|
cp -f ${BIN} ${DESTDIR}${PREFIX}/bin
|
||||||
chmod 755 ${DESTDIR}${PREFIX}/bin/${BIN}
|
chmod 755 ${DESTDIR}${PREFIX}/bin/${BIN}
|
||||||
|
# doc
|
||||||
|
mkdir -p ${DESTDIR}${PREFIX}/share/doc/${BIN}
|
||||||
|
cp -f README ${DESTDIR}${PREFIX}/share/doc/${BIN}
|
||||||
|
chmod 644 ${DESTDIR}${PREFIX}/share/doc/${BIN}/README
|
||||||
|
# manual page
|
||||||
|
mkdir -p ${DESTDIR}${PREFIX}/share/man/man1
|
||||||
|
sed 's/VERSION/${VERSION}/' < ${BIN}.1 > ${DESTDIR}${PREFIX}/share/man/man1/${BIN}.1
|
||||||
|
chmod 644 ${DESTDIR}${PREFIX}/share/man/man1/${BIN}.1
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f ${DESTDIR}${PREFIX}/bin/${BIN}
|
rm -f ${DESTDIR}${PREFIX}/bin/${BIN}
|
||||||
|
rm -fr ${DESTDIR}${PREFIX}/share/doc/${BIN}
|
||||||
|
rm -f ${DESTDIR}${PREFIX}/share/man/man1/${BIN}.1
|
||||||
|
|
||||||
.PHONY: all options clean dist install uninstall
|
.PHONY: all options clean dist install uninstall
|
||||||
|
|
20
README
20
README
|
@ -1,16 +1,16 @@
|
||||||
bluraybackup is a command-line program inspired by dvdbackup [1],
|
bluraybackup is a command-line program to backup Blu-ray Disc Movies
|
||||||
developed in C99 following the suckless philosophy [2].
|
(BDMV), inspired by dvdbackup [1], developed in C99 following the
|
||||||
|
suckless philosophy [2].
|
||||||
|
|
||||||
I wrote it because I wanted to have a 1:1 copy of my Blu-ray discs or
|
It makes a unencrypted copy of a BDMV or it extracts an unencrypted copy
|
||||||
the ability to save an unencrypted version of a BDMV stream. Since
|
of a specific BDMV stream. Since Blu-ray is an especially nasty format
|
||||||
Blu-ray is an especially nasty format [3], this software does not work
|
[3], this software may not work with all discs. It both depends on your
|
||||||
with all Blu-ray discs. It both depends on your KEYDB.cfg file and on
|
KEYDB.cfg file and on the BD+ generation.
|
||||||
the disc BD+ generation. I don't know what the hell BD+ is!
|
|
||||||
|
|
||||||
Don't count on your copies being perfect, if you see libbluray errors
|
If you encounter libbluray errors during the operation, the copy might
|
||||||
during the operation. You have been warned.
|
not be exact.
|
||||||
|
|
||||||
This software is based on libbluray [4]. To build it you need libbluray
|
bluraybackup is based on libbluray [4]. To build it you need libbluray
|
||||||
and its headers.
|
and its headers.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,56 @@
|
||||||
|
.TH bluraybackup 1 VERSION
|
||||||
|
.SH NAME
|
||||||
|
bluraybackup \- Tool to backup Blu-ray Disc Movies (BDMV)
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B bluraybackup
|
||||||
|
<DEVICE> <KEYFILE> [\fIFILE\fR] [\fIDEST\fR]
|
||||||
|
|
||||||
|
.B bluraybackup
|
||||||
|
[\fIOPTION\fR]
|
||||||
|
.SH DESCRIPTION
|
||||||
|
\fBbluraybackup\fP backups Blu-ray Disc Movies (BDMV),
|
||||||
|
inspired by dvdbackup,
|
||||||
|
developed in C99 following the suckless philosophy.
|
||||||
|
|
||||||
|
It makes an unencrypted copy of the whole Blu-ray Disc Movie
|
||||||
|
or it extracts an unencrypted version of a specific BDMV stream.
|
||||||
|
|
||||||
|
This program may not work with all Blu-rays.
|
||||||
|
It both depends on your KEYDB.cfg file
|
||||||
|
and on the BD+ generation.
|
||||||
|
|
||||||
|
If you encounter libbluray errors during the operation,
|
||||||
|
the copy might not be exact.
|
||||||
|
.SH OPTIONS
|
||||||
|
.TP
|
||||||
|
.B \-h, \-\-help
|
||||||
|
print usage message
|
||||||
|
.TP
|
||||||
|
.B \-v, \-\-version
|
||||||
|
print version and license information
|
||||||
|
.SH USAGE
|
||||||
|
.B bluraybackup
|
||||||
|
<DEVICE> <KEYFILE> [\fIFILE\fR] [\fIDEST\fR]
|
||||||
|
.P
|
||||||
|
Without \fIFILE\fR,
|
||||||
|
the whole disc will be copied to the current directory.
|
||||||
|
\fIFILE\fR must be a file path relative to the disc root.
|
||||||
|
|
||||||
|
Without \fIDEST\fR,
|
||||||
|
the base \fIFILE\fR will be saved to the current directory.
|
||||||
|
\fIDEST\fR path must include file name.
|
||||||
|
.SH EXIT VALUES
|
||||||
|
.TP
|
||||||
|
\fB0\fP \- The whole disc or \fIFILE\fR has been copied
|
||||||
|
.TP
|
||||||
|
\fB1\fP \- Everything else
|
||||||
|
.SH SEE ALSO
|
||||||
|
.P
|
||||||
|
\fBdvdbackup\fP(1)
|
||||||
|
|
||||||
|
.B https://www.videolan.org/developers/libbluray.html
|
||||||
|
|
||||||
|
.B https://suckless.org/philosophy/
|
||||||
|
.SH AUTHOR
|
||||||
|
bluraybackup was written by Matteo Bini <matteobin@tiepi.it>.
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
bluraybackup (1.0-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
-- Matteo Bini <matteobin@tiepi.it> Mon, 30 Oct 2023 18:35:32 +0100
|
|
@ -0,0 +1,20 @@
|
||||||
|
Source: bluraybackup
|
||||||
|
Section: video
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Matteo Bini <matteobin@tiepi.it>
|
||||||
|
Build-Depends: debhelper-compat (= 13),
|
||||||
|
libbluray-dev
|
||||||
|
Standards-Version: 4.6.2
|
||||||
|
Homepage: https://git.golem.linux.it/matteobin/bluraybackup
|
||||||
|
Rules-Requires-Root: no
|
||||||
|
|
||||||
|
Package: bluraybackup
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends},
|
||||||
|
${misc:Depends}
|
||||||
|
Description: Backup BDMV from the command line
|
||||||
|
bluraybackup makes an unencrypted copy of the whole Blu-ray Disc Movie
|
||||||
|
or it extracts an unencrypted version of a specific BDMV stream.
|
||||||
|
.
|
||||||
|
Inspired by dvdbackup, developed in C99 following the suckless
|
||||||
|
philosophy.
|
|
@ -0,0 +1,12 @@
|
||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: bluraybackup
|
||||||
|
Upstream-Contact: Matteo Bini <matteobin@tiepi.it>
|
||||||
|
Source: https://git.golem.linux.it/matteobin/bluraybackup
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: © 2023 Matteo Bini <matteobin@tiepi.it>
|
||||||
|
License: GPL-3+
|
||||||
|
|
||||||
|
License: GPL-3
|
||||||
|
On Debian systems, the complete text of the GNU General Public License
|
||||||
|
version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
|
||||||
|
SHELL := sh -e
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
dh_auto_install -- DESTDIR=${CURDIR}/debian/bluraybackup PREFIX=/usr
|
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
|
@ -0,0 +1,4 @@
|
||||||
|
Name: bluraybackup
|
||||||
|
Contact: Matteo Bini <matteobin@tiepi.it>
|
||||||
|
Repository: https://git.golem.linux.it/matteobin/bluraybackup.git
|
||||||
|
Repository-Browse: https://git.golem.linux.it/matteobin/bluraybackup
|
|
@ -0,0 +1,2 @@
|
||||||
|
version=4
|
||||||
|
opts="pasv" ftp://larry.tiepi.it/bluraybackup/bluraybackup-([1-9]\.[0-9])\.tar\.gz
|
Loading…
Reference in New Issue