aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2000-04-26 06:16:24 +0800
committerdirk <dirk@FreeBSD.org>2000-04-26 06:16:24 +0800
commit7b28df8c91bbab362fd8c7227f84aaab66e7ddc0 (patch)
tree225c6e0f19838cb8ca1e60ac30678384ae0553f4 /security
parent8c8ad391b5c63bbb2f2a09147eb3f03a23c7790e (diff)
downloadfreebsd-ports-gnome-7b28df8c91bbab362fd8c7227f84aaab66e7ddc0.tar.gz
freebsd-ports-gnome-7b28df8c91bbab362fd8c7227f84aaab66e7ddc0.tar.zst
freebsd-ports-gnome-7b28df8c91bbab362fd8c7227f84aaab66e7ddc0.zip
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
Diffstat (limited to 'security')
-rw-r--r--security/openssl-beta/Makefile9
-rw-r--r--security/openssl-beta/pkg-plist.noshared76
-rw-r--r--security/openssl/Makefile9
-rw-r--r--security/openssl/pkg-plist.noshared76
4 files changed, 170 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
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index c27f24205c2c..fc90e2e89326 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/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/pkg-plist.noshared b/security/openssl/pkg-plist.noshared
new file mode 100644
index 000000000000..9870cf6aacbc
--- /dev/null
+++ b/security/openssl/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