<?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>134195</bug_id>
          
          <creation_ts>2006-05-24 04:56 0000</creation_ts>
          <short_desc>app-text/xmlto: add support for getopt-long command</short_desc>
          <delta_ts>2006-05-24 11:40:17 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo/Alt</product>
          <component>FreeBSD</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>FreeBSD</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>flameeyes@gentoo.org</reporter>
          <assigned_to>text-markup@gentoo.org</assigned_to>
          <cc>bsd@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2006-05-24 04:56:08 0000</bug_when>
            <thetext>xmlto is a bash script that requires a getopt(1) command that supports GNU style long options. As FreeBSD (and probably other BSDs, too) doesn&apos;t provide that command, I&apos;ve added to portage app-misc/getopt package that provides a getopt-long replacement for FreeBSD and other platforms.

The attached patch adds a || dependency on util-linux or getopt, so that it can be used without util-linux (that as the name states it&apos;s linux sepecific), and if util-linux is not used (so getopt is used), it passes a --with-getopt=getopt-long at command line to allow xmlto to work correctly.

Tested with both xmlto&apos;s manpage and unieject&apos;s.

T&amp;#293;anks,
Diego</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2006-05-24 04:56:30 0000</bug_when>
            <thetext>Created an attachment (id=87382)
Ebuild patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2006-05-24 11:40:17 0000</bug_when>
            <thetext>Forgot to close.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>87382</attachid>
            <date>2006-05-24 04:56 0000</date>
            <desc>Ebuild patch</desc>
            <filename>xmlto-fbsd.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IHhtbHRvLTAuMC4xOC5lYnVpbGQKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL3Zhci9jdnNy
b290L2dlbnRvby14ODYvYXBwLXRleHQveG1sdG8veG1sdG8tMC4wLjE4LmVidWlsZCx2CnJldHJp
ZXZpbmcgcmV2aXNpb24gMS4xNgpkaWZmIC11IC1CIC1yMS4xNiB4bWx0by0wLjAuMTguZWJ1aWxk
Ci0tLSB4bWx0by0wLjAuMTguZWJ1aWxkCTE2IE1hciAyMDA2IDEyOjU5OjU0IC0wMDAwCTEuMTYK
KysrIHhtbHRvLTAuMC4xOC5lYnVpbGQJMjQgTWF5IDIwMDYgMTE6NTA6MTkgLTAwMDAKQEAgLTE3
LDEzICsxNywxOCBAQAogCWRldi1saWJzL2xpYnhzbHQKIAk+PWFwcC10ZXh0L2RvY2Jvb2steHNs
LXN0eWxlc2hlZXRzLTEuNjIuMC1yMQogCX5hcHAtdGV4dC9kb2Nib29rLXhtbC1kdGQtNC4yCi0J
c3lzLWFwcHMvdXRpbC1saW51eCIKKwl8fCAoIHN5cy1hcHBzL3V0aWwtbGludXggYXBwLW1pc2Mv
Z2V0b3B0ICkiCiAKICMJdGV0ZXg/ICggPj1hcHAtdGV4dC9wYXNzaXZldGV4LTEuNCApIgogIyBQ
YXNzaXZldGV4L3htbHRleCBuZWVkIHNvbWUgc29ydGluZyBvdXQgPG9iekBnZW50b28ub3JnPgog
CiBzcmNfY29tcGlsZSgpIHsKLQllY29uZiB8fCBkaWUKKwlsb2NhbCBteWNvbmYKKworCWhhc192
ZXJzaW9uIHN5cy1hcHBzL3V0aWwtbGludXggXAorCQl8fCBteWNvbmY9IiR7bXljb25mfSAtLXdp
dGgtZ2V0b3B0PWdldG9wdC1sb25nIgorCisJZWNvbmYgJHtteWNvbmZ9IHx8IGRpZQogCWVtYWtl
IC1qMSB8fCBkaWUKIH0KIAo=
</data>        

          </attachment>
    </bug>

</bugzilla>