History log of /freebsd-current/libexec/ftpd/Makefile
Revision Date Author Comments
# 43581d7b 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

libexec: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# 5f4c09dd 11-Oct-2022 Ed Maste <emaste@FreeBSD.org>

Track upstream project rename in contrib/blocklistd

Upstream is now https://github.com/zoulasc/blocklist/. Rename the
contrib directory and update Makefiles to match, in advance of the next
vendor branch update.

Sponsored by: The FreeBSD Foundation


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 0aa27001 01-Oct-2022 Dag-Erling Smørgrav <des@FreeBSD.org>

Put OPIE to rest.

Differential Revision: https://reviews.freebsd.org/D36592


# 796d48ec 10-Jun-2022 Eugene Grosbein <eugen@FreeBSD.org>

ftpd(8): do not refer to now unused libxo(3)

In 2018, the commit r328100 (0fdf7fa846b1a1b1679e86812a1b08b8cb623604)
removed libxo(3) support from ls(1), so ftpd has no reasons to link
with libxo since then.

ls(1) does not depend on libxo in both of stable/12 and stable/13.

MFC after: 2 weeks


# 20cd6e31 15-Dec-2021 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Create a FreeBSD-ftpd package

And put ftpd into it.

MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D33453


# 541075a6 21-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move ftpusers to libexec/ftpd/

Thsi helps with pkgbase by switching to CONFS so that ftpusers will be
properly tagged as a config file.

Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16787


# a251f9dc 04-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

libexec: normalize paths using SRCTOP-relative paths or :H when possible

This simplifies make logic/output

MFC after: 1 month
Sponsored by: Dell EMC Isilon


# 3656f229 03-Jun-2016 Kurt Lidl <lidl@FreeBSD.org>

Add blacklist support to ftpd

Reviewed by: rpaulo
Approved by: rpaulo
Relnotes: YES
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6703


# d1a0d267 24-Aug-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Upgrade libxo to 0.4.5.

Local changes incorporated by 0.4.5: r284340
Local changes retained: r276260, r282117

Obtained from: https://github.com/Juniper/libxo


# 2f0ae772 10-Jun-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Fix build after converting ls(1) to use libxo(3).


# ee5a34ec 25-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Convert to LIBADD
Reduce overlinking


# c6063d0d 05-May-2014 Warner Losh <imp@FreeBSD.org>

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 31ee80d8 05-Jun-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Fix compilation of ftpcmd.y without -DINET6.
Respect MK_INET6_SUPPORT in Makefile.

Requested by: Attila Nagy <bra at fsn dot hu>
MFC after: 1 week


# e1fe3dba 17-Mar-2006 Ruslan Ermilov <ru@FreeBSD.org>

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


# b5b0bba4 20-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

NOPAM -> NO_PAM


# 809ad928 31-Jul-2004 Yaroslav Tykhiy <ytykhiy@gmail.com>

ftpd(8) seems to be WARNS=2 clean now.

Tested on: i386, ia64, amd64, sparc64, alpha


# 40f38d59 02-Feb-2004 Ruslan Ermilov <ru@FreeBSD.org>

Reorder dependencies to fix static NOPAM build.

Submitted by: lorder(1)


# 8657b576 26-Jan-2003 Yaroslav Tykhiy <ytykhiy@gmail.com>

Extend the format of /etc/ftpchroot so an alternative chroot
directory can be specified for a user or a group.

Add the manpage ftpchroot(5) since the file's format has grown
complex enough.

PR: bin/45327
Portions submitted by: Hideki SAKAMOTO <sakamoto@hlla.is.tsukuba.ac.jp>
MFC after: 1 week


# 4d33b62e 23-Oct-2002 Robert Watson <rwatson@FreeBSD.org>

Teach "ls -Z" to use the policy-agnostic MAC label interfaces rather
than the LOMAC-specific interfaces for listing MAC labels. This permits
ls to view MAC labels in a manner similar to getfmac, when ls is used
with the -l argument. Next generation LOMAC will use the MAC Framework
so should "just" work with this and other policies. Not the prettiest
code in the world, but then, neither is ls(1).

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories


# f2ed9754 28-Jun-2002 Mark Murray <markm@FreeBSD.org>

Remove a GCC-specific command-line option. We should be using WARNS=n
for this stuff.


# 0c934a5e 27-Feb-2002 David E. O'Brien <obrien@FreeBSD.org>

Put the last added source file in proper order.
(and dcc the committer a dictionary)


# 9357f412 03-Feb-2002 Kris Kennaway <kris@FreeBSD.org>

Lock down with WFORMAT?=1, with overrides in the subdirectories which
are not yet warning-clean. Tested on i386 and alpha.


