Accepting request 33622 from Base:System

Copy from Base:System/openssh based on submit request 33622 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/33622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssh?expand=0&rev=36
This commit is contained in:
OBS User autobuild 2010-03-01 00:45:43 +00:00 committed by Git OBS Bridge
parent 4b71b83bf7
commit fa8733f484
3 changed files with 9 additions and 4 deletions

View File

@ -23,7 +23,7 @@ BuildRequires: gtk2-devel krb5-devel opensc-devel openssh openssl-devel pam-dev
License: BSD3c(or similar)
Group: Productivity/Networking/SSH
Version: 5.2p1
Release: 10
Release: 11
Requires: openssh = %{version} openssh-askpass = %{version}
AutoReqProv: on
Summary: A GNOME-Based Passphrase Dialog for OpenSSH

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Feb 27 20:35:01 UTC 2010 - aj@suse.de
- Use complete path for groupadd and useradd in pre section.
-------------------------------------------------------------------
Tue Feb 23 15:45:06 CET 2010 - anicka@suse.cz

View File

@ -36,7 +36,7 @@ PreReq: /usr/sbin/groupadd /usr/sbin/useradd %insserv_prereq %fillup_pr
Conflicts: nonfreessh
AutoReqProv: on
Version: 5.2p1
Release: 10
Release: 11
%define xversion 1.2.4.1
Summary: Secure Shell Client and Server (Remote Login Program)
Url: http://www.openssh.com/
@ -244,8 +244,8 @@ mkdir -p $RPM_BUILD_ROOT/%{_fwdefdir}
install -m 644 %{S:9} $RPM_BUILD_ROOT/%{_fwdefdir}/sshd
%pre
getent group sshd >/dev/null || groupadd -o -r sshd
getent passwd sshd >/dev/null || useradd -r -g sshd -d /var/lib/sshd -s /bin/false -c "SSH daemon" sshd
getent group sshd >/dev/null || /usr/sbin/groupadd -o -r sshd
getent passwd sshd >/dev/null || /usr/sbin/useradd -r -g sshd -d /var/lib/sshd -s /bin/false -c "SSH daemon" sshd
%post
%{fillup_and_insserv -n ssh sshd}