Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105479 - Linking openvpn statically (ebuild patch)
Summary: Linking openvpn statically (ebuild patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-09-10 04:50 UTC by Clemens Noss
Modified: 2005-10-13 07:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch (openvpn-2.0.1.ebuild.diff,627 bytes, patch)
2005-09-10 04:51 UTC, Clemens Noss
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Noss 2005-09-10 04:50:09 UTC
I was able to link openvpn statically with this change:

sed -i -e '/^LIBS/s/LIBS = /LIBS = -static /' Makefile

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

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

It was a uclibc x86 environment.

I haven't run the binary yet.
Comment 1 Clemens Noss 2005-09-10 04:51:43 UTC
Created attachment 68100 [details, diff]
ebuild patch
Comment 2 Roy Marples (RETIRED) gentoo-dev 2005-10-13 07:12:34 UTC
Thanks for the patch!

Fixed in 2.0.2-r1