<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>155464</bug_id>
          
          <creation_ts>2006-11-17 03:08 0000</creation_ts>
          <short_desc>sys-apps/dcfldd-1.3.4 version bump</short_desc>
          <delta_ts>2007-02-15 15:39:39 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://dcfldd.sourceforge.net/</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>forums@emat.be</reporter>
          <assigned_to>forensics@gentoo.org</assigned_to>
          <cc>george@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>forums@emat.be</who>
            <bug_when>2006-11-17 03:08:13 0000</bug_when>
            <thetext>Several versions have been released including bugfixes for the dcfldd program.
Portage holds version 1.2.4-r1 which is still in testing?!.
Official upstream release has version 1.3.4 realeased stable since 12 feb 2006
cheers,</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2007-02-13 10:54:26 0000</bug_when>
            <thetext>Renaming the 1.2.4 (not the 1.2.4-r1 !) ebuild works fine. NOTE: the fix for wrong md5 generation on amd64 is in the official source, this is the reason that 1.2.4-r0 and not 1.2.4-r1 should be used as a prototype.

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2007-02-13 11:10:55 0000</bug_when>
            <thetext>Created an attachment (id=110049)
new version out: dcfldd/dcfldd-1.3.4.1.ebuild

Actually another version is out by now (released Dec 2006), by the versioning looks like some &quot;minor bugfox&quot; which, according to the website, is:

Fixed an issue with error-producing blocks not being zero padding under BSD systems.

The ebuild is attached. The only change (from 1.2.4-r0) is that ~amd64 is readded to KEYWORDS and versionator is inherited and replace_version_separator is used to mangle version string (since upstream decided on a fancy version number of 1.3.4-1). 

Indeed a &quot;diff -ru&quot; between 1.3.4 and 1.3.4-1 sources shows only this:

--- dcfldd-1.3.4/work/dcfldd-1.3.4/copy.c       2006-01-05 23:47:12.000000000 +0100
+++ dcfldd-1.3.4.1/work/dcfldd-1.3.4-1/copy.c   2006-12-14 22:58:57.000000000 +0100
@@ -266,11 +266,15 @@
                 print_stats();
                 /* Seek past the bad block if possible. */
                 lseek(STDIN_FILENO, (off_t) input_blocksize, SEEK_CUR);
-                if (conversions_mask &amp; C_SYNC)
+                if (conversions_mask &amp; C_SYNC) {
                     /* Replace the missing input with null bytes and
                        proceed normally.  */
+                    // EXPERIMENTAL: let&apos;s try re-zeroing this buffer
+                    memset((char *) ibuf,
+                           (conversions_mask &amp; (C_BLOCK | C_UNBLOCK)) ? &apos; &apos; : &apos;\0&apos;,
+                           input_blocksize);
                     nread = 0;
-                else
+                } else
                     continue;
             } else {
                 /* Write any partial block. */

So, I&apos;d say it is safe to assume that 1.3.4-1 is the latest working version, especially assuming that it is marked stable by upstream.


George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2007-02-13 11:12:52 0000</bug_when>
            <thetext>One last note. If forensics herd is Ok I can add this new version to the tree myself (looking at how this was lagging for so long).

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2007-02-13 20:38:38 0000</bug_when>
            <thetext>Thanks George. Please add.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2007-02-15 15:39:39 0000</bug_when>
            <thetext>Done</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>110049</attachid>
            <date>2007-02-13 11:10 0000</date>
            <desc>new version out: dcfldd/dcfldd-1.3.4.1.ebuild</desc>
            <filename>dcfldd-1.3.4.1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA3IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6ICQKCmluaGVyaXQgdmVyc2lvbmF0b3IKCk15X1BWPSQocmVwbGFjZV92ZXJzaW9uX3NlcGFy
YXRvciAzICctJykKCkRFU0NSSVBUSU9OPSJlbmhhbmNlZCBkZCB3aXRoIGZlYXR1cmVzIGZvciBm
b3JlbnNpY3MgYW5kIHNlY3VyaXR5IgpIT01FUEFHRT0iaHR0cDovL2RjZmxkZC5zb3VyY2Vmb3Jn
ZS5uZXQvIgpTUkNfVVJJPSJtaXJyb3I6Ly9zb3VyY2Vmb3JnZS9kY2ZsZGQvJHtQTn0tJHtNeV9Q
Vn0udGFyLmd6IgoKTElDRU5TRT0iR1BMLTIiClNMT1Q9IjAiCktFWVdPUkRTPSJ+YW1kNjQgfnBw
YyB4ODYiCklVU0U9IiIKCkRFUEVORD0iIgoKUz0iJHtXT1JLRElSfS8ke1BOfS0ke015X1BWfSIK
CnNyY19pbnN0YWxsKCkgewoJbWFrZSBpbnN0YWxsIERFU1RESVI9IiR7RH0iIHx8IGRpZSAibWFr
ZSBpbnN0YWxsIGZhaWxlZCIKCWRvZG9jIEFVVEhPUlMgQ2hhbmdlTG9nIFJFQURNRQp9Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>