1 |
# $Id: rssh.spec,v 1.1 2007/06/12 17:19:16 slords Exp $ |
# $Id: rssh.spec 9047 2010-08-09 08:22:42Z yury $ |
2 |
# Authority: dag |
# Authority: dag |
3 |
# Upstream: Derek Martin <code$pizzashack,org> |
# Upstream: Derek Martin <code$pizzashack,org> |
4 |
# Upstream: <rssh-discuss$lists,sf,net> |
# Upstream: <rssh-discuss$lists,sf,net> |
5 |
|
|
6 |
Summary: Restricted shell for use with OpenSSH, allowing only scp and/or sftp |
Summary: Restricted shell for use with OpenSSH, allowing only scp and/or sftp |
7 |
Name: rssh |
Name: rssh |
8 |
Version: 2.3.2 |
Version: 2.3.3 |
9 |
Release: 1.3%{?dist} |
Release: 2%{?dist} |
10 |
License: BSD |
License: BSD |
11 |
Group: Applications/Internet |
Group: Applications/Internet |
12 |
URL: http://www.pizzashack.org/rssh/ |
URL: http://www.pizzashack.org/rssh/ |
13 |
|
|
14 |
|
|
15 |
Source: http://dl.sf.net/rssh/rssh-%{version}.tar.gz |
Source: http://dl.sf.net/rssh/rssh-%{version}.tar.gz |
16 |
Patch0: rssh-2.3.2-QuietDeny.patch |
Patch0: rssh-2.3.3-rsync-protocol.patch |
|
Patch1: rssh-2.3.2-rsync-protocol.patch |
|
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
18 |
|
|
19 |
BuildRequires: openssh-server, openssh-clients |
BuildRequires: openssh-server, openssh-clients |
25 |
to allow users to copy files off of via scp, without providing shell |
to allow users to copy files off of via scp, without providing shell |
26 |
access, you can use rssh to do that. |
access, you can use rssh to do that. |
27 |
|
|
|
%package chroot-helper |
|
|
Summary: rssh chroot helper program |
|
|
Group: System Environment/Shells |
|
|
|
|
|
%description chroot-helper |
|
|
|
|
28 |
%prep |
%prep |
29 |
%setup |
%setup |
30 |
%patch0 -p1 |
%patch0 -p1 |
31 |
%patch1 -p1 |
|
32 |
|
# Temporary fix for non-root compilation (submitted upstream) |
33 |
|
sed -i 's|chmod u+s $(libexecdir)/rssh_chroot_helper|chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper|g' Makefile.in |
34 |
|
|
35 |
%build |
%build |
36 |
%configure |
%configure |
38 |
|
|
39 |
%install |
%install |
40 |
%{__rm} -rf %{buildroot} |
%{__rm} -rf %{buildroot} |
41 |
%makeinstall |
%{__make} install DESTDIR="%{buildroot}" |
42 |
|
|
43 |
%clean |
%clean |
44 |
%{__rm} -rf %{buildroot} |
%{__rm} -rf %{buildroot} |
50 |
%doc %{_mandir}/man5/rssh.conf.5* |
%doc %{_mandir}/man5/rssh.conf.5* |
51 |
%config(noreplace) %{_sysconfdir}/rssh.conf |
%config(noreplace) %{_sysconfdir}/rssh.conf |
52 |
%{_bindir}/rssh |
%{_bindir}/rssh |
|
|
|
|
%files chroot-helper |
|
53 |
%attr(4755, root, root) %{_libexecdir}/rssh_chroot_helper |
%attr(4755, root, root) %{_libexecdir}/rssh_chroot_helper |
54 |
|
|
55 |
%changelog |
%changelog |
57 |
- Apply patch so rsync v3.0+ work (need -e parameter) |
- Apply patch so rsync v3.0+ work (need -e parameter) |
58 |
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471803 |
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471803 |
59 |
|
|
60 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Mon Aug 09 2010 Yury V. Zaytsev <yury@shurup.com> - 2.3.3-1 - 9047/yury |
61 |
- Clean up spec so package can be built by koji/plague |
- Updated to release 2.3.3. |
62 |
|
- Thanks to Nico Kadel-Garcia <nkadel@gmail.com>! |
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
|
|
- Update to new release naming. No functional changes. |
|
|
- Make Packager generic |
|
|
|
|
|
* Thu Nov 16 2006 Shad L. Lords <slords@mail.com> 2.3.2-1.2sme01 |
|
|
- Apply silent deny patch [SME:718] |
|
|
- Raised on SF: http://sourceforge.net/tracker/index.php?func=detail&aid=1429363&group_id=65349&atid=510641 |
|
|
- Split rssh_chroot_helper into separate package |
|
63 |
|
|
64 |
* Tue Mar 07 2006 Dag Wieers <dag@wieers.com> - 2.3.2-1 - 4140/dag |
* Tue Mar 07 2006 Dag Wieers <dag@wieers.com> - 2.3.2-1 |
65 |
- Updated to release 2.3.2. |
- Updated to release 2.3.2. |
66 |
|
|
67 |
* Thu Jan 27 2005 Dag Wieers <dag@wieers.com> - 2.2.3-1 |
* Thu Jan 27 2005 Dag Wieers <dag@wieers.com> - 2.2.3-1 |