/[smeserver]/rpms/rssh/sme7/rssh.spec
ViewVC logotype

Contents of /rpms/rssh/sme7/rssh.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Thu Nov 18 20:35:59 2010 UTC (13 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: rssh-2_3_3-2_el4_sme, HEAD
Changes since 1.2: +12 -27 lines
Update based on rpmforge 2.3.3 (currently in use)

1 # $Id: rssh.spec 9047 2010-08-09 08:22:42Z yury $
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.3
9 Release: 2%{?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.3-rsync-protocol.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 %prep
29 %setup
30 %patch0 -p1
31
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
36 %configure
37 %{__make} %{?_smp_mflags}
38
39 %install
40 %{__rm} -rf %{buildroot}
41 %{__make} install DESTDIR="%{buildroot}"
42
43 %clean
44 %{__rm} -rf %{buildroot}
45
46 %files
47 %defattr(-, root, root, 0755)
48 %doc AUTHORS ChangeLog CHROOT COPYING NEWS README SECURITY TODO
49 %doc %{_mandir}/man1/rssh.1*
50 %doc %{_mandir}/man5/rssh.conf.5*
51 %config(noreplace) %{_sysconfdir}/rssh.conf
52 %{_bindir}/rssh
53 %attr(4755, root, root) %{_libexecdir}/rssh_chroot_helper
54
55 %changelog
56 * Thu Nov 18 2010 Shad L. Lords <slords@mail.com> 2.3.2-1.3.sme
57 - Apply patch so rsync v3.0+ work (need -e parameter)
58 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471803
59
60 * Mon Aug 09 2010 Yury V. Zaytsev <yury@shurup.com> - 2.3.3-1 - 9047/yury
61 - Updated to release 2.3.3.
62 - Thanks to Nico Kadel-Garcia <nkadel@gmail.com>!
63
64 * Tue Mar 07 2006 Dag Wieers <dag@wieers.com> - 2.3.2-1
65 - Updated to release 2.3.2.
66
67 * Thu Jan 27 2005 Dag Wieers <dag@wieers.com> - 2.2.3-1
68 - Updated to release 2.2.3.
69
70 * Mon Jun 28 2004 Dag Wieers <dag@wieers.com> - 2.2.1-2
71 - Fixed ownership of rssh_chroot_helper, defattr is ignored. (Robin Green)
72
73 * Thu Jun 24 2004 Dag Wieers <dag@wieers.com> - 2.2.1-1
74 - Updated to release 2.2.1.
75
76 * Mon Jul 21 2003 Dag Wieers <dag@wieers.com> - 2.1.1-0
77 - Updated to release 2.1.1.
78
79 * Thu Jul 10 2003 Dag Wieers <dag@wieers.com> - 2.1.0-0
80 - Updated to release 2.1.0.
81
82 * Sat Jun 07 2003 Dag Wieers <dag@wieers.com> - 2.0.3-0
83 - Initial package. (using DAR)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed