aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh/Makefile')
-rw-r--r--security/openssh/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index 1b6179bc83b3..b108926f43df 100644
--- a/security/openssh/Makefile
+++ b/security/openssh/Makefile
@@ -8,12 +8,14 @@
DISTNAME= OpenSSH-1.2
CATEGORIES= security
-MASTER_SITES= http://www.FreeBSD.org/~green/
+MASTER_SITES= # see ${SCRIPTDIR}/fetchit
MAINTAINER= green@FreeBSD.org
LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl
+RESTRICTED= "Links with cryptographic code."
+
# Here, MANDIR is concetenated to DESTDIR which all forms the man install dir...
MAKE_ENV= DESTDIR=${PREFIX} MANDIR=/man/man
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
@@ -21,8 +23,21 @@ MAKE_ENV+= CRYPTOLIBS="-L${PREFIX}/lib -lcrypto -lRSAglue -lrsaref"
.else
MAKE_ENV+= CRYPTOLIBS="-L${PREFIX}/lib -lcrypto"
.endif
+.if !exists(/usr/include/tcpd.h)
+MAKE_ENV+= TCP_WRAPPERS=NO
+.endif
+NO_CHECKSUM= YES
WRKSRC= ${WRKDIR}/ssh
+do-fetch:
+.if !exists(${WRKDIR}/.fetch_done)
+ @${SETENV} WRKDIR=${WRKDIR} ${SCRIPTDIR}/fetchit)
+.endif
+ @${TOUCH} ${WRKDIR}/.fetch_done
+
+do-extract:
+ @${CP} ${FILESDIR}/strlcpy.c ${WRKSRC}/lib/
+
pre-install:
@cd ${WRKSRC} && ${MAKE} DESTDIR=${PREFIX} distribution