The NetBSD Project

CVS log for pkgsrc/net/bftpd/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / net / bftpd

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Sep 24 13:29:03 2026 UTC (7 weeks, 3 days ago) by drixter
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
bftpd: Update to 6.7

July 8, 2026: Introduced build fixes for macOS and Solaris-baed systems.
The newest version of Bftpd is 6.7 and it introduces just two code changes to
help the project build on macOS and Solar-based operating systems.
There are no logic, documentation, or feature changes in 6.7,
just fixes for compiling on these two platforms.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Jun 14 08:23:40 2026 UTC (5 months ago) by drixter
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4 lines
net/bftpd: Update to version 6.6

Jesse Smith <jessefrgsmith@yahoo.ca> -> 6.6
        - Add "211 End" reponse to SITE command's output to
          make sure some FTP clients do not hang while waiting for additional
          lines.

        - Remove check for working GCC as it no longer works with modern versions of
          GCC. Now we just check for a compiler and assume it can create binary files.


Jesse Smith <jessefrgsmith@yahoo.ca> -> 6.5
        - Fixed possible denial of service attack where child
          file descriptors are not cleaned up by the parent quickly enough.
          Fix provided by Alexander Trifa.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 6.4
        - Directory listings are now shown in alphabetical order.
          Permissions on files are more accurate.
          Patch provided by Karl Tark.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 6.3
        - Implemented the MLST and MSLD functions for sending file and
          directory information in machine-readable format.
          Requested by Daneil Bedrenko for VLC mobile app.


