Accepting request 134088 from network

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/134088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssh?expand=0&rev=79
This commit is contained in:
Stephan Kulow 2012-09-17 12:01:19 +00:00 committed by Git OBS Bridge
commit d009d29747
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- sshd.c.orig
+++ sshd.c
@@ -1812,7 +1812,7 @@ main(int ac, char **av)
* Write out the pid file after the sigterm handler
* is setup and the listen sockets are bound
*/
- if (!debug_flag) {
+ if (!debug_flag || !no_daemon_flag) {
FILE *f = fopen(options.pid_file, "w");
if (f == NULL) {

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 15 19:25:08 UTC 2012 - crrodriguez@opensuse.org
- When not daemonizing, such is used with systemd, no not
create a PID file
-------------------------------------------------------------------
Mon Jun 18 11:34:51 UTC 2012 - coolo@suse.com

View File

@ -70,6 +70,7 @@ Patch18: %{name}-5.9p1-sshconfig-knownhostschanges.diff
Patch19: %{name}-5.9p1-host_ident.diff
Patch20: converter-linking.patch
Patch21: openssh-nocrazyabicheck.patch
Patch22: openssh-nodaemon-nopid.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1140
BuildRequires: systemd
@ -109,6 +110,7 @@ also be forwarded over the secure channel.
%patch19 -p1
%patch20
%patch21
%patch22
cp -v %{SOURCE4} .
cp -v %{SOURCE6} .