NetBSD/othersrc 0LZcaDClibexec/tnftpd ChangeLog

   fix typo
VersionDeltaFile
1.62+2-2libexec/tnftpd/ChangeLog
+2-21 files

NetBSD/othersrc F5eq0yblibexec/tnftpd configure aclocal.m4, libexec/tnftpd/buildaux ar-lib config.guess

   regen for recent build improvements

NetBSD/othersrc 6H7jZHDlibexec/tnftpd ChangeLog

   changes so far this year
VersionDeltaFile
1.61+43-1libexec/tnftpd/ChangeLog
+43-11 files

NetBSD/othersrc awdPIIalibexec/tnftpd configure.ac

   configure: AM_PROG_AR is needed by newer automake
VersionDeltaFile
1.43+3-2libexec/tnftpd/configure.ac
+3-21 files

NetBSD/othersrc 7x5FQNflibexec/tnftpd/src tnftpd.manin

   merge changes from ftpd.8 1.85 - 1.87
VersionDeltaFile
1.3+8-4libexec/tnftpd/src/tnftpd.manin
+8-41 files

NetBSD/othersrc Za8VCWulibexec/tnftpd configure.ac, libexec/tnftpd/src ftpd.c

   save passwd.pw_class if it exists

   Add autoconf check for struct passwd.pw_class.
   If pw_class is present, save it in sgetpwnam().
   Inspired by FreeBSD head/libexec/ftpd/ftpd.c revision 261885.

NetBSD/othersrc Vxf7ceClibexec/tnftpd tnftpd.h configure.ac, libexec/tnftpd/libnetbsd explicit_memset.c

   provide explicit_memset() from NetBSD

   Import NetBSD src/common/lib/libc/string/explicit_memset.c rev 1.4
   for explicit_memset(3), because ftpcmd.y now uses that.

   Add autoconf AC_REPLACE_FUNCS check for explicit_memset.

NetBSD/othersrc cjw54w3libexec/tnftpd configure.ac Makefile.am, libexec/tnftpd/libnetbsd Makefile.am

   implement --with-blacklist

   Add --with-blacklist to enable NetBSD's blacklistd(8) support.

NetBSD/othersrc PoggEEYlibexec/tnftpd configure.ac

   configure.ac style tweaks

   do not use contractions to avoid syntax highlight confusion
VersionDeltaFile
1.39+13-13libexec/tnftpd/configure.ac
+13-131 files

NetBSD/othersrc 1JDoVbQlibexec/tnftpd/src extern.h

   minimize differences with NetBSD upstream
VersionDeltaFile
1.18+2-2libexec/tnftpd/src/extern.h
+2-21 files

NetBSD/othersrc 7rqPQ6nlibexec/tnftpd/src ftpd.c cmds.c

   merge from NetBSD-20130321 to NetBSD-20190129

NetBSD/othersrc l6OjpXFlibexec/tnftpd/src ftpd.c pfilter.c

   Import NetBSD ftpd as at 20190129

   Notable changes:
   - Fix violations of the sequence point rule.
   - Add volatile for gcc 5.
   - Check that stat and fstat succeed.
   - Support blacklistd(8) hooks.
   - Clear utmpx struct before writing it to wtmpx files.
   - Fix directory stream leaks.
   - Use explicit_memset(3) instead of memset(3) to clear password.
   - Fix scope of variable. PR misc/50665.
   - Ensure that closing socket exists. CID 603440.
   - Add -f option to ftpd to stay in foreground with -D. PR bin/53221.
   - Update version to "NetBSD-ftpd 20180428".

NetBSD/othersrc wj9tIHUlibexec/tnftpd/libnetbsd strsuftollx.c strmode.c

   fix __RCSIDs back to escaped upstream versions

NetBSD/othersrc C7ONe5ulibexec/tnftpd/libnetbsd strsuftollx.c

   sync to NetBSD strsuftoll.c 1.9

   Update from NetBSD src/lib/libc/stdlib/strsuftoll.c 1.1 to 1.9.
   Notable changes:
   - Minimize changes from upstream NetBSD source
   - 1.5: print max rather than min when number parsed is greater than max.
   - 1.6: explicitly use base 10, to match comments and dd
   - 1.9: Put a recursion limit to avoid DoS attacks (Maksymilian Arciemowicz).
