diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-03-20 18:16:43 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-03-20 18:16:43 +0000 |
commit | c59be11b14ca6474fb78dd171a5f99dc3eff2cea (patch) | |
tree | 34a8f1168b712e20adb25e7d11ab5511ee775d46 /security/openssh-portable | |
parent | ce15412a7612f17cd95efbb48369b4e885fa0bfe (diff) | |
download | ports-c59be11b14ca6474fb78dd171a5f99dc3eff2cea.tar.gz ports-c59be11b14ca6474fb78dd171a5f99dc3eff2cea.zip |
Notes
Diffstat (limited to 'security/openssh-portable')
-rw-r--r-- | security/openssh-portable/Makefile | 3 | ||||
-rw-r--r-- | security/openssh-portable/pkg-plist | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index d7ca5ef9b3d3..aa4589244e4d 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -17,8 +17,7 @@ COMMENT= The portable version of OpenBSD's OpenSSH CONFLICTS?= openssh-3.* ssh-1.* ssh2-3.* openssh-portable-devel-* -USES= alias ncurses ssl -USE_AUTOTOOLS= autoconf autoheader +USES= alias autoreconf ncurses ssl GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_func_strnvis=no CONFIGURE_ARGS= --prefix=${PREFIX} --with-md5-passwords \ diff --git a/security/openssh-portable/pkg-plist b/security/openssh-portable/pkg-plist index c528bdf21a6e..5562b8276943 100644 --- a/security/openssh-portable/pkg-plist +++ b/security/openssh-portable/pkg-plist @@ -9,7 +9,7 @@ bin/ssh-keyscan @sample %%ETCDIR%%/ssh_config.sample @sample %%ETCDIR%%/sshd_config.sample %%X509%%@dir %%ETCDIR%%/ca -@exec if [ -f %D/%%ETCDIR%%/ssh_host_ecdsa_key ] && grep -q DSA %D/%%ETCDIR%%/ssh_host_ecdsa_key; then echo; echo "\!/ Warning \!/"; echo; echo "Your %D/%%ETCDIR%%/ssh_host_ecdsa_key is not a valid ECDSA key. It is incorrectly"; echo "a DSA key due to a bug fixed in 2012 in the security/openssh-portable port."; echo; echo "Regenerate a proper one with: rm -f %D/%%ETCDIR%%/ssh_host_ecdsa_key*; service openssh restart"; echo; echo "Clients should not see any key change warning since the ECDSA was not valid and was not actually"; echo "used by the server."; echo; echo "\!/ Warning \!/"; fi +@postexec if [ -f %D/%%ETCDIR%%/ssh_host_ecdsa_key ] && grep -q DSA %D/%%ETCDIR%%/ssh_host_ecdsa_key; then echo; echo "\!/ Warning \!/"; echo; echo "Your %D/%%ETCDIR%%/ssh_host_ecdsa_key is not a valid ECDSA key. It is incorrectly"; echo "a DSA key due to a bug fixed in 2012 in the security/openssh-portable port."; echo; echo "Regenerate a proper one with: rm -f %D/%%ETCDIR%%/ssh_host_ecdsa_key*; service openssh restart"; echo; echo "Clients should not see any key change warning since the ECDSA was not valid and was not actually"; echo "used by the server."; echo; echo "\!/ Warning \!/"; fi sbin/sshd libexec/sftp-server libexec/ssh-keysign |