1999-11-08 06:20:54 +00:00
|
|
|
# New ports collection makefile for: OpenSSH
|
|
|
|
# Version required: 19991107
|
|
|
|
# Date created: 7 October 1999
|
|
|
|
# Whom: green
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= OpenSSH-1.2
|
|
|
|
CATEGORIES= security
|
1999-11-11 14:33:23 +00:00
|
|
|
MASTER_SITES= # see ${SCRIPTDIR}/fetchit
|
1999-11-08 06:20:54 +00:00
|
|
|
|
|
|
|
MAINTAINER= green@FreeBSD.org
|
|
|
|
|
1999-11-09 11:43:11 +00:00
|
|
|
LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl
|
1999-11-08 06:20:54 +00:00
|
|
|
|
1999-11-11 14:33:23 +00:00
|
|
|
RESTRICTED= "Links with cryptographic code."
|
|
|
|
|
1999-11-08 06:20:54 +00:00
|
|
|
# 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
|
|
|
|
MAKE_ENV+= CRYPTOLIBS="-L${PREFIX}/lib -lcrypto -lRSAglue -lrsaref"
|
|
|
|
.else
|
|
|
|
MAKE_ENV+= CRYPTOLIBS="-L${PREFIX}/lib -lcrypto"
|
|
|
|
.endif
|
1999-11-11 14:33:23 +00:00
|
|
|
.if !exists(/usr/include/tcpd.h)
|
|
|
|
MAKE_ENV+= TCP_WRAPPERS=NO
|
|
|
|
.endif
|
|
|
|
NO_CHECKSUM= YES
|
1999-11-08 06:20:54 +00:00
|
|
|
WRKSRC= ${WRKDIR}/ssh
|
|
|
|
|
1999-11-11 14:33:23 +00:00
|
|
|
do-fetch:
|
1999-11-11 20:49:44 +00:00
|
|
|
@if [ ! -e ${WRKDIR}/.fetch_done ]; then \
|
|
|
|
${SETENV} WRKDIR=${WRKDIR} ${SCRIPTDIR}/fetchit || exit 1; \
|
|
|
|
${TOUCH} ${WRKDIR}/.fetch_done; \
|
|
|
|
fi
|
1999-11-11 14:33:23 +00:00
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${CP} ${FILESDIR}/strlcpy.c ${WRKSRC}/lib/
|
|
|
|
|
1999-11-08 06:20:54 +00:00
|
|
|
pre-install:
|
1999-11-09 12:43:45 +00:00
|
|
|
@cd ${WRKSRC} && ${MAKE} DESTDIR=${PREFIX} distribution
|
1999-11-08 06:20:54 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|