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
This commit is contained in:
parent
6c5efea017
commit
fc492bd038
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=28012
@ -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
|
||||
|
76
security/openssl-beta/pkg-plist.noshared
Normal file
76
security/openssl-beta/pkg-plist.noshared
Normal file
@ -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
|
@ -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
|
||||
|
76
security/openssl/pkg-plist.noshared
Normal file
76
security/openssl/pkg-plist.noshared
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user