NetBSD/othersrc D31jivt — usr.bin/tnftp todo
todo: more items from a while ago
| Version | Delta | File | |
|---|---|---|---|
| 1.17 | +11 | -3 | usr.bin/tnftp/todo |
| +11 | -3 | 1 files | |
todo: more items from a while ago
| Version | Delta | File | |
|---|---|---|---|
| 1.17 | +11 | -3 | usr.bin/tnftp/todo |
| +11 | -3 | 1 files | |
Make this compile with gcc 14
| Version | Delta | File | |
|---|---|---|---|
| 1.2 | +5 | -5 | external/bsd/merkletree/dist/sha3hl.c |
| 1.2 | +3 | -3 | external/bsd/merkletree/dist/sha2.c |
| +8 | -8 | 2 files | |
agcre: fix up beginning of word and end of word tests - use parentheses to make it obvious to the compiler when to short-circuit. Add tests for beginning word and end of word (with and without \< and \> guards) Bump version to 20250722
| Version | Delta | File | |
|---|---|---|---|
| 1.1 | +70 | -0 | external/bsd/agcre/dist/tests/93.expected |
| 1.1 | +70 | -0 | external/bsd/agcre/dist/tests/94.expected |
| 1.3 | +9 | -1 | external/bsd/agcre/bin/Makefile |
| 1.5 | +4 | -4 | external/bsd/agcre/dist/agcre.c |
| 1.2 | +5 | -1 | external/bsd/agcre/Makefile |
| 1.7 | +2 | -2 | external/bsd/agcre/dist/agcre.h |
| +160 | -8 | 1 files not shown | |
| +162 | -10 | 7 files | |
workaround FreeBSD <fts.h> changing fts_open()'s compar signature FreeBSD 5.2 changed fts_open()'s compar function signature by adding extra const to the pointer arguments, and compilers may complain about the mismatch. Add workaround if compiling for FreeBSD and its <fts.h>.
| Version | Delta | File | |
|---|---|---|---|
| 1.6 | +13 | -2 | libexec/tnftpd/ls/ls.c |
| +13 | -2 | 1 files | |
Add history of various security advisories to ChangeLog and NEWS.
| Version | Delta | File | |
|---|---|---|---|
| 1.69 | +77 | -4 | libexec/tnftpd/ChangeLog |
| 1.19 | +17 | -4 | libexec/tnftpd/NEWS |
| +94 | -8 | 2 files | |
tnftpd 20231001 release
Changes since tnftpd 20200704
* Security fixes to improve error handling when switching UID/GID,
and to prevent MLSD and MLST before authentication succeeds.
* Fix buffer overflows when counting users, and when authenticating
using PAM.
| Version | Delta | File | |
|---|---|---|---|
| 1.57 | +10 | -10 | libexec/tnftpd/configure |
| 1.18 | +4 | -4 | libexec/tnftpd/NEWS |
| 1.68 | +5 | -2 | libexec/tnftpd/ChangeLog |
| 1.56 | +2 | -2 | libexec/tnftpd/configure.ac |
| +21 | -18 | 4 files | |
todo: portability issues, libnetbsd updates
| Version | Delta | File | |
|---|---|---|---|
| 1.24 | +35 | -2 | libexec/tnftpd/todo |
| +35 | -2 | 1 files | |
regen
| Version | Delta | File | |
|---|---|---|---|
| 1.18 | +34 | -39 | libexec/tnftpd/src/Makefile.in |
| 1.56 | +4 | -0 | libexec/tnftpd/configure |
| +38 | -39 | 2 files | |
always use $YACC even without --enable-maintainer-mode Provide custom rules to create ftpcmd.c from $(YACC) ftpcmd.y, instead of relying upon automake's default rules, so that we always use $(YACC) even without --enable-maintainer-mode, and we ship ftpcmd.y not ftpcmd.c. (There should be an easier way in automake to do this.) Display YACC and YFLAGS at end of configure.
| Version | Delta | File | |
|---|---|---|---|
| 1.6 | +28 | -4 | libexec/tnftpd/src/Makefile.am |
| 1.67 | +3 | -1 | libexec/tnftpd/ChangeLog |
| 1.55 | +3 | -1 | libexec/tnftpd/configure.ac |
| +34 | -6 | 3 files | |
docs for NetBSD-20230930 import
| Version | Delta | File | |
|---|---|---|---|
| 1.66 | +13 | -1 | libexec/tnftpd/ChangeLog |
| 1.17 | +4 | -1 | libexec/tnftpd/NEWS |
| 1.6 | +1 | -0 | libexec/tnftpd/THANKS |
| +18 | -2 | 3 files | |
merge conflicts between NetBSD-20230922 and NetBSD-20230930
| Version | Delta | File | |
|---|---|---|---|
| 1.40 | +7 | -4 | libexec/tnftpd/src/ftpd.c |
| 1.12 | +4 | -4 | libexec/tnftpd/src/conf.c |
| 1.12 | +3 | -3 | libexec/tnftpd/src/version.h |
| +14 | -11 | 3 files | |
Import NetBSD-ftpd 20230930 Notable changes since import tag NetBSD-20230922 - Fix uninitialized memory usage in count_users() - Fix pam_set_item() call with proper struct passed as PAM_SOCKADDR
| Version | Delta | File | |
|---|---|---|---|
| 1.1.1.19 | +6 | -3 | libexec/tnftpd/src/ftpd.c |
| 1.1.1.11 | +3 | -3 | libexec/tnftpd/src/conf.c |
| 1.1.1.19 | +2 | -2 | libexec/tnftpd/src/version.h |
| +11 | -8 | 3 files | |
regen
| Version | Delta | File | |
|---|---|---|---|
| 1.55 | +468 | -575 | libexec/tnftpd/configure |
| 1.9 | +0 | -6 | libexec/tnftpd/tnftpd_config.h.in |
| +468 | -581 | 2 files | |
configure: remove obsolete macros
Remove macros marked obsolescent in autoconf 2.69 and
warned as obsolete in autoconf 2.71:
AC_HEADER_STDC()
AC_HEADER_TIME()
AC_TYPE_SIGNAL()
| Version | Delta | File | |
|---|---|---|---|
| 1.42 | +6 | -14 | libexec/tnftpd/tnftpd.h |
| 1.54 | +1 | -4 | libexec/tnftpd/configure.ac |
| +7 | -18 | 2 files | |
configure: improve check for inet_net_pton() Look for inet_net_pton() in -lresolv (for glibc). Move library checks after header checks, in case latter are needed for former. Display vars at end of configure: CC, CFLAGS, CPPFLAGS, LDFLAGS, LIBS
| Version | Delta | File | |
|---|---|---|---|
| 1.53 | +28 | -19 | libexec/tnftpd/configure.ac |
| +28 | -19 | 1 files | |
update ChangeLog for yesterday's improvements
| Version | Delta | File | |
|---|---|---|---|
| 1.65 | +109 | -75 | libexec/tnftpd/ChangeLog |
| 1.16 | +6 | -1 | libexec/tnftpd/NEWS |
| +115 | -76 | 2 files | |
sync .manin pages with upstream
| Version | Delta | File | |
|---|---|---|---|
| 1.3 | +5 | -5 | libexec/tnftpd/src/ftpd.conf.manin |
| 1.2 | +2 | -2 | libexec/tnftpd/src/ftpusers.manin |
| 1.4 | +2 | -2 | libexec/tnftpd/src/tnftpd.manin |
| +9 | -9 | 3 files | |
improve netbsd2tnftpd conversion replace ftpd with tnftpd in more macros
| Version | Delta | File | |
|---|---|---|---|
| 1.2 | +4 | -1 | libexec/tnftpd/buildaux/netbsd2tnftpd |
| +4 | -1 | 1 files | |
merge conflicts between NetBSD-20200615 and NetBSD-20230922
| Version | Delta | File | |
|---|---|---|---|
| 1.39 | +40 | -25 | libexec/tnftpd/src/ftpd.c |
| 1.20 | +7 | -5 | libexec/tnftpd/src/ftpcmd.y |
| 1.11 | +4 | -4 | libexec/tnftpd/src/version.h |
| 1.20 | +3 | -3 | libexec/tnftpd/src/extern.h |
| 1.4 | +2 | -1 | libexec/tnftpd/src/pfilter.c |
| +56 | -38 | 5 files | |
Import NetBSD-ftpd 20230922
Notable changes since import tag NetBSD-20200615:
- Treat failed chdir/chroot for guest and chroot accounts as fatal.
Also treat failed set{e,}(u,g}id calls as fatal.
Addresses CVE-2020-7468, via FreeBSD.
- Improve seteuid error handling, per suggestion by Simon Josefsson.
- Add missing check_login checks for MLST and MLSD.
| Version | Delta | File | |
|---|---|---|---|
| 1.1.1.18 | +39 | -24 | libexec/tnftpd/src/ftpd.c |
| 1.1.1.16 | +6 | -4 | libexec/tnftpd/src/ftpcmd.y |
| 1.1.1.12 | +5 | -5 | libexec/tnftpd/src/Makefile |
| 1.1.1.11 | +4 | -4 | libexec/tnftpd/src/ftpd.conf.5 |
| 1.1.1.18 | +3 | -3 | libexec/tnftpd/src/version.h |
| 1.1.1.16 | +2 | -2 | libexec/tnftpd/src/extern.h |
| +59 | -42 | 2 files not shown | |
| +65 | -42 | 8 files | |
regen
| Version | Delta | File | |
|---|---|---|---|
| 1.54 | +2,023 | -2,003 | libexec/tnftpd/configure |
| 1.8 | +41 | -0 | libexec/tnftpd/tnftpd_config.h.in |
| 1.11 | +18 | -11 | libexec/tnftpd/libnetbsd/Makefile.in |
| 1.14 | +3 | -2 | libexec/tnftpd/Makefile.in |
| +2,085 | -2,016 | 4 files | |
editorial fixes
| Version | Delta | File | |
|---|---|---|---|
| 1.49 | +3 | -3 | usr.bin/tnftp/configure.ac |
| 1.40 | +2 | -2 | usr.bin/tnftp/tnftp.h |
| +5 | -5 | 2 files | |
libnetbsd: add placeholder source to avoid an empty library
| Version | Delta | File | |
|---|---|---|---|
| 1.5 | +2 | -2 | libexec/tnftpd/libnetbsd/Makefile.am |
| 1.1 | +3 | -0 | libexec/tnftpd/libnetbsd/libnetbsd.c |
| +5 | -2 | 2 files | |
configure: only replace fts_open if required FTS_ flags aren't available
Use system fts_open() if it provides the flags we use:
FTS_COMFOLLOW|FTS_LOGICAL|FTS_NOSTAT|FTS_PHYSICAL|FTS_SEEDOT
| Version | Delta | File | |
|---|---|---|---|
| 1.52 | +23 | -5 | libexec/tnftpd/configure.ac |
| 1.41 | +2 | -2 | libexec/tnftpd/tnftpd.h |
| +25 | -7 | 2 files | |
todo: DONE: fgetln and glob
| Version | Delta | File | |
|---|---|---|---|
| 1.23 | +1 | -5 | libexec/tnftpd/todo |
| +1 | -5 | 1 files | |
configure: only replace glob if required GLOB_ flags aren't available
Use system glob() if it provides the flags we use:
GLOB_BRACE|GLOB_LIMIT|GLOB_NOCHECK|GLOB_TILDE
| Version | Delta | File | |
|---|---|---|---|
| 1.51 | +18 | -3 | libexec/tnftpd/configure.ac |
| 1.40 | +6 | -2 | libexec/tnftpd/tnftpd.h |
| +24 | -5 | 2 files | |
configure: enable AC_USE_SYSTEM_EXTENSIONS() We use various POSIX extensions, so enable them.
| Version | Delta | File | |
|---|---|---|---|
| 1.50 | +3 | -1 | libexec/tnftpd/configure.ac |
| +3 | -1 | 1 files | |
configure: use --option-name in feature display Use the appropriate option name in the feature display. Sort the options.
| Version | Delta | File | |
|---|---|---|---|
| 1.49 | +7 | -7 | libexec/tnftpd/configure.ac |
| +7 | -7 | 1 files | |
adapt __progname to setprogname() / getprogname() Import setprogname() and getprogname() from othersrc/usr.bin/tnftp/libnetbsd/setprogname.c rev 1.4. Use getprogname() instead of __progname. Fixes link error on modern NetBSD which correctly complained about duplicate definition of __progname.
| Version | Delta | File | |
|---|---|---|---|
| 1.1 | +53 | -0 | libexec/tnftpd/libnetbsd/setprogname.c |
| 1.6 | +9 | -8 | libexec/tnftpd/libnetbsd/err.c |
| 1.38 | +3 | -9 | libexec/tnftpd/src/ftpd.c |
| 1.39 | +6 | -1 | libexec/tnftpd/tnftpd.h |
| 1.48 | +2 | -2 | libexec/tnftpd/configure.ac |
| +73 | -20 | 5 files | |
regen with automake 1.16.1, libtool 2.4.6
| Version | Delta | File | |
|---|---|---|---|
| 1.1 | +348 | -0 | libexec/tnftpd/buildaux/compile |
| +348 | -0 | 1 files | |