<?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>218601</bug_id>
          
          <creation_ts>2008-04-20 16:08 0000</creation_ts>
          <short_desc>sys-fs/ntfsprogs-2.0.0 - Extra tools are not installed</short_desc>
          <delta_ts>2008-04-20 20:06:11 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>fdbugs@dupoux.com</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>fdbugs@dupoux.com</who>
            <bug_when>2008-04-20 16:08:22 0000</bug_when>
            <thetext>The current sys-fs/ntfsprogs-2.0.0 ebuild installs the normal binaries (make &amp;&amp; make install). Anyway ntfsprogs comes with extra programs for advanced users, but they are just not supported by the current ebuild. Those programs could be compiled with an &quot;make extra&quot;. 

Since gentoo always leaves the user the choice of what he wants, it would be great to have install these extra programs when an USE variable is on/off. Here is how we can do with the USE=&apos;-minimal&apos;. Just add the following code in the src_compile() and src_install() functions:

src_compile()
{
     if ! use minimal
     then
          emake extra || die &quot;Make extra failed&quot;
     fi
}

src_install()
{
     if ! use minimal
     then
        cd ntfsprogs/.libs
        strip ntfswipe ntfstruncate ntfsmove ntfsmftalloc ntfsdump_logfile
        dosbin ntfswipe ntfstruncate ntfsmove ntfsmftalloc ntfsdump_logfile          
     fi
}


Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2008-04-20 19:34:33 0000</bug_when>
            <thetext>you should never install binaries directly out of the .lib subdirectories, or run strip at all manually

ntfsprogs-2.0.0-r1 should do what you want</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fdbugs@dupoux.com</who>
            <bug_when>2008-04-20 20:06:11 0000</bug_when>
            <thetext>Thanks a lot for your quick update. It seems to be a cleaner solution. I tested this patch/ebuild and it&apos;s working well on my system. Thanks for that.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>