diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-06-12 04:14:15 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-06-12 04:14:15 +0800 |
commit | fb7482af1f2657c75b32283fcaea26b2bca2264e (patch) | |
tree | c0c063981a16593dfdcfccabc885422e24f15333 /security/openssh | |
parent | d1e194ac622014854ee1279b1fefc4ef9904f7d5 (diff) | |
download | freebsd-ports-gnome-fb7482af1f2657c75b32283fcaea26b2bca2264e.tar.gz freebsd-ports-gnome-fb7482af1f2657c75b32283fcaea26b2bca2264e.tar.zst freebsd-ports-gnome-fb7482af1f2657c75b32283fcaea26b2bca2264e.zip |
- Don't generate keys if BATCH is defined,
they will be generated when the package is installed.
- Update MAN1, MAN8
Diffstat (limited to 'security/openssh')
-rw-r--r-- | security/openssh/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile index bf73e9438cd0..d94273b02fad 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -19,8 +19,9 @@ MAINTAINER= dirk.meyer@dinoex.sub.org USE_OPENSSL= YES -MAN1= scp.1 slogin.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 -MAN8= sshd.8 +MAN1= scp.1 slogin.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 \ + ssh-keyscan.1 sftp.1 +MAN8= sshd.8 sftp-server.8 MANCOMPRESSED= yes .include <bsd.port.pre.mk> @@ -69,6 +70,7 @@ post-patch: ${WRKSRC}/pathnames.h post-install: +.if !defined(BATCH) .if !exists(${PREFIX}/etc/ssh_host_key) @${ECHO_MSG} ">> Generating an RSA secret host key." ${PREFIX}/bin/ssh-keygen -N "" -f ${PREFIX}/etc/ssh_host_key @@ -77,6 +79,7 @@ post-install: @${ECHO_MSG} ">> Generating a DSA secret host key." ${PREFIX}/bin/ssh-keygen -d -N "" -f ${PREFIX}/etc/ssh_host_dsa_key .endif +.endif .if !exists(${PREFIX}/etc/rc.d/sshd.sh) @${INSTALL_SCRIPT} ${WRKSRC}/sshd.sh ${PREFIX}/etc/rc.d/ .endif |