summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch
Commit message (Collapse)AuthorAgeFilesLines
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Sort sections.ru2005-01-181-8/+8
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* NOCRYPT -> NO_CRYPTru2004-12-211-1/+1
|
* Fix buffer overflow. This is FreeBSD-SA-04:16.fetch.cperciva2004-11-181-1/+2
| | | | Approved by: des
* Update copyright years.des2004-09-212-2/+2
|
* The check for r_flag was accidentally removed in the previous commit.des2004-08-261-1/+1
| | | | | Submitted by: SANETO Takanori <sanewo@ba2.so-net.ne.jp> MFC after: 3 days
* Fix a couple of edge cases in which sb.st_size may be incorrect ordes2004-08-151-5/+16
| | | | | | | | meaningless. In particular, don't assume that it is left untouched if stat(2) fails; that assumption happens to fail at high optimization levels on some platforms. MFC after: 1 week
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-08-061-1/+0
| | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004
* Document the behaviour of the "-o file" option when "file" is a directorycperciva2004-07-301-0/+4
| | | | | | (downloaded file(s) are created inside the directory). MFC after: 3 days
* Don't strip trailing linear whitespace from passwords.des2004-07-271-5/+5
| | | | MFC after: 2 weeks
* Style nits.des2004-07-271-5/+4
|
* Truncate long file names in stat_display(), as was originally intended.des2004-07-051-1/+1
| | | | MFC after: 1 week
* The description of the -S option in the man page says we won't fail if thedes2004-06-241-1/+0
| | | | | | | remote size is unknown, but we do. Resolve this in the man page's favor. Requested by: Andre Albsmeier <andre.albsmeier@siemens.com> MFC after: 1 week
* Fix integer overflow in the file size output when dealing withle2004-05-191-3/+3
| | | | | | large files (i.e. DVD images). Reviewed by: des@
* Restore part of the word that got (accidentally) removed.ru2004-05-191-2/+2
| | | | Removed whitespace at EOL.
* Workaround for servers that ignore byte ranges when using chunkeddes2004-04-061-1/+1
| | | | | | encoding. MFC after: 3 days
* Remove EXAMPLES section which duplicates text in fetch(3).des2004-02-271-22/+0
|
* Use %zu for size_t, like God intended.des2004-02-181-1/+1
|
* Fix printf() format bug in previous commit (size_t != int).des2004-02-181-17/+19
| | | | | | | Use %ju and an (uintmax_t) cast to print size_t values. Use %jd and an (intmax_t) cast to print off_t values. Use off_t variables to hold the difference between two off_t values. Don't bother with unsigned char where char will do nicely.
* Revamp the statistics code, and switch to a much more compact displaydes2004-02-181-48/+56
| | | | | format. The old code tried to produce the exact same output as the pre-libfetch implementation, but I no longer see any value in this.
* Remove the inadvertant HTML additions to this man page.wes2004-01-281-4/+4
| | | | | | These appear to have been inserted in the PR text by gnatsweb. Noticed by: des (maintainer)
* Revert changes of rev 1.55; replace with strong encouragement towes2004-01-261-87/+14
| | | | | | read fetch(3) as well. Requested by: des (maintainer)
* Previous commit did the reverse of what the log message said (and ofdes2004-01-261-1/+1
| | | | what I intended to do). Really remove my middle name.
* I don't normally use my middle name, so remove it from attributions indes2004-01-251-3/+3
| | | | | man pages (though not from copyright notices). While I'm here, add email addresses where appropriate.
* Document fetch(1) environment variables in fetch(1) man page, instead ofwes2004-01-231-12/+108
| | | | | | | taking lazy users on the arduous journey through SEE ALSO to fetch(3). PR: docs/61759 Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
* Finish the reversion of rev. 1.52.ru2003-09-081-3/+2
|
* Make sure the crypto versions of libfetch and fetch(1) appear inru2003-07-221-0/+1
| | | | | | the "crypto" distribution. Approved by: des
* Revert 1.52. This should have been added to fetch.3.trhodes2003-06-101-29/+1
| | | | Discussed with: des, ru
* Retire the useless NOSECURE knob.des2003-05-191-1/+1
| | | | Approved by: re (scottl)
* Add an EXAMPLES section.trhodes2003-05-171-1/+30
| | | | | | | Xref sh(1) as we use environment variables. PR: 43899 Reviewed by: des
* Mark fetch(1) as c99- and WARNS6-clean.des2003-05-011-1/+2
|
* Use floating point arithmetic to compute the ETA to avoid integer overflowdes2003-03-111-1/+1
| | | | during slow transfers of large files.
* Clean up the ETA logic a bit and make sure it works for restarted transfers.des2003-03-111-7/+8
|
* Clarify that -r implies -R.des2003-03-111-0/+2
|
* mdoc(7) police: Scheduled sweep.ru2003-02-241-1/+1
|
* Slight cleanup of the ETA / BPS code. Avoid a division by zero.des2003-01-231-14/+12
|
* Document netrc support.des2003-01-221-0/+11
|
* Add -N option to specify a netrc file.des2003-01-221-29/+66
| | | | | | | Fix handling of -v option. Don't treat negative offsets as valid positive ones. Clean up the ETA and transfer rate code. Show transfer rate along with ETA if the verbose level is higher than 1.
* Use the URL instead of the output file name when reporting errors relatingdes2002-11-271-6/+6
| | | | | | | | to the remote document. PR: 33856 MFC after: 1 week Approved by: re
* Don't set atime / mtime if we don't have an output file, which can happendes2002-11-131-2/+2
| | | | in certain failure scenarii (mostly DNS trouble).
* Don't divide by zero to calculate the ETA, even if we haven't gottenfenner2002-11-121-1/+1
| | | | any data in 30 seconds.
* Don't exit with success after timeout during authentication.fenner2002-11-071-0/+4
|
* Clarify my feelings towards fetch / libfetch.des2002-10-301-1/+0
|
* Don't complain about not knowing the remote file size when working indes2002-10-271-1/+1
| | | | | | | quiet mode. PR: bin/37079 Submitted by: Nicolas Rachinsky <list@rachinsky.de>
* Whitespace and indentation cleanup.des2002-10-271-12/+12
|
* Forgot to disable alarms after fetchXGet() in previous commit.des2002-10-271-0/+2
|
* Add an ETA timer that kicks in after 30 seconds.des2002-10-271-16/+45
| | | | | | | | | | | | | | | | Re-add alarm(2) calls around the calls to fetchStat(3) and fetchXGet(3), since these calls can still time out on DNS lookups or TCP connect(2). Remove the alarm(2) calls in the main loop, since all methods properly handle transfer timeouts (as opposed to connection timeouts). Set the sigalrm flag if a timeout occurs in the main loop. Move the signal: label up a little so we still set the atime and mtime when the transfer times out or is interrupted, so that restarted transfers will work as expected (as long as the file still exists). MFC after: 2 weeks
* s/optarg/s/ (cut'n'paste braino)des2002-08-271-6/+4
| | | | Spotted by: kris
* fetch(1) is WARNS-5 clean (tested on i386 and Alpha)des2002-07-281-0/+1
|
OpenPOWER on IntegriCloud