5656f8ccbe
Per AGENTS.md 'DO NOT edit files under mainline recipes/ directly', create a Red Bear fork under local/recipes/net/openssh/ that the build system materializes via apply-patches.sh symlink. Replaces two upstream placeholders: 1. The 'sed -i AddressFamily inet' workaround with a real capability detection that probes relibc's <netinet/in.h> for AF_INET6 and selects AddressFamily=any (dual-stack) or inet (IPv4-only) accordingly. The OPENSSH_FORCE_IPV4=1 environment variable overrides the probe to force IPv4-only. 2. The commented-out '# ssh-keygen -t ... -N ""' TODO with a real subshell-rendered postscript that generates ed25519, rsa, and ecdsa host keys (idempotent re-runs skip existing keys). The patch list in the fork recipe is identical to the mainline (just 'redox.patch' — the upstream-tracked Redox port). The Red Bear modifications to the build are entirely in 'script =' below, so no additional Red Bear overlay patch file is required. Also extends local/scripts/apply-patches.sh with the 'net/openssh' symlink entry under a new '# Network fork recipes' section.