Skip to content

Commit

Permalink
www/p5-HTTP-Tiny: allow www/p5-Mozilla-CA to be optional
Browse files Browse the repository at this point in the history
This new option is enabled by default, thus perserving existing
behavior. There are circumstances when we don't want www/p5-Mozilla-CA
to be installed. This patch permits that.

PR:		278581
  • Loading branch information
dlangille committed Apr 28, 2024
1 parent ebd8bc8 commit c0a5bf4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions www/p5-HTTP-Tiny/Makefile
@@ -1,5 +1,6 @@
PORTNAME= HTTP-Tiny
PORTVERSION= 0.088
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
Expand All @@ -19,17 +20,18 @@ NO_ARCH= yes

PORTSCOUT= limit:^[0-9\.]*$$

OPTIONS_DEFINE= COOKIE HTTPS IO_SOCKET_IP
OPTIONS_DEFAULT=COOKIE HTTPS IO_SOCKET_IP
OPTIONS_DEFINE= CERTS COOKIE HTTPS IO_SOCKET_IP
OPTIONS_DEFAULT= CERTS COOKIE HTTPS IO_SOCKET_IP
CERTS_DESC= Install the Mozilla CA cert bundle
IO_SOCKET_IP_DESC= Use IO::Socket:IP instead of IO::Socket::INET

COOKIE_BUILD_DEPENDS= p5-HTTP-CookieJar>=0.001:www/p5-HTTP-CookieJar
COOKIE_RUN_DEPENDS= p5-HTTP-CookieJar>=0.001:www/p5-HTTP-CookieJar
HTTPS_BUILD_DEPENDS= p5-IO-Socket-SSL>=1.42:security/p5-IO-Socket-SSL \
p5-Mozilla-CA>=20160104:www/p5-Mozilla-CA \
p5-Net-SSLeay>=1.49:security/p5-Net-SSLeay
HTTPS_RUN_DEPENDS= p5-IO-Socket-SSL>=1.42:security/p5-IO-Socket-SSL \
p5-Mozilla-CA>=20160104:www/p5-Mozilla-CA \
p5-Net-SSLeay>=1.49:security/p5-Net-SSLeay
CERTS_BUILD_DEPENDS= p5-Mozilla-CA>=20160104:www/p5-Mozilla-CA
CERTS_RUN_DEPENDS= p5-Mozilla-CA>=20160104:www/p5-Mozilla-CA

.include <bsd.port.mk>

0 comments on commit c0a5bf4

Please sign in to comment.