diff --git a/dev-libs/openssl/openssl-0.9.8l.bep b/dev-libs/openssl/openssl-0.9.8l.bep new file mode 100644 index 000000000..7db0ecd98 --- /dev/null +++ b/dev-libs/openssl/openssl-0.9.8l.bep @@ -0,0 +1,16 @@ +DESCRIPTION="openssl" +HOMEPAGE="http://www.openssl.org/" +SRC_URI="http://www.openssl.org/source/openssl-0.9.8l.tar.gz" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" +BUILD { + cd openssl-0.9.8l + config --prefix=/boot/common zlib shared + make +} + +INSTALL { + cd openssl-0.9.8l + make install +} diff --git a/dev-libs/openssl/patches/openssl-0.9.8l.patch b/dev-libs/openssl/patches/openssl-0.9.8l.patch new file mode 100644 index 000000000..338226ec8 --- /dev/null +++ b/dev-libs/openssl/patches/openssl-0.9.8l.patch @@ -0,0 +1,54 @@ +diff -urN openssl-0.9.8l/Configure openssl-0.9.8l-haiku/Configure +--- openssl-0.9.8l/Configure 2009-11-05 12:07:06.000000000 +0000 ++++ openssl-0.9.8l-haiku/Configure 2009-11-07 16:59:19.000000000 +0000 +@@ -545,6 +545,9 @@ + ##### Compaq Non-Stop Kernel (Tandem) + "tandem-c89","c89:-Ww -D__TANDEM -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_TANDEM_SOURCE -DB_ENDIAN::(unknown):::THIRTY_TWO_BIT:::", + ++##### Haiku ++"haiku-x86", "gcc:-DL_ENDIAN -O2 -fomit-frame-pointer -Wall::-D_REENTRANT::-lnetwork:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:haiku-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++ + ); + + my @MK1MF_Builds=qw(VC-WIN64I VC-WIN64A +diff -urN openssl-0.9.8l/Makefile.shared openssl-0.9.8l-haiku/Makefile.shared +--- openssl-0.9.8l/Makefile.shared 2008-09-17 15:56:40.000000000 +0000 ++++ openssl-0.9.8l-haiku/Makefile.shared 2009-11-07 16:59:19.000000000 +0000 +@@ -552,10 +552,10 @@ + symlink.cygwin symlink.alpha-osf1 symlink.tru64 symlink.tru64-rpath: + + # Compatibility targets +-link_o.bsd-gcc-shared link_o.linux-shared link_o.gnu-shared: link_o.gnu +-link_a.bsd-gcc-shared link_a.linux-shared link_a.gnu-shared: link_a.gnu +-link_app.bsd-gcc-shared link_app.linux-shared link_app.gnu-shared: link_app.gnu +-symlink.bsd-gcc-shared symlink.bsd-shared symlink.linux-shared symlink.gnu-shared: symlink.gnu ++link_o.bsd-gcc-shared link_o.linux-shared link_o.gnu-shared link_o.haiku-shared: link_o.gnu ++link_a.bsd-gcc-shared link_a.linux-shared link_a.gnu-shared link_a.haiku-shared: link_a.gnu ++link_app.bsd-gcc-shared link_app.linux-shared link_app.gnu-shared link_app.haiku-shared: link_app.gnu ++symlink.bsd-gcc-shared symlink.bsd-shared symlink.linux-shared symlink.gnu-shared symlink.haiku-shared: symlink.gnu + link_o.bsd-shared: link_o.bsd + link_a.bsd-shared: link_a.bsd + link_app.bsd-shared: link_app.bsd +diff -urN openssl-0.9.8l/config openssl-0.9.8l-haiku/config +--- openssl-0.9.8l/config 2009-02-16 08:43:41.000000000 +0000 ++++ openssl-0.9.8l-haiku/config 2009-11-07 16:59:19.000000000 +0000 +@@ -126,6 +126,10 @@ + echo "${MACHINE}-dg-dgux"; exit 0 + ;; + ++ Haiku:*:BePC) ++ echo "i586-pc-haiku"; exit 0 ++ ;; ++ + HI-UX:*) + echo "${MACHINE}-hi-hiux"; exit 0 + ;; +@@ -761,6 +765,8 @@ + options="$options no-asm" + fi + ;; ++ i586-*-haiku) OUT="haiku-x86" ;; ++ + # these are all covered by the catchall below + # *-dgux) OUT="dgux" ;; + mips-sony-newsos4) OUT="newsos4-gcc" ;;