[Forensics-changes] [hashrat] 02/02: Import Debian changes 1.8.9+dfsg-1

Giovani Augusto Ferreira giovani at moszumanska.debian.org
Wed Sep 13 20:33:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

giovani pushed a commit to branch debian
in repository hashrat.

commit c24334acc24091c2b028c9278e89d8fe43860024
Merge: 3e0354b b843ca5
Author: Giovani Augusto Ferreira <giovani at debian.org>
Date:   Sun Sep 3 16:13:30 2017 -0300

    Import Debian changes 1.8.9+dfsg-1
    
    hashrat (1.8.9+dfsg-1) unstable; urgency=medium
    
      * New upstream release.
      * debian/control:
          - Bumped Standards-Version to 4.0.1.
          - Dropped dh-autoreconf from Build-Depends, this is deprecated now.
      * debian/patches/fix-integer-truncation.patch:
          - Added to avoid integer truncation on the big files.
            Thanks to Bernhard Übelacker for the patch. (Closes: #863460)

 Makefile                                    |  2 +-
 cgi.c                                       | 20 +++++++++++++-------
 common.h                                    |  2 +-
 debian/changelog                            | 12 ++++++++++++
 debian/control                              |  4 ++--
 debian/patches/fix-integer-truncation.patch | 27 +++++++++++++++++++++++++++
 debian/patches/series                       |  1 +
 7 files changed, 57 insertions(+), 11 deletions(-)

diff --cc debian/changelog
index 8407667,0000000..0273f2c
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,134 -1,0 +1,146 @@@
++hashrat (1.8.9+dfsg-1) unstable; urgency=medium
++
++  * New upstream release.
++  * debian/control:
++      - Bumped Standards-Version to 4.0.1.
++      - Dropped dh-autoreconf from Build-Depends, this is deprecated now.
++  * debian/patches/fix-integer-truncation.patch:
++      - Added to avoid integer truncation on the big files.
++        Thanks to Bernhard Übelacker for the patch. (Closes: #863460)
++
++ -- Giovani Augusto Ferreira <giovani at debian.org>  Sun, 03 Sep 2017 16:13:30 -0300
++
 +hashrat (1.8.7+dfsg-2) unstable; urgency=medium
 +
 +  * Upload to unstable.
 +  * Maintained support for filesystem Extended Attributes. (Closes: #835268)
 +
 + -- Giovani Augusto Ferreira <giovani at debian.org>  Sun, 02 Jul 2017 16:21:56 -0300
 +
 +hashrat (1.8.7+dfsg-1) experimental; urgency=medium
 +
 +  * New upstream release.
 +  * Updated my email address.
 +  * debian/control:
 +      - Bumped Standards-Version to 4.0.0.
 +  * debian/copyright: updated the packaging copyright years.
 +  * debian/patches/fix-install.patch:
 +      - Added to improve GCC hardening.
 +  * debian/rules:
 +      - Enabled support for filesystem Extended Attributes. (see: #835268)
 +
 + -- Giovani Augusto Ferreira <giovani at debian.org>  Sun, 25 Jun 2017 20:31:13 -0300
 +
 +hashrat (1.8.3+dfsg-2) unstable; urgency=medium
 +
 +  * Update DH level to 10.
 +  * debian/compat: updated to 10.
 +  * debian/rules: removed the '--with autoreconf' because it is default
 +    in DH 10.
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Fri, 16 Dec 2016 23:12:24 -0200
 +
 +hashrat (1.8.3+dfsg-1) unstable; urgency=medium
 +
 +  * New upstream release
 +  * Added the 'dfsg' suffix.
 +  * debian/copyright: updated version from libUseful* files.
 +  * debian/patches:
 +      - fix-help and fix-spelling-manpage was merged to fix-spelling.patch.
 +      - fix-manpage-patch was removed, the Upstream fixed in source code.
 +  * debian/README.source: created to explain about the dfsg action.
 +  * debian/watch: added a mangle rule to handle the '+dfsg' suffix.
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Sun, 25 Sep 2016 18:51:56 -0300
 +
 +hashrat (1.8.1-2) unstable; urgency=medium
 +
 +  * debian/watch:
 +      -fixed to pick up new versions, previous Debian release
 +       without adjustment. (Closes: #832141)
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Tue, 26 Jul 2016 07:50:36 -0300
 +
 +hashrat (1.8.1-1) unstable; urgency=medium
 +
 +  * New upstream release
 +  * debian/control:
 +      - Bumped Standards-Version to 3.9.8.
 +  * debian/patches/*:
 +      - updated the version to 1.8.1 in all files.
 +  * debian/watch:
 +      - improved to catch new versions starting with the letter 'v'.
 +        Thanks Samuel Henrique for patch. (Closes: #832141)
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Sat, 23 Jul 2016 23:42:11 -0300
 +
 +hashrat (1.8.0-1) unstable; urgency=medium
 +
 +  * New upstream release
 +  * debian/control:
 +      - Changed from cgit to git in Vcs-Browser field.
 +  * debian/watch:
 +      - Bumped to version 4.
 +      - Leaving only a repository to avoid conflicting on uscan system.
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Wed, 23 Mar 2016 23:34:15 -0300
 +
 +hashrat (1.6.1-4) unstable; urgency=medium
 +
 +  * New co-maintainer. Thanks a lot to Eriberto Mota, the initial
 +    maintainer of this package.
 +  * debian/control:
 +      - Bumped Standards-Version to 3.9.7.
 +      - Fixed a word in long description.
 +      - Updated Vcs-* fields.
 +  * debian/copyright: added my name at debian/* block.
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Sat, 20 Feb 2016 23:55:35 -0300
 +
 +hashrat (1.6.1-3) unstable; urgency=medium
 +
 +  * debian/patches/fix-spelling-manpage: added to fix some issues in manpage.
 +
 + -- Joao Eriberto Mota Filho <eriberto at debian.org>  Sun, 13 Sep 2015 19:14:42 -0300
 +
 +hashrat (1.6.1-2) unstable; urgency=medium
 +
 +  * debian/rules: disabled the tests (temporarily) to avoid FTBFS in some
 +      architectures.
 +
 + -- Joao Eriberto Mota Filho <eriberto at debian.org>  Mon, 03 Aug 2015 11:24:46 -0300
 +
 +hashrat (1.6.1-1) unstable; urgency=medium
 +
 +  * New upstream release.
 +  * debian/clean: removed.
 +  * debian/copyright:
 +      - Updated the Source field in header.
 +      - Updated all information about libUseful-2.1 directory (previously
 +        called libUseful-2.0).
 +  * debian/docs: created to install the README file.
 +  * debian/manpages: removed. The upstream is using the manpage created for
 +      Debian. Thanks!
 +  * debian/patches/:
 +      - fix-help: updated.
 +      - fix-manpage-path: created to install the upstream manpage in right
 +        place.
 +  * debian/source.lintian-overrides: removed. The upstream fixed the source
 +      code. Thanks.
 +  * debian/rules: re-enabled the autotests (removed the override_dh_auto_test
 +      target). The upstream fixed the code. Thanks.
 +
 + -- Joao Eriberto Mota Filho <eriberto at debian.org>  Thu, 23 Jul 2015 22:03:16 -0300
 +
 +hashrat (1.5-2) unstable; urgency=medium
 +
 +  * Upload to unstable.
 +  * debian/copyright: dropping dot-zero from GPL license short name.
 +
 + -- Joao Eriberto Mota Filho <eriberto at debian.org>  Wed, 22 Jul 2015 13:51:05 -0300
 +
 +hashrat (1.5-1) experimental; urgency=low
 +
 +  * Initial release. (Closes: #776499)
 +
 + -- Joao Eriberto Mota Filho <eriberto at debian.org>  Wed, 28 Jan 2015 10:32:25 -0200
diff --cc debian/control
index bda89d2,0000000..295ccd9
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,29 -1,0 +1,29 @@@
 +Source: hashrat
 +Section: utils
 +Priority: optional
 +Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
 +Uploaders: Giovani Augusto Ferreira <giovani at debian.org>
- Build-Depends: debhelper (>= 10), dh-autoreconf
- Standards-Version: 4.0.0
++Build-Depends: debhelper (>= 10)
++Standards-Version: 4.0.1
 +Homepage: http://www.cjpaget.co.uk/Code/Hashrat
 +Vcs-Git: https://anonscm.debian.org/git/forensics/hashrat.git
 +Vcs-Browser: https://anonscm.debian.org/git/forensics/hashrat.git
 +
 +Package: hashrat
 +Architecture: any
 +Depends: ${shlibs:Depends}, ${misc:Depends}
 +Description: hashing tool supporting several hashes and recursivity
 + Hashrat is a hash-generation utility that supports the md5, sha1, sha256,
 + sha512, whirlpool, jh-244, jh256, jh-384 and jh-512 hash functions, and
 + also the HMAC versions of those functions. It can output in 'traditional'
 + format (same as md5sum and shasum and the like), or it's own format.
 + .
 + Hashes can be output in octal, decimal, hexadecimal, uppercase hexadecimal
 + or base64.
 + .
 + Hashrat also supports directory recursion, hashing entire devices,
 + generating a hash for an entire directory, operations in remote machines
 + and several other features. It has a 'CGI' mode that can be used as a
 + web-page to lookup hashes.
 + .
 + This tool is useful in forensics investigations and network security.
diff --cc debian/patches/fix-integer-truncation.patch
index 0000000,0000000..e6e4284
new file mode 100644
--- /dev/null
+++ b/debian/patches/fix-integer-truncation.patch
@@@ -1,0 -1,0 +1,27 @@@
++Description: Fix integer truncation on file size assignment if greater than 2G.
++Author: Bernhard Übelacker <bernhardu at mailbox.org>
++Bug-Debian: https://bugs.debian.org/863460
++Reviewed-By: Giovani Augusto Ferreira <giovani at debian.org>
++Last-Update: 2017-09-04
++
++--- hashrat-1.8.9+dfsg.orig/files.c
+++++ hashrat-1.8.9+dfsg/files.c
++@@ -181,7 +181,8 @@ int HashratHashFile(HashratCtx *Ctx, THa
++ {
++ STREAM *S;
++ char *Tempstr=NULL, *User=NULL, *Pass=NULL;
++-int result, val, RetVal=FALSE;
+++int result, RetVal=FALSE;
+++off_t val;
++ off_t bytes_read=0;
++ 
++ switch (Type)
++@@ -267,7 +268,7 @@ int HashratHashSingleFile(HashratCtx *Ct
++ THash *Hash;
++ struct stat XattrStat;
++ char *ptr;
++-int size=0;
+++off_t size=0;
++ 
++ 		*RetStr=CopyStr(*RetStr,"");
++ 
diff --cc debian/patches/series
index 06a4de6,0000000..5450d48
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,2 -1,0 +1,3 @@@
 +fix-install.patch
 +fix-spelling.patch
++fix-integer-truncation.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/hashrat.git



More information about the forensics-changes mailing list