Last active
July 5, 2024 15:43
-
-
Save click0/4d7f3e071a6c83c191bcfc27b59d2c5c to your computer and use it in GitHub Desktop.
Патчи в FreeBSD-SA-24:04.openssh для разных веток FreeBSD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment