source: projects/specs/trunk/f/ftp/ftp-vl.spec @ 8064

Revision 8064, 9.5 KB checked in by Takemikaduchi, 10 years ago (diff)

freetype2: fix pkgconfig
xserver: update to 1.14.5
others: new upstream release or rebuild

Line 
1Name: ftp
2Summary: The standard UNIX FTP (File Transfer Protocol) client.
3Summary(ja): 標準的な UNIX FTP (ファイル転送プロトコル) クライアント
4Version: 0.17
5Release: 35%{?_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* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.17-35
123- rebuild with VineSeed environment
124
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
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
Note: See TracBrowser for help on using the repository browser.