Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src



Module Name:    src
Committed By:   martin
Date:           Sun Oct 13 16:06:37 UTC 2024

Modified Files:
        src/distrib/sets/lists/tests [netbsd-10]: mi
        src/etc/mtree [netbsd-10]: NetBSD.dist.tests
        src/tests/usr.bin [netbsd-10]: Makefile
        src/usr.bin/ftp [netbsd-10]: cmds.c complete.c fetch.c ftp.1 ftp.c
            ftp_var.h main.c progressbar.c ruserpass.c ssl.c util.c
Added Files:
        src/tests/usr.bin/ftp [netbsd-10]: Makefile custom_headers.sh
            t_custom_headers.sh

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #970):

        tests/usr.bin/Makefile: revision 1.42
        usr.bin/ftp/ruserpass.c: revision 1.34
        usr.bin/ftp/main.c: revision 1.130
        usr.bin/ftp/ssl.c: revision 1.17
        usr.bin/ftp/main.c: revision 1.131
        usr.bin/ftp/ssl.c: revision 1.18
        usr.bin/ftp/main.c: revision 1.132
        usr.bin/ftp/ssl.c: revision 1.19
        usr.bin/ftp/main.c: revision 1.133
        distrib/sets/lists/tests/mi: revision 1.1342
        usr.bin/ftp/ftp.1: revision 1.151
        usr.bin/ftp/ftp.1: revision 1.152
        usr.bin/ftp/progressbar.c: revision 1.25
        usr.bin/ftp/ftp.1: revision 1.153
        usr.bin/ftp/progressbar.c: revision 1.26
        usr.bin/ftp/ftp.1: revision 1.155
        usr.bin/ftp/ftp.1: revision 1.156
        usr.bin/ftp/fetch.c: revision 1.239
        usr.bin/ftp/ftp.1: revision 1.157
        usr.bin/ftp/ftp.1: revision 1.158
        usr.bin/ftp/ftp.1: revision 1.159
        usr.bin/ftp/ftp_var.h: revision 1.87
        etc/mtree/NetBSD.dist.tests: revision 1.208
        usr.bin/ftp/ftp_var.h: revision 1.88
        usr.bin/ftp/ftp_var.h: revision 1.89
        usr.bin/ftp/cmds.c: revision 1.142
        usr.bin/ftp/util.c: revision 1.168
        usr.bin/ftp/cmds.c: revision 1.143
        tests/usr.bin/ftp/custom_headers.sh: revision 1.1
        usr.bin/ftp/ssl.c: revision 1.20
        usr.bin/ftp/complete.c: revision 1.48
        tests/usr.bin/ftp/Makefile: revision 1.1
        tests/usr.bin/ftp/t_custom_headers.sh: revision 1.1
        usr.bin/ftp/fetch.c: revision 1.240
        usr.bin/ftp/fetch.c: revision 1.241
        usr.bin/ftp/ftp.c: revision 1.176
        usr.bin/ftp/ftp.c: revision 1.177
        (all via patch)

ftp(1): wording and formatting improvements

Fix grammar issue with "Support values" reported in private mail.
Document all file transfer types in "type" and cross-reference that.
Consistency fixes in describing file transfer parameters and types.

Fix some mandoc -Tlint issues (except "useless macro: Tn").

Add -b <buflen> to specify the buffer size.

ftp: bump FTPBUFLEN from 4kB to 16kB
sourceforge.net returns a 5kB content-security-policy.
Analyzed by mlelstv@ who reports usual limits are between 4kB and 48kB.
default is now 16K

ftp: improve -b documentation

Order -b bufsize in the synopsis.

Document the actual default value.

ftp: improve units used in comments and errors
Use "KiB" instead of "K" in errors.
Clarify related comments.

pass some lint.

PR/58581: Sunil Nimmagadda: Add flag to allow specifying extra http header
fields.

ftp(1): Nix trailing whitespace in man page.
No functional change intended.

PR bin/58581: ftp(1) should allow specifying header fields in http requests
fix markup (h -> H), explain about multiple headers, fix usage (from RVP)

Don't forget the dot, use the intended macro name (I think),
and improve the wording a little.    (All related to the -H option.)
ftp(1): Add test for custom HTTP header fields.

Based on a patch from Sunil Nimmagadda.

PR bin/58581: ftp(1) should allow specifying header fields in http
requests


To generate a diff of this commit:
cvs rdiff -u -r1.1238.2.15 -r1.1238.2.16 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.197.2.4 -r1.197.2.5 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r1.37.2.1 -r1.37.2.2 src/tests/usr.bin/Makefile
cvs rdiff -u -r0 -r1.1.2.2 src/tests/usr.bin/ftp/Makefile \
    src/tests/usr.bin/ftp/custom_headers.sh \
    src/tests/usr.bin/ftp/t_custom_headers.sh
cvs rdiff -u -r1.141 -r1.141.6.1 src/usr.bin/ftp/cmds.c
cvs rdiff -u -r1.47 -r1.47.10.1 src/usr.bin/ftp/complete.c
cvs rdiff -u -r1.235.2.2 -r1.235.2.3 src/usr.bin/ftp/fetch.c
cvs rdiff -u -r1.147.2.4 -r1.147.2.5 src/usr.bin/ftp/ftp.1
cvs rdiff -u -r1.174.2.1 -r1.174.2.2 src/usr.bin/ftp/ftp.c
cvs rdiff -u -r1.86 -r1.86.2.1 src/usr.bin/ftp/ftp_var.h
cvs rdiff -u -r1.128.2.1 -r1.128.2.2 src/usr.bin/ftp/main.c
cvs rdiff -u -r1.24 -r1.24.6.1 src/usr.bin/ftp/progressbar.c
cvs rdiff -u -r1.33 -r1.33.86.1 src/usr.bin/ftp/ruserpass.c
cvs rdiff -u -r1.12.2.4 -r1.12.2.5 src/usr.bin/ftp/ssl.c
cvs rdiff -u -r1.164.2.2 -r1.164.2.3 src/usr.bin/ftp/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index