summaryrefslogtreecommitdiff
path: root/openssl0.9.8/Makefile
blob: da654816acac8e10df43ef516dbb2b9e19382953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
include /usr/share/cibs/rules/ips.mk
include /usr/share/cibs/rules/archive.mk
include /usr/share/cibs/rules/patch.mk
include /usr/share/cibs/rules/32.mk
include /usr/share/cibs/rules/64.mk
include /usr/share/cibs/rules/copy.mk
# it is not autotools, but quite close to them.
include /usr/share/cibs/rules/autotools.mk


description := Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) \
	and Transport Layer Security (TLS v1) protocols as well \
	as a full-strength general purpose cryptography library

license := OpenSSL
license-file := LICENSE

build-depends += \

name         := openssl
home         := http://www.openssl.org
version-base := 0.9.8
ips-version  := $(version-base).24.1
version      := $(version-base)x
archive      := $(name)-$(version).tar.gz
download     := $(home)/source/$(archive)
checksum := \
     md5:ee17e9bc805c8cc7d0afac3b0ef78eda \
    sha1:8c3be5160513c0af1e558d3f932390ecb16f59e9 \
  sha256:7ce0c7f2c451070b4497ea7ca6f23eba6cef1a56db2e86e433f65926a7bc7497 \
    size:3782486

configure = ./Configure
configure-env =

configure-options.32 = solaris-x86-gcc
configure-options.64 = solaris64-x86_64-gcc

pkcs11.32 = /usr/lib/libpkcs11.so.1
pkcs11.64 = /usr/lib/64/libpkcs11.so.1

# We've patched Configure to support this:
enginesdir.32 = /usr/lib/openssl-$(version-base)/engines
enginesdir.64 = /usr/lib/openssl-$(version-base)/engines/64

# Yeah...
libdir.32 = lib
libdir.64 = lib/$(mach64)

configure-options = \
	-DSOLARIS_OPENSSL \
	-DNO_WINDOWS_BRAINDEATH \
	--pk11-libname=$(pkcs11.$(bits)) \
	--prefix=/usr \
	--openssldir=/etc/openssl \
	--install_prefix=$(protodir.$(bits)) \
	--enginesdir=$(enginesdir.$(bits)) \
	--libdir=$(libdir.$(bits)) \
	$(configure-options.$(bits)) \
	no-ec \
	no-ecdh \
	no-ecdsa \
	no-rc3 \
	no-rc5 \
	no-mdc2 \
	no-idea \
	no-hw_4758_cca \
	no-hw_aep \
	no-hw_atalla \
	no-hw_chil \
	no-hw_gmp \
	no-hw_ncipher \
	no-hw_nuron \
	no-hw_padlock \
	no-hw_sureware \
	no-hw_ubsec \
	no-hw_cswift \
	threads \
	shared \
	no-static \

patch-stamp: add-source-stamp
add-source-stamp:
	cp engines/pkcs11/* $(sourcedir)/crypto/engine/
	cp engines/devcrypto/* $(sourcedir)/engines/
	touch $@