pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/neon



Module Name:    pkgsrc
Committed By:   manu
Date:           Fri Oct 28 00:19:25 UTC 2022

Modified Files:
        pkgsrc/www/neon: Makefile
Added Files:
        pkgsrc/www/neon/files: README.pkgsrc
Removed Files:
        pkgsrc/www/neon: MESSAGE

Log Message:
Move the information of CA bundle path to installed documentation


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 pkgsrc/www/neon/MESSAGE
cvs rdiff -u -r1.91 -r1.92 pkgsrc/www/neon/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/neon/files/README.pkgsrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/neon/Makefile
diff -u pkgsrc/www/neon/Makefile:1.91 pkgsrc/www/neon/Makefile:1.92
--- pkgsrc/www/neon/Makefile:1.91       Wed Oct 26 15:51:24 2022
+++ pkgsrc/www/neon/Makefile    Fri Oct 28 00:19:25 2022
@@ -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"
 

Added files:

Index: pkgsrc/www/neon/files/README.pkgsrc
diff -u /dev/null pkgsrc/www/neon/files/README.pkgsrc:1.1
--- /dev/null   Fri Oct 28 00:19:25 2022
+++ pkgsrc/www/neon/files/README.pkgsrc Fri Oct 28 00:19:25 2022
@@ -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