#!/bin/sh # License: # Public Domain # Author: # Eugene Grosbein # Description: # Пользователям stable, чтобы не пересобирать мир для исправления FreeBSD-SA-24:04.openssh # Source: # https://dadv.livejournal.com/210230.html # https://dadv.dreamwidth.org/196762.html fetch -o- https://security.FreeBSD.org/patches/SA-24:04/openssh-13.2.patch | sed '/version/,$d' > ~/openssh.patch cd /usr/src patch < ~/openssh.patch cd secure/lib/libssh make all install cd ../../usr.sbin/sshd make clean all install service sshd restart cd ../../usr.bin/ssh make clean all install