I've brought this up before and didn't get ANY answer at all, and I'm sure someone involved with Stunnel would at least know if what I'm asking is possible. I know help is given on a volunteer basis, so if someone could help me figure this out, it would be a huge help. So far I've spent over a week on getting Stunnel or another program to do the job and if I can't get this to work, I need to just drop Stunnel and figure out how to do the same thing in Java. So thanks for any help.
I may need to include Stunnel with my application so my clients behind restrictive firewalls can still enable me to work on their systems with RealVNC. I'm working with clients on both Windows and Linux.
Is there a way to get static binaries for Linux? I don't know C or C++ or much more than running ./configure && make && make install. I'd like to know if it is possible or what is needed to create static binaries of the files so I could easily install stunnel on any Linux system by just copying over the proper files.
Also, what archive format does the Windows installer use? I'd like to do something similar for Windows, so if I could pull the files out of the installer and copy them over myself, it would be a huge help.
Thanks!
Hal
Hi,
On Mon, 13 Mar 2006, Hal Vaughan wrote:
I've brought this up before and didn't get ANY answer at all, and I'm sure someone involved with Stunnel would at least know if what I'm asking is possible. I know help is given on a volunteer basis, so if someone could help me figure this out, it would be a huge help. So far I've spent over a week on getting Stunnel or another program to do the job and if I can't get this to work, I need to just drop Stunnel and figure out how to do the same thing in Java. So thanks for any help.
I may need to include Stunnel with my application so my clients behind restrictive firewalls can still enable me to work on their systems with RealVNC. I'm working with clients on both Windows and Linux.
Is there a way to get static binaries for Linux? I don't know C or C++ or much more than running ./configure && make && make install. I'd like to know if it is possible or what is needed to create static binaries of the files so I could easily install stunnel on any Linux system by just copying over the proper files.
./configure --help | grep static
says it should be easy. I tried it though and on my Debian Sarge system it doesn't work, the net endresult of it is:
meijer@gebbetje:~/pki/stunnel/stunnel-4.14$ ./configure --enable-static --disable-libwrap --disable-shared
meijer@gebbetje:~/pki/stunnel/stunnel-4.14$ ldd src/stunnel libdl.so.2 => /lib/libdl.so.2 (0x4001d000) libutil.so.1 => /lib/libutil.so.1 (0x40020000) libnsl.so.1 => /lib/libnsl.so.1 (0x40023000) libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x40038000) libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 (0x4006a000) libc.so.6 => /lib/libc.so.6 (0x40169000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
I don't have the time to debug this. Hopefully Mike reads this and jumps in ;0.
Hal Vaughan wrote:
I may need to include Stunnel with my application so my clients behind restrictive firewalls can still enable me to work on their systems with RealVNC. I'm working with clients on both Windows and Linux.
Is there a way to get static binaries for Linux? I don't know C or C++ or much more than running ./configure && make && make install. I'd like to know if it is possible or what is needed to create static binaries of the files so I could easily install stunnel on any Linux system by just copying over the proper files.
I see no reason to support "install by copy".
For easy installation use: apt-get install stunnel4 or whatever command is used on your distribution.
BTW: Make sure to distribute the source code and the license together with stunnel as required by GPL!
Also, what archive format does the Windows installer use?
Nothing standard.
I'd like to do something similar for Windows, so if I could pull the files out of the installer and copy them over myself, it would be a huge help.
Just install it on a testing machine and grab the files. Don't forget to distribute the source code and the license together with stunnel as required by GPL!
Best regards, Mike
On Monday 13 March 2006 08:08, Michal Trojnara wrote:
Hal Vaughan wrote:
I may need to include Stunnel with my application so my clients behind restrictive firewalls can still enable me to work on their systems with RealVNC. I'm working with clients on both Windows and Linux.
Is there a way to get static binaries for Linux? I don't know C or C++ or much more than running ./configure && make && make install. I'd like to know if it is possible or what is needed to create static binaries of the files so I could easily install stunnel on any Linux system by just copying over the proper files.
I see no reason to support "install by copy".
For end users who need it working, but don't have the background to deal with any possible failures in compiling/making it.
For easy installation use: apt-get install stunnel4 or whatever command is used on your distribution.
If I knew I were always going to have it installed on Debian, I'd have no problem with that, but I know there are some cases where it'll be installed on RedHat or Fedora, and I don't want to risk running into RPM hell.
So there's no way to create static binaries?
BTW: Make sure to distribute the source code and the license together with stunnel as required by GPL!
Source code is easy -- just a tarball that I can undo in a directory.
Also, what archive format does the Windows installer use?
Nothing standard.
I'd like to do something similar for Windows, so if I could pull the files out of the installer and copy them over myself, it would be a huge help.
Just install it on a testing machine and grab the files. Don't forget to distribute the source code and the license together with stunnel as required by GPL!
Okay. I wanted to be sure that if I did that, I wouldn't miss some files in other directories, like .dll files in the C:\Windows tree.
Thanks!
Hal
On 2006-03-13, at 16:32, Hal Vaughan wrote:
For end users who need it working, but don't have the background to deal with any possible failures in compiling/making it.
That's the reason Linux distributions were invented. 8-)
So there's no way to create static binaries?
I'm sure there is a way. Stunnel is a free software, so one can add such a feature. It's just not going to be supported by the mainstream distribution. See: http://en.wikipedia.org/wiki/KISS_Principle
Just install it on a testing machine and grab the files. Don't forget to distribute the source code and the license together with stunnel as required by GPL!
Okay. I wanted to be sure that if I did that, I wouldn't miss some files in other directories, like .dll files in the C:\Windows tree.
All stunnel files are installed in a single directory on Windows.
Best regards, Mike