VersionDeltaFile
1.6+116-32libexec/tnftpd/libnetbsd/strsuftollx.c
+116-321 files

NetBSD/othersrc HxyDzwXlibexec/tnftpd/libnetbsd strmode.c

   sync to NetBSD strmode.c 1.19

   Update from NetBSD src/lib/libc/string/strmode.c 1.11 to 1.19:
   - Minimize changes from upstream NetBSD source.
   - 1.14: Conditionally support S_IFDOOR.
   - 1.15: Move UCB-licensed code from 4-clause to 3-clause licence. [already done]
   - 1.16: Conditionally support S_IFSOCK.
   - 1.19: ANSI definitions.
VersionDeltaFile
1.4+38-5libexec/tnftpd/libnetbsd/strmode.c
+38-51 files

NetBSD/othersrc EQ5ukCglibexec/tnftpd/libnetbsd strlcpy.c

   strlcpy.c: fix copyright

   Fix copyright per NetBSD src/lib/libc/string/Attic/strlcpy.c rev 1.14
   by removing duplicate copy of Todd Miller's copyright statement.

   Confirmed against OpenBSD src/lib/libc/string/strlcpy.c rev 1.7
   per the OpenBSD RCSID in the comment.
VersionDeltaFile
1.4+1-28libexec/tnftpd/libnetbsd/strlcpy.c
+1-281 files

NetBSD/othersrc Fgu0Nj8libexec/tnftpd/libnetbsd fparseln.c

   remove obsolete rcsid

NetBSD/othersrc LBp3a7Rlibexec/tnftpd/libnetbsd glob.c

   sync to NetBSD glob.c 1.38

   Update from NetBSD src/lib/libc/gen/glob.c 1.34 to 1.38:
   - Minimize changes from upstream NetBSD source.
   - 1.35: Use unsigned foo not u_FOO. [Already done]
   - 1.36: Bump the glob limits to 512KB for total string size and 64K path
     entries. The old limits were too small for some important FTP use cases
     like a pkgsrc repository.
   - 1.37: Switch from a recursive pattern matching algorithm to handle '*'
     to a backtracking one. Avoids DoS attacks with patterns "a*a*a*a*a*...b"
     matching against "aaaaaaaaaaaa..." https://research.swtch.com/glob
   - 1.38: Use the symbolic M_ALL and trim with M_MASK.
VersionDeltaFile
1.7+69-34libexec/tnftpd/libnetbsd/glob.c
+69-341 files

NetBSD/othersrc iIS5fthlibexec/tnftpd/libnetbsd fnmatch.c

   fnmatch.c: minimise changes from NetBSD src
VersionDeltaFile
1.5+30-1libexec/tnftpd/libnetbsd/fnmatch.c
+30-11 files

NetBSD/othersrc Nq8q4Ualibexec/tnftpd/libnetbsd fts_open.c ftpfts.h

   sync to fts.c 1.49, fts.h 1.19

   Update from NetBSD src/lib/libc/gen/fts.c 1.38 to 1.49.
   Update from NetBSD src/include/fts.h 1.18 to 1.19.

   Notable changes:
   - Minimize changes from upstream NetBSD methods.
   - Bump fts_level from short to int to avoid a potential DoS.
   - Make sure fts_statp is NULL when FTS_NOSTAT is set.
   - Use [non-standard] O_CLOEXEC instead of fcntl(FD_CLOEXEC).
   - Avoid potential integer overflow.
   - Fix double free in fts_read()/fts_close().
   - Use calloc(1, ...) instead of malloc(...) & memset.

NetBSD/othersrc dSf4dF0libexec/tnftpd tnftpd.h

   provide compat _DIAGASSERT()

   define no-op _DIAGASSERT() in tnftpd.h, so that I can perform
   less changes from "upstream" NetBSD when I merge code.
VersionDeltaFile
1.36+8-1libexec/tnftpd/tnftpd.h
+8-11 files

