]>
Commit | Line | Data |
---|---|---|
4f5b8d06 | 1 | Summary: sftp: a ftp-replacement over an rsh/ssh tunnel |
27d2616e | 2 | Summary(pl.UTF-8): Zamiennik ftp działający poprzez tunel rsh/ssh |
4f5b8d06 | 3 | Name: sftp |
b077dcac | 4 | Version: 0.9.9 |
1fc0ba32 | 5 | Release: 8 |
4f5b8d06 | 6 | License: GPL |
e23b04f7 | 7 | Group: Applications/Networking |
d5c7e9f1 | 8 | Source0: http://www.xbill.org/sftp/download/old/%{name}-%{version}.tar.gz |
cde72f75 | 9 | # Source0-md5: 9880c86ed928997da069bdb108bf4ad9 |
887ab6bb | 10 | Patch0: %{name}-DESTDIR.patch |
38b9ca84 | 11 | Patch1: %{name}-open.patch |
1fc0ba32 | 12 | Patch2: format-security.patch |
e528ddc1 | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
690b522c | 15 | BuildRequires: readline-devel >= 4.1 |
604508f7 | 16 | BuildRequires: ncurses-devel >= 5.2 |
4f5b8d06 | 17 | URL: http://www.xbill.org/sftp/ |
51dc8425 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
82364cef | 19 | |
20 | %description | |
887ab6bb | 21 | sftp is an ftp replacement that runs over an ssh tunnel. Two programs |
22 | are included - sftp and sftpserv. When sftp is run and a host is | |
23 | connected to (either by running 'sftp remotehost' or 'open remotehost' | |
24 | from the sftp prompt), an ssh connection is initiated to the remote | |
328200ad | 25 | host, and sftpserv is run. From within sftp, all of the normal FTP |
887ab6bb | 26 | commands are present: open, close, get, put, pwd, cd, ls, lcd, quit, |
27 | etc. There's also exec, which runs a program on the remote end. | |
82364cef | 28 | |
26e839dd JR |
29 | %description -l pl.UTF-8 |
30 | sftp jest zamiennikiem ftp działającym poprzez tunel ssh. Dołączone są | |
604508f7 AM |
31 | dwa programy - sftp i sftpserv. |
32 | ||
82364cef | 33 | %prep |
4f5b8d06 | 34 | %setup -q |
35 | %patch0 -p1 | |
38b9ca84 | 36 | %patch1 -p1 |
1fc0ba32 | 37 | %patch2 -p1 |
82364cef | 38 | |
39 | %build | |
37bdeabd | 40 | %{__aclocal} |
47f3abae | 41 | %{__autoconf} |
4f5b8d06 | 42 | %configure |
d403c908 | 43 | %{__make} |
82364cef | 44 | |
45 | %install | |
e23b04f7 | 46 | rm -rf $RPM_BUILD_ROOT |
82364cef | 47 | |
604508f7 AM |
48 | %{__make} install \ |
49 | DESTDIR=$RPM_BUILD_ROOT | |
4f5b8d06 | 50 | |
88c8b73c | 51 | mv $RPM_BUILD_ROOT%{_bindir}/sftp \ |
577ea078 | 52 | $RPM_BUILD_ROOT%{_bindir}/sftpc |
88c8b73c | 53 | mv $RPM_BUILD_ROOT%{_mandir}/man1/sftp.1 \ |
577ea078 | 54 | $RPM_BUILD_ROOT%{_mandir}/man1/sftpc.1 |
82364cef | 55 | |
56 | %clean | |
3ed8be83 | 57 | rm -rf $RPM_BUILD_ROOT |
82364cef | 58 | |
4f5b8d06 | 59 | %files |
60 | %defattr(644,root,root,755) | |
1dd5bc3e | 61 | %doc README Changelog |
4f5b8d06 | 62 | %attr(755,root,root) %{_bindir}/* |
604508f7 | 63 | %{_mandir}/man?/* |