net-misc/sks: add gz prefix for man page
[portage-overlay.git] / app-crypt / monkeysphere / files / monkeysphere-0.36_non_default_port.patch
1 diff -r 5f7ee764ec1f src/share/common
2 --- a/src/share/common  Mon Oct 07 19:22:36 2013 +0200
3 +++ b/src/share/common  Mon Oct 07 19:22:58 2013 +0200
4 @@ -863,6 +863,10 @@
5                     ;;
6                 ('known_hosts')
7                     host=${userID#ssh://}
8 +                   if [[ "${host}" == *:* ]]; then
9 +                       IFS=':' read -a ARR <<< "${host}"
10 +                       host="[${ARR[0]}]:${ARR[1]}"
11 +                   fi
12                     remove_line "$keyFile" "$host" "$sshKey"
13                     ;;
14             esac