pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/dillo dillo: use correct SSLCERTS dir



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e45e03c8443
branches:  trunk
changeset: 439515:6e45e03c8443
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Sep 20 08:55:48 2020 +0000

description:
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:

 www/dillo/Makefile   |  4 ++--
 www/dillo/options.mk |  9 ++++++++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r e6f58a7a76a5 -r 6e45e03c8443 www/dillo/Makefile
--- a/www/dillo/Makefile        Sun Sep 20 08:52:11 2020 +0000
+++ b/www/dillo/Makefile        Sun Sep 20 08:55:48 2020 +0000
@@ -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 -r e6f58a7a76a5 -r 6e45e03c8443 www/dillo/options.mk
--- a/www/dillo/options.mk      Sun Sep 20 08:52:11 2020 +0000
+++ b/www/dillo/options.mk      Sun Sep 20 08:55:48 2020 +0000
@@ -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-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



Home | Main Index | Thread Index | Old Index