Package lftp: Specfile

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
Name: lftp
Version: 4.9.2
Release: alt1

Summary: Sophisticated command line file transfer program
License: GPLv3+
Group: Networking/File transfer
Url: http://lftp.yar.ru/

# ftp://ftp.yars.free.net/pub/source/lftp/lftp-%version.tar.xz
Source: lftp-%version.tar

# http://git.altlinux.org/gears/l/lftp.git
Patch: lftp-%version-%release.patch

# Due to default pager.
Requires: less

# Automatically added by buildreq on Thu Jan 02 2003
BuildRequires: gcc-c++ libexpat-devel libncurses-devel libreadline-devel libssl-devel zlib-devel

%description
lftp is sophisticated file transfer program with command-line
interface.  It supports the FTP, HTTP, HTTPS, SFTP, FISH, and
BitTorrent protocols, advanced and obscure features of the protocols,
proxy servers, automatic retries on non-fatal errors and timeouts,
continuation of interrupted file transfers, mirroring, transfer rate
throttling, multiple connections and background jobs, shell-like
command syntax and comprehensive scripting, command-line editing
(via the GNU Readline library), context-sensitive command completion,
command history, and a lot more.

%prep
%setup
%patch -p1
sed -i 's/curses\.h term\.h/term\.h curses\.h/' m4/terminfo.m4
xz -9k NEWS src/ChangeLog

%build
%def_with openssl
%def_with modules
export CXX=%__cxx
%autoreconf
%configure \
	%{subst_with openssl} \
	%{subst_with modules} \
	--with-pager='exec less' \
	--enable-packager-mode \
	#
%make_build

%install
%makeinstall_std MKDIR_P='mkdir -p'
%{?_with_modules:find %buildroot%_libdir/lftp/ -type f -name \*.la -delete}

%find_lang %name
%set_verify_elf_method strict,rpath=normal
%add_findreq_skiplist %_datadir/lftp/convert-mozilla-cookies
%add_findreq_skiplist %_datadir/lftp/verify-file
%define _unpackaged_files_terminate_build 1