NetBSD/othersrc X3fCcdglibexec/tnftpd/libnetbsd fparseln.c

   sync to fparseln.c 1.10

   Update from NetBSD src/lib/libc/stdio/fparseln.c 1.5 to 1.10:
   - Don't report spurious empty lines eg after 2 comment lines, or on
     EOF after a single comment line.
   - No escape character means no escaped characters.
   - Remove 3rd and 4th clauses in christos' license.  OK christos.
VersionDeltaFile
1.3+14-12libexec/tnftpd/libnetbsd/fparseln.c
+14-121 files

NetBSD/othersrc bAGp4PHlibexec/tnftpd/libnetbsd err.c

   Remove the 3rd clause from my BSD-derived license.
VersionDeltaFile
1.5+1-3libexec/tnftpd/libnetbsd/err.c
+1-31 files

NetBSD/othersrc zUowXEQlibexec/tnftpd/libnetbsd fnmatch.c ftpfnmatch.h

   sync to fnmatch.c 1.26, fnmatch.h

   Update from NetBSD src/lib/libc/gen/fnmatch.c 1.18 to 1.26.
   Update from NetBSD src/include/fnmatch.h 1.8 to 1.13.

   Notable changes:
   - Implement FNM_LEADING_DIR.
   - Limit recursions to avoid DoS attacks. From Maksymilian Arciemowicz.
   - Treat a backslash followed by NUL as NUL.

NetBSD/othersrc CcnODlqlibexec/tnftpd/libnetbsd err.c

   whitespace fixup

   consistent tab indenting, not a mix of spaces and tabs
VersionDeltaFile
1.4+29-29libexec/tnftpd/libnetbsd/err.c
+29-291 files

NetBSD/othersrc jkBIxVYlibexec/tnftpd/libnetbsd daemon.c

   sync to daemon.c 1.10

   Update to NetBSD src/lib/libc/gen/daemon.c 1.10 from 1.9:
   - Update old-style definitions to ANSI
VersionDeltaFile
1.4+3-4libexec/tnftpd/libnetbsd/daemon.c
+3-41 files

NetBSD/othersrc yKoaC0Mlibexec/tnftpd/libnetbsd arpa_ftp.h

   sync to arpa/ftp.h 1.7

   Update to NetBSD src/include/arpa/ftp.h revision 1.7 from revision 1.5:
   - 1.6: Move UCB-licensed code from 4-clause to 3-clause licence. [already done]
   - 1.7: Welcome to the constant age!

NetBSD/othersrc qYXvbw4external/bsd/file2c 1.expected 3.expected

   Get rid of stray RCS Ids in the test input file

   Fix up tests to accommodate

NetBSD/othersrc opWbUqDexternal/bsd/file2c file2c.1 file2c.sh

   Sort options. Use appropriate section name.

NetBSD/othersrc DgS7E3Cexternal/bsd/file2c 1.expected 3.expected

   Add a new utility called file2c(1) to othersrc, which converts its
   input stream into individual bytes, suitable for inclusion as a C
   source file.  This kind of utility is occasionally useful for
   embedding data in C-derived libraries and executables.  The utility is
   similar in function, and arguments, to the utility written in C, and
   included in FreeBSD.  This version of the utility just uses awk(1),
   and so is written as a simple shell script.

   Example usage:

           % echo 'Hello world' | file2c -sx 'static const char *text = {\n' '};\n'
           static const char *text = {
                   0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x20, 0x77, 0x6f, 0x72, 0x6c,
                   0x64, 0xa
           };
           %

NetBSD/othersrc Vjuuq5Iexternal/bsd/file2c file2c.sh file2c.1

   Add a new utility called file2c(1) to othersrc, which converts its
   input stream into individual bytes, suitable for inclusion as a C
   source file.  This kind of utility is occasionally useful for
   embedding data in C-derived libraries and executables.  The utility is
   similar in function, and arguments, to the utility written in C, and
   included in FreeBSD.  This version of the utility just uses awk(1),
   and so is written as a simple shell script.

   Example usage:

        % echo 'Hello world' | file2c -sx 'static const char *text = {\n' '};\n'
        static const char *text = {
               0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x20, 0x77, 0x6f, 0x72, 0x6c,
               0x64, 0xa
        };
        %

