Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
84ae0dc1
Commit
84ae0dc1
authored
2 years ago
by
Sodface
Committed by
Kevin Daudt
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
main/openssh: fix openrc error on shutdown
parent
c021a5e3
Loading
Loading
1 merge request
!33859
main/openssh: fix openrc error on shutdown
Pipeline
#122593
passed
2 years ago
Stage: lint
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/openssh/APKBUILD
+2
-2
2 additions, 2 deletions
main/openssh/APKBUILD
main/openssh/sshd.initd
+1
-1
1 addition, 1 deletion
main/openssh/sshd.initd
with
3 additions
and
3 deletions
main/openssh/APKBUILD
+
2
−
2
View file @
84ae0dc1
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
pkgname
=
openssh
pkgname
=
openssh
pkgver
=
9.0_p1
pkgver
=
9.0_p1
_myver
=
${
pkgver
%_*
}${
pkgver
#*_
}
_myver
=
${
pkgver
%_*
}${
pkgver
#*_
}
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Port of OpenBSD's free SSH release"
pkgdesc
=
"Port of OpenBSD's free SSH release"
url
=
"https://www.openssh.com/portable.html"
url
=
"https://www.openssh.com/portable.html"
arch
=
"all"
arch
=
"all"
...
@@ -278,6 +278,6 @@ c1d09c65dbc347f0904edc30f91aa9a24b0baee50309536182455b544f1e3f85a8cecfa959e32be8
...
@@ -278,6 +278,6 @@ c1d09c65dbc347f0904edc30f91aa9a24b0baee50309536182455b544f1e3f85a8cecfa959e32be8
b0d1fc89bd46ebfc8c7c00fd897732e67a6cda996811c14d99392685bb0b508b52c9dc3188b1a84c0ffa3f72f57189cc615a76b81796dd1b5f552542bd53f84d fix-verify-dns-segfault.patch
b0d1fc89bd46ebfc8c7c00fd897732e67a6cda996811c14d99392685bb0b508b52c9dc3188b1a84c0ffa3f72f57189cc615a76b81796dd1b5f552542bd53f84d fix-verify-dns-segfault.patch
e85754b2b6c4c37b432d166e63d6293e58c9c8bb6ebd8d3527c83afa2337f14c06d6a4e008ffcc0afd7dc3409e960b89c1dde41d2543c4be7d4813d477ff3a5e avoid-redefined-warnings-when-building-with-utmps.patch
e85754b2b6c4c37b432d166e63d6293e58c9c8bb6ebd8d3527c83afa2337f14c06d6a4e008ffcc0afd7dc3409e960b89c1dde41d2543c4be7d4813d477ff3a5e avoid-redefined-warnings-when-building-with-utmps.patch
f659641b841981f78b03281b7a01add9fbf35b91c0f21c11335a56d7e389ddf965d83d18d73b724385311cdb597b6d6c46446cbc702cdd4d15e8f43591306cb3 gss-serv.c.patch
f659641b841981f78b03281b7a01add9fbf35b91c0f21c11335a56d7e389ddf965d83d18d73b724385311cdb597b6d6c46446cbc702cdd4d15e8f43591306cb3 gss-serv.c.patch
48f3f2deb2425d77ff60a54f584c19209d9f202efd664a151626f1af77709e85142f4cf2a76c686cf59344b6a7fe
5d2b
65713e267b083b4b1b7ef905a71fe846
sshd.initd
50e407d72bfafc7fb276a1e56b1701f8cd91dfcbad2304bec516d69fc5e8334857ef96510dff76d0c407f2995
5d
c
2b
18570d6f7b557688ceb641280f8279af83
sshd.initd
be7dd5f6d319b2e03528525a66a58310d43444606713786b913a17a0fd9311869181d0fb7927a185d71d392674857dea3c97b6b8284886227d47b36193471a09 sshd.confd
be7dd5f6d319b2e03528525a66a58310d43444606713786b913a17a0fd9311869181d0fb7927a185d71d392674857dea3c97b6b8284886227d47b36193471a09 sshd.confd
"
"
This diff is collapsed.
Click to expand it.
main/openssh/sshd.initd
+
1
−
1
View file @
84ae0dc1
...
@@ -131,7 +131,7 @@ stop_pre() {
...
@@ -131,7 +131,7 @@ stop_pre() {
stop_post
()
{
stop_post
()
{
if
[
"
$RC_RUNLEVEL
"
=
"shutdown"
]
;
then
if
[
"
$RC_RUNLEVEL
"
=
"shutdown"
]
;
then
_sshd_pids
=
$(
pgrep
"
${
command
##*/
}
"
)
_sshd_pids
=
$(
pgrep
"
${
command
##*/
}
:
"
)
if
[
-n
"
$_sshd_pids
"
]
;
then
if
[
-n
"
$_sshd_pids
"
]
;
then
ebegin
"Shutting down ssh connections"
ebegin
"Shutting down ssh connections"
# shellcheck disable=SC2086
# shellcheck disable=SC2086
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment