SHA256
1
0
forked from pool/tigervnc

Accepting request 222208 from home:michalsrb:branches:X11:XOrg

- Readd vncpasswd.arg for compatibility with installation system
  and potentially another users. (bnc#855246)

OBS-URL: https://build.opensuse.org/request/show/222208
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=15
This commit is contained in:
Michal Srb 2014-02-13 14:57:22 +00:00 committed by Git OBS Bridge
parent 88628913fb
commit 95d64b14ff
3 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 13 14:29:47 UTC 2014 - msrb@suse.com
- Readd vncpasswd.arg for compatibility with installation system
and potentially another users. (bnc#855246)
-------------------------------------------------------------------
Fri Feb 7 14:52:02 UTC 2014 - msrb@suse.com

View File

@ -91,6 +91,7 @@ Source5: vnc-server.firewall
Source6: vnc-httpd.firewall
Source7: vnc_inetd_httpd
Source8: vnc.reg
Source9: vncpasswd.arg
# Tiger vnc patches
Patch1: u_tigervnc-1.3.0-fix-use-after-free.patch
@ -197,6 +198,7 @@ install -D -m 644 %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/servi
install -D -m 644 %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/vnc-httpd
install -D -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/vnc_inetd_httpd
install -D -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg
install -D -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg
%find_lang '%{name}'
@ -214,6 +216,7 @@ install -D -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg
%{_bindir}/Xvnc
%{_bindir}/vncconfig
%{_bindir}/vncpasswd
%{_bindir}/vncpasswd.arg
%{_bindir}/vncserver
%{_bindir}/x0vncserver
%{_bindir}/vnc_inetd_httpd

10
vncpasswd.arg Normal file
View File

@ -0,0 +1,10 @@
#!/bin/sh
# Compatibility replacement for vncpasswd.arg.
if [ $# -ne 2 ]; then
echo "Usage: $0 file password"
exit 1
fi
echo "$2" | vncpasswd -f > "$1"