diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-12-01 20:25:47 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-12-01 20:25:47 +0000 |
commit | 1afa40402e1df3efa411cb6167bd5eb12bfb9245 (patch) | |
tree | c07849b4a6c7f8602c240dbc1416c389bb62dfcd /security/openssh-portable | |
parent | 1db8bd8a7424829a64f0b91c2275c011c3fa6154 (diff) | |
download | FreeBSD-ports-1afa40402e1df3efa411cb6167bd5eb12bfb9245.zip FreeBSD-ports-1afa40402e1df3efa411cb6167bd5eb12bfb9245.tar.gz |
In BATCH mode - clean generated host keys.
Diffstat (limited to 'security/openssh-portable')
-rw-r--r-- | security/openssh-portable/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index b467292..6d93acb 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \ ftp://carroll.cac.psu.edu/pub/OpenBSD/OpenSSH/portable/ PKGNAMESUFFIX= -portable -MAINTAINER= dinoex@FreeBSD.org +MAINTAINER= dinoex@FreeBSD.org MAN1= sftp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 scp.1 ssh.1 MLINKS= ssh.1 slogin.1 @@ -23,6 +23,10 @@ CRYPTOLIBS= -L${OPENSSLLIB} -lcrypto USE_OPENSSL= YES GNU_CONFIGURE= yes CONFIGURE_ARGS?= --prefix=${PREFIX} --with-md5-passwords +CLEAN= etc/ssh_config etc/sshd_config etc/moduli \ + etc/ssh_host_key etc/ssh_host_key.pub \ + etc/ssh_host_dsa_key etc/ssh_host_dsa_key.pub \ + etc/ssh_host_rsa_key etc/ssh_host_rsa_key.pub .if exists(/usr/include/security/pam_modules.h) CONFIGURE_ARGS+= --with-pam @@ -34,5 +38,8 @@ CONFIGURE_ARGS+= --with-tcp-wrappers post-install: @${CAT} ${PKGMESSAGE} +.if defined(BATCH) + @(cd ${PREFIX} && ${RM} -f ${CLEAN}) +.endif .include <bsd.port.mk> |