Move the information of CA bundle path to installed documentation

This commit is contained in:
manu 2022-10-28 00:19:25 +00:00
parent f6da7e0ce0
commit c304be8f33
2 changed files with 19 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.91 2022/10/26 15:51:24 manu Exp $
# $NetBSD: Makefile,v 1.92 2022/10/28 00:19:25 manu Exp $
DISTNAME= neon-0.32.4
PKGREVISION= 2
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= https://notroj.github.io/neon/
@ -34,8 +34,21 @@ SSLDIR= /etc/openssl
SSLDIR= ${PKG_SYSCONFDIR}/openssl
.endif
SSLCERTS= ${SSLDIR}/certs
MESSAGE_SUBST+= SSLCERTS=${SSLCERTS:Q}
SSLCERTS= ${SSLDIR}/certs
SUBST_CLASSES= paths
SUBST_MESSAGE.paths= Setting CA bundle path in README.pkgsrc
SUBST_STAGE.paths= post-build
SUBST_FILES.paths= README.pkgsrc
SUBST_SED.paths= -e 's,@SSLCERTS@,${SSLCERTS},'
DOCDIR= ${PREFIX}/share/doc/${PKGNAME_NOREV}
INSTALLATION_DIRS= ${DOCDIR}
post-extract:
${CP} ${FILESDIR}/README.pkgsrc ${WRKSRC} || ${TRUE};
post-install:
${INSTALL_DATA} ${WRKSRC}/README.pkgsrc ${DESTDIR}${DOCDIR};
.include "options.mk"

View file

@ -1,7 +1,7 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2022/10/26 15:51:24 manu Exp $
$NetBSD: README.pkgsrc,v 1.1 2022/10/28 00:19:25 manu Exp $
neon will look for a trusted certificarte bundle at
${SSLCERTS}/ca-certificates.crt
@SSLCERTS@/ca-certificates.crt
===========================================================================