|
@@ -1,14 +1,16 @@
|
|
|
|
+%bcond_with readline
|
|
|
|
+
|
|
Name: ftp
|
|
Name: ftp
|
|
|
|
+Version: 0.17
|
|
|
|
+Release: 36%{?_dist_release}
|
|
Summary: The standard UNIX FTP (File Transfer Protocol) client.
|
|
Summary: The standard UNIX FTP (File Transfer Protocol) client.
|
|
Summary(ja): 標準的な UNIX FTP (ファイル転送プロトコル) クライアント
|
|
Summary(ja): 標準的な UNIX FTP (ファイル転送プロトコル) クライアント
|
|
-Version: 0.17
|
|
|
|
-Release: 35%{?_dist_release}
|
|
|
|
|
|
|
|
Group: Applications/Internet
|
|
Group: Applications/Internet
|
|
License: BSD with advertising
|
|
License: BSD with advertising
|
|
URL: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit
|
|
URL: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit
|
|
|
|
|
|
-Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/netkit-ftp-%{version}.tar.bz2
|
|
|
|
|
|
+Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-ftp-%{version}.tar.bz2
|
|
Patch1: netkit-ftp-0.17-pre20000412.pasv-security.patch
|
|
Patch1: netkit-ftp-0.17-pre20000412.pasv-security.patch
|
|
Patch2: netkit-ftp-0.17-acct.patch
|
|
Patch2: netkit-ftp-0.17-acct.patch
|
|
Patch3: netkit-ftp.usagi-ipv6.patch
|
|
Patch3: netkit-ftp.usagi-ipv6.patch
|
|
@@ -35,9 +37,21 @@ Patch23: netkit-ftp-0.17-arg_max.patch
|
|
Patch24: netkit-ftp-0.17-case.patch
|
|
Patch24: netkit-ftp-0.17-case.patch
|
|
Patch25: netkit-ftp-0.17-chkmalloc.patch
|
|
Patch25: netkit-ftp-0.17-chkmalloc.patch
|
|
Patch26: netkit-ftp-0.17-man.patch
|
|
Patch26: netkit-ftp-0.17-man.patch
|
|
|
|
+Patch27: netkit-ftp-0.17-acct_ovl.patch
|
|
|
|
+Patch28: netkit-ftp-0.17-remove-nested-include.patch
|
|
|
|
+Patch29: netkit-ftp-0.17-linelen.patch
|
|
|
|
+Patch30: netkit-ftp-0.17-active-mode-option.patch
|
|
|
|
+Patch31: netkit-ftp-0.17-commands-leaks.patch
|
|
|
|
+Patch32: netkit-ftp-0.17-lsn-timeout.patch
|
|
|
|
+Patch33: netkit-ftp-0.17-getlogin.patch
|
|
|
|
+Patch34: netkit-ftp-0.17-token.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: gcc, glibc-devel, readline-devel, ncurses-devel, perl
|
|
|
|
|
|
+BuildRequires: glibc-devel
|
|
|
|
+BuildRequires: ncurses-devel
|
|
|
|
+%if %{with readline}
|
|
|
|
+BuildRequires: readline-devel
|
|
|
|
+%endif
|
|
|
|
|
|
%description
|
|
%description
|
|
The ftp package provides the standard UNIX command-line FTP (File
|
|
The ftp package provides the standard UNIX command-line FTP (File
|
|
@@ -84,9 +98,24 @@ file transfers.
|
|
%patch24 -p1 -b .case
|
|
%patch24 -p1 -b .case
|
|
%patch25 -p1 -b .chkmalloc
|
|
%patch25 -p1 -b .chkmalloc
|
|
%patch26 -p1 -b .man
|
|
%patch26 -p1 -b .man
|
|
|
|
+%patch27 -p1 -b .acct_ovl
|
|
|
|
+%patch28 -p1
|
|
|
|
+%patch29 -p1 -b .linelen
|
|
|
|
+%patch30 -p1 -b .activemode
|
|
|
|
+%patch31 -p1 -b .cmds-leaks
|
|
|
|
+%patch32 -p1 -b .lsn-timeout
|
|
|
|
+%patch33 -p1 -b .getlogin
|
|
|
|
+%patch34 -p1 -b .token
|
|
|
|
|
|
%build
|
|
%build
|
|
-sh configure --with-c-compiler=gcc --enable-ipv6
|
|
|
|
|
|
+./configure \
|
|
|
|
+ --with-c-compiler=gcc \
|
|
|
|
+ --enable-ipv6 \
|
|
|
|
+%if %{without readline}
|
|
|
|
+ --without-readline \
|
|
|
|
+%endif
|
|
|
|
+ ;
|
|
|
|
+
|
|
perl -pi -e '
|
|
perl -pi -e '
|
|
s,^CC=.*$,CC=cc,;
|
|
s,^CC=.*$,CC=cc,;
|
|
s,-O2,\$(RPM_OPT_FLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,;
|
|
s,-O2,\$(RPM_OPT_FLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,;
|
|
@@ -119,6 +148,31 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
%{_mandir}/man5/netrc.*
|
|
%{_mandir}/man5/netrc.*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Mar 22 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.17-36
|
|
|
|
+- built without readline to avoid GPL infection
|
|
|
|
+- added Patch27-34 from Fedora
|
|
|
|
+ * Tue Oct 30 2012 Jan Synáček <jsynacek@redhat.com> - 0.17-63
|
|
|
|
+ - Fix buffer overflow in token parsing
|
|
|
|
+ - Resolves: #871296
|
|
|
|
+ * Tue Oct 30 2012 Jan Synáček <jsynacek@redhat.com> - 0.17-62
|
|
|
|
+ - Fix linelen patch
|
|
|
|
+ - Resolves: #871290
|
|
|
|
+ * Wed Oct 03 2012 Jan Synáček <jsynacek@redhat.com> - 0.17-61
|
|
|
|
+ - Fix: FTP client does not expand home directory correctly after sudo or su
|
|
|
|
+ - Resolves: #861113
|
|
|
|
+ * Tue Sep 25 2012 Jan Synáček <jsynacek@redhat.com> - 0.17-60
|
|
|
|
+ - Plug leaks in "put", "send", "append"
|
|
|
|
+ - Add listening timeout
|
|
|
|
+ * Tue Aug 28 2012 Jan Synáček <jsynacek@redhat.com> - 0.17-59
|
|
|
|
+ - Add active mode option
|
|
|
|
+ * Fri Aug 03 2012 Jan Synáček <jsynacek@redhat.com> - 0.17-58
|
|
|
|
+ - Extend the input line buffer and the argument storage buffer
|
|
|
|
+ - Prettify spec some more and remove trailing space
|
|
|
|
+ * Fri Jul 20 2012 Jan Synáček <jsynacek@redhat.com> - 0.17-57
|
|
|
|
+ - Remove nested include (fix compilation in rawhide)
|
|
|
|
+ * Fri Sep 09 2011 Jiri Skala <jskala@redhat.com> - 0.17-54
|
|
|
|
+ - fixes #737016 - ftp: off-by-one in account command parsing
|
|
|
|
+
|
|
* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.17-35
|
|
* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.17-35
|
|
- rebuild with VineSeed environment
|
|
- rebuild with VineSeed environment
|
|
|
|
|