diff options
author | Brian Feldman <green@FreeBSD.org> | 1999-11-11 14:33:23 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 1999-11-11 14:33:23 +0000 |
commit | ac3b838e7fdf3d85ec2d4d305e2d30a91d19c4b3 (patch) | |
tree | 66336f26d4bdabc0289abdd3c9097b4bf0c10028 /security/openssh/Makefile | |
parent | Activate ja-p5-Jcode. (diff) |
Quite a bit of change to OpenSSH made:
Add "/usr/local/bin" to _PATH_STDPATH (makes scp work inbound, for instance.)
Fetch OpenSSH from OpenBSD's src tree. This uses a script and ftp(1).
Add strlcpy.c to ssh/lib, so this port should build on 3.X now.
Make TCP_WRAPPERS conditional on /usr/include/tcpd.h like the PR, so it
should build on older RELEASEs without TCP Wrappers.
The PR is still open because I am taking more from it.
PR: ports/14653
Notes
Notes:
svn path=/head/; revision=23032
Diffstat (limited to 'security/openssh/Makefile')
-rw-r--r-- | security/openssh/Makefile | 17 |
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 |