%files -f %name.lang
%config(noreplace) %_sysconfdir/lftp.conf
%_bindir/*
%_libdir/liblftp*.so*
%{?_with_modules:%_libdir/lftp}
%_datadir/lftp
%_mandir/man?/*
%doc src/ChangeLog.xz F* MIRRORS NEWS.xz
%doc AUTHORS README.* THANKS TODO BUGS

%changelog
* Thu Aug 13 2020 Dmitry V. Levin <ldv@altlinux.org> 4.9.2-alt1
- 4.8.4 -> 4.9.2.
- Dropped desktop file (closes: #31157).

* Wed Aug 01 2018 Dmitry V. Levin <ldv@altlinux.org> 4.8.4-alt1
- 4.8.3 -> 4.8.4.

* Tue Jan 23 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 4.8.3-alt1
- Updated to upstream version 4.8.3.

* Mon Jan 18 2016 Dmitry V. Levin <ldv@altlinux.org> 4.6.5-alt1
- 4.6.4 -> 4.6.5.

* Thu Aug 20 2015 Dmitry V. Levin <ldv@altlinux.org> 4.6.4-alt1
- Updated to 4.6.4.

* Thu Nov 13 2014 Dmitry V. Levin <ldv@altlinux.org> 4.6.0-alt1
- Updated to 4.6.0.

* Sun Feb 16 2014 Dmitry V. Levin <ldv@altlinux.org> 4.4.15-alt1
- Updated to 4.4.15.

* Wed Dec 25 2013 Dmitry V. Levin <ldv@altlinux.org> 4.4.14-alt1
- Updated to 4.4.14.

* Fri Nov 22 2013 Dmitry V. Levin <ldv@altlinux.org> 4.4.11-alt1
- Updated to 4.4.11.

* Wed Oct 16 2013 Dmitry V. Levin <ldv@altlinux.org> 4.4.10-alt1
- Updated to 4.4.10.

* Wed Sep 18 2013 Dmitry V. Levin <ldv@altlinux.org> 4.4.9-alt1
- Updated to 4.4.9.

* Mon Jun 03 2013 Dmitry V. Levin <ldv@altlinux.org> 4.4.8-alt1
- Updated to 4.4.8.

* Mon Apr 08 2013 Dmitry V. Levin <ldv@altlinux.org> 4.4.5-alt1
- Updated to 4.4.5.

* Mon Mar 04 2013 Dmitry V. Levin <ldv@altlinux.org> 4.4.4-alt1
- Updated to 4.4.4.

* Wed Oct 03 2012 Dmitry V. Levin <ldv@altlinux.org> 4.4.0-alt1
- Updated to 4.4.0.

* Fri Aug 31 2012 Dmitry V. Levin <ldv@altlinux.org> 4.3.8-alt1
- Updated to 4.3.8.

* Mon May 21 2012 Dmitry V. Levin <ldv@altlinux.org> 4.3.6-alt2
- Fixed build with ld --no-copy-dt-needed-entries.

* Mon Apr 09 2012 Dmitry V. Levin <ldv@altlinux.org> 4.3.6-alt1
- Updated to 4.3.6.

* Wed Jan 25 2012 Dmitry V. Levin <ldv@altlinux.org> 4.3.5-alt1
- Updated to 4.3.5.

* Thu Jan 12 2012 Dmitry V. Levin <ldv@altlinux.org> 4.3.4-alt1
- Updated to 4.3.4.

* Sun Nov 06 2011 Dmitry V. Levin <ldv@altlinux.org> 4.3.3-alt1
- Updated to 4.3.3.

* Thu Sep 29 2011 Dmitry V. Levin <ldv@altlinux.org> 4.3.2-alt1
- Updated to 4.3.2.

* Fri Aug 19 2011 Dmitry V. Levin <ldv@altlinux.org> 4.3.1-alt1
- Updated to 4.3.1.

* Fri Apr 29 2011 Dmitry V. Levin <ldv@altlinux.org> 4.2.3-alt1
- Updated to 4.2.3.

* Tue Apr 05 2011 Dmitry V. Levin <ldv@altlinux.org> 4.2.1-alt1
- Updated to 4.2.1.

* Tue Apr 05 2011 Igor Vlasenko <viy@altlinux.ru> 4.1.1-alt1.1
- NMU: converted debian menu to freedesktop

* Fri Dec 03 2010 Dmitry V. Levin <ldv@altlinux.org> 4.1.1-alt1
- Updated to 4.1.1.

* Fri Oct 01 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.10-alt2
- Rebuilt with libssl.so.10.

* Fri Sep 03 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.10-alt1
- Updated to 4.0.10.

* Thu Jul 29 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.9-alt1
- Updated to 4.0.9.

* Thu May 20 2010 Dmitry V. Levin <ldv@altlinux.org> 4.0.7-alt1
- Updated to 4.0.7.

* Tue Jun 02 2009 Dmitry V. Levin <ldv@altlinux.org> 3.7.14-alt1
- Updated to 3.7.14 (closes: #17901).

* Wed Dec 03 2008 Dmitry V. Levin <ldv@altlinux.org> 3.7.6-alt1
- Updated to 3.7.6.

* Wed Sep 10 2008 Dmitry V. Levin <ldv@altlinux.org> 3.7.4-alt1
- Updated to 3.7.4.

* Tue Mar 25 2008 Dmitry V. Levin <ldv@altlinux.org> 3.7.0-alt1
- Updated to 3.7.0.

* Sun Jan 27 2008 Dmitry V. Levin <ldv@altlinux.org> 3.6.2-alt1
- Updated to 3.6.2.

* Tue Sep 25 2007 Dmitry V. Levin <ldv@altlinux.org> 3.5.14-alt1
- Updated to 3.5.14.

* Mon Sep 24 2007 Dmitry V. Levin <ldv@altlinux.org> 3.5.10-alt2
- Changed back permissions of convert-netscape-cookies and
  verify-file plugins (#11512), but disabled requirements lookup
  for them.
- Added "cd.." alias (#11564).

* Fri Mar 30 2007 Dmitry V. Levin <ldv@altlinux.org> 3.5.10-alt1
- Updated to 3.5.10.

* Sun Mar 25 2007 Dmitry V. Levin <ldv@altlinux.org> 3.5.9-alt1
- Updated to 3.5.9.
- Relocated icons to new location.

* Fri Apr 14 2006 Dmitry V. Levin <ldv@altlinux.org> 3.4.4-alt1
- Updated to 3.4.4.
- Relocated pseudo libraries to plugin directory.

* Fri Dec 30 2005 Dmitry V. Levin <ldv@altlinux.org> 3.3.5-alt1
- Updated to 3.3.5.

* Tue Sep 27 2005 Dmitry V. Levin <ldv@altlinux.org> 3.3.0-alt1
- Updated to 3.3.0.
- Fixed tinfo support (closes #8056).

* Thu May 26 2005 Dmitry V. Levin <ldv@altlinux.org> 3.2.1-alt1
- Updated to 3.2.1.

* Tue Apr 26 2005 Dmitry V. Levin <ldv@altlinux.org> 3.1.3-alt1
- Updated to 3.1.3.

* Tue Apr 05 2005 Dmitry V. Levin <ldv@altlinux.org> 3.1.2-alt1
- Updated to 3.1.2.

* Thu Mar 24 2005 Dmitry V. Levin <ldv@altlinux.org> 3.1.1-alt1
- Updated to 3.1.1.

* Wed Mar 02 2005 Dmitry V. Levin <ldv@altlinux.org> 3.1.0-alt1
- Updated to 3.1.0.

* Thu Dec 23 2004 Dmitry V. Levin <ldv@altlinux.org> 3.0.13-alt1
- Updated to 3.0.13.

* Tue Dec 07 2004 Dmitry V. Levin <ldv@altlinux.org> 3.0.12-alt1
- Updated to 3.0.12.

* Fri Nov 05 2004 Dmitry V. Levin <ldv@altlinux.org> 3.0.11-alt1
- Updated to 3.0.11.

* Wed Sep 22 2004 Dmitry V. Levin <ldv@altlinux.org> 3.0.9-alt1
- Updated to 3.0.9.

* Fri Aug 13 2004 Dmitry V. Levin <ldv@altlinux.org> 3.0.7-alt1
- Updated to 3.0.7.

* Mon Jun 14 2004 Dmitry V. Levin <ldv@altlinux.org> 3.0.6-alt1
- Updated to 3.0.6.

* Tue May 25 2004 Dmitry V. Levin <ldv@altlinux.org> 3.0.4-alt1
- Updated to 3.0.4.

* Wed May 19 2004 Alexey Morozov <morozov@altlinux.org> 3.0.3-alt1
- Updated to 3.0.3.

* Mon Jan 26 2004 Dmitry V. Levin <ldv@altlinux.org> 2.6.12-alt1
- Updated to 2.6.12.

* Sun Jan 04 2004 Dmitry V. Levin <ldv@altlinux.org> 2.6.11-alt1
- Updated to 2.6.11.

* Tue Dec 16 2003 Dmitry V. Levin <ldv@altlinux.org> 2.6.10-alt2
- Handle malformed HTTP server responses gracefully
  (Nalin Dahyabhai, RH).

* Fri Dec 12 2003 Dmitry V. Levin <ldv@altlinux.org> 2.6.10-alt1
- Updated to 2.6.10.
- Merged upstream patches: cvs-fixes, alt-configure.

* Mon Dec 08 2003 Dmitry V. Levin <ldv@altlinux.org> 2.6.9-alt2
- Fixed few buffer overflows (CAN-2003-0963).

* Thu Nov 27 2003 Dmitry V. Levin <ldv@altlinux.org> 2.6.9-alt1
- Updated to 2.6.9.
- Do not package .la files.
- Fixed build with recent autotools.

* Mon Jun 02 2003 Dmitry V. Levin <ldv@altlinux.org> 2.6.6-alt1
- Updated to 2.6.6.
- Reenabled modules support since it works again.
- Corrected package summary and description.

* Mon Mar 03 2003 Dmitry V. Levin <ldv@altlinux.org> 2.6.5-alt1
- Updated to 2.6.5.

* Thu Jan 02 2003 Dmitry V. Levin <ldv@altlinux.org> 2.6.4-alt1
- Updated to 2.6.4:
  + new settings net:socket-bind-ipv4 and net:socket-bind-ipv6
    to bind sockets to a specific address (useful to select a
    specific network interface to use);
  + now reget does not start transfer if not needed;
  + ssl:verify-certificate set to no by default;
  + fixed ~ handling in find and mirror.

* Thu Nov 21 2002 Dmitry V. Levin <ldv@altlinux.org> 2.6.3-alt1
- 2.6.3

* Mon Oct 28 2002 Dmitry V. Levin <ldv@altlinux.org> 2.6.2-alt2
- Changed default pager to less.

* Mon Sep 16 2002 Michael Shigorin <mike@altlinux.ru> 2.6.2-alt1
- 2.6.2
- minor spec cleanup

* Mon Aug 12 2002 Dmitry V. Levin <ldv@altlinux.org> 2.6.0-alt1
- 2.6.0

* Fri Jun 28 2002 Dmitry V. Levin <ldv@altlinux.org> 2.5.4-alt2
- Updated conf patch.
- Patched to link with libtinfo.

* Tue Jun 11 2002 Michael Shigorin <mike@altlinux.ru> 2.5.4-alt1
- 2.5.4
- lftp-2.3.8-owl-addr.diff is already rolled in.

* Fri May 24 2002 Konstantin Timoshenko <kt@altlinux.ru> 2.5.2-alt1
- 2.5.2

* Thu Apr 18 2002 Konstantin Timoshenko <kt@altlinux.ru> 2.5.1-alt1
- 2.5.1
- remove getopt patch

* Thu Feb 07 2002 Stanislav Ievlev <inger@altlinux.ru> 2.4.9-alt2
- Added patch from Owl (addrlen).

* Wed Feb 06 2002 Konstantin Timoshenko <kt@altlinux.ru> 2.4.9-alt1
- 2.4.9

* Fri Dec 14 2001 Konstantin Timoshenko <kt@altlinux.ru> 2.4.8-alt1
- 2.4.8

* Fri Nov 16 2001 Konstantin Timoshenko <kt@altlinux.ru> 2.4.7-alt1
- 2.4.7

* Tue Nov 06 2001 Konstantin Timoshenko <kt@altlinux.ru> 2.4.6-alt1
- 2.4.6
- Disable modules support (temporary fixes for bug)

* Mon Sep 17 2001 Dmitry V. Levin <ldv@altlinux.ru> 2.4.4-alt1
- 2.4.4

* Tue Sep 11 2001 Dmitry V. Levin <ldv@altlinux.ru> 2.4.3-alt2
- Rebuilt to get all modules.

* Thu Sep 06 2001 Dmitry V. Levin <ldv@altlinux.ru> 2.4.3-alt1
- 2.4.3

* Mon Feb 19 2001 Kostya Timoshenko <kt@petr.kz> 2.3.8-ipl1mdk
- 2.3.8

* Tue Jan 23 2001 Kostya Timoshenko <kt@petr.kz>
- 2.3.7

* Wed Jan  3 2001 Kostya Timoshenko <kt@petr.kz>
- 2.3.6

* Tue Jan  2 2001 Kostya Timoshenko <kt@petr.kz>
- Build for RE

* Wed Dec 20 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.3.5-4mdk
- change the buildrequires back to readline-devel which is what this package
  is called now.

* Fri Dec  8 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.3.5-3mdk
- Add bz{/cat/more} support.

* Tue Nov 28 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.3.5-2mdk
- Change Buildrequires to the new lib policy.

* Sun Nov 26 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.3.5-1mdk
- insert longtitle.
- Reinsert the modules support.
- 2.3.5.

* Wed Nov 15 2000 Daouda Lo <daouda@mandrakesoft.com> 2.3.4-4mdk
- remove hardcoded path to binary in menu

* Thu Nov 02 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.3.4-3mdk
- Rebuild for last gcc.

* Wed Oct 18 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.3.4-2mdk
- Disable modules support (temporary fixes for bug).

* Sun Oct 15 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.3.4-1mdk
- 2.3.4.

* Tue Oct 10 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.3.3-2mdk
- Don't compile with a custom readline take it from our tree.

* Mon Oct  2 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.3.3-1mdk
- 2.3.3.

* Fri Sep 29 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.3.0-3mdk
- Correct icons (#458, #459).

* Sat Sep 23 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.3.0-2mdk
- Fix queue command.

* Fri Sep 22 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.3.0-1mdk
- Fix compilation with last libtool.
- 2.3.0.

* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 2.2.5-2mdk
- automatically added BuildRequires

* Wed Aug 02 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.2.5-1mdk
- new release
- use righ macros

* Tue Jul 25 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.2.4-3mdk
- Compile modules with -lc.

* Wed Jul 19 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.2.4-2mdk
- Rebuild due to a bad macros.

* Tue Jul 18 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.2.4-1mdk
- More macros.
- BM.
- 2.2.4.

* Fri Jun 16 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.2.3-1mdk
- 2.2.3.
- Use find_lang and mandir macros.

* Mon Apr  3 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.2.0-2mdk
- Fix menu icon.

* Wed Mar 29 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.2.0-1mdk
- Add menu entry.
- Add lftpget.1 man page from debian package.
- 2.2.0 (using 2.2.0a in fact).

* Mon Mar 13 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.1.10-1mdk
- 2.1.10.
- Update groups.

* Tue Feb 22 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.1.9-2mdk
- Include src/ChangeLog not ChangeLog (outdated).
- 2.1.9.

* Sun Feb 20 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.1.8-1mdk
- 2.1.8.

* Wed Feb 16 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.1.7-1mdk
- 2.1.7.

* Tue Jan 18 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.1.6-1mdk
- 2.1.6.
- use %configure.

* Sun Nov 21 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Last cvs version.
- Fix completion on directory.
- more alias.

* Wed Nov 10 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- 2.1.4.

* Tue Oct 19 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- 2.1.3.

* Wed Oct 13 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- 2.1.2

* Wed Sep 29 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- 2.1.0

* Wed Sep 22 1999 Daouda Lo <daouda@mandrakesoft.com>
- 2.0.5

* Wed Aug 18 1999 Thierry Vignaud <tvignaud@mandrakesoft.com>
- 2.0.4
- add the url
- fix a bug in spec that preventing from including locales
- fix permissions (now this could be builded as non root)

* Tue Jul 27 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- 2.0.3 finale.

* Thu Jul 22 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- pre2.0.3-990722 from CVS.
- enable --with-modules.
- Relifting of Spec files.

* Wed Jun 30 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Set passive by default (special Pixel ;-)).
- 2.0.1.

* Mon Jun 21 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- 2.0.0