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