Ticket #25686: openssl-Portfile_4.diff
File openssl-Portfile_4.diff, 2.6 KB (added by michaelld (Michael Dickens), 14 years ago) |
---|
-
Portfile
1 # -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 … … 6 7 name openssl 7 8 version 1.0.0a 8 9 epoch 1 10 revision 1 9 11 platforms darwin freebsd 10 12 categories devel security 11 13 maintainers mww … … 35 37 configure.args -L${prefix}/lib --openssldir=${prefix}/etc/openssl zlib no-asm no-krb5 shared 36 38 configure.ccache no 37 39 38 variant rfc3779 description {enable RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers} {39 configure.args-appendenable-rfc377940 variant rfc3779 description {enable support for RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers} { 41 configure.args-append enable-rfc3779 40 42 } 41 43 44 variant md2 description {enable support for RFC 1319: MD2 message digest algorithm; also used as a hash function for PKI certificates; WARNING: no longer considered secure} { 45 configure.args-append enable-md2 46 } 47 48 variant rc5 description {enable support for RFC 2040: RC5 general block cipher; patented by RSA Security; still considered secure for keys of at least 72 bits} { 49 configure.args-append enable-rc5 50 } 51 52 variant krb5 description {enable experimental support for RFC 4120: the Kerberos 5 network authentication protocol, MIT version} { 53 configure.args-delete no-krb5 54 configure.args-append --with-krb5-flavor=MIT \ 55 --with-krb5-dir=${prefix} 56 depends_lib-append port:kerberos5 57 } 58 59 variant gmp description {enable support for GMP (the GNU Multiple Precision Arithmetic Library) to perform RSA private key operations} { 60 configure.args-delete no-gmp 61 configure.args-append enable-gmp -lgmp 62 depends_lib-append port:gmp 63 } 64 65 variant jpake description {enable experimental support for J-PAKE (Password Authenticated Key Exchange by Juggling; possibly part of IEEE P1363)} { 66 configure.args-delete no-jpake 67 configure.args-append experimental-jpake 68 } 69 42 70 use_parallel_build no 43 71 44 72 destroot.destdir INSTALL_PREFIX=${destroot} 45 73 destroot.args MANDIR=${prefix}/share/man 46 74 75 post-destroot { 76 # make sure engines (shared libraries) reference themselves 77 # using full paths (just like all other shared libraries) 78 foreach fixfile [exec /bin/ls ${destroot}${prefix}/lib/engines] { 79 system "install_name_tool -id ${prefix}/lib/engines/${fixfile} \ 80 ${destroot}${prefix}/lib/engines/${fixfile}" 81 } 82 } 83 47 84 test.run yes 48 85 49 86 livecheck.type regex