summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam>2004-12-11 00:04:14 +0000
committerjlam <jlam>2004-12-11 00:04:14 +0000
commit9e5c3d66fc90b1978b3828ae8ec8595566916424 (patch)
treecc6496dafbd3aee7d8c567a4aa554258f556068f /security
parente3379fb878942416150925734fe91ad06b097b54 (diff)
downloadpkgsrc-9e5c3d66fc90b1978b3828ae8ec8595566916424.tar.gz
Provide an SSLKEYS variable that points to the location where OpenSSL
private keys are likely to be installed. Patch directly from PR pkg/28477 by Jason Thorpe.
Diffstat (limited to 'security')
-rw-r--r--security/openssl/builtin.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/security/openssl/builtin.mk b/security/openssl/builtin.mk
index 240613ad55e..19379a56959 100644
--- a/security/openssl/builtin.mk
+++ b/security/openssl/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.6 2004/12/03 23:03:09 jlam Exp $
+# $NetBSD: builtin.mk,v 1.7 2004/12/11 00:04:14 jlam Exp $
_OPENSSL_PKGSRC_PKGNAME= openssl-0.9.6m
_OPENSSL_OPENSSLV_H= /usr/include/openssl/opensslv.h
@@ -188,13 +188,17 @@ buildlink-openssl-des-old.h:
.if defined(PKG_SYSCONFDIR.openssl)
SSLCERTS= ${PKG_SYSCONFDIR.openssl}/certs
+SSLKEYS= ${PKG_SYSCONFDIR.openssl}/private
.elif ${OPSYS} == "NetBSD"
SSLCERTS= /etc/openssl/certs
+SSLKEYS= /etc/openssl/private
.elif !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
SSLCERTS= /etc/ssl/certs # likely place where certs live
+SSLKEYS= /etc/ssl/private # likely place where private keys live
.else
SSLCERTS= ${PKG_SYSCONFBASEDIR}/openssl/certs
+SSLKEYS= ${PKG_SYSCONFBASEDIR}/openssl/private
.endif
-BUILD_DEFS+= SSLCERTS
+BUILD_DEFS+= SSLCERTS SSLKEYS
.endif # CHECK_BUILTIN.openssl