Ticket #25686: openssl-Portfile_4.diff

File openssl-Portfile_4.diff, 2.6 KB (added by michaelld (Michael Dickens), 14 years ago)

4th try at openssl Portfile diff

  • 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
    12# $Id$
    23
    34PortSystem 1.0
     
    67name                    openssl
    78version                 1.0.0a
    89epoch                   1
     10revision        1
    911platforms               darwin freebsd
    1012categories              devel security
    1113maintainers             mww
     
    3537configure.args  -L${prefix}/lib --openssldir=${prefix}/etc/openssl zlib no-asm no-krb5 shared
    3638configure.ccache        no
    3739
    38 variant rfc3779 description {enable RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers} {
    39         configure.args-append   enable-rfc3779
     40variant rfc3779 description {enable support for RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers} {
     41    configure.args-append  enable-rfc3779
    4042}
    4143
     44variant 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
     48variant 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
     52variant 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
     59variant 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
     65variant 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
    4270use_parallel_build      no
    4371
    4472destroot.destdir        INSTALL_PREFIX=${destroot}
    4573destroot.args           MANDIR=${prefix}/share/man
    4674
     75post-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
    4784test.run                yes
    4885
    4986livecheck.type  regex