source: projects/specs/branches/6/f/ftp/ftp-vl.spec @ 3399

Revision 3399, 9.4 KB checked in by inagaki, 13 years ago (diff)

update: ftp, rsh, time, telnet

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