[3399] | 1 | Name: ftp |
---|
[521] | 2 | Summary: The standard UNIX FTP (File Transfer Protocol) client. |
---|
| 3 | Summary(ja): 標準的な UNIX FTP (ファイル転送プロトコル) クライアント |
---|
| 4 | Version: 0.17 |
---|
[8064] | 5 | Release: 35%{?_dist_release} |
---|
[3399] | 6 | |
---|
[521] | 7 | Group: Applications/Internet |
---|
[3399] | 8 | License: BSD with advertising |
---|
| 9 | URL: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit |
---|
| 10 | |
---|
[521] | 11 | Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/netkit-ftp-%{version}.tar.bz2 |
---|
| 12 | Patch1: netkit-ftp-0.17-pre20000412.pasv-security.patch |
---|
| 13 | Patch2: netkit-ftp-0.17-acct.patch |
---|
| 14 | Patch3: netkit-ftp.usagi-ipv6.patch |
---|
| 15 | Patch4: netkit-ftp-0.17-segv.patch |
---|
| 16 | Patch5: netkit-ftp-0.17-volatile.patch |
---|
| 17 | Patch6: netkit-ftp-0.17-runique_mget.patch |
---|
| 18 | Patch7: netkit-ftp-locale.patch |
---|
| 19 | Patch8: netkit-ftp-0.17-printf.patch |
---|
| 20 | Patch9: netkit-ftp-0.17-longint.patch |
---|
| 21 | Patch10: netkit-ftp-0.17-vsftp165083.patch |
---|
| 22 | Patch11: netkit-ftp-0.17-C-Frame121.patch |
---|
| 23 | Patch12: netkit-ftp-0.17-data.patch |
---|
| 24 | Patch13: netkit-ftp-0.17-multihome.patch |
---|
[3399] | 25 | Patch14: netkit-ftp-0.17-longnames.patch |
---|
| 26 | Patch15: netkit-ftp-0.17-multiipv6.patch |
---|
| 27 | Patch16: netkit-ftp-0.17-nodebug.patch |
---|
| 28 | Patch17: netkit-ftp-0.17-stamp.patch |
---|
| 29 | Patch18: netkit-ftp-0.17-sigseg.patch |
---|
| 30 | Patch19: netkit-ftp-0.17-size.patch |
---|
| 31 | Patch20: netkit-ftp-0.17-fdleak.patch |
---|
| 32 | Patch21: netkit-ftp-0.17-fprintf.patch |
---|
| 33 | Patch22: netkit-ftp-0.17-bitrate.patch |
---|
| 34 | Patch23: netkit-ftp-0.17-arg_max.patch |
---|
| 35 | Patch24: netkit-ftp-0.17-case.patch |
---|
| 36 | Patch25: netkit-ftp-0.17-chkmalloc.patch |
---|
| 37 | Patch26: netkit-ftp-0.17-man.patch |
---|
| 38 | |
---|
[521] | 39 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 40 | BuildRequires: gcc, glibc-devel, readline-devel, ncurses-devel, perl |
---|
| 41 | |
---|
| 42 | %description |
---|
| 43 | The ftp package provides the standard UNIX command-line FTP (File |
---|
| 44 | Transfer Protocol) client. FTP is a widely used protocol for |
---|
| 45 | transferring files over the Internet and for archiving files. |
---|
| 46 | |
---|
| 47 | If your system is on a network, you should install ftp in order to do |
---|
| 48 | file transfers. |
---|
| 49 | |
---|
| 50 | %description -l ja |
---|
| 51 | この ftp パッケージは標準的な UNIX コマンドラインベースの FTP (フ |
---|
| 52 | ァイル転送プロトコル) クライアントです。FTP はインターネット経由で |
---|
| 53 | ファイルを転送したり、ファイルを格納したりするのに広く使われている |
---|
| 54 | プロトコルです。 |
---|
| 55 | |
---|
| 56 | もしあなたのシステムがネットワークに接続されていて、そこにファイ |
---|
| 57 | ルを転送したい場合は、このパッケージをインストールして下さい。 |
---|
| 58 | |
---|
| 59 | %prep |
---|
| 60 | %setup -q -n netkit-ftp-%{version} |
---|
| 61 | %patch1 -p1 |
---|
| 62 | %patch2 -p1 -b .acct |
---|
| 63 | %patch3 -p1 -b .ipv6 |
---|
| 64 | %patch4 -p1 -b .segv |
---|
| 65 | %patch5 -p1 -b .volatile |
---|
| 66 | %patch6 -p1 -b .runique_mget |
---|
| 67 | %patch7 -p1 -b .locale |
---|
| 68 | %patch8 -p1 -b .printf |
---|
| 69 | %patch9 -p1 -b .longint |
---|
| 70 | %patch10 -p1 -b .vsftp165083 |
---|
| 71 | %patch11 -p1 -b .C-Frame121 |
---|
| 72 | %patch12 -p1 -b .data |
---|
| 73 | %patch13 -p1 -b .multihome |
---|
[3399] | 74 | %patch14 -p1 -b .patch |
---|
| 75 | %patch15 -p1 -b .multiipv6 |
---|
| 76 | %patch16 -p1 -b .nodebug |
---|
| 77 | %patch17 -p1 -b .stamp |
---|
| 78 | %patch18 -p1 -b .sigseg |
---|
| 79 | %patch19 -p1 -b .size |
---|
| 80 | %patch20 -p1 -b .fdleak |
---|
| 81 | %patch21 -p1 -b .fprintf |
---|
| 82 | %patch22 -p1 -b .bitrate |
---|
| 83 | %patch23 -p1 -b .arg_max |
---|
| 84 | %patch24 -p1 -b .case |
---|
| 85 | %patch25 -p1 -b .chkmalloc |
---|
| 86 | %patch26 -p1 -b .man |
---|
[521] | 87 | |
---|
| 88 | %build |
---|
| 89 | sh configure --with-c-compiler=gcc --enable-ipv6 |
---|
| 90 | perl -pi -e ' |
---|
| 91 | s,^CC=.*$,CC=cc,; |
---|
| 92 | s,-O2,\$(RPM_OPT_FLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,; |
---|
| 93 | s,^BINDIR=.*$,BINDIR=%{_bindir},; |
---|
| 94 | s,^MANDIR=.*$,MANDIR=%{_mandir},; |
---|
| 95 | s,^SBINDIR=.*$,SBINDIR=%{_sbindir},; |
---|
| 96 | ' MCONFIG |
---|
| 97 | |
---|
| 98 | make %{?_smp_mflags} |
---|
| 99 | |
---|
| 100 | |
---|
| 101 | %install |
---|
| 102 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 103 | mkdir -p ${RPM_BUILD_ROOT}%{_bindir} |
---|
| 104 | mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 |
---|
| 105 | mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man5 |
---|
| 106 | |
---|
| 107 | make INSTALLROOT=${RPM_BUILD_ROOT} install |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | %clean |
---|
| 111 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 112 | |
---|
| 113 | %files |
---|
| 114 | %defattr(-,root,root) |
---|
| 115 | %{_bindir}/ftp |
---|
| 116 | %{_bindir}/pftp |
---|
| 117 | %{_mandir}/man1/ftp.* |
---|
| 118 | %{_mandir}/man1/pftp.* |
---|
| 119 | %{_mandir}/man5/netrc.* |
---|
| 120 | |
---|
[3399] | 121 | %changelog |
---|
[8064] | 122 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.17-35 |
---|
| 123 | - rebuild with VineSeed environment |
---|
| 124 | |
---|
[3399] | 125 | * Sun Apr 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-34 |
---|
| 126 | - rebuilt with current VineSeed |
---|
| 127 | - added Patch14-26 |
---|
| 128 | * Tue Mar 29 2011 Jiri Skala <jskala@redhat.com> - 0.17-53 |
---|
| 129 | - fixes #673850 - ftp(1) manpage fixes |
---|
| 130 | * Mon Dec 01 2008 Jiri Skala <jskala@redhat.com> - 0.17-49 |
---|
| 131 | - Resolves: #473491 unchecked malloc |
---|
| 132 | * Wed Apr 23 2008 Martin Nagy <mnagy@redhat.com> - 0.17-48 |
---|
| 133 | - fix mget when using case |
---|
| 134 | - Resolves: #442712 |
---|
| 135 | * Mon Apr 07 2008 Martin Nagy <mnagy@redhat.com> - 0.17-47 |
---|
| 136 | - Use sysconf to get ARG_MAX instead of a macro (#440782) |
---|
| 137 | * Mon Jan 28 2008 Marcela Maslanova <mmaslano@redhat.com> - 0.17-45 |
---|
| 138 | - changed bitrate from 1e+03 KBytes/sec to 1000 kBytes/sec |
---|
| 139 | - Resolves: rhbz#430457 |
---|
| 140 | * Thu Nov 15 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-44 |
---|
| 141 | - using fprintf instead of printf |
---|
| 142 | * Mon Oct 22 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-43 |
---|
| 143 | - feature: for cmd size is switching to TYPE_I automatized |
---|
| 144 | - bug: ftp leaks socket fds when it fails to open a file (#315241) |
---|
| 145 | - rhbz#306191 |
---|
| 146 | * Tue Aug 07 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-41 |
---|
| 147 | - #251074 add patch from Jan Kratochvil |
---|
| 148 | * Mon Feb 7 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-38 |
---|
| 149 | - rhbz#225774 |
---|
| 150 | * Tue Jan 30 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-35 |
---|
| 151 | - nodebug package |
---|
| 152 | * Wed Aug 2 2006 Marcela Maslanova <mmaslano@redhat.com> - 0.17-32.1.2.4 |
---|
| 153 | - fix (#199145) patch for IPv6 multihome |
---|
| 154 | * Thu Jul 25 2006 Marcela Maslanova <mmaslano@redhat.com> - 0.17-32.1.2.3 |
---|
| 155 | - fix (#196103) patch for long filenames |
---|
[521] | 156 | |
---|
| 157 | * Tue Aug 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-33 |
---|
| 158 | - rebuilt with readline 5.2 |
---|
| 159 | - applied new versioning policy |
---|
| 160 | - spec in UTF-8 |
---|
| 161 | |
---|
| 162 | * Sat Apr 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-32vl1 |
---|
| 163 | - rebuilt with readline 5.1 |
---|
| 164 | - added patches(9-13) from Fedora |
---|
| 165 | * Thu Jan 12 2006 Petr Raszyk <praszyk@redhat.com> - 0.17-32 |
---|
| 166 | - support for multi-homed clients |
---|
| 167 | See #171621, netkit-ftp-0.17-multihome.patch |
---|
| 168 | * Fri Dec 2 2005 Petr Raszyk <praszyk@redhat.com> - 0.17-31 |
---|
| 169 | - ftp does not close socket descriptor (if the remote file |
---|
| 170 | does not exist). |
---|
| 171 | See #174599, netkit-ftp-0.17-data.patch |
---|
| 172 | * Wed Oct 26 2005 Petr Raszyk <praszyk@redhat.com> - 0.17-30 |
---|
| 173 | - The patch netkit-ftp-0.17-C-Frame121.patch adds some |
---|
| 174 | comments/hints for C-Frame 121. It can be removed any time. |
---|
| 175 | * Tue Aug 30 2005 Petr Raszyk <praszyk@redhat.com> - 0.17-28 |
---|
| 176 | - This 'hack' will avoid a bug in ftp-server |
---|
| 177 | ( < vsftpd-2.0.1-5 ). See #165083 (server prints the |
---|
| 178 | '150 FILE:...' line twice). |
---|
| 179 | This patch can be (later ?) removed. |
---|
| 180 | * Mon Aug 22 2005 Petr Raszyk <praszyk@redhat.com> - 0.17-27 |
---|
| 181 | - overflow using 'hash mode' (printing '#' but |
---|
| 182 | not reading data from network - #79367) |
---|
| 183 | |
---|
| 184 | * Sat May 28 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-26vl1 |
---|
| 185 | - added patches from Fedora |
---|
| 186 | * Tue May 24 2005 Miloslav Trmac <mitr@redhat.com> - 0.17-26 |
---|
| 187 | - Fix passive mode with SELinux (#158234, patch by Nalin Dahyabhai) |
---|
| 188 | - Fix format string mismatch |
---|
| 189 | * Wed Dec 15 2004 Tim Waugh <twaugh@redhat.com> |
---|
| 190 | - Call setlocale() so that readline works correctly (bug #142265). |
---|
| 191 | * Tue Dec 7 2004 Thomas Woerner <twoerner@redhat.com> 0.17-23 |
---|
| 192 | - fixed mget with runique (#79367) |
---|
| 193 | * Mon Jun 14 2004 Alan Cox <alan@redhat.com> |
---|
| 194 | - Re-arranged some totally bogus old bezerkly code that could |
---|
| 195 | segfault ftp on connection loss. (BZ #122295) |
---|
| 196 | - added Japanese summary and description from spec translation project |
---|
| 197 | |
---|
| 198 | * Wed Apr 02 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.17-15vl2 |
---|
| 199 | - rebuild with readline-4.3 |
---|
| 200 | |
---|
| 201 | * Wed Dec 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.17-15vl1 |
---|
| 202 | - based on 0.17-15 from Rawhide and built for Vine Linux |
---|
| 203 | |
---|
| 204 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
| 205 | - automated rebuild |
---|
| 206 | |
---|
| 207 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
| 208 | - automated rebuild |
---|
| 209 | |
---|
| 210 | * Fri Apr 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.17-13 |
---|
| 211 | - Recompile with support for files > 2 GB |
---|
| 212 | |
---|
| 213 | * Mon Jun 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.17-12 |
---|
| 214 | - Add some Build dependencies (#45007) |
---|
| 215 | |
---|
| 216 | * Fri May 18 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.17-11 |
---|
| 217 | - Actually apply Patch #3 |
---|
| 218 | |
---|
| 219 | * Fri May 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.17-10 |
---|
| 220 | - Rebuild with new readline |
---|
| 221 | |
---|
| 222 | * Sun Apr 15 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 223 | - Add IPv6 patch (RFE #35642) |
---|
| 224 | |
---|
| 225 | * Wed Apr 4 2001 Jakub Jelinek <jakub@redhat.com> |
---|
| 226 | - don't let configure to guess compiler, it can pick up egcs |
---|
| 227 | |
---|
| 228 | * Sun Jan 21 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 229 | - Update to 0.17 final |
---|
| 230 | - Fix up ACCT support in netrc (Bug #17353) |
---|
| 231 | |
---|
| 232 | * Wed Aug 16 2000 Philipp Knirsch <pknirsch@redhat.com> |
---|
| 233 | - Switched the default transfer protocol from PORT to PASV as proposed on |
---|
| 234 | bugzilla (#16134) |
---|
| 235 | - Fixed a small compiler warning in ftp.c line 886 |
---|
| 236 | |
---|
| 237 | * Fri Jul 14 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 238 | - add netrc man page (#7443). |
---|
| 239 | - fix possible buffer overflows in ftp client. |
---|
| 240 | |
---|
| 241 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
| 242 | - automatic rebuild |
---|
| 243 | |
---|
| 244 | * Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 245 | - FHS packaging. |
---|
| 246 | - update to 0.17-pre20000412. |
---|
| 247 | |
---|
| 248 | * Wed Apr 5 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 249 | - rebuild with current libreadline |
---|
| 250 | |
---|
| 251 | * Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 252 | - 0.17 |
---|
| 253 | |
---|
| 254 | * Fri Feb 4 2000 Bill Nottingham <notting@redhat.com> |
---|
| 255 | - handle compressed man pages |
---|
| 256 | |
---|
| 257 | * Tue Jan 4 2000 Bill Nottingham <notting@redhat.com> |
---|
| 258 | - the ftp client does not require inetd |
---|
| 259 | |
---|
| 260 | * Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 261 | - update to 0.16. |
---|
| 262 | |
---|
| 263 | * Mon Aug 30 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 264 | - update to 0.15. |
---|
| 265 | - enable readline support (#3796). |
---|
| 266 | |
---|
| 267 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 268 | - auto rebuild in the new build environment (release 22) |
---|
| 269 | |
---|
| 270 | * Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 271 | - compile for 6.0. |
---|
| 272 | |
---|
| 273 | * Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 274 | - build root |
---|
| 275 | |
---|
| 276 | * Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
---|
| 277 | - translations modified for de, fr, tr |
---|