NetBSD/othersrc scgxFEUexternal/bsd/human2atf human2atf.sh

   Convert from getopt to getopts and fix an obvious bug with the
   wayy TESTSPEC was used.
VersionDeltaFile
1.3+17-12external/bsd/human2atf/human2atf.sh
+17-121 files

NetBSD/othersrc uW2WIlrusr.bin Makefile

   Build Meltdown PoC.
VersionDeltaFile
1.7+4-1usr.bin/Makefile
+4-11 files

NetBSD/othersrc 1Q1ZraCusr.bin/meltdown meltdown.c Makefile

   Add Meltdown PoC.

   To use it for any kernel virtual addresses other than the entropy
   pool statistics, you'll need to adapt the prime function to trigger
   whatever kernel entry points prime the cache with whatever kernel
   data structures you want.

NetBSD/othersrc vFFEduUusr.bin/edit edit.1

   Make this build.  Fix mandoc warnings while here.
VersionDeltaFile
1.2+54-39usr.bin/edit/edit.1
+54-391 files

NetBSD/othersrc YIjSv9ausr.bin Makefile

   Make this diff-friendly.
VersionDeltaFile
1.6+7-2usr.bin/Makefile
+7-21 files

NetBSD/othersrc leQVXgIexternal/historical/eawk/bin expected, external/historical/eawk/dist awkgram.y

   Bring eawk up to date, it's had no real love since 2013.

   1. Don't use bison, just use standard yacc to build
   2. Use pure-parser directive, rather than %pure_parser
   3. libarchive has changed its API since 2013 - adapt
   4. netpgpverify has also changed its API since 2013 - adapt also
   5. There is no sqlite3 sub-directory, so don't descend into it

   With thanks to yukonbob for the nudge.

NetBSD/othersrc qELf3ZFexternal/bsd/testcompat/mk ocaml.mk, external/bsd/testcompat/parser parser.mly lexer.mll

   Add some preliminary stuff in pursuit of testing compat syscalls.

   So far this just has some (partial) specs and some code for reading
   the specs in; it doesn't actually do anything yet...

   It is ocaml because ocaml is the least awful choice for prototyping
   compiler stuff.

NetBSD/othersrc 7WhGVzNexternal/bsd/agcre/dist exec.c, external/bsd/agcre/dist/tests 85.expected

   initialise the input counter prior to making the first mark - fixes
   REG_STARTEND searching

   fix up a UTF-8 test results file

NetBSD/othersrc gRd1k8rexternal/bsd/agcre/dist exec.c error.c, external/bsd/agcre/dist/tests 54.expected

   remove some functions which were unused (obscured by being inline functions)

   preserve the compilation flags across calls to exec()

   update a test for current behavior

NetBSD/othersrc auRB04Cexternal/bsd/dust/dist dust.1

   Bump date for previous. Add missing .El.
VersionDeltaFile
1.4+3-2external/bsd/dust/dist/dust.1
+3-21 files

NetBSD/othersrc lp9eqRWexternal/bsd/dust/dist dust.sh dust.1

   Add a way to pass -a and -x to du(1).  These allow one to 'dust' a
   filesystem (-x) or see what files are the big offenders (-a) rather
   than just the big directories (default).

NetBSD/othersrc 2hyYFAnexternal/bsd/dust/dist dust.sh

   Fix option handling so options are actually processed. [approved by agc]
VersionDeltaFile
1.2+5-4external/bsd/dust/dist/dust.sh
+5-41 files

NetBSD/othersrc N2Yoyw6external/bsd/agcre/dist agcre_format.7

   Fix up after wiz's changes (thanks!)

   1. Add the (implied) "Match" verb at the start of the explanation to make
   into a full sentence.

   2. Escape a backslash properly

NetBSD/othersrc U3UuYEzexternal/bsd/agcre/dist libagcre.3

   Use more markup.
VersionDeltaFile
1.2+28-29external/bsd/agcre/dist/libagcre.3
+28-291 files

