summaryrefslogtreecommitdiff
path: root/security/openssl-beta
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2000-04-25 22:16:24 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2000-04-25 22:16:24 +0000
commitfc492bd03839524d5034c286debb3a1cc72038df (patch)
tree0e9b90c6b79914ac60d98d8de7b81e6262e05970 /security/openssl-beta
parentFix Makefile mistake that resulted from my use of an old smpeg library. (diff)
Disable shared libraries for a.out systems in order to make it build
on such systems. (I know we aren't supporting a.out systems any more, but this was requested by some people. And the change is trivial.) Tested by: nate
Notes
Notes: svn path=/head/; revision=28012
Diffstat (limited to 'security/openssl-beta')
-rw-r--r--security/openssl-beta/Makefile9
-rw-r--r--security/openssl-beta/pkg-plist.noshared76
2 files changed, 85 insertions, 0 deletions
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile
index c27f24205c2c..fc90e2e89326 100644
--- a/security/openssl-beta/Makefile
+++ b/security/openssl-beta/Makefile
@@ -19,12 +19,19 @@ MAINTAINER= dirk@FreeBSD.org
.if ${OSVERSION} >= 400014
FORBIDDEN= "OpenSSL is already in the base system"
.endif
+.if ${PORTOBJFORMAT} == "aout"
+NOSHARED= yes
+.endif
RESTRICTED= "Cryptography"
USE_PERL5= yes
+.if defined(NOSHARED)
+PLIST= ${PKGDIR}/PLIST.noshared
+.else
ALL_TARGET= freebsd-shared all
SHLIBVER= 1
MAKE_ENV+= SHLIBVER=${SHLIBVER}
+.endif
MANPREFIX= ${PREFIX}/openssl
MAN1= CA.pl.1 asn1parse.1 ca.1 ciphers.1 crl.1 crl2pkcs7.1 dgst.1 \
@@ -82,11 +89,13 @@ do-configure:
${RSAREF} -L${PREFIX}/lib
post-install:
+.if !defined(NOSHARED)
.for i in libcrypto libssl
@${INSTALL_DATA} ${WRKSRC}/$i.so.${SHLIBVER} ${PREFIX}/lib
@${LN} -sf $i.so.${SHLIBVER} ${PREFIX}/lib/$i.so
.endfor
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/openssl
@${INSTALL_DATA} ${WRKSRC}/doc/openssl.txt ${PREFIX}/share/doc/openssl
diff --git a/security/openssl-beta/pkg-plist.noshared b/security/openssl-beta/pkg-plist.noshared
new file mode 100644
index 000000000000..9870cf6aacbc
--- /dev/null
+++ b/security/openssl-beta/pkg-plist.noshared
@@ -0,0 +1,76 @@
+bin/c_rehash
+bin/openssl
+include/openssl/asn1.h
+include/openssl/asn1_mac.h
+include/openssl/bio.h
+include/openssl/blowfish.h
+include/openssl/bn.h
+include/openssl/buffer.h
+include/openssl/cast.h
+include/openssl/comp.h
+include/openssl/conf.h
+include/openssl/crypto.h
+include/openssl/des.h
+include/openssl/dh.h
+include/openssl/dsa.h
+include/openssl/e_os.h
+include/openssl/e_os2.h
+include/openssl/ebcdic.h
+include/openssl/err.h
+include/openssl/evp.h
+include/openssl/hmac.h
+include/openssl/idea.h
+include/openssl/lhash.h
+include/openssl/md2.h
+include/openssl/md5.h
+include/openssl/mdc2.h
+include/openssl/objects.h
+include/openssl/opensslconf.h
+include/openssl/opensslv.h
+include/openssl/pem.h
+include/openssl/pem2.h
+include/openssl/pkcs12.h
+include/openssl/pkcs7.h
+include/openssl/rand.h
+include/openssl/rc2.h
+include/openssl/rc4.h
+include/openssl/rc5.h
+include/openssl/ripemd.h
+include/openssl/rsa.h
+include/openssl/safestack.h
+include/openssl/sha.h
+include/openssl/ssl.h
+include/openssl/ssl2.h
+include/openssl/ssl23.h
+include/openssl/ssl3.h
+include/openssl/stack.h
+include/openssl/tls1.h
+include/openssl/tmdiff.h
+include/openssl/txt_db.h
+include/openssl/x509.h
+include/openssl/x509_vfy.h
+include/openssl/x509v3.h
+lib/libRSAglue.a
+lib/libcrypto.a
+lib/libssl.a
+openssl/misc/CA.pl
+openssl/misc/CA.sh
+openssl/misc/c_hash
+openssl/misc/c_info
+openssl/misc/c_issuer
+openssl/misc/c_name
+openssl/misc/der_chop
+openssl/openssl.cnf.sample
+share/doc/openssl/openssl.txt
+@dirrm include/openssl
+@dirrm openssl/certs
+@dirrm openssl/lib
+@dirrm openssl/man/man1
+@dirrm openssl/man/man3
+@dirrm openssl/man/man5
+@dirrm openssl/man/man7
+@dirrm openssl/man
+@dirrm openssl/misc
+@dirrm openssl/private
+@dirrm openssl
+@dirrm share/doc/openssl