Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller
scponly.tst
scponly.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scponly.spec of Package scponly.tst
# # spec file for package scponly (Version 4.6) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: scponly BuildRequires: pwdutils Version: 4.6 Release: 31 License: BSD License and BSD-like Group: Productivity/Networking/SSH BuildRoot: %{_tmppath}/%{name}-%{version}-build URL: http://www.sublimation.org/scponly/ # Source: http://www.sublimation.org/scponly/scponly-%{version}.tgz Source: %{name}-%{version}.tar.bz2 Patch: scponly-4.1_sftp-server.patch Patch1: non-root.diff Summary: "scponly" is an alternative 'shell' (of sorts) %description "scponly" is an alternative 'shell' (of sorts) 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. A typical usage of scponly is in creating a semi-public account not unlike the concept of anonymous login for ftp. This allows an administrator to share files in the same way an anon ftp setup would, only employing all the protection that ssh provides. This is especially significant if you consider that ftp authentications traverse public networks in a plaintext format. Instead of just a single anon user, scponly supports configuring potentially many users, each of which could could be set up to provide access to distinct directory trees. Aside from the installation details (see INSTALL), each of these users would have their default shell in /etc/passwd set to "/usr/local/sbin/scponly" (or wherever you choose to install it). This would mean users with this shell can neither login interactively or execute commands remotely. They can however, scp files in and out, governed by the usual unix file permissions. Authors: -------- Joe Boyle <joe@sublimation.org> %prep %setup %patch %patch1 %build export CFLAGS="%{optflags} -Wno-unused" export scponly_PROG_RSYNC=/usr/bin/rsync export scponly_PROG_SCP=/usr/bin/scp export scponly_PROG_SFTP_SERVER=%{_prefix}/%_lib/ssh/sftp-server export scponly_PROG_SVNSERV=/usr/bin/svnserve export scponly_PROG_SVN=/usr/bin/svn export scponly_PROG_UNISON=/usr/bin/unison %configure \ --enable-chrooted-binary \ --enable-rsync-compat \ --enable-unison-compat \ --enable-restrictive-names \ --enable-wildcards \ --enable-gftp-compat \ --enable-winscp-compat \ --enable-scp-compat \ --enable-svn-compat \ --enable-svnserv-compat \ --enable-passwd-compat %{__make} %install %makeinstall %{__install} -m 0755 setup_chroot.sh \ %{buildroot}%{_sbindir} %{__install} -d -D -m 0755 \ %{buildroot}%{_docdir}/%{name} %{__install} -m 0644 \ BUILDING-JAILS.TXT CHANGELOG README TODO CONTRIB AUTHOR \ %{buildroot}%{_docdir}/%{name} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %dir %{_sysconfdir}/scponly/ %{_sysconfdir}/scponly/debuglevel %{_bindir}/scponly %{_sbindir}/setup_chroot.sh %attr(755,root,root) %{_sbindir}/scponlyc %{_mandir}/man8/scponly.8.gz %doc %{_docdir}/%{name} %changelog * Thu Mar 29 2007 - dmueller@suse.de - add pwdutils BuildRequires * Wed Feb 07 2007 - dmueller@suse.de - build as non-root * Mon Aug 07 2006 - mrueckert@suse.de - update to version 4.6 - added missing semicolon to helper.c - fixes the configure.in script to not define HAVE_OPTRESET, not even to a value of 0 - fixes that hopefully improve the optarg compilation situation - UNISON $HOME environment fix - fixes to setup_chroot.sh/in * Tue Jul 25 2006 - olh@suse.de - remove openssh rsync subversion unison from buildrequires * Mon Jan 23 2006 - mrueckert@suse.de - Update to 4.3 to fix the security bug #140474 - added scponly-4.3_gcc_warnigs.patch to fix all the compiler warnings * Tue Oct 11 2005 - mrueckert@suse.de - Initial package of version 4.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor