OpenBSD CVS

CVS log for src/usr.bin/ftp/Makefile


[BACK] Up to [local] / src / usr.bin / ftp

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.37 / (download) - annotate - [select for diffs], Wed Jun 28 17:36:51 2023 UTC (10 months, 3 weeks ago) by op
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.36: +0 -1 lines
Diff to previous 1.36 (colored)

revert makefile change included by mistake in previous

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jun 28 17:35:06 2023 UTC (10 months, 3 weeks ago) by op
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

drop needless strcspn in the header parsing

since fetch.c revision 1.211, ftp removes trailingwhitespaces early so
there's no need to re-do that when parsing a header.

while here, remove an unused variable too.

ok tb, millert

Revision 1.35 / (download) - annotate - [select for diffs], Tue Feb 16 16:27:34 2021 UTC (3 years, 3 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

make use of getline(3) in ftp(1)

Replace fparseln(3) with getline(3).  This removes the only use of
libutil.a(fparseln.o) from the ramdisk.
Replace a complicated fgetln(3) idiom with the much simpler getline(3).

ok jca@

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jan 27 22:27:41 2021 UTC (3 years, 3 months ago) by sthen
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored)

update comment, SMALL was split into SMALL and NOSSL

Revision 1.33 / (download) - annotate - [select for diffs], Thu May 16 12:44:17 2019 UTC (5 years ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.32: +6 -3 lines
Diff to previous 1.32 (colored)

Revert suni'ls ftp rewrite for now.
We are juggling too many things at the moment and we can't deal with
the differences in behaviour right now.

Revision 1.32 / (download) - annotate - [select for diffs], Sun May 12 20:58:19 2019 UTC (5 years ago) by jasper
Branch: MAIN
Changes since 1.31: +2 -0 lines
Diff to previous 1.31 (colored)

add rcs ids

Revision 1.31 / (download) - annotate - [select for diffs], Sun May 12 20:44:39 2019 UTC (5 years ago) by kmos
Branch: MAIN
Changes since 1.30: +2 -7 lines
Diff to previous 1.30 (colored)

Move us from old ftp(1) to Sunil's new ftp(1). The necessary modifications
have been made to make it behave. Any new misbehaviors can be fixed in tree.

OK florian@ deraadt@ "Have you committed ftp yet?"

Revision 1.30 / (download) - annotate - [select for diffs], Fri May 6 22:06:09 2016 UTC (8 years ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.29: +1 -3 lines
Diff to previous 1.29 (colored)

Remove #ifdef INET6 bits, missed in a commit earlier this week

This probably broke passive FTP on IPv6 and [ip::v6]:port syntax in
RAMDISK ftp(1), sorry about that.

The diff was initially ok millert@

Revision 1.29 / (download) - annotate - [select for diffs], Mon Oct 12 16:39:07 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored)

ftp(1) was static for years, as a recovery seatbelt.  These days
reliability has improved, and other repair methods are easier from
bsd.rd or whatnot.  As a static binary ftp has limited ASLR, yet it has
7 libraries...  Making it non-static means the ASLR picture improves.
Let's see who moans first.
ok miod daniel

Revision 1.28 / (download) - annotate - [select for diffs], Mon Feb 9 08:24:20 2015 UTC (9 years, 3 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.27: +1 -9 lines
Diff to previous 1.27 (colored)

various defines always exist, so delete the ifdef test.
the socks support seems to be dead, since there are no other references.
also, redeclaring a standard function? that's a no-no.
custom compiles with gate-ftp servers don't need to be supported either.
ok deraadt

Revision 1.27 / (download) - annotate - [select for diffs], Fri Oct 31 13:48:21 2014 UTC (9 years, 6 months ago) by jsing
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Update ftp(1) to use libtls instead of libressl.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Jul 14 09:26:27 2014 UTC (9 years, 10 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Convert ftp(1) to libressl, rather than rolling in^W^Whand rolling libssl.

ok beck@ deraadt@

Revision 1.25 / (download) - annotate - [select for diffs], Tue May 5 19:35:30 2009 UTC (15 years ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

make it clean removing the ifdef SMALL maze.  separate cmds and
small stuff.  make it a fetcher.  shrinks quite a bit
agreed by millert@, krw@
ok theo, sthen@

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jan 5 18:51:49 2009 UTC (15 years, 4 months ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

since socks5 has been removed from ports recently, switch ftp to
dante instead.  "makes sense" sthen@, ajacoutot@, "no objections"
millert@; "i agree" jakob@.  tested by Simon Kuhnle and myself

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jul 8 21:07:57 2008 UTC (15 years, 10 months ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

- add support for recursive transfers (but not for floppies), e.g.
'mget -cr 4.*' would recursively fetch (-r), and resume the previous
transfers (-c) of 4.X release directories
uses local matching (fnmatch), but only for recursive transfers.
current behavior is not changed in any way.
- while here, ifndef SMALL debugging stuff, this saves some space,
for floppies
- some debugging code was enabled for non-debugging mode, checks
assume debug is set to zero, but it's not initially set
- all "Confirm with" prompts are forced, remove redundant argument
- fix usage: -C and -c are not available for SMALL

discussed a year ago w/ pyr@
looks good to millert@
previous version looked good to pyr@
man page tweaks & ok jmc@

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 13 13:52:26 2007 UTC (16 years, 11 months ago) by pyr
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Enable cookie support. This allows parsing of netscape-like cookie jars
and sending of appropriate cookies. No retrieval of new cookies is done.
Careful review and lots of input by millert and ray.

ok millert@, ray@

Revision 1.21 / (download) - annotate - [select for diffs], Tue May 16 16:20:42 2006 UTC (18 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

https URL support; rototilled by a few people including me; originally
from Rainer_Giedat@genua.de

Revision 1.20 / (download) - annotate - [select for diffs], Thu Nov 20 23:32:26 2003 UTC (20 years, 6 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

build statically, to ease disaster recovery in some situations.
ok david@ grange@ henning@ ian@ jakob@ lebel@ markus@ and possibly a few others.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Nov 8 03:30:17 2002 UTC (21 years, 6 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

http redirect support; adapted from NetBSD.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Sep 7 01:57:35 2000 UTC (23 years, 8 months ago) by todd
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)

bogus comment police

Revision 1.17 / (download) - annotate - [select for diffs], Sun Sep 3 18:41:23 2000 UTC (23 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Boring...  Add :L modifier to all tweakable variables tests.

Closes PR 1246

Revision 1.16 / (download) - annotate - [select for diffs], Wed Dec 8 12:57:06 1999 UTC (24 years, 5 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.15: +4 -1 lines
Diff to previous 1.15 (colored)

ftp(1) from KAME, should be good for testing.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jul 24 00:10:54 1998 UTC (25 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

-lcurses, not termcap/termlib

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 2 04:22:39 1997 UTC (26 years, 7 months ago) by imp
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.13: +5 -4 lines
Diff to previous 1.13 (colored)

Fix CFLAGS in SOCKS case, and automatically use USE_SOCKS to compile socks in

Revision 1.13 / (download) - annotate - [select for diffs], Sun Sep 21 11:49:09 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +1 -3 lines
Diff to previous 1.12 (colored)

$OpenBSD$

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 5 03:53:23 1997 UTC (26 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.11: +5 -1 lines
Diff to previous 1.11 (colored)

Add commented out support for building with socks5.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 4 04:37:12 1997 UTC (26 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.10: +6 -3 lines
Diff to previous 1.10 (colored)

Updtaes from NetBSD (lukem)
    bugs fixed:
      * don't interpret '-' or '|' when a local filename is determined from
        the remote name (i.e, in mget, and in get with only one argument).
        This is implemented using an extra argument to recvrequest().
        Fixes a major security hole.
      * clean up memory leak when using globulize()
      * clean up a couple of comments
      * fix wording in TNF copyright

    features added:
      * support for TIS fwtk gate-ftp servers:
        * read defaults from $FTPSERVER && $FTPSERVERPORT
        * start in gate-ftp mode if invoked as 'gate-ftp'
        * toggle or set with 'gate [host [port]]'

Other changes:
    * use symbolic flags in access(2)
    * Use USHRT_MAX, not 0xffff

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 25 21:56:16 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.9: +4 -2 lines
Diff to previous 1.9 (colored)

Updates from NetBSD (lukem) include -Wall cleanup.
More -W* cleanup and in_port_t usage by me.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Apr 10 00:17:06 1997 UTC (27 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Sync with NetBSD (lukem)
    * support $ftp_proxy for ftp:// transfers [bin/3245]
    * add "more" & "less" as synonyms for "page"
    * move editline setup code into controlediting(), and call appropriately.
      only setup setup terminal if going into interactive mode.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Mar 26 00:35:23 1997 UTC (27 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

no libcrypt, fix DPADD

Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 21 20:59:26 1997 UTC (27 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.6: +5 -10 lines
Diff to previous 1.6 (colored)

Add in recent NetBSD changes we didn't already have:
    Always compile complete.c but ifdef out the bits if -DSMALL (christos)
    reset interactive mode correctly in auto_fetch() mget mode (lukem)

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 3 01:05:31 1997 UTC (27 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

Add back ``-r'' option and fix strncpy() usage and other nits because
I'm anal.  Closer to KNF now.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 3 01:02:31 1997 UTC (27 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.4: +13 -4 lines
Diff to previous 1.4 (colored)

Sync with NetBSD

Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 3 18:00:05 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

http:// support for the command line fetches; useful for the ports subsystem
and other scripts. written by brian@saturn.net (and then i clawed at it for
a bit..)

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 26 05:33:32 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

rcsid

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 14 03:29:08 1995 UTC (28 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

from netbsd; declare ourself as unix so that binary is assumed

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:17 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:17 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.