Ticket #66677: Portfile.diff.rpki-client.now_with_variants

File Portfile.diff.rpki-client.now_with_variants, 1.4 KB (added by artkiver (グレェ), 16 months ago)

diff to 7.2 Portfile to update to 8.2 adding variants for libressl, libressldevel and openssl and associated conflicts

Line 
1--- Portfile.orig       2023-01-12 22:37:09
2+++ Portfile    2023-01-12 23:23:16
3@@ -7,8 +7,8 @@
4 legacysupport.newest_darwin_requires_legacy 15
5 
6 name                rpki-client
7-version             7.4
8-revision            2
9+version             8.2
10+revision            0
11 
12 categories          net
13 platforms           darwin
14@@ -26,10 +26,25 @@
15 master_sites        https://cdn.openbsd.org/pub/OpenBSD/rpki-client/ \
16                     https://ftp.openbsd.org/pub/OpenBSD/rpki-client/
17 
18-checksums           rmd160  74c8efaba732d3b5619c8c3a56fbc77c2e33c624\
19-                    sha256  efd336137707ad73fa51f8480cff686c21fea7086619432069c1a02553b68d57\
20-                    size    439919
21+checksums           rmd160 a8c0d3783e765a5bea2d7f6652d015da4690a5f6 \
22+                    sha256 dc0d19679b57ae657b92d21730b1678823974d43300faa8c24ee155c1e2b1d64 \
23+                    size   475141
24 
25 depends_lib-append  port:expat \
26-                    port:libretls \
27+
28+variant libressl description "use LibreSSL Stable" {
29+depends_lib-append  port:libressl
30+conflicts           openssl libretls libressl-devel
31+}
32+
33+    variant libressldevel description "use LibreSSL Development" {
34+depends_lib-append  port:libressl-devel
35+conflicts           openssl libretls libressl
36+
37+}
38+variant openssl description "use OpenSSL" {
39+depends_lib-append  port:libretls \
40                     port:openssl
41+conflicts           libressl libressl-devel
42+}
43+