diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-10-03 13:15:16 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-10-03 13:15:16 +0000 |
commit | 5adaf17fcc14c0818d548fdfbf28ab41fecaad86 (patch) | |
tree | 95b95544ec0e0832211c17012847ab7a240f2957 /security/openssh/Makefile | |
parent | 5a0096ab982498919a9c8c83a22fbac91788c439 (diff) | |
download | FreeBSD-ports-5adaf17fcc14c0818d548fdfbf28ab41fecaad86.zip FreeBSD-ports-5adaf17fcc14c0818d548fdfbf28ab41fecaad86.tar.gz |
- Update to OpenSSH 2.9.9
- convert portname into lowercase
- PREFIX support for default sshd_config
- security-patch for cookie files obsolete
Diffstat (limited to 'security/openssh/Makefile')
-rw-r--r-- | security/openssh/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile index 0e33304..acc7e11 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -5,9 +5,8 @@ # $FreeBSD$ # -PORTNAME= OpenSSH -PORTVERSION= 2.9 -PORTREVISION= 3 +PORTNAME= openssh +PORTVERSION= 2.9.9 CATEGORIES= security MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/ \ ftp://ftp.usa.openbsd.org/pub/OpenBSD/OpenSSH/ \ @@ -67,6 +66,8 @@ MAKE_ENV+= SKEY=yes WRKSRC= ${WRKDIR}/ssh post-extract: + @${PERL5} -pi -e "s=/etc/ssh=${PREFIX}/etc/ssh=" ${WRKSRC}/sshd_config + @${PERL5} -pi -e "s=/usr/libex=${PREFIX}/libex=" ${WRKSRC}/sshd_config @${CP} ${FILESDIR}/strlcat.c ${FILESDIR}/strlcpy.c ${WRKSRC}/lib/ @${CP} ${FILESDIR}/sshd.sh ${WRKSRC}/ .if ${OSVERSION} < 400014 @@ -85,12 +86,16 @@ post-patch: post-configure: .for i in ${FIXME} @${PERL5} -pi -e "s=KERBEROS[:]L=KERBEROS=" ${WRKSRC}/${i} + @${PERL5} -pi -e "s=KERBEROS5[:]L=KERBEROS5=" ${WRKSRC}/${i} @${PERL5} -pi -e "s=AFS[:]L=AFS=" ${WRKSRC}/${i} @${PERL5} -pi -e "s=TCP_WRAPPERS[:]L=TCP_WRAPPERS=" ${WRKSRC}/${i} @${PERL5} -pi -e "s=SKEY[:]L=SKEY=" ${WRKSRC}/${i} .endfor .endif +pre-install: + ${MKDIR} ${PREFIX}/libdata/ssh + post-install: .if !defined(BATCH) .if !exists(${PREFIX}/etc/ssh_host_key) |