Rip off rsaref (and thus USA_RESIDENT).

Submitted by:	kris
This commit is contained in:
Dirk Froemberg 2000-09-17 11:06:30 +00:00
parent 1e3edbec58
commit 87402eb7e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32745
2 changed files with 4 additions and 32 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= openssl
PORTVERSION= 0.9.5a
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/source/ \
ftp://ftp.openssl.org/source/ \
@ -23,7 +24,6 @@ FORBIDDEN= "OpenSSL is already in the base system"
NOSHARED= yes
.endif
RESTRICTED= "Cryptography"
USE_PERL5= yes
.if defined(NOSHARED)
PLIST= ${PKGDIR}/PLIST.noshared
@ -69,25 +69,11 @@ MAN3= BN_CTX_new.3 BN_CTX_start.3 BN_add.3 BN_add_word.3 \
MAN5= config.5
MAN7= des_modes.7
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
pre-fetch:
@${ECHO} ""
@${ECHO} "You must set variable USA_RESIDENT to YES, if you are USA resident"
@${ECHO} "or to NO, if you aren't USA resident to build this package."
@${ECHO} "You must also have installed rsaref port if you are USA resident."
@${FALSE}
.elif defined(USA_RESIDENT)
.if ${USA_RESIDENT} == YES && !defined(I_HAVE_AN_RSA_LICENSE)
LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
RSAREF= rsaref
.endif
.endif
do-configure:
@cd ${WRKSRC} \
&& ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" PERL="${PERL}" \
./config --prefix=${PREFIX} --openssldir=${PREFIX}/openssl \
${RSAREF} -L${PREFIX}/lib
-L${PREFIX}/lib
post-install:
.if !defined(NOSHARED)

View file

@ -7,6 +7,7 @@
PORTNAME= openssl
PORTVERSION= 0.9.5a
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/source/ \
ftp://ftp.openssl.org/source/ \
@ -23,7 +24,6 @@ FORBIDDEN= "OpenSSL is already in the base system"
NOSHARED= yes
.endif
RESTRICTED= "Cryptography"
USE_PERL5= yes
.if defined(NOSHARED)
PLIST= ${PKGDIR}/PLIST.noshared
@ -69,25 +69,11 @@ MAN3= BN_CTX_new.3 BN_CTX_start.3 BN_add.3 BN_add_word.3 \
MAN5= config.5
MAN7= des_modes.7
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
pre-fetch:
@${ECHO} ""
@${ECHO} "You must set variable USA_RESIDENT to YES, if you are USA resident"
@${ECHO} "or to NO, if you aren't USA resident to build this package."
@${ECHO} "You must also have installed rsaref port if you are USA resident."
@${FALSE}
.elif defined(USA_RESIDENT)
.if ${USA_RESIDENT} == YES && !defined(I_HAVE_AN_RSA_LICENSE)
LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
RSAREF= rsaref
.endif
.endif
do-configure:
@cd ${WRKSRC} \
&& ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" PERL="${PERL}" \
./config --prefix=${PREFIX} --openssldir=${PREFIX}/openssl \
${RSAREF} -L${PREFIX}/lib
-L${PREFIX}/lib
post-install:
.if !defined(NOSHARED)