Move the information of CA bundle path to installed documentation
This commit is contained in:
parent
f6da7e0ce0
commit
c304be8f33
2 changed files with 19 additions and 6 deletions
|
@ -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/
|
||||
|
||||
|
@ -35,7 +35,20 @@ SSLDIR= ${PKG_SYSCONFDIR}/openssl
|
|||
.endif
|
||||
|
||||
SSLCERTS= ${SSLDIR}/certs
|
||||
MESSAGE_SUBST+= SSLCERTS=${SSLCERTS:Q}
|
||||
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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
===========================================================================
|
Loading…
Reference in a new issue