|
Lines 11-42
COMMENT= Unsafe SSL and crypto library
Link Here
|
| 11 |
LICENSE= OpenSSL |
11 |
LICENSE= OpenSSL |
| 12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
| 13 |
|
13 |
|
| 14 |
CPE_VERSION= 1.0.2k |
|
|
| 15 |
|
| 16 |
USES= cpe perl5 |
14 |
USES= cpe perl5 |
| 17 |
USE_PERL5= build |
15 |
CPE_VERSION= 1.0.2k |
| 18 |
MAKE_ENV+= LIBRPATH="${PREFIX}/openssl-unsafe/lib" GREP_OPTIONS= SHLIBVER=${OPENSSL_SHLIBVER} |
16 |
.if ${MACHINE} == "i386" |
| 19 |
CFLAGS+= -fPIC -DPIC |
17 |
USE_GCC=8+ |
| 20 |
SUB_FILES= pkg-message |
18 |
.endif |
| 21 |
PLIST_SUB+= SHLIBVER=${OPENSSL_SHLIBVER} |
|
|
| 22 |
USE_LDCONFIG= yes |
| 23 |
|
| 24 |
USE_GITHUB= yes |
19 |
USE_GITHUB= yes |
| 25 |
GH_ACCOUNT= PeterMosmans |
20 |
GH_ACCOUNT= PeterMosmans |
| 26 |
GH_TAGNAME= c9ba19c |
21 |
GH_TAGNAME= c9ba19c |
| 27 |
|
22 |
USE_LDCONFIG= yes |
| 28 |
.if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld |
23 |
USE_PERL5= build |
| 29 |
BROKEN_i386= ld: error: unknown argument: -Bforcearchive |
|
|
| 30 |
.endif |
| 31 |
MAKE_JOBS_UNSAFE= yes |
| 32 |
|
| 33 |
CONFIGURE_ARGS= enable-camellia enable-cms enable-ec enable-ec2m \ |
24 |
CONFIGURE_ARGS= enable-camellia enable-cms enable-ec enable-ec2m \ |
| 34 |
enable-ecdh enable-ecdsa enable-gost enable-idea enable-md2 enable-mdc2 \ |
25 |
enable-ecdh enable-ecdsa enable-gost enable-idea enable-md2 enable-mdc2 \ |
| 35 |
enable-rc2 enable-rc5 enable-rfc3779 enable-seed enable-ssl-trace \ |
26 |
enable-rc2 enable-rc5 enable-rfc3779 enable-seed enable-ssl-trace \ |
| 36 |
enable-ssl2 enable-ssl2-methods enable-ssl3 enable-weak-ssl-ciphers \ |
27 |
enable-ssl2 enable-ssl2-methods enable-ssl3 enable-weak-ssl-ciphers \ |
| 37 |
experimental-jpake experimental-store \ |
28 |
experimental-jpake experimental-store \ |
| 38 |
no-gmp sctp shared threads zlib zlib-dynamic |
29 |
no-gmp sctp shared threads zlib zlib-dynamic |
| 39 |
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "mips64el" |
30 |
MAKE_ENV+= LIBRPATH="${PREFIX}/openssl-unsafe/lib" GREP_OPTIONS= SHLIBVER=${OPENSSL_SHLIBVER} |
|
|
31 |
MAKE_JOBS_UNSAFE= yes |
| 32 |
CFLAGS+= -fPIC -DPIC |
| 33 |
SUB_FILES= pkg-message |
| 34 |
PLIST_SUB+= SHLIBVER=${OPENSSL_SHLIBVER} |
| 35 |
|
| 36 |
.if ${MACHINE} == "amd64" || ${MACHINE_ARCH} == "mips64el" |
| 40 |
CONFIGURE_ARGS+= enable-ec_nistp_64_gcc_128 |
37 |
CONFIGURE_ARGS+= enable-ec_nistp_64_gcc_128 |
| 41 |
.endif |
38 |
.endif |
| 42 |
|
39 |
|
|
Lines 48-54
PLIST_SUB+= OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==}
Link Here
|
| 48 |
post-patch: |
45 |
post-patch: |
| 49 |
${REINPLACE_CMD} -e 's|m4 -B 8192|m4|g' \ |
46 |
${REINPLACE_CMD} -e 's|m4 -B 8192|m4|g' \ |
| 50 |
${WRKSRC}/crypto/des/Makefile |
47 |
${WRKSRC}/crypto/des/Makefile |
| 51 |
${REINPLACE_CMD} -e 's|all install_docs |all |;s| tools$$||;s| build_tools$$||' ${WRKSRC}/Makefile.org |
|
|
| 52 |
|
48 |
|
| 53 |
do-configure: |
49 |
do-configure: |
| 54 |
${REINPLACE_CMD} -e "s|options 386|options|" \ |
50 |
${REINPLACE_CMD} -e "s|options 386|options|" \ |