# 6b96c275 28-Dec-2001 Bruce Evans <bde@FreeBSD.org>

Fixed missing DPADD in previous commit. Fixed most style bugs related to
DPADD and LDADD.


# 481bfba6 29-Dec-2001 Josef Karthauser <joe@FreeBSD.org>

Link with libm to take advantage of the -h flag to ls.

Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>


# 0cf1f693 26-Nov-2001 Brian Feldman <green@FreeBSD.org>

Add lomac.c.

Found by: ken


# fa1746c9 09-Jul-2001 Mark Murray <markm@FreeBSD.org>

Remove S/Key. PAM can do its job. Well, not quite - there is an issue
with the conversation function and challenges which needs to be
revisited, so in the interim a hack is introduced to provide
an OPIE challenge (which is random if OPIE does not apply)
at all non-anonymnous logins.


# c7d9dcd3 28-Apr-2001 Mark Murray <markm@FreeBSD.org>

Cleaner method of making PAMable apps static (in the optional case of
wanting static apps).


# 9c3f4f52 28-Apr-2001 Mark Murray <markm@FreeBSD.org>

Damn. That should be _enable_ static linking, not _force_ static linking.


# d0392caa 28-Apr-2001 Mark Murray <markm@FreeBSD.org>

Enable (optional) static linking.
Asked for by: BDE


# 5bc9d93d 27-Mar-2001 Mark Murray <markm@FreeBSD.org>

Add full PAM support for account management and sessions.

The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux
package's PAM patches to the BSD login.c

Submitted by: "David J. MacKenzie" <djm@web.us.uu.net>


# e5b5c66b 26-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

- Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.


# 020ee2dc 20-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

Set the default manual section for libexec/ to 8.


# 2c5569d6 01-Dec-2000 David E. O'Brien <obrien@FreeBSD.org>

The GCC 2.96 snapshots have slightly different rules for finding include
files. Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive. Some were
misspellings of "-I${.CURDIR}" as "-I.".


# d548f6db 30-Nov-2000 David E. O'Brien <obrien@FreeBSD.org>

There is no src/contrib-crypto/ anything directory. So don't look for
include files in subdirs of it.


# 141d77b8 17-Jun-2000 Josef Karthauser <joe@FreeBSD.org>

Switch over to using the new fflagstostr and strtofflags library calls.


# 8780fb29 13-Mar-2000 Ruslan Ermilov <ru@FreeBSD.org>

Finally unifdef -DINTERNAL_LS.


# 418d67b0 05-Feb-2000 Josef Karthauser <joe@FreeBSD.org>

Revert part of the last commit, remove {g|s}etflags from the libc
interface, and statically link them to the programs using them.
These functions, upon reflection and discussion, are too generically
named for a library interface with such specific functionality.
Also the api that they use, whilst ok for private use, isn't good
enough for a libc function.

Additionally there were complications with the build/install-world
process. It depends heavily upon xinstall, which got broken by
the change in api, and caused bootstrap problems and general mayhem.

There is work in progress to address future problems that may be
caused by changes in install-chain tools, and better names for
{g|s}etflags can be derived when some future program requires them.
For now the code has been left in src/lib/libc/gen (it started off
in src/bin/ls).

It's important to provide library functions for manipulating file
flag strings if we ever want this interface to be adopted outside
of the source tree, but now isn't necessarily the right moment
with 4.0-release just around the corner.

Approved: jkh


# 9ddb9015 03-Feb-2000 Yoshinobu Inoue <shin@FreeBSD.org>

Remove unnecessary -g for CFLAGS.

-g for CFLAGS which was set at debugging time was mistakenly committed,
so removed it.

Approved by: jkh


# 4dd8b5ab 27-Jan-2000 Yoshinobu Inoue <shin@FreeBSD.org>

another tcp apps IPv6 updates.(should be make world safe)
ftp, telnet, ftpd, faithd
also telnet related sync with crypto, secure, kerberosIV

Obtained from: KAME project


# edc2844c 30-Dec-1999 Josef Karthauser <joe@FreeBSD.org>

Moved flags_to_string and string_to_flags into libutil. It's used in
many places nowadays.


# 6c9134c0 19-Sep-1999 Mark Murray <markm@FreeBSD.org>

Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.


# 9891baa6 06-Sep-1999 Mark Murray <markm@FreeBSD.org>

Add common error lib for the Kerberos case.


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 17130647 25-Aug-1999 Peter Wemm <peter@FreeBSD.org>

unifdef -DINTERNAL_LS - it's too useful to be off by default. If anyone
really dislikes this, we could add a switch to disable it at runtime and
check in popen.c.


# 4700eb95 20-Nov-1998 John Polstra <jdp@FreeBSD.org>

