diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-12-02 04:25:47 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-12-02 04:25:47 +0800 |
commit | 1afa40402e1df3efa411cb6167bd5eb12bfb9245 (patch) | |
tree | c07849b4a6c7f8602c240dbc1416c389bb62dfcd /security/hpn-ssh | |
parent | 1db8bd8a7424829a64f0b91c2275c011c3fa6154 (diff) | |
download | freebsd-ports-gnome-1afa40402e1df3efa411cb6167bd5eb12bfb9245.tar.gz freebsd-ports-gnome-1afa40402e1df3efa411cb6167bd5eb12bfb9245.tar.zst freebsd-ports-gnome-1afa40402e1df3efa411cb6167bd5eb12bfb9245.zip |
In BATCH mode - clean generated host keys.
Diffstat (limited to 'security/hpn-ssh')
-rw-r--r-- | security/hpn-ssh/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/security/hpn-ssh/Makefile b/security/hpn-ssh/Makefile index b4672929a9a4..6d93acb48218 100644 --- a/security/hpn-ssh/Makefile +++ b/security/hpn-ssh/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> |