mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
initial .bep and patch files for openssl-1.0.0, not tested yet.
This commit is contained in:
17
dev-libs/openssl/openssl-1.0.0.bep
Normal file
17
dev-libs/openssl/openssl-1.0.0.bep
Normal file
@@ -0,0 +1,17 @@
|
||||
DESCRIPTION="openssl"
|
||||
HOMEPAGE="http://www.openssl.org/"
|
||||
SRC_URI="http://www.openssl.org/source/openssl-1.0.0.tar.gz"
|
||||
CHECKSUM_MD5="89eaa86e25b2845f920ec00ae4c864ed"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="zlib"
|
||||
BUILD {
|
||||
cd openssl-1.0.0
|
||||
config --prefix=/boot/common zlib shared
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd openssl-1.0.0
|
||||
make install
|
||||
}
|
||||
54
dev-libs/openssl/patches/openssl-1.0.0.patch
Normal file
54
dev-libs/openssl/patches/openssl-1.0.0.patch
Normal file
@@ -0,0 +1,54 @@
|
||||
diff -urN openssl-1.0.0/Configure openssl-1.0.0-haiku/Configure
|
||||
--- openssl-1.0.0/Configure 2009-11-05 12:07:06.000000000 +0000
|
||||
+++ openssl-1.0.0-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-1.0.0/Makefile.shared openssl-1.0.0-haiku/Makefile.shared
|
||||
--- openssl-1.0.0/Makefile.shared 2008-09-17 15:56:40.000000000 +0000
|
||||
+++ openssl-1.0.0-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-1.0.0/config openssl-1.0.0-haiku/config
|
||||
--- openssl-1.0.0/config 2009-02-16 08:43:41.000000000 +0000
|
||||
+++ openssl-1.0.0-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" ;;
|
||||
Reference in New Issue
Block a user