<?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>105479</bug_id>
          
          <creation_ts>2005-09-10 04:50 0000</creation_ts>
          <short_desc>Linking openvpn statically (ebuild patch)</short_desc>
          <delta_ts>2005-10-13 07:12:34 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>
          
          
          <keywords>Inclusion</keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>cnoss@gmx.de</reporter>
          <assigned_to>uberlord@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>cnoss@gmx.de</who>
            <bug_when>2005-09-10 04:50:09 0000</bug_when>
            <thetext>I was able to link openvpn statically with this change:

sed -i -e &apos;/^LIBS/s/LIBS = /LIBS = -static /&apos; Makefile

after the econf step. (success confirmed by ldd) From my &quot;emerge info&quot;:

Portage 2.0.51.22-r2 (uclibc/x86/2005.1, gcc-3.4.4, unavailable, 2.6.9-epia0 i686)
USE=&quot;x86 berkdb glibc-compat20 ncurses perl readline ssl static uclibc zlib
userland_GNU kernel_linux elibc_uclibc&quot;

It was a uclibc x86 environment.

I haven&apos;t run the binary yet.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cnoss@gmx.de</who>
            <bug_when>2005-09-10 04:51:43 0000</bug_when>
            <thetext>Created an attachment (id=68100)
ebuild patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2005-10-13 07:12:34 0000</bug_when>
            <thetext>Thanks for the patch!

Fixed in 2.0.2-r1</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>68100</attachid>
            <date>2005-09-10 04:51 0000</date>
            <desc>ebuild patch</desc>
            <filename>openvpn-2.0.1.ebuild.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9uZXQtbWlzYy9vcGVudnBuL29wZW52cG4tMi4wLjEuZWJ1aWxkCTIw
MDUtMDgtMzAgMDc6MDU6NTMuMDAwMDAwMDAwIC0wNjAwCisrKyBvcGVudnBuLTIuMC4xLmVidWls
ZAkyMDA1LTA5LTEwIDA1OjE4OjI3LjAwMDAwMDAwMCAtMDYwMApAQCAtMTEsNyArMTEsNyBAQAog
TElDRU5TRT0iR1BMLTIiCiBTTE9UPSIwIgogS0VZV09SRFM9In5hbHBoYSBhbWQ2NCBwcGMgcHBj
LW1hY29zIHNwYXJjIHg4NiIKLUlVU0U9ImV4YW1wbGVzIHNlbGludXggc3NsIHRocmVhZHMiCitJ
VVNFPSJleGFtcGxlcyBzZWxpbnV4IHNzbCB0aHJlYWRzIHN0YXRpYyIKIAogUkRFUEVORD0iPj1k
ZXYtbGlicy9sem8tMS4wNwogCXNlbGludXg/ICggc2VjLXBvbGljeS9zZWxpbnV4LW9wZW52cG4g
KQpAQCAtMzAsNiArMzAsOSBAQAogCQkkKHVzZV9lbmFibGUgc3NsIGNyeXB0bykgXAogCQkkKHVz
ZV9lbmFibGUgdGhyZWFkcyBwdGhyZWFkKSBcCiAJCXx8IGRpZSAiY29uZmlndXJlIGZhaWxlZCIK
Kwl1c2Ugc3RhdGljICYmIHsKKwkJc2VkIC1pIC1lICcvXkxJQlMvcy9MSUJTID0gL0xJQlMgPSAt
c3RhdGljIC8nIE1ha2VmaWxlCisJfQogCWVtYWtlIHx8IGRpZSAibWFrZSBmYWlsZWQiCiB9CiAK
</data>        

          </attachment>
    </bug>

</bugzilla>