[stunnel-users] Stunnel for android

Michal Trojnara Michal.Trojnara at mirt.net
Wed Dec 3 12:16:56 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Neacsu Mihai Adrian,

> I am new to Stunnel, but i would like to compile a working version
> for Android L.
> 
> The android version on the website is not compiled with PIE
> support, thus it does not run on Android L. I tried to look through
> the source code, and add the flags, -fPie and -pie, but i did not
> figure out where to do that.

Please try stunnel 5.08b7:
https://www.stunnel.org/downloads.html
This version fixes a bug that resulted in the -pic option not being
used by the linker.  Please let me know whether the new binary runs on
Android L.

> Also, after settings 755 on build-android.sh and running it, i get 
> Permission denied on creating folders inside the /bin/android
> folder, even if i am running as root user.

Just configure stunnel with:
./configure --with-sysroot --build=i686-pc-linux-gnu
- --host=arm-linux-androideabi --prefix=/data/local

Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlR+8SgACgkQ/NU+nXTHMtHGIQCg4mFuqzRd+GFWsKx3OapK52TA
UDYAoPLGWkii3P+fhvJl3mvSbxWtRb8Z
=Lon+
-----END PGP SIGNATURE-----


More information about the stunnel-users mailing list