Jesse Smith <jessefrgsmith@yahoo.ca> -> 6.2
       - When Bftpd is run with the -n flag (no configuration file)
          default ratio settings prevented files from downloading.
          Samuel Hsu has patched Bftpd to assume no ratio ("") is
          treated the same as "none" or no restrictions.
          This was fixed prior (in 5.6) and reverted. Re-adding it.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Nov 17 11:01:11 2025 UTC (11 months, 4 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
*: switch all sourceforge HOMEPAGEs to https

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Dec 3 10:41:15 2022 UTC (3 years, 11 months ago) by nros
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
Update net/bftpd to version 6.1

Changes from CHANGELOG:

- Fixed linking errors on latest complilers GCC/Clang by
  addressing variable scope.
- Make sure we do not rely on argv or argv[0] being valid.
  Bftpd now exits with an error if arguements are not passed as expected.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Oct 17 10:11:20 2021 UTC (5 years, 1 month ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
bftpd: update to 6.0

Jesse Smith <jessefrgsmith@yahoo.ca> -> 6.0
	- Make extended passive mode respect the PASSIVE_PORTS variable
	  in the bftpd configuration file. Previously random ports
	  would be assigned.
	- Minor code clean-up in mystrings library to avoid calculating
	  string length multiple times.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.9
	- Fixed output of directory listing so that file size is right-justified
	  which makes output look cleaner.
	  Fix suggested by uomo ukko.
	- Addressed some compiler warnings. Make sure we bail out
          of situations even if they should never realisticaly return
	  an error.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.8
	- Many spelling errors in source code and documentation found and
	  fixed by Jens of Fossies (fossies.org). Applied spelling corrections.
	- Removed mark-up and special characters from COPYING, README, and INSTALL
	  files.
	- Fixed file size reporting on 32-bit ARM architecture when files are
	  large (greater than 2GB).
	  Problem and fix reported by uomo ukko.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.7
	- A malicious client could cause a buffer overflow with
	  a lot of EPSV commands sent in a row. We now close
	  the pasv socket before each new use to avoid accumulating
	  more than 1023.
	  Thanks to Shisong Qin for reporting this issue and suggesting
	  a fix.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Jun 12 08:10:52 2021 UTC (5 years, 5 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -2 lines
bftpd: Update to 5.7

This file contains all major changes made during the development of bftpd.
The uppermost change is the newest one.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.7
	- A malicious client could cause a buffer overflow with
	  a lot of EPSV commands sent in a row. We now close
	  the pasv socket before each new use to avoid accumulating
	  more than 1023.
	  Thanks to Shisong Qin for reporting this issue and suggesting
	  a fix.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri May 14 13:16:53 2021 UTC (5 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -1 lines
bftpd: honor LDFLAGS

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Aug 10 13:49:15 2020 UTC (6 years, 3 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -3 lines
bftpd: Update to 5.6

Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.6
	- When Bftpd is run with the -n flag (no configuration file)
          default ratio settings prevented files from downloading.
          Samuel Hsu has patched Bftpd to assume no ratio ("") is
          treated the same as "none" or no restrictions.
	- Fixed potential overflow in buffer for directory listing.
	- Used calloc() and single strlen() call to avoid having
	  a string without a NULL terminator mystring library.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Apr 26 14:02:28 2020 UTC (6 years, 6 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -1 lines
net/bftpd: fix location of configuration file in manual page

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Apr 22 05:00:05 2020 UTC (6 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
bftpd: Update to 5.5

Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.5
	- Fixed a file descriptor leak would could cause the Bftpd
	  server to run out of available files it can open when storing/uploading
          files.
          Eric Debief provided a patch to correct the issue.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Apr 1 10:01:29 2020 UTC (6 years, 7 months ago) by nia
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -3 lines
bftpd: Update to 5.4

Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.4
	- Fixed potential one-by-one heap issue when
          reading during transferring files.
	  Issue reported by Antonio Morales.


Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.3
	- Made the situation where FILE_AUTH more clear, advised
          against it. Added warning about making sure password
          file is not readable by another other than the admin.
	- Updated Makefile.in to use more fine-grained dependency
	  checks. Should speed up compiling when just one
	  source file has been altered.
	  New Makefile.in provided by Vemake.
	- Fixed out of bounds memory read when fetching options.
          Issue reported by and solution provided by Antonio Morales.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Mar 20 11:58:05 2020 UTC (6 years, 7 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
*: Convert broken sourceforge HOMEPAGEs back to http

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Jan 18 23:33:13 2020 UTC (6 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Sep 7 13:12:53 2019 UTC (7 years, 2 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +9 -4 lines
bftpd: Update to 5.2

Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.2
	- Make sure we do not send extra newline when DENY message
	is sent to the client.
	- Fixed some build dependencies in the Makefile so fresh
          build is triggered by updating config.h.
          Change provided by Vemake.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Jun 22 12:53:47 2019 UTC (7 years, 4 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
bftpd: Update to 5.1

Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.1
        - Fixed duplicate error message when user tries to
          sign in with invalid username.
        - Make sure user can change username before
          successfully authenticating.
        - Fix error message when "type" command is not
          given a parameter.
        - Make sure we do not return multiple error
          codes when an account is disabled.
        - Do not drop connection to client when
          selected account is disabled.
        - Make sure when accounts are disabled/denied, they print the
          proper reason (set in the config file) back to the client

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Nov 24 11:29:15 2018 UTC (7 years, 11 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
bftpd: Update to version 5.0

Changes:

Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.0
	- Added more checks to places where we are mapping a file
          or checking for symbolic links. Should avoid trying to
          operating on invalid path names or broken symlinks.
          Issue reported by Xu.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.9
	- Several checks added to chdir() and other
          return codes to make sure syscalls are all returning
          properly. Patch provided by Zhouyang Jia.
	- Fixed some compiler warnings due to unused or
          oddly indented code.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.8
	- Fixed potential double-free bug during Bftpd shutdown.
	- Fixed potential unititalized variable.
	  Thanks to Alex for reporting these bugs.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.7
	- Fixed memory leak in rename function.
          Thanks to Alex for reporting this bug.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.6
	- Avoid memory corruption when reading config file by initalizing memory.
	- Make sure CHROOT is default option, even if it is not specified
	  in the config file.
	  Thanks for Anton Yuzhaninov for providing the above two fixes.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.5
	- Avoid potential buffer underflow in main.c
	  Thanks to Andreas for pointing out this problem.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Sep 18 18:08:49 2016 UTC (10 years, 1 month ago) by wiedi
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1 lines
wants zlib

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Mar 6 13:29:34 2016 UTC (10 years, 8 months ago) by nros
Branches: MAIN
CVS tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -3 lines
Updated bftpd to version 4.4.
Build with "on the fly" gzip compression since it's mentioned in DESCR.

Changelog:

4.4
	- Fixed potential buffer overflow when
	  expanding symbolic link file names.

4.3
	- Clarified license (COPYING file)
        - Fixed compiler warning with regards to
          pointer-to-integer cast.

4.2
	- Improved user checking code to avoid locking out
	  valid users from the system.
	  (Thanks to Lauri Kasanen for reporting this bug
           and supplying a patch.)

4.1
	- Added checks to crypt() calls to prevent
	  operating on NULL pointer.
	  (Thanks to Lauri Kasanen for reporting this bug.)

4.0
	- Added patch from Thomas Cort to make Bftpd
	  compile on NetBSD.

3.9
	- Adjusted Makefile to allow for easy access to
	  non-default compiler options. Alternative compiler
	  can be used by running "make CC=compilername".
	- Zhenbo Xu reported several potential memory
	  bugs which could cause Bftpd if the operating
	  system is out of memory. Also reported a memory
          leak. Checks are now in place to prevent crashes
	  and the memory leak has been plugged.
	- Added MINIX-specific configuration file which
          should allow Bftpd to run smoothly and without
	  additional configuration on MINIX.
	- Merged MINIX porting code into mainline Bftpd
	  so we can work with one, unified code base.

3.8
	- Fixed bug in user tracking which could result
          in corrupted times on 64-bit systems.
	- When Bftpd is compiled with a "prefix" (which
          is the default behaviour) the Bftpd will
	  check both /etc/bftpd.conf AND PREFIX/etc/bftpd.conf
          when trying to find its configuration file.
          This should avoid requiring the admin to pass
	  the location of the config file on the command line.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Jun 1 12:13:04 2013 UTC (13 years, 5 months ago) by shattered
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Update to 3.7. Notable changes:

Default config disables anonymous login.
Directory listing no longer hangs if the directory contains a named pipe.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Mar 28 23:59:03 2013 UTC (13 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Reset maintainer, domain no longer exists.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Oct 23 17:18:11 2012 UTC (14 years ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -3 lines
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.10.20.1: download - view: text, markup, annotated - select for diffs
Mon Jun 7 19:06:20 2010 UTC (16 years, 5 months ago) by tron
Branches: pkgsrc-2010Q1
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +18 -7 lines
Pullup ticket #3140 - requested by kefren
net/bftpd: security update

Revisions pulled up:
- net/bftpd/Makefile				1.11-1.12
- net/bftpd/distinfo				1.5-1.6
- net/bftpd/patches/patch-aa			1.4
- net/bftpd/patches/patch-ab			delete
- net/bftpd/patches/patch-ac			1.1
---
Module Name:	pkgsrc
Committed By:	obache
Date:		Thu May 27 14:14:30 UTC 2010

Modified Files:
	pkgsrc/net/bftpd: Makefile distinfo
	pkgsrc/net/bftpd/patches: patch-aa
Added Files:
	pkgsrc/net/bftpd/patches: patch-ac
Removed Files:
	pkgsrc/net/bftpd/patches: patch-ab

Log Message:
Update bftpd to 2.8
Based on PR#43352 by Wen Heping.

pkgsrc changes:
* set LICENSE=gnu-gpl-v2
* simplify patch-aa.
* remove patch-ab, replace with SUBST instead, and also replace /etc in manpage.
* add patch-ac for fixes standalone mode. XXX: IPv4 only
* cosmetics fixes.
---
Module Name:	pkgsrc
Committed By:	obache
Date:		Fri Jun  4 04:30:45 UTC 2010

Modified Files:
	pkgsrc/net/bftpd: Makefile distinfo

Log Message:
Update bftpd to 2.9.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.9
	- Bftpdwill attempt to create it's utmp directory
          if that directory does not exist. Fixes issue on
	  Ubuntu where the direcotry is wiped out at each
	  reboot.
	- The ROOTDIR option now works properly for
	  anonymous users.
	  Thanks to Paul for reporting this bug.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jun 4 04:30:45 2010 UTC (16 years, 5 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Update bftpd to 2.9.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.9
	- Bftpdwill attempt to create it's utmp directory
          if that directory does not exist. Fixes issue on
	  Ubuntu where the direcotry is wiped out at each
	  reboot.
	- The ROOTDIR option now works properly for
	  anonymous users.
	  Thanks to Paul for reporting this bug.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu May 27 14:14:30 2010 UTC (16 years, 5 months ago) by obache
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +18 -7 lines
Update bftpd to 2.8
Based on PR#43352 by Wen Heping.

pkgsrc changes:
* set LICENSE=gnu-gpl-v2
* simplify patch-aa.
* remove patch-ab, replace with SUBST instead, and also replace /etc in manpage.
* add patch-ac for fixes standalone mode. XXX: IPv4 only
* cosmetics fixes.

Upstream ChangeLog:
Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.8
        - Added patch which will allow client to see hidden
          files if the "-a" parameter is used in list commands.
          Hidden files are only shown if SHOW_HIDDEN_FILES
          is enabled in the config file.
          Patch provded by Raster.
        - Swapped out glob function for custom directory
          search matching. Allows clients to see broken
          symbolic links if "SHOW_NONREADABLE_FILES" is set
          to "yes".
          Patch supplied by Raster.
        - Added patch to clean up zombies if several children
          processes all die at the same time. We were cleaning up
          just one child per signal before.
          Patch supplied by Raster.
        - Fixed typo in log error message.
        - Made sure we can read user config file options
          even with unusual compile flags.
        - Fixed anonymous login.
        - Anonymous login disabled by default in the config file.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.7
        - Added patch from Raster which returns more speicifc error
          messages to the client when a file or directory cannot be
          removed. This should avoid confusing some clients when the
          user attempts to remove a directory.
        - Added checks for increased security/stability and to remove
          compiler warnings.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.6
        - Removed some debugging information from the log file.
        - Made certain that bandwidth log will not over-write itself
          when multiple users are logged in.
        - Bandwidth log file is flushed to avoid loss of data.
        - Bftpd will write to bandwidth log even if client does
          not disconnect cleanly.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.5
        - Added better UTF support. Clients that check for this
          will now enable UTF-8. For example, Filezilla.
        - Made sure remote admin login was disabled. This shouldn't
          have worked anyway, but disabled the feautre to make sure.
        - Added additional log file which tracks user bandwidth.
          See the option in the config file called BANDWIDTH.
        - Updated README file to contain notes on logging.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.4
        - Fixed a possible security hole which would allow
        attackers to perform a DoS attack against bftpd.
        (Thanks to Dazhi for pointing out this problem.)

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.2.1 (aka 2.3)
        - Bftpd should not attempt to close stdin, stdout and stderr
        if they do not exist. Fixed this in main.c.
        (Patch provided by Ivan A-R.)

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.2
        - Bftpd does not exit when an incorrect password is given.
        The server does drop connections in cases where logins are
        specifically denied, full server or if an error appears in
        the config file.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.1.2
        - Added option to not show files in a dir list
        if the file is not readable. Thanks to Eric
        Woltermann for sending in this patch.
        By default non-readable files are not listed.
        See the SHOW_NONREADABLE_FILES config option.
        - Make the replace() function safer with
        range checking to avoid buffer over-flow.
        - Fixed calls to replace() function.
        - Most string buffers now have a set size of
        MAX_STRING_LENGTH, rather than some arbitraty size.
        - Applied patch to allow user specific data to
        be subsituted into the user MOTD file path.
        The symbols %u and %h and be used in place of the
        user's username and home directory in the MOTD_USER
        config option.
        Thanks to Eric Woltermann for submitting this patch.
        - Bftpd now prompts for a password, even on anonymous
        accounts to help increase compatiblity with some
        web browsers.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.1.1
        - Fixed directory creation so that the proper
        umask is used. thanks to Thiemo for pointing
        out this problem.
        - Fixed buffer under-size error in options.c
        Thanks to Athan for reporting this bug.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.1
        - By default, the SITE command is now disabled
        in the bftpd.conf file. This is to prevent
        security holes and DoS attacks via "site md5 <filename>"

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.0.3
        - Added md5 support for amd64 machines.
        - If no arch is defined for md5, assume little endian.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.0.2
        - Transfer buffer size now defaults to staying the
        same (max) size for all transfers. To get a variable
        buffer size, change the config option CHANGE_BUFSIZE
        to "yes".
        - Added config file option SHOW_HIDDEN_FILES. When this
        option is set to "yes", bftpd shows hidden files in directory
        listings. By default this is set to "no".

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.0.1
        - Avoid possible segfault in replace() function
        in mystring.c
        - Avoid memory error in main.c using strdup()
        - Avoid segfault in options.c the create_options()
        - Added ability to use the SITE command to provide md5
        checksums of files. (usage: site md5 filename)

        Very many thanks to Ulrich Drepper and Gray Watson for
        the md5 library!

        - Changed ratio calculations to use double type to
        allow for larger files and data transfers.
        - Added HELP option to the SITE command.
        (usage: site help)
        - Added config file variable CHANGE_BUFSIZE. This
          determines whether the transfer buffer changes size.
          It defaults to "yes".
        - Removed extra fileno() calles in file receives.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.0
        - Avoid memory error in options.c

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.9.3
        - Avoid segfaults in options.c and cwd.c
        - Added memory checks in options.c

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.9.2
        - Avoid segfaults in options.c and dirlist.c

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.9.1
        - Avoid segfaults in options.c and main.c

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.9
        - Added limits.h entry to main.c and options.c
        for compatibility with FreeBSD.
        (All problems with bftpd on FreeBSD were found and
        corrected by Beech of the FreeBSD team.)

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.8.4
        - When printing file sizes for files larger than 4GB
        the file size is now displayed correctly.
        - When a FTP client drops a connection without sending
        an ABORT (ABOR) signal, Bftpd will detect the dropped
        connection and log it. This prevents stale connections
        preventing new users from connecting.
        (Bug found and fixed by: Thorsten)
        - Added limits.h and signal.h to list of headers used
        in commands.c, for compatibility with BSD.
        - Changed sighandler_t in "run_script()" to sig_t
        for compatibility between Linux and BSD.
        - Added OpenPAM patch from FreeBSD (login.c)
        - Added limits.h include to login.c file for
        compatibility with BSD.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.8.3
        - If Bftpd is unable to create bftpdutmp file, an error
        should now be written to the log file.
        - Directory output corrected for when large files (> 2GB)
        are listed.
        - Documentation for xinetd config updated.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.8.2
        - Changed bftpd's direcotry name to plain "bftpd"
        rather than "bftpd-version". This will, hopefully, make
        it easier to run scripts which build/run bftpd.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.8.1
        - Avoid segfault in getoption() (options.c)
          Credit to Mats Erik Andersson for finding this bug.
        - Fixed potential memory leaks in commands.c

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.7.2
        - Fixed serious bug which would cause bftpd to crash
        while sending a file. Double-free error.
        (Credit to Davide Pozza for reporting these bugs below.)
        - Prevent buffer over-flow in parsecmd() when
        forming confstr variable.
        - Check return values of strtoul() to make sure they
        do not over-flow an int.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.7.1
        (Credit to Davide Pozza for reporting these bugs.)
        - Avoid memory over-flow in bftpd_login (login.c)
        with the str[] variable. Made size 512 + 1.
        - Avoid buffer over-flow in str[] variable in
        main().
        - Prevent buffer over-flow in check_file_password()
        when performing fscanf().
        - In check_file_password() made calloc() allocate
        larger buffer to prevent over-flow.
        - Performed range checking on the number of users on
        the system to make sure they don't over-flow a 32-bit int.
        - Make sure malloc calls in commands.c do not allocate
        too much or too little memory.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6.6
        - Perform memory allocation check in bftpd_cwd_mappath()
        - Changed a strcmp() to strcasecmp() in command_retr function.
        - Performed free(mapped) at end of command_retr.
        - Performed memory checks and clean-up in various functions.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6.5
        - The when using the FILE_AUTH option, the text
        password file can contain anonymous users. That is,
        users who do not require passwords. THIS IS DANGEROUS
        ON MOST SYSTEMS. A entry with the password field set to
        a * (star) does not require a password. See the
        config file option FILE_AUTH for more information.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6.4
        - Allow ANONYMOUS_USER config file option to be used with
        the FILE_AUTH option. This basically allows anyone
        to login to the system without a password if both
        options are used!
        - When a chroot fails during login the server will
        no longer tell the client which directory it was trying
        to chroot to.
        - When the config.h file contains a definition for
        NO_GETPWNAM then the getpwnam() function is not used.
        Also, this forces the use of the FILE_AUTH option. If
        NO_GETPWNAM is defined and FILE_AUTH is not used, all
        connections are dropped.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6.3
        - Introduced option to over-ride the local/LAN
        IP address assigned to the host computer. This
        option takes a 4-number IP address in the format
        of "127.0.3.101". See OVERRIDE_IP in bftpd.conf for
        more information.
        - Removed description-pak file from source tree.
        - The options PRE_WRITE_SCRIPT and POST_WRITE_SCRIPT
        have been added to the bftpd.conf file. These options
        let you run scripts before and after any command writes
        to the file system. Handy if you want to re-mount.
        Please see the bftpd.conf file for details.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6.2
        - When using FILE_AUTH to login, check
        DO_CHROOT option before performing
        a chroot().

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6.1
        - Removed code which uses sendfile().
        The sendfile code appears to cause a
        conflict on some systems when used
        with 64-bit file size variables.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6
        - Released bftpd without code changes, but
        with updated Polish documentation.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.5
        - Added Polish documentation to website.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.4.1
        - Added ability to use a plain text file
          for authentication. See config file option
          FILE_AUTH for details.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.4
        - Fixed default configuration.
        - Fixed compile warnings for vanilla config.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.3.2
        - Fixed Makefile to erase config.cache file during
          "make clean"
        - Added ability to uncompress files on the fly
          during downloads. Any file with the extension
          ".gz" can be decompressed during transfer to
          the client with the use of the GZ_DOWNLOAD
          in the config file. This option requires bftpd
          be configured (pre-compile time) with the flag
          --enable-libz.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.3.1
        - Changed ratio values to unsigned long
          variables to support large files.
        - Editted Makefile to allow bftpd to handle large
          files (2GB+).


Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.2.2
        - Added ability to upload files and
          compress them into .gz files on the fly.
          See bftpd.conf file for the option.
          This option requires --enable-libz be
          used when running the configure script.

        - Cleaned up code to avoid compiler warnings
          from gcc 4.0.2.
          Files changed: main.c commands.c

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.2.1
        - When the config file is re-read, global
          are changed only.
          Files changes: options.c options.h

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.2
        - Made re-reable options be able to hold larger
          values. Up to 256 bytes/characters long.
        - Replaced old rpm spec file with one from
          Joe, which will be used from now on for
          rpm builds.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.1.3
        - When a child/client dies, the
          parent process will now attempt to
          remove the client's log entry
          from the bftpdutmp file. This
          should prevent stale entries.
        - Changed some default values to
          constants in options.h
        - Fixed typo(s) in bftpd.conf
        - Set delete/over-write for global
          users to be disabled by default
          in bftpd.conf.
        - Added the XFER_DELAY option to
          the bftpd.conf file. This allows
          the admin to set a time delay
          between data transfer bursts.
          This aid in bandwidth throttling.
          Please see bftpd.conf for more
          details on this feature.
        - Added more re-read options
          when catching signal SIGHUP.
          The re-readable options are now:
          HELLO_STRING, QUIT_MSG, XFERBUFSIZE,
          DATA_TIMEOUT, CONTROL_TIMEOUT,
          USERLIMIT_GLOBAL, USERLIMIT_SINGLEUSER,
          USERLIMIT_HOST, DENY_LOGIN and XFER_DELAY.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.1.2
        - Program now catches signal SIGHUP.
        - When bftpd catches the SIGHUP (hang up)
          it re-reads the config file. It looks
          for some config values, but not all.
          At this time, the values which are
          re-read are:
          HELLO_STRING, QUIT_MSG and XFERBUFSIZE

Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.1.1
        - Added rpm spec file to redhat directory.
        - Changed numberic string length (512) to a defined
          string length (MAXCMD). Makes code more
          compatible with main.c and uses less stack
          memory. File changed: commands.c
        - When receiving files, the transfer buffer
          (XFER_BUFSIZE) is divided by the number of
          connected clients. This should prevent bandwidth
          being sucked back by multiple connections.
        - Minor fixes, checking for malloc errors,
          freeing memory and closing sockets.
          File changed: commands.c
        - When sending files, the transfer buffer
          (XFER_BUFSIZE) is divided by the number
          of connected clients. This should prevent
          bandwidth being taken over by multiple connections.
        - Changed Makefile so bftpd.8 gets installed as
          a manual page in the proper location.
          Also updated rpm spec file to include man page.

Jesse Smith <slicer69@hotmail.com> -> 1.1.0
        - Changed some bftpdutmp_log(0) lines to
        calls to bftpdutmp_end(). This should be safer.
        - Made sure that clients cannot write or append
        to files if the "delete" command is disabled. I
        think if they cannot delete the file they shouldn't
        be allowed to truncate it to zero bytes either.
        - Added reason for login failure to log file.
        - Removed logging of getting user count from
        temp file. Just seems to be taking up space.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jul 10 15:52:03 2008 UTC (18 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2010Q1-base, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Branch point for: pkgsrc-2010Q1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1 lines
Move /var/log/bftpd.log and /var/run/bftpd creation to install time.
Bump revision.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Dec 20 14:08:34 2007 UTC (18 years, 11 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -4 lines
Need 'sbin' rather than 'bin'.
Then DESTDIR ready.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Mar 31 12:00:21 2007 UTC (19 years, 7 months ago) by abs
Branches: MAIN
CVS tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
fix HOMEPAGE

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Mar 24 19:21:29 2007 UTC (19 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -1 lines
Prepare for switching to NO_MTREE=yes.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Dec 29 06:21:57 2005 UTC (20 years, 10 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -2 lines
Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Apr 11 21:46:44 2005 UTC (21 years, 7 months ago) by tv
Branches: MAIN
CVS tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -2 lines
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Feb 17 03:06:07 2005 UTC (21 years, 9 months ago) by uebayasi
Branches: MAIN
CVS tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Fix quoting.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Dec 11 08:25:48 2004 UTC (21 years, 11 months ago) by minskim
Branches: MAIN
CVS tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
- Use VARBASE instead of hardcoding /var.
- Do not override file ownership.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Apr 25 07:45:37 2004 UTC (22 years, 6 months ago) by snj
Branches: MAIN
CVS tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Convert to buildlink3.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:13:15 2003 UTC (23 years, 5 months ago) by jmmv
Branches: TNF
CVS tags: pkgsrc-base, pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Initial import of bftpd, version 1.0.24:

bftpd is a FTP server that tries to be very configurable while being fast and
small.  Its features include:
* Easy configuration.
* Speed.
* Support for most RFC FTP commands.
* tar.gz on-the-fly compression/archiving.
* Security with chroot without special setup.
* No need for extra files (sh, ls..) in a chroot environment.
* Logging to wtmp and to logfile or syslog.
* PAM and passwd/shadow support.
* Support for SITE CHOWN/CHMOD.

Package provided by virtus@wanadoo.nl in pkgsrc-wip with several changes by me.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:13:15 2003 UTC (23 years, 5 months ago) by jmmv
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>