summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-12-11 00:04:14 +0000
committerjlam <jlam@pkgsrc.org>2004-12-11 00:04:14 +0000
commit547cf4f8d11ecac63fb0a8191a22023ac0e37284 (patch)
treecc6496dafbd3aee7d8c567a4aa554258f556068f /security/openssl
parent61246766623fd9a513f8572a04d262fc3cf09539 (diff)
downloadpkgsrc-547cf4f8d11ecac63fb0a8191a22023ac0e37284.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/openssl')
-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