NetBSD/othersrc xOWhEAgexternal/bsd/agcre/dist agcre_format.7

   Minor improvements. Do not use xrefs to non-existing man pages.

   XXX: there is partial sentence here.
VersionDeltaFile
1.2+16-14external/bsd/agcre/dist/agcre_format.7
+16-141 files

NetBSD/othersrc vpCKQlkexternal/bsd/agcre/dist agcre.1

   Sort options. Remove empty EXAMPLES section.
VersionDeltaFile
1.2+34-38external/bsd/agcre/dist/agcre.1
+34-381 files

NetBSD/othersrc kxs2Sycexternal/bsd/agcre/dist internal.h

   Just what this world needs - another regexp library. However, for
   something I was doing, I needed a regexp library in C, BSD-licensed,
   and able to be exposed to a wide range of expressions, some better
   controlled than others.

   The resulting library is libagcre, which implements regular expression
   compilation and execution. It uses the Pike Virtual Machine approach,
   and features:

   + standard POSIX features where sane
   + some/most Perl escapes
   + lazy matching via '?'
   + non-capture parenthese (?:...)
   + in-expression case-insensitive directives are supported (?i)...(?-i)
   + all case-insensitivity is actioned at expression exec time.
   Case-insensitivity can be specified at expression compile-time,
   and, if so, it will be remembered.  But the expression itself, once
   compiled, can be used to match in both a case-sensitive and insensitive
   manner
   + utf8 is supported both for expressions and for input text when
   matching
   + unicode escapes (in the Java format of \uABCD) are supported
   + exact multiple repetition specifiers {N}, and {N,M} are supported
   + backreferences are supported
   + utf16 (LE and BE) and utf32 (LE and BE) are supported, both for the

    [46 lines not shown]
VersionDeltaFile
1.1+165-0external/bsd/agcre/dist/internal.h
+165-01 files

NetBSD/othersrc QRh3ZHtexternal/bsd/agcre/dist unicode.c comp.c, external/bsd/agcre/dist/tests words

   Just what this world needs - another regexp library. However, for
   something I was doing, I needed a regexp library in C, BSD-licensed,
   and able to be exposed to a wide range of expressions, some better
   controlled than others.

   The resulting library is libagcre, which implements regular expression
   compilation and execution. It uses the Pike Virtual Machine approach,
   and features:

   + standard POSIX features where sane
   + some/most Perl escapes
   + lazy matching via '?'
   + non-capture parenthese (?:...)
   + in-expression case-insensitive directives are supported (?i)...(?-i)
   + all case-insensitivity is actioned at expression exec time.
   Case-insensitivity can be specified at expression compile-time,
   and, if so, it will be remembered.  But the expression itself, once
   compiled, can be used to match in both a case-sensitive and insensitive
   manner
   + utf8 is supported both for expressions and for input text when
   matching
   + unicode escapes (in the Java format of \uABCD) are supported
   + exact multiple repetition specifiers {N}, and {N,M} are supported
   + backreferences are supported
   + utf16 (LE and BE) and utf32 (LE and BE) are supported, both for the

    [46 lines not shown]

NetBSD/othersrc dMJWY4rexternal/bsd/mink/dist rijndael-alg-fst.c mink.c

   Add mink, version 20170614, to othersrc. From the README:

        This is a small library and utility program which transforms input
        data into output data, concealing and revealing along the way.  Rather
        than just do one round of encryption, this can do multiple rounds on
        the same data.  All kinds of bit and byte rotation, mirroring around a
        diagonal, Xor, and AES are provided, including raw AES, and CBC, CTR,
        EAX and GCM modes.

        Small awk-like scripts are written to transform the data; the same
        script is used in each direction.

        Keys, IVs and AADs are specified in the script, or can be read from
        the terminal, working from a prompt. This is true for strings used
        to xor data.

        Thus, to extract the original from a file that has already been
        transformed, you need to know not only the keys/IVs/AADs being used,
        you need to know all the arguments used for bitwise rotations,
        repetitions of AES encryption, and order of transformations specified
        in the script. To discourage timing attacks, random data is encrypted
        a random number of times after each transformation in the script.

        It may be best to describe this in a worked example:


    [174 lines not shown]