rpms/WebShell/F-11 README.fedora, NONE, 1.1 WebShell-0.9.6-default-paths.p0, NONE, 1.1 WebShell.spec, NONE, 1.1 background.jpg, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Tyler ctyler at fedoraproject.org
Sat Aug 1 14:28:02 UTC 2009


Author: ctyler

Update of /cvs/pkgs/rpms/WebShell/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3080/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	README.fedora WebShell-0.9.6-default-paths.p0 WebShell.spec 
	background.jpg import.log 
Log Message:
 Wed Jul 22 2009 Chris Tyler <chris at tylers.info> - 0.9.6-3
- Replaced background image due to potential license issues
- Added README.fedora with setup and usage info
- Disabled post scriptlet per reviewer recommendation

* Wed Jul 22 2009 Chris Tyler <chris at tylers.info> - 0.9.6-2
- Changed envars to macros for consistancy
- Added Requires: openssl for make_certificate.sh

* Fri Jul 10 2009 Chris Tyler <chris at tylers.info>
- 0.9.6-1 - Initial RPM release




--- NEW FILE README.fedora ---
To use WebShell with Fedora, as root:
- generate a certificate:
	cd /usr/share/WebShell
	./make_certificate.sh
- run /usr/bin/webshell

Then, on the client system, connect to http://hostname:8022/

Notes:

- This package contains a replacement background.jpg due to concerns over
the copyright/license status of the original image.

- If you do not want to run this as root, copy the key to a non-root account
and use that account to run /usr/bin/webshell.

--
Chris Tyler (ctyler) 2009-07-22



--- NEW FILE WebShell-0.9.6-default-paths.p0 ---
--- webshell.py.original	2009-07-10 10:50:44.000000000 -0400
+++ webshell.py	2009-07-10 10:37:32.000000000 -0400
@@ -1361,10 +1361,10 @@
 		help = "set daemon user id")
 	parser.add_option("--ssl-disable", action = "store_false", dest = "ssl_enabled", default = 1,
 		help = "disable SSL, set listen interface to localhost")
-	parser.add_option("--ssl-cert", dest = "ssl_cert", default = "webshell.pem",
-		help = "set SSL certificate file (default: webshell.pem)")
- 	parser.add_option("--www-dir", dest = "www_dir", default = "www",
-		help = "set WebShell www path (default: www)")
+	parser.add_option("--ssl-cert", dest = "ssl_cert", default = "/usr/share/WebShell/webshell.pem",
+		help = "set SSL certificate file (default: /usr/share/WebShell/webshell.pem)")
+ 	parser.add_option("--www-dir", dest = "www_dir", default = "/usr/share/WebShell/www",
+		help = "set WebShell www path (default: /usr/share/WebShell/www)")
 	(o, a) = parser.parse_args()
 	if o.version:
 		print 'WebShell ' + version


--- NEW FILE WebShell.spec ---
Name:           WebShell
Version:        0.9.6
Release:        3%{?dist}
Summary:        SSL server for web-based SSH access from browsers and mobile devices

Group:          Applications/Internet
License:        GPLv2
URL:            http://www-personal.umich.edu/~mressl/webshell/index.html
Source0:        http://web-shell.googlecode.com/files/WebShell-0.9.6.zip
Source1:        README.fedora
Source2:        background.jpg
Patch0:         WebShell-0.9.6-default-paths.p0
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

Requires:       pyOpenSSL
Requires:       openssh-clients
Requires:       openssl

%description
WebShell is a standalone web server and browser application that provide
encrypted shell access through any web browser (https://host:8022). WebShell
includes a touch keyboard for use on mobile devices with a touch screen.


%prep
%setup -q
cp %{SOURCE1} .
%patch0


%build


%install
rm -rf %{buildroot}
install -d          %{buildroot}%{_datadir}/%{name}/www
install -p  -m 0755 make_certificate.sh %{buildroot}%{_datadir}/%{name}
install -p  -m 0644 make_certificate.cfg %{buildroot}%{_datadir}/%{name}
install -p  -m 0644 www/* %{buildroot}%{_datadir}/%{name}/www
install -pD -m 0755 webshell.py %{buildroot}%{_bindir}/webshell
cp -p %{SOURCE2} %{buildroot}%{_datadir}/%{name}/www


%clean
rm -rf %{buildroot}


#
# Disabled for package release 3
# We'll let the user do this -- instructions in README.fedora
#
#%%post
#cd %{_datadir}/%{name}
#./make_certificate.sh



%files
%defattr(-,root,root,-)
%doc README.txt README.fedora
%{_datadir}/%{name}
%{_bindir}/*


%changelog
* Wed Jul 22 2009 Chris Tyler <chris at tylers.info> - 0.9.6-3
- Replaced background image due to potential license issues
- Added README.fedora with setup and usage info
- Disabled post scriptlet per reviewer recommendation

* Wed Jul 22 2009 Chris Tyler <chris at tylers.info> - 0.9.6-2
- Changed envars to macros for consistancy
- Added Requires: openssl for make_certificate.sh

* Fri Jul 10 2009 Chris Tyler <chris at tylers.info> - 0.9.6-1
- Initial RPM release



--- NEW FILE import.log ---
WebShell-0_9_6-3_fc10:F-11:WebShell-0.9.6-3.fc10.src.rpm:1249136844


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/WebShell/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	23 Jul 2009 16:38:29 -0000	1.1
+++ .cvsignore	1 Aug 2009 14:28:02 -0000	1.2
@@ -0,0 +1 @@
+WebShell-0.9.6.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/WebShell/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	23 Jul 2009 16:38:29 -0000	1.1
+++ sources	1 Aug 2009 14:28:02 -0000	1.2
@@ -0,0 +1 @@
+5efa06473bef8dfb2049a15d99b76d8e  WebShell-0.9.6.zip




More information about the fedora-extras-commits mailing list