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
Browse files Browse the repository at this point in the history
- Drop the init.d files.
- Remove 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 <[email protected]>
  • Loading branch information
sayanchowdhury committed Oct 12, 2021
1 parent b04f12b commit ec6a97b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 226 deletions.
104 changes: 0 additions & 104 deletions net-misc/openssh/files/openssh-8.5_p1-hpn-15.2-glue.patch

This file was deleted.

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.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,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 ec6a97b

Please sign in to comment.