summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authorfredb <fredb>2001-03-24 03:55:15 +0000
committerfredb <fredb>2001-03-24 03:55:15 +0000
commit9cb83c6bc248caada6258ce45014f92366dc30ac (patch)
tree05d9953790c41a5e6b3ac448c642870fc9fa22c4 /security/openssl
parent34350af53fe20b9a06b02213ed07c8f567af6316 (diff)
downloadpkgsrc-9cb83c6bc248caada6258ce45014f92366dc30ac.tar.gz
- -Supply the customary symlinks for NetBSD/ELF.
- -Make the "test" target work. - -Allow the user to set USE_RSAREF2. (It works!) Not sure why you'd ever want to...
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile14
-rw-r--r--security/openssl/pkg/PLIST.netbsd6
2 files changed, 15 insertions, 5 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index c802a76ad3e..98ec0302792 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2001/03/01 13:57:53 hubertf Exp $
+# $NetBSD: Makefile,v 1.33 2001/03/24 03:55:15 fredb Exp $
#
DISTNAME= openssl-0.9.5a
@@ -14,7 +14,6 @@ CONFLICTS= SSLeay-* ssleay-* base64-*
CRYPTO= YES
USE_PERL5= YES
-USE_RSAREF2= NO
# supplies IDEA/RC5
LICENCE= fee-based-commercial-use
@@ -94,7 +93,13 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/apps/openssl.cnf ${PREFIX}/etc/openssl.cnf.example
cd ${WRKSRC} && ${INSTALL_DATA} libcrypto.a libssl.a ${PREFIX}/lib/
.if ${OPSYS} == "NetBSD"
- cd ${WRKSRC} && ${INSTALL_DATA} libcrypto.so.?.0 libssl.so.?.0 ${PREFIX}/lib/
+ cd ${WRKSRC} && ${INSTALL_DATA} libcrypto.so.1.0 libssl.so.1.0 ${PREFIX}/lib/
+.if ${OBJECT_FMT} == "ELF"
+.for shared_lib in libcrypto.so.1.0 libssl.so.1.0
+ cd ${PREFIX}/lib && ${LN} -s ${shared_lib} ${shared_lib:R} && \
+ ${LN} -s ${shared_lib} ${shared_lib:R:R}
+.endfor
+.endif
.endif
.if exists(/usr/bin/ranlib)
/usr/bin/ranlib ${PREFIX}/lib/libcrypto.a
@@ -144,5 +149,6 @@ post-install:
.include "../../mk/bsd.pkg.mk"
test: all
- @cd ${WRKSRC}/test && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} ${MAKE} tests
+ @cd ${WRKSRC}/test && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
+ MAKELIB=${FILESDIR}/makelib ${MAKE} tests
@${ECHO} "*** Tests successful. ***"
diff --git a/security/openssl/pkg/PLIST.netbsd b/security/openssl/pkg/PLIST.netbsd
index 63295b4372d..836e03b0c39 100644
--- a/security/openssl/pkg/PLIST.netbsd
+++ b/security/openssl/pkg/PLIST.netbsd
@@ -1,3 +1,7 @@
-@comment $NetBSD: PLIST.netbsd,v 1.3 2001/01/23 20:55:21 dmcmahill Exp $
+@comment $NetBSD: PLIST.netbsd,v 1.4 2001/03/24 03:55:15 fredb Exp $
+lib/libcrypto.so
+lib/libcrypto.so.1
lib/libcrypto.so.1.0
+lib/libssl.so
+lib/libssl.so.1
lib/libssl.so.1.0