diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-04-13 11:47:23 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-04-13 11:47:23 +0000 |
commit | 77816b1882072dba981569e361a041d5780e854f (patch) | |
tree | 72efde38c6db215750b51ed89969fd1d2e4e5d5b /security | |
parent | a69ae9845070b321b6b0176f42bc1221e585c056 (diff) | |
download | FreeBSD-ports-77816b1882072dba981569e361a041d5780e854f.zip FreeBSD-ports-77816b1882072dba981569e361a041d5780e854f.tar.gz |
- Change all USE_OPENSSL_* to WITH_OPENSSL_*
Diffstat (limited to 'security')
-rw-r--r-- | security/hpn-ssh/Makefile | 2 | ||||
-rw-r--r-- | security/openssh-portable/Makefile | 2 | ||||
-rw-r--r-- | security/openssl/bsd.openssl.mk | 32 |
3 files changed, 22 insertions, 14 deletions
diff --git a/security/hpn-ssh/Makefile b/security/hpn-ssh/Makefile index 62133cc..b46b3d9 100644 --- a/security/hpn-ssh/Makefile +++ b/security/hpn-ssh/Makefile @@ -44,7 +44,7 @@ CONFIGURE_ARGS+= --disable-suid-ssh .endif .if defined(OPENSSH_OVERWRITE_BASE) -USE_OPENSSL_BASE= yes +WITH_OPENSSL_BASE= yes PKGNAMESUFFIX= -overwrite-base PREFIX= /usr MANPREFIX= ${PREFIX}/share diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index 62133cc..b46b3d9 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -44,7 +44,7 @@ CONFIGURE_ARGS+= --disable-suid-ssh .endif .if defined(OPENSSH_OVERWRITE_BASE) -USE_OPENSSL_BASE= yes +WITH_OPENSSL_BASE= yes PKGNAMESUFFIX= -overwrite-base PREFIX= /usr MANPREFIX= ${PREFIX}/share diff --git a/security/openssl/bsd.openssl.mk b/security/openssl/bsd.openssl.mk index 4006f35..0918c4a 100644 --- a/security/openssl/bsd.openssl.mk +++ b/security/openssl/bsd.openssl.mk @@ -2,16 +2,16 @@ # Date created: 31 May 2002 # Whom: dinoex # -# $FreeBSD: /tmp/pcvs/ports/security/openssl/Attic/bsd.openssl.mk,v 1.2 2003-04-07 05:54:39 dinoex Exp $ +# $FreeBSD: /tmp/pcvs/ports/security/openssl/Attic/bsd.openssl.mk,v 1.3 2003-04-13 11:47:23 dinoex Exp $ # # this substitutes USE_OPENSSL=yes # just include this makefile after bsd.ports.pre.mk # # the user/port can now set this options in the makefiles. # -# USE_OPENSSL_BASE=yes - Use the version in the base system. -# USE_OPENSSL_PORT=yes - Use the port, even if base if up to date -# USE_OPENSSL_BETA=yes - Use a snapshot of recent openssl +# WITH_OPENSSL_BASE=yes - Use the version in the base system. +# WITH_OPENSSL_PORT=yes - Use the port, even if base if up to date +# WITH_OPENSSL_BETA=yes - Use a snapshot of recent openssl # # The makefile sets this variables: # OPENSSLBASE - "/usr" or ${LOCALBASE} @@ -22,23 +22,31 @@ # MAKE_ENV - extended with the variables above # LIB_DEPENDS - are added if needed +# honor obsolete options for a bit +.if defined(USE_OPENSSL_BASE) && !defined(WITH_OPENSSL_BASE) +WITH_OPENSSL_BASE=yes +.endif +.if defined(USE_OPENSSL_PORT) && !defined(WITH_OPENSSL_PORT) +WITH_OPENSSL_PORT=yes +.endif + # if no preference was set, check for an up to date base version # but give an installed port preference over it. -.if !defined(USE_OPENSSL_BASE) && \ - !defined(USE_OPENSSL_BETA) && \ - !defined(USE_OPENSSL_PORT) && \ +.if !defined(WITH_OPENSSL_BASE) && \ + !defined(WITH_OPENSSL_BETA) && \ + !defined(WITH_OPENSSL_PORT) && \ !exists(${LOCALBASE}/lib/libcrypto.so) # Security: version in base must be 0.9.7a .if exists(/usr/lib/libcrypto.so.3) OPENSSLVER!= ${AWK} '/OPENSSL_VERSION_NUMBER/ { print $$3 }' \ /usr/include/openssl/opensslv.h -.if ${OPENSSLVER} == 0x0090701fL -USE_OPENSSL_BASE=yes +.if ${OPENSSLVER} == 0x0090702fL +WITH_OPENSSL_BASE=yes .endif .endif .endif -.if defined(USE_OPENSSL_BASE) +.if defined(WITH_OPENSSL_BASE) OPENSSLBASE= /usr OPENSSLDIR= /etc/ssl @@ -57,7 +65,7 @@ OPENSSLDIR= /etc/ssl @${ECHO_CMD} "This port wants the OpenSSL library from the FreeBSD" @${ECHO_CMD} "base system. You can't build against it, while a newer" @${ECHO_CMD} "Version is installed by a port." - @${ECHO_CMD} "Please deinstall the port or undefine USE_OPENSSL_BASE." + @${ECHO_CMD} "Please deinstall the port or undefine WITH_OPENSSL_BASE." @${FALSE} .endif @@ -88,7 +96,7 @@ SHLIBVER= 4 .endif OPENSSLBASE= ${LOCALBASE} -.if defined(USE_OPENSSL_BETA) +.if defined(WITH_OPENSSL_BETA) OPENSSLDIR= ${OPENSSLBASE}/openssl LIB_DEPENDS+= crypto.${SHLIBVER}:${PORTSDIR}/security/openssl-beta .else |