1 |
# $Id: rssh.spec 4140 2006-03-08 20:31:33Z dag $ |
2 |
# Authority: dag |
3 |
# Upstream: Derek Martin <code$pizzashack,org> |
4 |
# Upstream: <rssh-discuss$lists,sf,net> |
5 |
|
6 |
Summary: Restricted shell for use with OpenSSH, allowing only scp and/or sftp |
7 |
Name: rssh |
8 |
Version: 2.3.2 |
9 |
Release: 1.2.0%{?dist} |
10 |
License: BSD |
11 |
Group: Applications/Internet |
12 |
URL: http://www.pizzashack.org/rssh/ |
13 |
|
14 |
|
15 |
Source: http://dl.sf.net/rssh/rssh-%{version}.tar.gz |
16 |
Patch0: rssh-2.3.2-QuietDeny.patch |
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
18 |
|
19 |
BuildRequires: openssh-server, openssh-clients |
20 |
Requires: openssh-server |
21 |
|
22 |
%description |
23 |
rssh is a restricted shell for use with OpenSSH, allowing only scp |
24 |
and/or sftp. For example, if you have a server which you only want |
25 |
to allow users to copy files off of via scp, without providing shell |
26 |
access, you can use rssh to do that. |
27 |
|
28 |
%package chroot-helper |
29 |
Summary: rssh chroot helper program |
30 |
Group: System Environment/Shells |
31 |
|
32 |
%description chroot-helper |
33 |
|
34 |
%prep |
35 |
%setup |
36 |
%patch0 -p1 |
37 |
|
38 |
%build |
39 |
%configure |
40 |
%{__make} %{?_smp_mflags} |
41 |
|
42 |
%install |
43 |
%{__rm} -rf %{buildroot} |
44 |
%makeinstall |
45 |
|
46 |
%clean |
47 |
%{__rm} -rf %{buildroot} |
48 |
|
49 |
%files |
50 |
%defattr(-, root, root, 0755) |
51 |
%doc AUTHORS ChangeLog CHROOT COPYING NEWS README SECURITY TODO |
52 |
%doc %{_mandir}/man1/rssh.1* |
53 |
%doc %{_mandir}/man5/rssh.conf.5* |
54 |
%config(noreplace) %{_sysconfdir}/rssh.conf |
55 |
%{_bindir}/rssh |
56 |
|
57 |
%files chroot-helper |
58 |
%attr(4755, root, root) %{_libexecdir}/rssh_chroot_helper |
59 |
|
60 |
%changelog |
61 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
62 |
- Clean up spec so package can be built by koji/plague |
63 |
|
64 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
65 |
- Update to new release naming. No functional changes. |
66 |
- Make Packager generic |
67 |
|
68 |
* Thu Nov 16 2006 Shad L. Lords <slords@mail.com> 2.3.2-1.2sme01 |
69 |
- Apply silent deny patch [SME:718] |
70 |
- Raised on SF: http://sourceforge.net/tracker/index.php?func=detail&aid=1429363&group_id=65349&atid=510641 |
71 |
- Split rssh_chroot_helper into separate package |
72 |
|
73 |
* Tue Mar 07 2006 Dag Wieers <dag@wieers.com> - 2.3.2-1 - 4140/dag |
74 |
- Updated to release 2.3.2. |
75 |
|
76 |
* Thu Jan 27 2005 Dag Wieers <dag@wieers.com> - 2.2.3-1 |
77 |
- Updated to release 2.2.3. |
78 |
|
79 |
* Mon Jun 28 2004 Dag Wieers <dag@wieers.com> - 2.2.1-2 |
80 |
- Fixed ownership of rssh_chroot_helper, defattr is ignored. (Robin Green) |
81 |
|
82 |
* Thu Jun 24 2004 Dag Wieers <dag@wieers.com> - 2.2.1-1 |
83 |
- Updated to release 2.2.1. |
84 |
|
85 |
* Mon Jul 21 2003 Dag Wieers <dag@wieers.com> - 2.1.1-0 |
86 |
- Updated to release 2.1.1. |
87 |
|
88 |
* Thu Jul 10 2003 Dag Wieers <dag@wieers.com> - 2.1.0-0 |
89 |
- Updated to release 2.1.0. |
90 |
|
91 |
* Sat Jun 07 2003 Dag Wieers <dag@wieers.com> - 2.0.3-0 |
92 |
- Initial package. (using DAR) |