Accepting request 319807 from home:dimstar:Factory
minor tweaks - happens to fix build with systemd 222 OBS-URL: https://build.opensuse.org/request/show/319807 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=64
This commit is contained in:
parent
55c62da252
commit
420204e731
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 31 13:48:16 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
- Add /usr/sbin/groupadd and /usr/sbin/useradd Requires(post) to
|
||||
xorg-x11-Xvnc: the scripts are creating users/groups.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 15 11:52:02 UTC 2015 - msrb@suse.com
|
||||
|
||||
|
@ -129,6 +129,8 @@ TigerVNC also provides extensions for advanced authentication methods and TLS en
|
||||
%package -n xorg-x11-Xvnc
|
||||
# Needed to generate certificates
|
||||
Requires(post): openssl
|
||||
Requires(post): /usr/sbin/useradd
|
||||
Requires(post): /usr/sbin/groupadd
|
||||
# Needed to serve java applet
|
||||
Requires: python
|
||||
Requires: python-pyOpenSSL
|
||||
@ -234,8 +236,8 @@ rm -rf $RPM_BUILD_ROOT/usr/share/doc/tigervnc-*
|
||||
%find_lang '%{name}'
|
||||
|
||||
%pre -n xorg-x11-Xvnc
|
||||
getent group %{vncgroup} > /dev/null || groupadd -r %{vncgroup}
|
||||
getent passwd %{vncuser} > /dev/null || useradd -r -g %{vncgroup} -d /var/lib/empty -s /sbin/nologin -c "user for VNC" %{vncuser}
|
||||
getent group %{vncgroup} > /dev/null || groupadd -r %{vncgroup} || :
|
||||
getent passwd %{vncuser} > /dev/null || useradd -r -g %{vncgroup} -d /var/lib/empty -s /sbin/nologin -c "user for VNC" %{vncuser} || :
|
||||
|
||||
%post -n xorg-x11-Xvnc
|
||||
if ! test -e %{tlskey} ; then
|
||||
|
Loading…
Reference in New Issue
Block a user