History log of /freebsd-10-stable/libexec/ftpd/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 321267 20-Jul-2017 ngie

MFC r314653:

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

This simplifies make logic/output


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 159276 05-Jun-2006 yar

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


# 156813 17-Mar-2006 ru

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)


# 139126 21-Dec-2004 ru

NOPAM -> NO_PAM


# 132932 31-Jul-2004 yar

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

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


# 125336 02-Feb-2004 ru

Reorder dependencies to fix static NOPAM build.

Submitted by: lorder(1)


# 109893 26-Jan-2003 yar

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


# 105832 23-Oct-2002 rwatson

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


# 98973 28-Jun-2002 markm

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


# 91404 27-Feb-2002 obrien

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


# 90164 04-Feb-2002 kris

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


# 88673 29-Dec-2001 bde

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


# 88669 29-Dec-2001 joe

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

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


# 86943 27-Nov-2001 green

Add lomac.c.

Found by: ken


# 79469 09-Jul-2001 markm

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.


# 76106 28-Apr-2001 markm

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


# 76098 28-Apr-2001 markm

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


# 76097 28-Apr-2001 markm

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


# 74874 27-Mar-2001 markm

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>


# 74814 26-Mar-2001 ru

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


# 74529 20-Mar-2001 ru

Set the default manual section for libexec/ to 8.


# 69453 01-Dec-2000 obrien

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.".


# 69443 01-Dec-2000 obrien

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


# 61749 17-Jun-2000 joe

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


# 57978 13-Mar-2000 ru

Finally unifdef -DINTERNAL_LS.


# 57003 05-Feb-2000 joe

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


# 56975 03-Feb-2000 shin

Remove unnecessary -g for CFLAGS.

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

Approved by: jkh


# 56668 27-Jan-2000 shin

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


# 55270 30-Dec-1999 joe

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


# 51433 19-Sep-1999 markm

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


# 50990 06-Sep-1999 markm

Add common error lib for the Kerberos case.


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 50380 25-Aug-1999 peter

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.


# 41278 21-Nov-1998 jdp

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.


# 35700 04-May-1998 bde

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


# 30113 05-Oct-1997 jkh

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>


# 25283 29-Apr-1997 davidn

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


# 25165 26-Apr-1997 davidn

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.


# 25101 23-Apr-1997 davidn

Add basic login.conf (sans authentication) support.


# 22989 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

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.


# 17478 09-Aug-1996 markm

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


# 17435 04-Aug-1996 pst

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


# 17433 04-Aug-1996 pst

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.


# 16072 02-Jun-1996 phk

backout yacc changes


# 16033 31-May-1996 peter

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>


# 16015 30-May-1996 phk

Fix yacc rule usage.


# 13139 01-Jan-1996 peter

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.


# 9933 05-Aug-1995 pst

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


# 8870 30-May-1995 rgrimes

Remove trailing whitespace.


# 7127 18-Mar-1995 nate

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.


# 6740 26-Feb-1995 guido

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


# 3702 18-Oct-1994 pst

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


# 3250 30-Sep-1994 pst

Clean up makefile


# 2193 21-Aug-1994 guido

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


# 2158 20-Aug-1994 csgr

LDADD= -lcrypt
Submitted by: Geoff


# 1875 05-Aug-1994 wollman

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


# 1593 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1592,
which included commits to RCS files with non-trunk default branches.


# 1592 27-May-1994 rgrimes

BSD 4.4 Lite Libexec Sources