Commit 97d0054a authored by Sven Geuer's avatar Sven Geuer

Fix #921214 and add autopkgtests

parent 5a8f447f
ed2k-hash (0.4.0+ds-2) unstable; urgency=medium
* Team upload.
[ Sven Geuer ]
* d/patches:
- Create patch for "Fix wrong hash production in 64 bit systems (#562833)"
which was done immediately to 0.3.3 upstream source before and thus got
lost.
(Closes: #921214)
* d/control:
- Bump debhelper version to 12
- Bump Standards-Version to 4.3.0
* d/compat:
- Bump compat version to 12
* Add d/tests/* for autopkgtest.
* d/copyright:
- Update debian/* copyright
-- Sven Geuer <debmaint@g-e-u-e-r.de> Sun, 10 Feb 2019 15:49:49 +0100
ed2k-hash (0.4.0+ds-1) unstable; urgency=medium
* Team upload.
......
......@@ -3,14 +3,15 @@ Section: utils
Priority: optional
Maintainer: Debian Security Tools <team+pkg-security@tracker.debian.org>
Uploaders: Tiago Bortoletto Vaz <tiago@debian.org>
Build-Depends: debhelper (>= 11), automake, autoconf, libtool
Standards-Version: 4.2.1
Build-Depends: debhelper (>= 12~), automake, autoconf, libtool
Standards-Version: 4.3.0
Homepage: http://ed2k-tools.sourceforge.net/ed2k_hash.shtml
Vcs-Browser: https://salsa.debian.org/pkg-security-team/ed2k-hash
Vcs-Git: https://salsa.debian.org/pkg-security-team/ed2k-hash.git
Package: ed2k-hash
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: tool for generating ed2k-links
This tool is useful for people who want to know the ed2k-links of files they
......
......@@ -18,6 +18,7 @@ Copyright: 2009 Tiago Bortoletto Vaz <tiago@debian.org>
2014 Anibal Monsalve Salazar <anibal@debian.org>
2015 Joao Eriberto Mota Filho <eriberto@debian.org>
2018 SZ Lin (林上智) <szlin@debian.org>
2019 Sven Geuer <debmaint@g-e-u-e-r.de>
License: GPL-2+
License: GPL-2+
......
Description: Fix wrong hash production in 64 bit systems
Thanks to Alexey Bazhin.
Re-imported from https://salsa.debian.org/pkg-security-team/ed2k-hash/tags/upstream%2F0.3.3+deb2
Author: Sven Geuer <debmaint@g-e-u-e-r.de>
Last-Update: 2019-02-10
--- a/ed2k_hash/md4.h
+++ b/ed2k_hash/md4.h
@@ -66,7 +66,9 @@
typedef unsigned short int UINT2;
/* UINT4 defines a four byte word */
-typedef unsigned long int UINT4;
+/* typedef unsigned long int UINT4; */
+/* unsigned long int on 64bit is 8 byts */
+typedef unsigned int UINT4;
/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
fix-wrong-hash-production-in-64bit-systems.patch
remove-upstream-debian-directory-setting.patch
use-hyphen-instead-of-underscore-to-align-with-other-docs.patch
fix-some-GCC-warnings.patch
......
Tests: test1
Depends: @
#!/bin/sh
set -e
echo checking call to ed2k_hash for expected result
ed2k_hash /usr/share/man/man1/ed2k_hash.1.gz | diff - debian/tests/test1_expected_result
ed2k://|file|ed2k_hash.1.gz|590|4b445588ecff4c82daca9243c0d87271|
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