Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
net-misc/openssh: Apply Flatcar patches - Drop the init.d files. - Re…
Browse files Browse the repository at this point in the history
…move the socket unit's rate limiting.

Instead of dropping bindist, enable it with the profiles now so it
doesn't need to be modified on future updates.

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
Signed-off-by: Dongsu Park <dpark@linux.microsoft.com>
  • Loading branch information
sayanchowdhury authored and dongsupark committed Dec 6, 2021
1 parent 7420a92 commit 5b02ff8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 122 deletions.
33 changes: 0 additions & 33 deletions net-misc/openssh/files/sshd-r1.confd

This file was deleted.

87 changes: 0 additions & 87 deletions net-misc/openssh/files/sshd-r1.initd

This file was deleted.

1 change: 1 addition & 0 deletions net-misc/openssh/files/sshd.socket
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Conflicts=sshd.service
[Socket]
ListenStream=22
Accept=yes
TriggerLimitBurst=0

[Install]
WantedBy=sockets.target
2 changes: 0 additions & 2 deletions net-misc/openssh/openssh-8.8_p1-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,6 @@ src_install() {
emake install-nokeys DESTDIR="${D}"
fperms 600 /etc/ssh/sshd_config
dobin contrib/ssh-copy-id
newinitd "${FILESDIR}"/sshd-r1.initd sshd
newconfd "${FILESDIR}"/sshd-r1.confd sshd

if use pam; then
newpamd "${FILESDIR}"/sshd.pam_include.2 sshd
Expand Down

0 comments on commit 5b02ff8

Please sign in to comment.