Skip to content

Instantly share code, notes, and snippets.

@click0
Last active July 5, 2024 15:43
Show Gist options
  • Save click0/4d7f3e071a6c83c191bcfc27b59d2c5c to your computer and use it in GitHub Desktop.
Save click0/4d7f3e071a6c83c191bcfc27b59d2c5c to your computer and use it in GitHub Desktop.

Revisions

  1. click0 revised this gist Jul 5, 2024. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions script-SA-24:04-openssh-13.2.patch.sh
    Original file line number Diff line number Diff line change
    @@ -16,8 +16,11 @@
    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

  2. click0 revised this gist Jul 5, 2024. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions script-SA-24:04-openssh-13.2.patch.sh
    Original file line number Diff line number Diff line change
    @@ -16,8 +16,8 @@
    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
  3. click0 revised this gist Jul 4, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion script-SA-24:04-openssh-13.2.patch.sh
    Original file line number Diff line number Diff line change
    @@ -19,5 +19,5 @@ patch < ~/openssh.patch
    cd secure/lib/libssh
    make all install
    cd ../../usr.sbin/sshd
    make all install
    make clean all install
    service sshd restart
  4. click0 revised this gist Jul 3, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion script-SA-24:04-openssh-13.2.patch.sh
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    # License:
    # Public Domain

    # Autor:
    # Author:
    # Eugene Grosbein

    # Description:
  5. click0 created this gist Jul 3, 2024.
    23 changes: 23 additions & 0 deletions script-SA-24:04-openssh-13.2.patch.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    #!/bin/sh

    # License:
    # Public Domain

    # Autor:
    # 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 all install
    service sshd restart