17 # If applicable, add the following below this CDDL HEADER, with the
18 # fields enclosed by brackets "[]" replaced with your own identifying
19 # information: Portions Copyright [yyyy] [name of copyright owner]
20 #
21 # CDDL HEADER END
22 #
23 #
24 # Copyright 2015 OmniTI Computer Consulting, Inc. All rights reserved.
25 # Use is subject to license terms.
26 #
27 # Load support functions
28 . ../../lib/functions.sh
29
30 PROG=openssl
31 VER=1.0.2c
32 VERHUMAN=$VER
33 PKG=library/security/openssl # Package name (without prefix)
34 SUMMARY="$PROG - A toolkit for Secure Sockets Layer (SSL v2/v3) and Transport Layer (TLS v1) protocols and general purpose cryptographic library"
35 DESC="$SUMMARY"
36
37 DEPENDS_IPS="SUNWcs system/library system/library/gcc-4-runtime library/zlib@1.2.8"
38 BUILD_DEPENDS_IPS="$DEPENDS_IPS developer/sunstudio12.1"
39
40 NO_PARALLEL_MAKE=1
41
42 make_prog() {
43 [[ -n $NO_PARALLEL_MAKE ]] && MAKE_JOBS=""
44 logmsg "--- make"
45 # This will setup the internal runpath of libssl and libcrypto
46 logcmd $MAKE $MAKE_JOBS SHARED_LDFLAGS="$SHARED_LDFLAGS" || \
47 logerr "--- Make failed"
48 logmsg "--- make test"
49 logcmd $MAKE test || \
50 logerr "--- make test failed"
51 }
52
53 configure32() {
54 if [ -n "`isalist | grep sparc`" ]; then
55 SSLPLAT=solaris-sparcv8-cc
56 else
57 SSLPLAT=solaris-x86-gcc
|
17 # If applicable, add the following below this CDDL HEADER, with the
18 # fields enclosed by brackets "[]" replaced with your own identifying
19 # information: Portions Copyright [yyyy] [name of copyright owner]
20 #
21 # CDDL HEADER END
22 #
23 #
24 # Copyright 2015 OmniTI Computer Consulting, Inc. All rights reserved.
25 # Use is subject to license terms.
26 #
27 # Load support functions
28 . ../../lib/functions.sh
29
30 PROG=openssl
31 VER=1.0.2c
32 VERHUMAN=$VER
33 PKG=library/security/openssl # Package name (without prefix)
34 SUMMARY="$PROG - A toolkit for Secure Sockets Layer (SSL v2/v3) and Transport Layer (TLS v1) protocols and general purpose cryptographic library"
35 DESC="$SUMMARY"
36
37 DEPENDS_IPS="SUNWcs system/library system/library/gcc-5-runtime library/zlib@1.2.8"
38 BUILD_DEPENDS_IPS="$DEPENDS_IPS developer/sunstudio12.1"
39
40 NO_PARALLEL_MAKE=1
41
42 make_prog() {
43 [[ -n $NO_PARALLEL_MAKE ]] && MAKE_JOBS=""
44 logmsg "--- make"
45 # This will setup the internal runpath of libssl and libcrypto
46 logcmd $MAKE $MAKE_JOBS SHARED_LDFLAGS="$SHARED_LDFLAGS" || \
47 logerr "--- Make failed"
48 logmsg "--- make test"
49 logcmd $MAKE test || \
50 logerr "--- make test failed"
51 }
52
53 configure32() {
54 if [ -n "`isalist | grep sparc`" ]; then
55 SSLPLAT=solaris-sparcv8-cc
56 else
57 SSLPLAT=solaris-x86-gcc
|