Find "klogin.c" in "src/lib/libpam/modules/pam_kerberosIV" instead
of in "src/usr.bin/login". The latter instance is going away. As
soon as ftpd is PAMized, it won't need to use klogin.c at all.


# ef87dd87 04-May-1998 Bruce Evans <bde@FreeBSD.org>

Simplified by using new yacc rules and by not generating y.tab.h.


# 97fe7f47 05-Oct-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>


# ea4e54b9 28-Apr-1997 David Nugent <davidn@FreeBSD.org>

Adds anon ftp virtual host capability to ftpd, using /etc/ftphosts for
definition of a system's virtual hosts.


# af85d782 25-Apr-1997 David Nugent <davidn@FreeBSD.org>

Adds optional "internal ls" support for ftpd, by collecting
modules from src/bin/ls, and handling exec(_PATH_LS,..) as a
special case, very useful in an environment where many users
are given chroot access. "~/etc/{s}pwd.db" files are still
needed if uid/gid->user/group translation is desired.

To enable this it must be compiled with the make variable
FTP_INTERNAL_LS defined, either in /etc/make.conf or the
environment.


# b071c689 22-Apr-1997 David Nugent <davidn@FreeBSD.org>

Add basic login.conf (sans authentication) support.


# 9e522f7a 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 9aca17cb 09-Aug-1996 Mark Murray <markm@FreeBSD.org>

Tidy up the Kerberised bits. While I'm here, fix some -Wall complaints.


# a5a4544e 04-Aug-1996 Paul Traina <pst@FreeBSD.org>

Convert STATS and PARANOID to run-time options.
Document the new -R (relax paranoia) option.

From NetBSD/Lite2: code and man page cleanups, Kerberos IV hooks
(relax, we're still exportable), and /etc/ftpchroot feature for
semi-anonymous accounts


# 61f891a6 04-Aug-1996 Paul Traina <pst@FreeBSD.org>

If PARANOID is set, do not allow PORT commands to remote ports less than 1024
or addresses other than the requestor's address. This violates the FTP
protocol (hmm...as I write this, I'm going to change this to a run-time var.)

Require login before PASV and RNTO commands.

Close unused PASV ports so they don't hang around forever.

Do not allow file overwrites via rename or STOR when anonymous
(suspenders).

Clean up buffer utilization.

My code, but heavily inspired by Hobbit's changes to wu-ftpd as pointed out
by Mike Prettejohn and Kit Knox.


# 6b513974 02-Jun-1996 Poul-Henning Kamp <phk@FreeBSD.org>

backout yacc changes


# 40e9d39e 30-May-1996 Peter Wemm <peter@FreeBSD.org>

Use the sysctl settable data port ranges rather than the statically
compiled values. see sysctl net.inet.ip.portrange.* and the IP_PORTRANGE
discussion in <netinet/in.h>


# 9ad70fa0 30-May-1996 Poul-Henning Kamp <phk@FreeBSD.org>

Fix yacc rule usage.


# b63e1fe2 01-Jan-1996 Peter Wemm <peter@FreeBSD.org>

Make ftpd use setproctitle() from libutil

I've left the old code in there under #ifdef OLD_SETPROCTITLE in case
somebody wants to try to compile out ftpd on some other machine.


# 4c450ad7 05-Aug-1995 Paul Traina <pst@FreeBSD.org>

Use data ports in the range 40000..44999 by default to enhance FTP usability
in a firewall environment. Original idea by Mark Tracy (?).

Reviewed by: wollman
Submitted by: pst


# 6c06b4e2 29-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# 79f5f586 17-Mar-1995 Nate Williams <nate@FreeBSD.org>

Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command. This only occurs when
linking statically.


# 3eb568f2 26-Feb-1995 Guido van Rooij <guido@FreeBSD.org>

Add some functionality to ftpd so it logs all anonymous file
transfers. It only does this when -S is set.
Reviewed by:
Submitted by:
Obtained from: logdaemon package


# 2ddadf84 18-Oct-1994 Paul Traina <pst@FreeBSD.org>

Include most of the logdaemon v4.4 S/key changes


# 28dc1977 30-Sep-1994 Paul Traina <pst@FreeBSD.org>

Clean up makefile


# 726040de 21-Aug-1994 Guido van Rooij <guido@FreeBSD.org>

Put skey support in ftpd.
Reviewed by:
Submitted by: guido


# 4714bb15 20-Aug-1994 Geoff Rehmet <csgr@FreeBSD.org>

LDADD= -lcrypt
Submitted by: Geoff


# 2a3c26c8 05-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Update to new make macros and disable Kerberos because we haven't got it
set up right yet.


# ea022d16 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Libexec Sources