pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/hs-x509-system
Module Name: pkgsrc
Committed By: pho
Date: Fri Jan 27 01:50:35 UTC 2023
Modified Files:
pkgsrc/security/hs-x509-system: Makefile distinfo
Added Files:
pkgsrc/security/hs-x509-system/patches: patch-System_X509_Unix.hs
Log Message:
security/hs-x509-system: On NetBSD, depend on mozilla-rootcerts-openssl and use it as the system certificate store
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/hs-x509-system/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/hs-x509-system/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/security/hs-x509-system/patches/patch-System_X509_Unix.hs
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/hs-x509-system/Makefile
diff -u pkgsrc/security/hs-x509-system/Makefile:1.7 pkgsrc/security/hs-x509-system/Makefile:1.8
--- pkgsrc/security/hs-x509-system/Makefile:1.7 Wed Sep 7 06:50:51 2022
+++ pkgsrc/security/hs-x509-system/Makefile Fri Jan 27 01:50:35 2023
@@ -1,13 +1,24 @@
-# $NetBSD: Makefile,v 1.7 2022/09/07 06:50:51 pho Exp $
+# $NetBSD: Makefile,v 1.8 2023/01/27 01:50:35 pho Exp $
DISTNAME= x509-system-1.6.7
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= security
MAINTAINER= pho%cielonegro.org@localhost
COMMENT= Handle per-operating-system X.509 accessors and storage
LICENSE= modified-bsd
+.include "../../mk/bsd.fast.prefs.mk"
+.if ${OPSYS} == "NetBSD"
+DEPENDS+= mozilla-rootcerts-openssl-[0-9]*:../../security/mozilla-rootcerts-openssl
+.endif
+SYSCONFDIR= /etc
+
+SUBST_CLASSES+= certs
+SUBST_STAGE.certs= pre-configure
+SUBST_FILES.certs= System/X509/Unix.hs
+SUBST_VARS.certs= SYSCONFDIR
+
.include "../../security/hs-pem/buildlink3.mk"
.include "../../security/hs-x509/buildlink3.mk"
.include "../../security/hs-x509-store/buildlink3.mk"
Index: pkgsrc/security/hs-x509-system/distinfo
diff -u pkgsrc/security/hs-x509-system/distinfo:1.4 pkgsrc/security/hs-x509-system/distinfo:1.5
--- pkgsrc/security/hs-x509-system/distinfo:1.4 Sat Feb 12 06:59:05 2022
+++ pkgsrc/security/hs-x509-system/distinfo Fri Jan 27 01:50:35 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2022/02/12 06:59:05 pho Exp $
+$NetBSD: distinfo,v 1.5 2023/01/27 01:50:35 pho Exp $
BLAKE2s (x509-system-1.6.7.tar.gz) = 36f3ba919e250a270311cc23f34e1cb95e34910a508c7444c6f9d598ba2d0237
SHA512 (x509-system-1.6.7.tar.gz) = 8414d8f6d0e704419ccdd6832522480022bb15ac225b6bd9cf5f2d8fffb7f979d414bcb5c465f4d73d9eef40210ef9aa5da51aea9eed2ce245d2b44daf2c415e
Size (x509-system-1.6.7.tar.gz) = 3438 bytes
+SHA1 (patch-System_X509_Unix.hs) = d63a6c8372b7a0652a5451710651a5c272a45a4c
Added files:
Index: pkgsrc/security/hs-x509-system/patches/patch-System_X509_Unix.hs
diff -u /dev/null pkgsrc/security/hs-x509-system/patches/patch-System_X509_Unix.hs:1.1
--- /dev/null Fri Jan 27 01:50:35 2023
+++ pkgsrc/security/hs-x509-system/patches/patch-System_X509_Unix.hs Fri Jan 27 01:50:35 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-System_X509_Unix.hs,v 1.1 2023/01/27 01:50:35 pho Exp $
+
+NetBSD base still doesn't have a certification
+store. security/mozilla-rootcerts-openssl is the best what we can use.
+
+--- System/X509/Unix.hs.orig 2023-01-27 01:35:36.902431346 +0000
++++ System/X509/Unix.hs
+@@ -31,6 +31,7 @@ defaultSystemPaths =
+ , "/system/etc/security/cacerts/" -- android
+ , "/usr/local/share/certs/" -- freebsd
+ , "/etc/ssl/cert.pem" -- openbsd
++ , "@SYSCONFDIR@/openssl/certs/" -- netbsd
+ ]
+
+ envPathOverride :: String
Home |
Main Index |
Thread Index |
Old Index