diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2020-09-20 08:55:48 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2020-09-20 08:55:48 +0000 |
commit | 124892704e3674f47285fa79afdc33d875d28012 (patch) | |
tree | da2946c3812cc3f3c624940d44be98e1495fa5a7 /www/dillo | |
parent | 8f66eae095e32f8c352cc9371cf400284c957aa8 (diff) | |
download | pkgsrc-124892704e3674f47285fa79afdc33d875d28012.tar.gz |
dillo: use correct SSLCERTS dir
It turns out the HTTPS plugin hardcodes the SSL certificate dir as
/etc/ssl/certs, which is incorrect in NetBSD. SUBST it to the correct
location and bump revision.
Diffstat (limited to 'www/dillo')
-rw-r--r-- | www/dillo/Makefile | 4 | ||||
-rw-r--r-- | www/dillo/options.mk | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/www/dillo/Makefile b/www/dillo/Makefile index d766fcdebfa..4038265e966 100644 --- a/www/dillo/Makefile +++ b/www/dillo/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.82 2020/08/31 18:12:32 wiz Exp $ +# $NetBSD: Makefile,v 1.83 2020/09/20 08:55:48 bsiegert Exp $ DISTNAME= dillo-3.0.5 -PKGREVISION= 8 +PKGREVISION= 9 CATEGORIES= www MASTER_SITES= https://www.dillo.org/download/ EXTRACT_SUFX= .tar.bz2 diff --git a/www/dillo/options.mk b/www/dillo/options.mk index 98156696f69..64db3f00b74 100644 --- a/www/dillo/options.mk +++ b/www/dillo/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.5 2018/03/24 15:40:07 ryoon Exp $ +# $NetBSD: options.mk,v 1.6 2020/09/20 08:55:48 bsiegert Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.dillo PKG_SUPPORTED_OPTIONS= inet6 ssl @@ -14,6 +14,13 @@ CONFIGURE_ARGS+= --enable-ipv6 CONFIGURE_ARGS+= --enable-ssl LIBS+= -lssl .include "../../security/openssl/buildlink3.mk" + +SUBST_CLASSES+= sslcerts +SUBST_MESSAGE.sslcerts= Fixing SSL certificate directory. +SUBST_FILES.sslcerts= dpi/https.c +SUBST_STAGE.sslcerts= post-extract +SUBST_SED.sslcerts= -e 's,"/etc/ssl/certs,"${SSLCERTS},' + .else CONFIGURE_ARGS+= --disable-ssl .endif |