pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/neon Move the information of CA bundle path to ins...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1583cb94ee7f
branches: trunk
changeset: 387346:1583cb94ee7f
user: manu <manu%pkgsrc.org@localhost>
date: Fri Oct 28 00:19:25 2022 +0000
description:
Move the information of CA bundle path to installed documentation
diffstat:
www/neon/MESSAGE | 7 -------
www/neon/Makefile | 21 +++++++++++++++++----
www/neon/files/README.pkgsrc | 7 +++++++
3 files changed, 24 insertions(+), 11 deletions(-)
diffs (59 lines):
diff -r 1286a377cac0 -r 1583cb94ee7f www/neon/MESSAGE
--- a/www/neon/MESSAGE Thu Oct 27 15:56:14 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1 2022/10/26 15:51:24 manu Exp $
-
-neon will look for a trusted certificarte bundle at
- ${SSLCERTS}/ca-certificates.crt
-
-===========================================================================
diff -r 1286a377cac0 -r 1583cb94ee7f www/neon/Makefile
--- a/www/neon/Makefile Thu Oct 27 15:56:14 2022 +0000
+++ b/www/neon/Makefile Fri Oct 28 00:19:25 2022 +0000
@@ -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= ${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"
diff -r 1286a377cac0 -r 1583cb94ee7f www/neon/files/README.pkgsrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/neon/files/README.pkgsrc Fri Oct 28 00:19:25 2022 +0000
@@ -0,0 +1,7 @@
+===========================================================================
+$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
+
+===========================================================================
Home |
Main Index |
Thread Index |
Old Index