Summary: Limited shell for secure file transfers
Name: scponly
Version: 4.6
Release: 2.js
License: GPL
Group: System Environment/Shells
URL: http://sublimation.org/scponly/
Packager: Justin Samuel
Vendor: Justin Samuel Repository, http://www.justinsamuel.com/
Source: http://sublimation.org/scponly/scponly-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: openssh >= 3.4, perl, openssh-server, openssh-clients
%description
scponly is an alternative 'shell' for system administrators
who would like to provide access to remote users to both
read and write local files without providing any remote
execution priviledges. Functionally, it is best described
as a wrapper to the "tried and true" ssh suite of applications.
%prep
%setup
### FIXME: Remove ownership changes from Makefile
%{__perl} -pi.orig -e 's|-o 0 -g 0||g' Makefile*
%build
%configure --enable-chrooted-binary --enable-scp-compat --enable-winscp-compat
%{__make} %{?_smp_mflags} OPTS="%{optflags}"
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc AUTHOR CHANGELOG CONTRIB COPYING INSTALL README TODO
%doc setup_chroot.sh build_extras/setup_chroot.sh*
%doc %{_mandir}/man8/scponly.8*
%config(noreplace) %{_sysconfdir}/scponly/
%{_bindir}/scponly
%{_sbindir}/scponlyc
%changelog
* Tue Mar 14 2006 Justin Samuel 4.6-2.js
- enabled chrooted binary
- enabled scp and winscp compatibility
* Thu Mar 09 2006 Dag Wieers - 4.6-2 - 4099+/thias
- Use make install and added %%{_sysconfdir}/scponly/debuglevel.
- Added setup_chroot helper scripts as documentation.
* Tue Feb 21 2006 Matthias Saou 4.6-1
- Update to 4.6.
* Tue May 10 2005 Dag Wieers - 4.1-1
- Updated to release 4.1.
* Thu Mar 03 2005 Dag Wieers - 4.0-1
- Initial package. (using DAR)