1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup legacysupport 1.0 |
---|
5 | |
---|
6 | # clock_gettime |
---|
7 | legacysupport.newest_darwin_requires_legacy 15 |
---|
8 | |
---|
9 | name rpki-client |
---|
10 | version 8.3 |
---|
11 | revision 0 |
---|
12 | |
---|
13 | categories net |
---|
14 | platforms darwin |
---|
15 | license ISC |
---|
16 | maintainers {@artkiver gmail.com:artkiver} openmaintainer |
---|
17 | |
---|
18 | description OpenBSD RPKI Validator |
---|
19 | long_description rpki-client is a FREE, easy-to-use implementation \ |
---|
20 | of the Resource Public Key Infrastructure (RPKI) for \ |
---|
21 | Relying Parties (RP) to facilitate validation of the \ |
---|
22 | Route Origin of a BGP announcement. |
---|
23 | |
---|
24 | homepage https://www.rpki-client.org/index.html |
---|
25 | |
---|
26 | master_sites https://cdn.openbsd.org/pub/OpenBSD/rpki-client/ \ |
---|
27 | https://ftp.openbsd.org/pub/OpenBSD/rpki-client/ |
---|
28 | |
---|
29 | checksums rmd160 4b5a4980fb3dd3a170f8942b17b075562d9e6d14 \ |
---|
30 | sha256 8c78f82ae959a900f47c7319cbf7688182cde39dcc4c4b9aa399a142be4dc143 \ |
---|
31 | size 489449 |
---|
32 | |
---|
33 | depends_lib port:expat |
---|
34 | |
---|
35 | patchfiles configure.ac.diff \ |
---|
36 | unistd.h.diff |
---|
37 | |
---|
38 | variant libressl conflicts openssl description {use LibreSSL} { |
---|
39 | depends_lib-append path:lib/libtls.dylib:libressl |
---|
40 | configure.args-append --without-libtls |
---|
41 | } |
---|
42 | |
---|
43 | variant openssl conflicts libressl description {use OpenSSL} { |
---|
44 | depends_lib-append port:libretls \ |
---|
45 | port:openssl |
---|
46 | } |
---|
47 | |
---|
48 | if {![catch {registry_active openssl}] && ![variant_isset libressl]} { |
---|
49 | # openssl is installed and the libressl variant isn't manually requested, default to openssl |
---|
50 | default_variants +openssl |
---|
51 | } elseif {(![catch {registry_active libressl}] || ![catch {registry_active libressl-devel}]) && ![variant_isset openssl]} { |
---|
52 | # either libressl or libressl-devel are already installed, and the openssl variant is not explicitly requested, default to libressl |
---|
53 | default_variants +libressl |
---|
54 | } elseif {![variant_isset openssl]} { |
---|
55 | # neither openssl nor libressl-devel are installed, and the openssl variant isn't selected, so libressl should be the default |
---|
56 | default_variants +libressl |
---|
57 | } |
---|