[Forensics-changes] [vinetto] 05/05: * New maintainer and co-maintainer. Thanks a lot to Danny van der Meeren <danny at illogic.nl>, the initial maintainer of this package. * New upstream release. (Closes: #569796) * Using epoch to fix the version of the program in Debian. * Migrations: - debian/copyright to 1.0 format. - debian/rules to new (reduced) format. - DH level to 9. - DebSrc to 3.0 format. - Standards-Version to 3.9.6. * Manpage: - debian/manpage/: created to stuff the manpage files. - debian/manpages: created to install the manpage. - debian/vinetto.1: moved to debian/manpage/vinetto.1.old. - The original manpage was improved and adapted to use the genallman.sh script. * debian/control: - Added Homepage field. - Added ${misc:Depends} dependency. - Added python-pil as dependency. (Closes: #470862) - Added Vcs-* fields. - Added X-Python-Version field. - Removed leading article from short description. - Removed version of the python in Build-Depends field. - Replaced python-support to dh-python. - Some adjustments in long description. * debian/copyright: updated upstream and packaging years. * debian/README.Debian: added to say about some URLs that can be used as reference to users. * debian/watch: created.
Joao Eriberto Mota Filho
eriberto at moszumanska.debian.org
Thu Dec 11 17:18:18 UTC 2014
This is an automated email from the git hooks/post-receive script.
eriberto pushed a commit to branch debian
in repository vinetto.
commit 5762164e37754efe1db2575454fb0b6c02cd0fcd
Author: Joao Eriberto Mota Filho <eriberto at debian.org>
Date: Thu Dec 11 15:16:06 2014 -0200
* New maintainer and co-maintainer. Thanks a lot to Danny van der Meeren
<danny at illogic.nl>, the initial maintainer of this package.
* New upstream release. (Closes: #569796)
* Using epoch to fix the version of the program in Debian.
* Migrations:
- debian/copyright to 1.0 format.
- debian/rules to new (reduced) format.
- DH level to 9.
- DebSrc to 3.0 format.
- Standards-Version to 3.9.6.
* Manpage:
- debian/manpage/: created to stuff the manpage files.
- debian/manpages: created to install the manpage.
- debian/vinetto.1: moved to debian/manpage/vinetto.1.old.
- The original manpage was improved and adapted to use the
genallman.sh script.
* debian/control:
- Added Homepage field.
- Added ${misc:Depends} dependency.
- Added python-pil as dependency. (Closes: #470862)
- Added Vcs-* fields.
- Added X-Python-Version field.
- Removed leading article from short description.
- Removed version of the python in Build-Depends field.
- Replaced python-support to dh-python.
- Some adjustments in long description.
* debian/copyright: updated upstream and packaging years.
* debian/README.Debian: added to say about some URLs that can be used as
reference to users.
* debian/watch: created.
---
debian/README.Debian | 18 +++++
debian/changelog | 35 +++++++++
debian/compat | 2 +-
debian/control | 25 ++++--
debian/copyright | 49 ++++++------
debian/manpage/genallman.sh | 27 +++++++
debian/manpage/vinetto.1 | 117 ++++++++++++++++++++++++++++
debian/{vinetto.1 => manpage/vinetto.1.old} | 0
debian/manpage/vinetto.header | 1 +
debian/manpage/vinetto.txt | 71 +++++++++++++++++
debian/manpages | 1 +
debian/patches/fix-upstream-version | 28 +++++++
debian/patches/series | 1 +
debian/rules | 37 +--------
debian/source/format | 1 +
debian/watch | 2 +
16 files changed, 349 insertions(+), 66 deletions(-)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..f5ee289
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,18 @@
+vinetto for Debian
+------------------
+
+The upstream wrote pages that provide important information.
+
+Main page: http://vinetto.sf.net
+Documentation: http://vinetto.sf.net/docs.html
+
+There is a thumbs.db file available for tests. You can download
+it here[1]. This thumbs.db is Type 2. To test, use this command:
+
+ $ vinetto -o . thumbs.db
+
+The results will be put in a .thumbs file.
+
+[1] http://eriberto.pro.br/files/vinetto/thumbs.db
+
+ -- Joao Eriberto Mota Filho <eriberto at debian.org> Wed, 10 Dec 2014 14:42:17 -0200
diff --git a/debian/changelog b/debian/changelog
index d6c6f38..cbaa8a2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,38 @@
+vinetto (1:0.07-1) experimental; urgency=medium
+
+ * New maintainer and co-maintainer. Thanks a lot to Danny van der Meeren
+ <danny at illogic.nl>, the initial maintainer of this package.
+ * New upstream release. (Closes: #569796)
+ * Using epoch to fix the version of the program in Debian.
+ * Migrations:
+ - debian/copyright to 1.0 format.
+ - debian/rules to new (reduced) format.
+ - DH level to 9.
+ - DebSrc to 3.0 format.
+ - Standards-Version to 3.9.6.
+ * Manpage:
+ - debian/manpage/: created to stuff the manpage files.
+ - debian/manpages: created to install the manpage.
+ - debian/vinetto.1: moved to debian/manpage/vinetto.1.old.
+ - The original manpage was improved and adapted to use the
+ genallman.sh script.
+ * debian/control:
+ - Added Homepage field.
+ - Added ${misc:Depends} dependency.
+ - Added python-pil as dependency. (Closes: #470862)
+ - Added Vcs-* fields.
+ - Added X-Python-Version field.
+ - Removed leading article from short description.
+ - Removed version of the python in Build-Depends field.
+ - Replaced python-support to dh-python.
+ - Some adjustments in long description.
+ * debian/copyright: updated upstream and packaging years.
+ * debian/README.Debian: added to say about some URLs that can be used as
+ reference to users.
+ * debian/watch: created.
+
+ -- Joao Eriberto Mota Filho <eriberto at debian.org> Mon, 08 Dec 2014 23:21:24 -0200
+
vinetto (0.6.0~alpha-1) unstable; urgency=low
* Changed setup.py to use relative paths
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index 54dcbe1..38a5bff 100644
--- a/debian/control
+++ b/debian/control
@@ -1,14 +1,23 @@
Source: vinetto
Section: utils
Priority: optional
-Maintainer: Danny van der Meeren <danny at illogic.nl>
-Build-Depends: debhelper (>= 5), python (>= 2.3), python-support (>= 0.3)
-Standards-Version: 3.7.2
+Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
+Uploaders: Joao Eriberto Mota Filho <eriberto at debian.org>
+Build-Depends: debhelper (>= 9), python, dh-python
+Standards-Version: 3.9.6
+X-Python-Version: >= 2.7
+Homepage: http://vinetto.sf.net
+Vcs-Browser: https://anonscm.debian.org/cgit/forensics/vinetto.git
+Vcs-Git: git://anonscm.debian.org/forensics/vinetto.git
Package: vinetto
Architecture: all
-Depends: ${python:Depends}
-Description: A forensics tool to examine Thumbs.db files
- A tool intended for forensics examinations. It is a console program to extract
- thumbnail images and their metadata from those thumbs.db files generated under
- Windows. Used in forensic environments.
+Depends: ${python:Depends}, ${misc:Depends}, python-pil
+Description: forensics tool to examine Thumbs.db files
+ vinetto is a console program to extract thumbnail pictures and their metadata
+ from Thumbs.db files, that are generated under Microsoft Windows.
+ .
+ vinetto can help *nix-based forensics investigators to:
+ .
+ - easily preview thumbnails of deleted pictures on Windows systems;
+ - obtain information (dates, path, ...) about deleted pictures.
diff --git a/debian/copyright b/debian/copyright
index 71c0867..28dd452 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,26 +1,29 @@
-This package was debianized by Danny van der Meeren <danny at illogic.nl> on
-Sun, 10 Dec 2006 15:33:08 +0100.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: vinetto
+Source: http://sf.net/projects/vinetto
-It was downloaded from <http://sourceforge.net/projects/vinetto>
+Files: *
+Copyright: 2005-2007 Michel Roukine <rukin at users.sf.net>
+License: GPL-2.0+
-Upstream Author: Michel Roukine <rukin at users.sf.net>
+Files: debian/*
+Copyright: 2006 Danny van der Meeren <danny at illogic.nl>
+ 2014 Joao Eriberto Mota Filho <eriberto at debian.org>
+License: GPL-2.0+
-Copyright: (C) 2005, 2006 by Michel Roukine <rukin at users.sf.net>
-
-License:
- 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 2 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, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-The Debian packaging is (C) 2006, Danny van der Meeren <danny at illogic.nl> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+License: GPL-2.0+
+ 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 <http://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".
diff --git a/debian/manpage/genallman.sh b/debian/manpage/genallman.sh
new file mode 100755
index 0000000..130ecf8
--- /dev/null
+++ b/debian/manpage/genallman.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+# Generate several manpages at the same time.
+# C 2014 Joao Eriberto Mota Filho <eriberto at debian.org>
+#
+# You can use this code in the same terms of the BSD-3-clause license or,
+# optionally, in the same terms of the license used in debian/ directory
+# in this Debian package. Please, to the last option, refer the package
+# name when using.
+#
+# This script uses txt2man. You need 2 files: program_name.txt and
+# program_name.header.
+#
+# The program_name.header must be use this structure:
+#
+# .TH <program_name> "<manpage_level>" "<date>" "<program_name_upper_case> <program_version>" "<program_description>"
+#
+# Example:
+#
+# .TH mac-robber "1" "May 2013" "MAC-ROBBER 1.02" "collects data about allocated files in mounted filesystems"
+
+for NAME in $(ls | grep header | cut -d'.' -f1)
+do
+ LEVEL=$(cat $NAME.header | cut -d" " -f3 | tr -d '"')
+ cat $NAME.header > $NAME.$LEVEL
+ txt2man $NAME.txt | grep -v '^.TH ' >> $NAME.$LEVEL
+done
diff --git a/debian/manpage/vinetto.1 b/debian/manpage/vinetto.1
new file mode 100644
index 0000000..821c720
--- /dev/null
+++ b/debian/manpage/vinetto.1
@@ -0,0 +1,117 @@
+.TH vinetto "1" "Dec 2014" "VINETTO 0.07" "extract thumbnails and associated metadata from Thumbs.db files"
+.\"Text automatically generated by txt2man
+.SH NAME
+\fBvinetto \fP- extract thumbnails and associated metadata from Thumbs.db files
+\fB
+.SH SYNOPSIS
+.nf
+.fam C
+ \fBvinetto\fP [\fIOPTION\fP] [\fB-o\fP \fIDIR\fP] \fIfile\fP
+
+.fam T
+.fi
+.fam T
+.fi
+.SH DESCRIPTION
+\fBvinetto\fP extracts the thumbnails and associated metadata from the Thumbs.db files.
+.PP
+The MS Windows systems (98, ME, 2000, XP and 2003 Server) can store thumbnails and metadata of the picture files
+contained in directories. The thumbnails and associated metadata are stored in Thumbs.db files (that are undocumented
+OLE structured files). Once a picture \fIfile\fP has been deleted from the filesystem, the related thumbnail and associated
+metadata remain stored in the Thumbs.db file. So, the data contained in Thumbs.db files are a helpful source of
+information for the forensics investigators.
+.PP
+\fBvinetto\fP will help *nix-based forensics investigators to:
+.RS
+.IP \(bu 3
+easily preview thumbnails of deleted pictures on Windows systems;
+.IP \(bu 3
+obtain information (dates, path, \.\.\.) about these deleted pictures.
+.SH OPTIONS
+.TP
+.B
+\fB--version\fP
+Show program's version number and exit.
+.TP
+.B
+\fB-h\fP, \fB--help\fP
+Show help message and exit.
+.TP
+.B
+\fB-o\fP \fIDIR\fP
+Write thumbnails to \fIDIR\fP
+.TP
+.B
+\fB-H\fP
+Write html report to \fIDIR\fP
+.TP
+.B
+\fB-U\fP
+Use utf8 encodings.
+.TP
+.B
+\fB-s\fP
+Create symlink of the picture realname to the numbered name in \fIDIR\fP/.thumbs.
+.SH EXAMPLES
+Display metadata contained within a Thumbs.db \fIfile\fP:
+.PP
+.nf
+.fam C
+ $ vinetto /path/to/Thumbs.db
+
+.fam T
+.fi
+Extract the related thumbnails to a directory:
+.PP
+.nf
+.fam C
+ $ vinetto \-o /tmp/vinetto_output /path/to/Thumbs.db
+
+.fam T
+.fi
+Extract the related thumbnails to a directory and produce a HTML report to preview these thumbnails through your favorite browser:
+.PP
+.nf
+.fam C
+ $ vinetto \-Ho /tmp/vinetto_output /path/to/Thumbs.db
+
+.fam T
+.fi
+Get a metadata report on all non deleted Thumbs.db files contained within a partition:
+.PP
+.nf
+.fam C
+ $ find /mnt/sda2 \-iname thumbs.db \-printf "\\n==\\n %p \\n\\n" \-exec vinetto {} \\; 2>/tmp/vinetto_err.log >/tmp/vinetto_sda2.txt
+
+.fam T
+.fi
+.SH TIP
+\fBvinetto\fP can generate its results in hidden directories, as .thumbs.
+.SH BUGS
+MS Windows stores thumbnails in its Thumbs.db files, according to various formats. At present, \fBvinetto\fP does not produce an
+excellent reconstruction of Type 1a thumbnails. See more details and examples here[1].
+.PP
+[1] http://vinetto.sf.net/docs.html
+.PP
+In 0.07 version, \fBvinetto\fP can crash when used without '\fB-o\fP' option. If this command crashes:
+.PP
+.nf
+.fam C
+ $ vinetto /path/to/Thumbs.db
+
+.fam T
+.fi
+Please, try this:
+.PP
+.nf
+.fam C
+ $ vinetto \-o . /path/to/Thumbs.db
+
+.fam T
+.fi
+It will show metadata and extract the thumbs (maybe an undesirable result). But it won't crash.
+.SH AUTHOR
+\fBvinetto\fP was written by Michel Roukine <rukin at users.sf.net>.
+.PP
+This manual page was written by Danny van der Meeren <danny at illogic.nl> and updated by Joao Eriberto Mota Filho <eriberto at debian.org>
+for Debian project (but may be used by others).
diff --git a/debian/vinetto.1 b/debian/manpage/vinetto.1.old
similarity index 100%
rename from debian/vinetto.1
rename to debian/manpage/vinetto.1.old
diff --git a/debian/manpage/vinetto.header b/debian/manpage/vinetto.header
new file mode 100644
index 0000000..2c3fc88
--- /dev/null
+++ b/debian/manpage/vinetto.header
@@ -0,0 +1 @@
+.TH vinetto "1" "Dec 2014" "VINETTO 0.07" "extract thumbnails and associated metadata from Thumbs.db files"
diff --git a/debian/manpage/vinetto.txt b/debian/manpage/vinetto.txt
new file mode 100644
index 0000000..f407f50
--- /dev/null
+++ b/debian/manpage/vinetto.txt
@@ -0,0 +1,71 @@
+NAME
+ vinetto - extract thumbnails and associated metadata from Thumbs.db files
+
+SYNOPSIS
+ vinetto [OPTION] [-o DIR] file
+
+DESCRIPTION
+ vinetto extracts the thumbnails and associated metadata from the Thumbs.db files.
+
+ The MS Windows systems (98, ME, 2000, XP and 2003 Server) can store thumbnails and metadata of the picture files
+ contained in directories. The thumbnails and associated metadata are stored in Thumbs.db files (that are undocumented
+ OLE structured files). Once a picture file has been deleted from the filesystem, the related thumbnail and associated
+ metadata remain stored in the Thumbs.db file. So, the data contained in Thumbs.db files are a helpful source of
+ information for the forensics investigators.
+
+ vinetto will help *nix-based forensics investigators to:
+ * easily preview thumbnails of deleted pictures on Windows systems;
+ * obtain information (dates, path, ...) about these deleted pictures.
+
+OPTIONS
+ --version Show program's version number and exit.
+
+ -h, --help Show help message and exit.
+
+ -o DIR Write thumbnails to DIR
+
+ -H Write html report to DIR
+ -U Use utf8 encodings.
+ -s Create symlink of the picture realname to the numbered name in DIR/.thumbs.
+
+EXAMPLES
+ Display metadata contained within a Thumbs.db file:
+
+ $ vinetto /path/to/Thumbs.db
+
+ Extract the related thumbnails to a directory:
+
+ $ vinetto \-o /tmp/vinetto_output /path/to/Thumbs.db
+
+ Extract the related thumbnails to a directory and produce a HTML report to preview these thumbnails through your favorite browser:
+
+ $ vinetto \-Ho /tmp/vinetto_output /path/to/Thumbs.db
+
+ Get a metadata report on all non deleted Thumbs.db files contained within a partition:
+
+ $ find /mnt/sda2 \-iname thumbs.db \-printf "\\n==\\n %p \\n\\n" \-exec vinetto {} \\; 2>/tmp/vinetto_err.log >/tmp/vinetto_sda2.txt
+
+TIP
+ vinetto can generate its results in hidden directories, as .thumbs.
+
+BUGS
+ MS Windows stores thumbnails in its Thumbs.db files, according to various formats. At present, vinetto does not produce an
+ excellent reconstruction of Type 1a thumbnails. See more details and examples here[1].
+
+ [1] http://vinetto.sf.net/docs.html
+
+ In 0.07 version, vinetto can crash when used without '-o' option. If this command crashes:
+
+ $ vinetto /path/to/Thumbs.db
+
+ Please, try this:
+
+ $ vinetto \-o . /path/to/Thumbs.db
+
+ It will show metadata and extract the thumbs (maybe an undesirable result). But it won't crash.
+
+AUTHOR
+ vinetto was written by Michel Roukine <rukin at users.sf.net>.
+
+ This manual page was written by Danny van der Meeren <danny at illogic.nl> and updated by Joao Eriberto Mota Filho <eriberto at debian.org>
+ for Debian project (but may be used by others).
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..235fb7d
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/manpage/vinetto.1
diff --git a/debian/patches/fix-upstream-version b/debian/patches/fix-upstream-version
new file mode 100644
index 0000000..377f464
--- /dev/null
+++ b/debian/patches/fix-upstream-version
@@ -0,0 +1,28 @@
+Description: change upstream version from 0.06 to 0.07.
+Author: Joao Eriberto Mota Filho <eriberto at debian.org>
+Last-Update: 2014-12-09
+Index: vinetto-0.07/setup.py
+===================================================================
+--- vinetto-0.07.orig/setup.py
++++ vinetto-0.07/setup.py
+@@ -1,6 +1,6 @@
+ from distutils.core import setup
+ setup (name='vinetto',
+- version='0.06alpha',
++ version='0.07beta',
+ scripts=['vinetto'],
+ py_modules=['vinutils', 'vinreport'],
+ data_files=[('/usr/share/vinetto', ['res/header', 'res/huffman', \
+Index: vinetto-0.07/vinetto
+===================================================================
+--- vinetto-0.07.orig/vinetto
++++ vinetto-0.07/vinetto
+@@ -26,7 +26,7 @@ This file is part of Vinetto.
+ """
+
+ __revision__ = "$Revision: 59 $"
+-__version__ = "0.06"
++__version__ = "0.07"
+ __author__ = 'Michel Roukine'
+
+ import sys
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7ca3b50
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-upstream-version
diff --git a/debian/rules b/debian/rules
index 2372e4a..1735835 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,36 +1,5 @@
#!/usr/bin/make -f
+# export DH_VERBOSE=1
-PREFIX := debian/vinetto
-
-build:
-
-install: build
- python ./setup.py install --no-compile \
- --install-lib=$(PREFIX)/usr/share/python-support/vinetto \
- --install-scripts=$(PREFIX)/usr/bin \
- --prefix=$(PREFIX)
-
-install: build
-
-clean:
- dh_clean
- find . -name \*.pyc | xargs rm -f
- rm -rf debian/vinetto
- rm -rf build
-
-binary-arch binary: binary-indep
-
-binary-indep: build install
- dh_pysupport
- dh_install
- dh_installchangelogs
- dh_installdocs
- dh_installman debian/vinetto.1
- dh_installdeb
- dh_compress
- dh_fixperms
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-.PHONY: build binary binary-arch binary-indep clean install
+%:
+ dh $@ --with python2
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..81de617
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/vinetto/vinetto-(?:\S+-)?(\d\S+)\.tar\.(?:bz2|gz|xz)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/vinetto.git
More information about the forensics-changes
mailing list