head	1.58;
access;
symbols
	RELENG_8_4:1.58.0.2
	RELENG_9_1_0_RELEASE:1.57.16.1.4.2
	RELENG_9_1:1.57.16.1.0.4
	RELENG_9_1_BP:1.57.16.1
	RELENG_8_3_0_RELEASE:1.57.10.1.8.1
	RELENG_8_3:1.57.10.1.0.8
	RELENG_8_3_BP:1.57.10.1
	RELENG_9_0_0_RELEASE:1.57.16.1.2.1
	RELENG_9_0:1.57.16.1.0.2
	RELENG_9_0_BP:1.57.16.1
	RELENG_9:1.57.0.16
	RELENG_9_BP:1.57
	RELENG_7_4_0_RELEASE:1.57.14.1
	RELENG_8_2_0_RELEASE:1.57.10.1.6.1
	RELENG_7_4:1.57.0.14
	RELENG_7_4_BP:1.57
	RELENG_8_2:1.57.10.1.0.6
	RELENG_8_2_BP:1.57.10.1
	RELENG_8_1_0_RELEASE:1.57.10.1.4.1
	RELENG_8_1:1.57.10.1.0.4
	RELENG_8_1_BP:1.57.10.1
	RELENG_7_3_0_RELEASE:1.57.12.1
	RELENG_7_3:1.57.0.12
	RELENG_7_3_BP:1.57
	RELENG_8_0_0_RELEASE:1.57.10.1.2.1
	RELENG_8_0:1.57.10.1.0.2
	RELENG_8_0_BP:1.57.10.1
	RELENG_8:1.57.0.10
	RELENG_8_BP:1.57
	RELENG_7_2_0_RELEASE:1.57.8.1
	RELENG_7_2:1.57.0.8
	RELENG_7_2_BP:1.57
	RELENG_7_1_0_RELEASE:1.57.6.1
	RELENG_6_4_0_RELEASE:1.55.2.1.6.1
	RELENG_7_1:1.57.0.6
	RELENG_7_1_BP:1.57
	RELENG_6_4:1.55.2.1.0.6
	RELENG_6_4_BP:1.55.2.1
	RELENG_7_0_0_RELEASE:1.57
	RELENG_6_3_0_RELEASE:1.55.2.1
	RELENG_7_0:1.57.0.4
	RELENG_7_0_BP:1.57
	RELENG_6_3:1.55.2.1.0.4
	RELENG_6_3_BP:1.55.2.1
	RELENG_7:1.57.0.2
	RELENG_7_BP:1.57
	RELENG_6_2_0_RELEASE:1.55.2.1
	RELENG_6_2:1.55.2.1.0.2
	RELENG_6_2_BP:1.55.2.1
	RELENG_5_5_0_RELEASE:1.54
	RELENG_5_5:1.54.0.8
	RELENG_5_5_BP:1.54
	RELENG_6_1_0_RELEASE:1.55
	RELENG_6_1:1.55.0.6
	RELENG_6_1_BP:1.55
	RELENG_6_0_0_RELEASE:1.55
	RELENG_6_0:1.55.0.4
	RELENG_6_0_BP:1.55
	RELENG_6:1.55.0.2
	RELENG_6_BP:1.55
	RELENG_5_4_0_RELEASE:1.54
	RELENG_5_4:1.54.0.6
	RELENG_5_4_BP:1.54
	RELENG_4_11_0_RELEASE:1.33.2.6
	RELENG_4_11:1.33.2.6.0.8
	RELENG_4_11_BP:1.33.2.6
	RELENG_5_3_0_RELEASE:1.54
	RELENG_5_3:1.54.0.4
	RELENG_5_3_BP:1.54
	RELENG_5:1.54.0.2
	RELENG_5_BP:1.54
	RELENG_4_10_0_RELEASE:1.33.2.6
	RELENG_4_10:1.33.2.6.0.6
	RELENG_4_10_BP:1.33.2.6
	RELENG_5_2_1_RELEASE:1.52
	RELENG_5_2_0_RELEASE:1.52
	RELENG_5_2:1.52.0.4
	RELENG_5_2_BP:1.52
	RELENG_4_9_0_RELEASE:1.33.2.6
	RELENG_4_9:1.33.2.6.0.4
	RELENG_4_9_BP:1.33.2.6
	RELENG_5_1_0_RELEASE:1.52
	RELENG_5_1:1.52.0.2
	RELENG_5_1_BP:1.52
	RELENG_4_8_0_RELEASE:1.33.2.6
	RELENG_4_8:1.33.2.6.0.2
	RELENG_4_8_BP:1.33.2.6
	RELENG_5_0_0_RELEASE:1.51
	RELENG_5_0:1.51.0.2
	RELENG_5_0_BP:1.51
	RELENG_4_7_0_RELEASE:1.33.2.5
	RELENG_4_7:1.33.2.5.0.4
	RELENG_4_7_BP:1.33.2.5
	RELENG_4_6_2_RELEASE:1.33.2.5
	RELENG_4_6_1_RELEASE:1.33.2.5
	RELENG_4_6_0_RELEASE:1.33.2.5
	RELENG_4_6:1.33.2.5.0.2
	RELENG_4_6_BP:1.33.2.5
	RELENG_4_5_0_RELEASE:1.33.2.4
	RELENG_4_5:1.33.2.4.0.4
	RELENG_4_5_BP:1.33.2.4
	RELENG_4_4_0_RELEASE:1.33.2.4
	RELENG_4_4:1.33.2.4.0.2
	RELENG_4_4_BP:1.33.2.4
	RELENG_4_3_0_RELEASE:1.33.2.3
	RELENG_4_3:1.33.2.3.0.2
	RELENG_4_3_BP:1.33.2.3
	RELENG_4_2_0_RELEASE:1.33.2.2
	RELENG_4_1_1_RELEASE:1.33.2.2
	PRE_SMPNG:1.35
	RELENG_4_1_0_RELEASE:1.33.2.2
	RELENG_3_5_0_RELEASE:1.25.2.1
	RELENG_4_0_0_RELEASE:1.33
	RELENG_4:1.33.0.2
	RELENG_4_BP:1.33
	RELENG_3_4_0_RELEASE:1.25.2.1
	RELENG_3_3_0_RELEASE:1.25.2.1
	RELENG_3_2_PAO:1.25.0.4
	RELENG_3_2_PAO_BP:1.25
	RELENG_3_2_0_RELEASE:1.25
	RELENG_3_1_0_RELEASE:1.25
	RELENG_3:1.25.0.2
	RELENG_3_BP:1.25
	RELENG_2_2_8_RELEASE:1.17.2.4
	RELENG_3_0_0_RELEASE:1.24
	RELENG_2_2_7_RELEASE:1.17.2.4
	RELENG_2_2_6_RELEASE:1.17.2.4
	RELENG_2_2_5_RELEASE:1.17.2.3
	bsd_44_lite_2:1.1.1.1
	RELENG_2_2_2_RELEASE:1.17.2.3
	RELENG_2_2_1_RELEASE:1.17
	RELENG_2_2_0_RELEASE:1.17
	RELENG_2_1_7_RELEASE:1.9.4.1
	RELENG_2_1_6_1_RELEASE:1.9.4.1
	RELENG_2_1_6_RELEASE:1.9.4.1
	RELENG_2_2:1.17.0.2
	RELENG_2_2_BP:1.17
	RELENG_2_1_5_RELEASE:1.9.4.1
	RELENG_2_1_0_RELEASE:1.9.4.1
	RELENG_2_1_0:1.9.0.4
	RELENG_2_1_0_BP:1.9
	RELENG_2_0_5_RELEASE:1.9
	RELENG_2_0_5:1.9.0.2
	RELENG_2_0_5_BP:1.9
	RELENG_2_0_5_ALPHA:1.8
	RELEASE_2_0:1.6
	BETA_2_0:1.6
	ALPHA_2_0:1.6.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.58
date	2012.11.17.01.50.10;	author svnexp;	state Exp;
branches
	1.58.2.1;
next	1.57;

1.57
date	2006.06.05.15.50.34;	author yar;	state Exp;
branches
	1.57.2.1
	1.57.6.1
	1.57.8.1
	1.57.10.1
	1.57.12.1
	1.57.14.1
	1.57.16.1;
next	1.56;

1.56
date	2006.03.17.18.54.28;	author ru;	state Exp;
branches;
next	1.55;

1.55
date	2004.12.21.12.49.23;	author ru;	state Exp;
branches
	1.55.2.1;
next	1.54;

1.54
date	2004.07.31.15.07.33;	author yar;	state Exp;
branches;
next	1.53;

1.53
date	2004.02.02.18.19.41;	author ru;	state Exp;
branches;
next	1.52;

1.52
date	2003.01.26.19.02.56;	author yar;	state Exp;
branches;
next	1.51;

1.51
date	2002.10.24.00.07.30;	author rwatson;	state Exp;
branches;
next	1.50;

1.50
date	2002.06.28.10.36.14;	author markm;	state Exp;
branches;
next	1.49;

1.49
date	2002.02.27.18.29.11;	author obrien;	state Exp;
branches;
next	1.48;

1.48
date	2002.02.04.02.33.49;	author kris;	state Exp;
branches;
next	1.47;

1.47
date	2001.12.29.12.06.59;	author bde;	state Exp;
branches;
next	1.46;

1.46
date	2001.12.29.10.22.13;	author joe;	state Exp;
branches;
next	1.45;

1.45
date	2001.11.27.06.15.12;	author green;	state Exp;
branches;
next	1.44;

1.44
date	2001.07.09.17.46.24;	author markm;	state Exp;
branches;
next	1.43;

1.43
date	2001.04.28.15.18.09;	author markm;	state Exp;
branches;
next	1.42;

1.42
date	2001.04.28.07.58.12;	author markm;	state Exp;
branches;
next	1.41;

1.41
date	2001.04.28.07.56.49;	author markm;	state Exp;
branches;
next	1.40;

1.40
date	2001.03.27.19.40.50;	author markm;	state Exp;
branches;
next	1.39;

1.39
date	2001.03.26.14.22.04;	author ru;	state Exp;
branches;
next	1.38;

1.38
date	2001.03.20.18.10.01;	author ru;	state Exp;
branches;
next	1.37;

1.37
date	2000.12.01.09.39.25;	author obrien;	state Exp;
branches;
next	1.36;

1.36
date	2000.12.01.06.34.44;	author obrien;	state Exp;
branches;
next	1.35;

1.35
date	2000.06.17.14.19.32;	author joe;	state Exp;
branches;
next	1.34;

1.34
date	2000.03.13.11.20.09;	author ru;	state Exp;
branches;
next	1.33;

1.33
date	2000.02.05.18.42.32;	author joe;	state Exp;
branches
	1.33.2.1;
next	1.32;

1.32
date	2000.02.03.10.01.11;	author shin;	state Exp;
branches;
next	1.31;

1.31
date	2000.01.27.09.28.19;	author shin;	state Exp;
branches;
next	1.30;

1.30
date	99.12.30.13.15.12;	author joe;	state Exp;
branches;
next	1.29;

1.29
date	99.09.19.22.05.29;	author markm;	state Exp;
branches;
next	1.28;

1.28
date	99.09.06.06.32.02;	author markm;	state Exp;
branches;
next	1.27;

1.27
date	99.08.28.00.09.29;	author peter;	state Exp;
branches;
next	1.26;

1.26
date	99.08.26.00.45.34;	author peter;	state Exp;
branches;
next	1.25;

1.25
date	98.11.21.02.11.16;	author jdp;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	98.05.04.18.20.18;	author bde;	state Exp;
branches;
next	1.23;

1.23
date	97.10.05.09.39.27;	author jkh;	state Exp;
branches;
next	1.22;

1.22
date	97.04.29.12.42.07;	author davidn;	state Exp;
branches;
next	1.21;

1.21
date	97.04.26.12.12.10;	author davidn;	state Exp;
branches;
next	1.20;

1.20
date	97.04.23.04.56.39;	author davidn;	state Exp;
branches;
next	1.19;

1.19
date	97.02.22.14.21.26;	author peter;	state Exp;
branches;
next	1.18;

1.18
date	97.01.14.06.19.09;	author jkh;	state Exp;
branches;
next	1.17;

1.17
date	96.08.09.09.02.24;	author markm;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	96.08.05.00.21.12;	author pst;	state Exp;
branches;
next	1.15;

1.15
date	96.08.04.22.40.32;	author pst;	state Exp;
branches;
next	1.14;

1.14
date	96.06.02.17.10.13;	author phk;	state Exp;
branches;
next	1.13;

1.13
date	96.05.31.03.10.24;	author peter;	state Exp;
branches;
next	1.12;

1.12
date	96.05.30.21.29.03;	author phk;	state Exp;
branches;
next	1.11;

1.11
date	96.01.01.08.35.08;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	95.08.05.19.12.03;	author pst;	state Exp;
branches;
next	1.9;

1.9
date	95.05.30.05.45.57;	author rgrimes;	state Exp;
branches
	1.9.4.1;
next	1.8;

1.8
date	95.03.18.06.41.08;	author nate;	state Exp;
branches;
next	1.7;

1.7
date	95.02.26.19.36.56;	author guido;	state Exp;
branches;
next	1.6;

1.6
date	94.10.19.00.02.51;	author pst;	state Exp;
branches;
next	1.5;

1.5
date	94.09.30.21.19.58;	author pst;	state Exp;
branches;
next	1.4;

1.4
date	94.08.21.19.09.21;	author guido;	state Exp;
branches;
next	1.3;

1.3
date	94.08.20.21.10.26;	author csgr;	state Exp;
branches;
next	1.2;

1.2
date	94.08.05.21.24.40;	author wollman;	state Exp;
branches;
next	1.1;

1.1
date	94.05.27.12.39.15;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.58.2.1
date	2012.11.17.01.50.10;	author svnexp;	state dead;
branches;
next	1.58.2.2;

1.58.2.2
date	2013.03.28.13.03.26;	author svnexp;	state Exp;
branches;
next	;

1.57.2.1
date	2012.11.17.08.03.16;	author svnexp;	state Exp;
branches;
next	;

1.57.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.57.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.57.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.57.10.1.2.1
	1.57.10.1.4.1
	1.57.10.1.6.1
	1.57.10.1.8.1;
next	1.57.10.2;

1.57.10.2
date	2012.11.17.10.36.12;	author svnexp;	state Exp;
branches;
next	;

1.57.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.57.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.57.10.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.57.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.57.10.1.8.2;

1.57.10.1.8.2
date	2012.11.17.08.24.53;	author svnexp;	state Exp;
branches;
next	;

1.57.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.57.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.57.14.2;

1.57.14.2
date	2012.11.17.08.16.52;	author svnexp;	state Exp;
branches;
next	;

1.57.16.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.57.16.1.2.1
	1.57.16.1.4.1;
next	1.57.16.2;

1.57.16.2
date	2012.11.17.11.36.28;	author svnexp;	state Exp;
branches;
next	;

1.57.16.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.57.16.1.2.2;

1.57.16.1.2.2
date	2012.11.17.08.36.28;	author svnexp;	state Exp;
branches;
next	;

1.57.16.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.57.16.1.4.2;

1.57.16.1.4.2
date	2012.11.17.08.47.18;	author svnexp;	state Exp;
branches;
next	;

1.55.2.1
date	2006.06.14.07.42.45;	author yar;	state Exp;
branches
	1.55.2.1.6.1;
next	1.55.2.2;

1.55.2.2
date	2012.11.17.07.40.53;	author svnexp;	state Exp;
branches;
next	;

1.55.2.1.6.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.33.2.1
date	2000.03.20.12.30.05;	author peter;	state Exp;
branches;
next	1.33.2.2;

1.33.2.2
date	2000.06.28.02.33.15;	author joe;	state Exp;
branches;
next	1.33.2.3;

1.33.2.3
date	2001.03.05.11.01.13;	author kris;	state Exp;
branches;
next	1.33.2.4;

1.33.2.4
date	2001.04.25.10.40.51;	author ru;	state Exp;
branches;
next	1.33.2.5;

1.33.2.5
date	2002.03.28.18.11.37;	author joe;	state Exp;
branches;
next	1.33.2.6;

1.33.2.6
date	2003.02.11.14.28.28;	author yar;	state Exp;
branches;
next	1.33.2.7;

1.33.2.7
date	2012.11.17.07.24.10;	author svnexp;	state Exp;
branches;
next	;

1.25.2.1
date	99.08.29.15.03.11;	author peter;	state Exp;
branches;
next	;

1.17.2.1
date	97.04.26.23.39.29;	author davidn;	state Exp;
branches;
next	1.17.2.2;

1.17.2.2
date	97.04.29.12.55.33;	author davidn;	state Exp;
branches;
next	1.17.2.3;

1.17.2.3
date	97.05.10.19.48.12;	author davidn;	state Exp;
branches;
next	1.17.2.4;

1.17.2.4
date	98.03.05.12.21.16;	author jkh;	state Exp;
branches;
next	1.17.2.5;

1.17.2.5
date	99.09.05.11.20.14;	author peter;	state Exp;
branches;
next	;

1.9.4.1
date	95.08.26.00.53.50;	author davidg;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.27.12.39.16;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.58
log
@Switching exporter and resync
@
text
@#	@@(#)Makefile	8.2 (Berkeley) 4/4/94
# $FreeBSD: head/libexec/ftpd/Makefile 159276 2006-06-05 15:50:34Z yar $

.include <bsd.own.mk>

PROG=	ftpd
MAN=	ftpd.8 ftpchroot.5
SRCS=	ftpd.c ftpcmd.y logwtmp.c popen.c

CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING
CFLAGS+=-I${.CURDIR}
YFLAGS=
WARNS?=	2
WFORMAT=0

DPADD=	${LIBUTIL} ${LIBCRYPT}
LDADD=	-lutil -lcrypt

# XXX Kluge! Conversation mechanism needs to be fixed.
DPADD+=	${LIBOPIE} ${LIBMD}
LDADD+=	-lopie -lmd

LSDIR=	../../bin/ls
.PATH:	${.CURDIR}/${LSDIR}
SRCS+=	ls.c cmp.c print.c util.c
CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
DPADD+=	${LIBM}
LDADD+=	-lm

.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif

.if ${MK_PAM_SUPPORT} != "no"
CFLAGS+=-DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}
.endif

.include <bsd.prog.mk>
@


1.58.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:26 +0000
@
text
@d1 40
@


1.58.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 40
#	@@(#)Makefile	8.2 (Berkeley) 4/4/94
# $FreeBSD: releng/8.4/libexec/ftpd/Makefile 159276 2006-06-05 15:50:34Z yar $

.include <bsd.own.mk>

PROG=	ftpd
MAN=	ftpd.8 ftpchroot.5
SRCS=	ftpd.c ftpcmd.y logwtmp.c popen.c

CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING
CFLAGS+=-I${.CURDIR}
YFLAGS=
WARNS?=	2
WFORMAT=0

DPADD=	${LIBUTIL} ${LIBCRYPT}
LDADD=	-lutil -lcrypt

# XXX Kluge! Conversation mechanism needs to be fixed.
DPADD+=	${LIBOPIE} ${LIBMD}
LDADD+=	-lopie -lmd

LSDIR=	../../bin/ls
.PATH:	${.CURDIR}/${LSDIR}
SRCS+=	ls.c cmp.c print.c util.c
CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
DPADD+=	${LIBM}
LDADD+=	-lm

.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif

.if ${MK_PAM_SUPPORT} != "no"
CFLAGS+=-DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}
.endif

.include <bsd.prog.mk>
@


1.57
log
@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
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.57.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/libexec/ftpd/Makefile 159276 2006-06-05 15:50:34Z yar $
@


1.57.16.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.57.16.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/9/libexec/ftpd/Makefile 159276 2006-06-05 15:50:34Z yar $
@


1.57.16.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.57.16.1.4.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/libexec/ftpd/Makefile 159276 2006-06-05 15:50:34Z yar $
@


1.57.16.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.57.16.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/libexec/ftpd/Makefile 159276 2006-06-05 15:50:34Z yar $
@


1.57.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.57.14.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/libexec/ftpd/Makefile 159276 2006-06-05 15:50:34Z yar $
@


1.57.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.57.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.57.10.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/8/libexec/ftpd/Makefile 159276 2006-06-05 15:50:34Z yar $
@


1.57.10.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.57.10.1.8.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/libexec/ftpd/Makefile 159276 2006-06-05 15:50:34Z yar $
@


1.57.10.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.57.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.57.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.57.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.57.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.56
log
@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)
@
text
@a10 1
CFLAGS+=-DINET6
d30 4
@


1.55
log
@NOPAM -> NO_PAM
@
text
@d4 2
d31 1
a31 1
.if !defined(NO_PAM)
@


1.55.2.1
log
@MFC: Make it actually possible to disable INET6 support in ftpd(8).
@
text
@d9 1
a28 4
.if !defined(NO_INET6)
CFLAGS+=-DINET6
.endif

@


1.55.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/libexec/ftpd/Makefile 159600 2006-06-14 07:42:45Z yar $
@


1.55.2.1.6.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


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

Tested on:	i386, ia64, amd64, sparc64, alpha
@
text
@d29 1
a29 1
.if !defined(NOPAM)
@


1.53
log
@Reorder dependencies to fix static NOPAM build.

Submitted by:	lorder(1)
@
text
@d12 1
@


1.52
log
@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
@
text
@d14 2
a15 2
DPADD=	${LIBMD} ${LIBCRYPT} ${LIBUTIL}
LDADD=	-lmd -lcrypt -lutil
d18 2
a19 2
DPADD+=	${LIBOPIE}
LDADD+=	-lopie
@


1.51
log
@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
@
text
@d5 1
a5 1
MAN=	ftpd.8
@


1.50
log
@Remove a GCC-specific command-line option. We should be using WARNS=n
for this stuff.
@
text
@d23 1
a23 1
SRCS+=	ls.c cmp.c lomac.c print.c util.c
@


1.49
log
@Put the last added source file in proper order.
(and dcc the committer a dictionary)
@
text
@d8 1
a8 1
CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
@


1.48
log
@Lock down with WFORMAT?=1, with overrides in the subdirectories which
are not yet warning-clean.  Tested on i386 and alpha.
@
text
@d23 1
a23 1
SRCS+=	ls.c cmp.c print.c util.c lomac.c
@


1.47
log
@Fixed missing DPADD in previous commit.  Fixed most style bugs related to
DPADD and LDADD.
@
text
@d12 1
@


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

Submitted by:	Mike Makonnen <mike_makonnen@@yahoo.com>
@
text
@d13 1
a14 1
DPADD=	${LIBMD} ${LIBCRYPT} ${LIBUTIL}
d17 1
a18 1
DPADD+=	${LIBOPIE}
d24 1
@


1.45
log
@Add lomac.c.

Found by:	ken
@
text
@d24 1
@


1.44
log
@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.
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.43 2001/04/28 15:18:09 markm Exp $
d22 1
a22 1
SRCS+=	ls.c cmp.c print.c util.c
@


1.43
log
@Cleaner method of making PAMable apps static (in the optional case of
wanting static apps).
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.42 2001/04/28 07:58:12 markm Exp $
d6 1
a6 1
SRCS=	ftpd.c ftpcmd.y logwtmp.c popen.c skey-stuff.c
d8 1
a8 1
CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
d13 6
a18 2
LDADD=	-lskey -lmd -lcrypt -lutil
DPADD=	${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
@


1.42
log
@Damn. That should be _enable_ static linking, not _force_ static linking.
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.41 2001/04/28 07:56:49 markm Exp $
a27 5

.if defined(NOSHARED) && !defined(NOPAM)
DPADD+= ${LIBCRYPTO}
LDADD+= -L${.OBJDIR}/../../secure/lib/libssh/ -lssh -lcrypto
.endif
@


1.41
log
@Enable (optional) static linking.
Asked for by:	BDE
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.40 2001/03/27 19:40:50 markm Exp $
a11 1
NOSHARED=	YES
@


1.40
log
@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>
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.39 2001/03/26 14:22:04 ru Exp $
d12 1
d29 5
@


1.39
log
@- Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.38 2001/03/20 18:10:01 ru Exp $
d21 2
a22 3
.if defined(NOPAM)
CFLAGS+=-DNOPAM
.else
@


1.38
log
@Set the default manual section for libexec/ to 8.
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.37 2000/12/01 09:39:25 obrien Exp $
d5 1
@


1.37
log
@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.".
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.36 2000/12/01 06:34:44 obrien Exp $
a4 1
MAN8=	ftpd.8
@


1.36
log
@There is no src/contrib-crypto/ anything directory.  So don't look for
include files in subdirs of it.
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.35 2000/06/17 14:19:32 joe Exp $
d10 1
@


1.35
log
@Switch over to using the new fflagstostr and strtofflags library calls.
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.34 2000/03/13 11:20:09 ru Exp $
d8 1
a8 2
CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall \
	-I${.CURDIR}/../../contrib-crypto/telnet
@


1.34
log
@Finally unifdef -DINTERNAL_LS.
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.33 2000/02/05 18:42:32 joe Exp $
d17 2
a18 2
.PATH:	${.CURDIR}/${LSDIR} ${.CURDIR}/../../lib/libc/gen
SRCS+=	ls.c cmp.c print.c setflags.c util.c
@


1.33
log
@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
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.32 2000/02/03 10:01:11 shin Exp $
d19 1
a19 1
CFLAGS+=-DINTERNAL_LS -Dmain=ls_main -I${.CURDIR}/${LSDIR}
@


1.33.2.1
log
@MFC: remove stray -DINTERNAL_LS
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.33 2000/02/05 18:42:32 joe Exp $
d19 1
a19 1
CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
@


1.33.2.2
log
@MFC: Use the new fflagstostr and strtofflags functions in libc.
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.33.2.1 2000/03/20 12:30:05 peter Exp $
d17 2
a18 2
.PATH:	${.CURDIR}/${LSDIR}
SRCS+=	ls.c cmp.c print.c util.c
@


1.33.2.3
log
@MFC: r1.36: don't look in a make-believe path which doesn't exist
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.33.2.2 2000/06/28 02:33:15 joe Exp $
d8 2
a9 1
CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
@


1.33.2.4
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.33.2.3 2001/03/05 11:01:13 kris Exp $
d5 1
a5 1
MAN=	ftpd.8
@


1.33.2.5
log
@The 'ls' sources now require libm.
@
text
@d2 1
a2 1
# $FreeBSD$
a18 3

DPADD+=	${LIBM}
LDADD+=	-lm
@


1.33.2.6
log
@MFC: Rework the code around chroot(2)/chdir(2).  This gives us:
- an extended format (and manpage as a consequence) for /etc/ftpchroot,
- ability to access NFS mounted home directories with mode 700,
- more protection from setting a wrong home directory in passwd(5),
- the "/./" feature.

ftpd.c		1.135-1.138
ftpcmd.y	1.47
ftpd.8		1.58-1.59
ftpchroot.5	1.2 (added)
@
text
@d5 1
a5 1
MAN=	ftpd.8 ftpchroot.5
@


1.33.2.7
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/libexec/ftpd/Makefile 110709 2003-02-11 14:28:28Z yar $
@


1.32
log
@Remove unnecessary -g for CFLAGS.

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

Approved by: jkh
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.31 2000/01/27 09:28:19 shin Exp $
d17 2
a18 2
.PATH:	${.CURDIR}/${LSDIR}
SRCS+=	ls.c cmp.c print.c util.c
@


1.31
log
@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
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.30 1999/12/30 13:15:12 joe Exp $
d10 1
a10 1
CFLAGS+=-DINET6 -g
@


1.30
log
@Moved flags_to_string and string_to_flags into libutil.  It's used in
many places nowadays.
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.29 1999/09/19 22:05:29 markm Exp $
d10 1
@


1.29
log
@Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.28 1999/09/06 06:32:02 markm Exp $
d17 1
a17 1
SRCS+=	ls.c cmp.c print.c stat_flags.c util.c
@


1.28
log
@Add common error lib for the Kerberos case.
@
text
@d2 1
a2 1
# $FreeBSD: src/libexec/ftpd/Makefile,v 1.27 1999/08/28 00:09:29 peter Exp $
d20 5
a24 7
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
.PATH:  ${.CURDIR}/../../lib/libpam/modules/pam_kerberosIV
SRCS+=	klogin.c
LDADD+=	-lkrb -ldes -lcom_err
DPADD+= ${LIBKRB} ${LIBDES} ${LIBCOM_ERR}
CFLAGS+=-DKERBEROS
DISTRIBUTION=	krb
@


1.27
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d23 2
a24 2
LDADD+=	-lkrb -ldes
DPADD+= ${LIBKRB} ${LIBDES}
@


1.26
log
@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.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.25 1998/11/21 02:11:16 jdp Exp $
@


1.25
log
@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.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.24 1998/05/04 18:20:18 bde Exp $
a14 1
.ifdef FTPD_INTERNAL_LS
a18 1
.endif
@


1.25.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.24
log
@Simplified by using new yacc rules and by not generating y.tab.h.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.23 1997/10/05 09:39:27 jkh Exp $
d23 1
a23 1
.PATH:  ${.CURDIR}/../../usr.bin/login
@


1.23
log
@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>
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.22 1997/04/29 12:42:07 davidn Exp $
d6 1
a6 1
SRCS=	ftpd.c ftpcmd.c logwtmp.c popen.c skey-stuff.c
d10 1
a13 2

CLEANFILES+=ftpcmd.c y.tab.h
@


1.22
log
@Adds anon ftp virtual host capability to ftpd, using /etc/ftphosts for
definition of a system's virtual hosts.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.21 1997/04/26 12:12:10 davidn Exp $
d8 2
a9 1
CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
d23 1
a23 1
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES)
@


1.21
log
@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.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.20 1997/04/23 04:56:39 davidn Exp $
d8 1
a8 1
CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -Wall
@


1.20
log
@Add basic login.conf (sans authentication) support.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.19 1997/02/22 14:21:26 peter Exp $
d14 7
@


1.19
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
#	$Id$
d8 1
a8 1
CFLAGS+=-DSETPROCTITLE -DSKEY -Wall
@


1.18
log
@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.
@
text
@d2 1
a2 1
#	$FreeBSD$
@


1.17
log
@Tidy up the Kerberised bits. While I'm here, fix some -Wall complaints.
@
text
@d2 1
a2 1
#	$Id$
@


1.17.2.1
log
@Marge internal ls changes from -current.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.17 1996/08/09 09:02:24 markm Exp $
a13 7

.ifdef FTPD_INTERNAL_LS
LSDIR=	../../bin/ls
.PATH:	${.CURDIR}/${LSDIR}
SRCS+=	ls.c cmp.c print.c stat_flags.c util.c
CFLAGS+=-DINTERNAL_LS -Dmain=ls_main -I${.CURDIR}/${LSDIR}
.endif
@


1.17.2.2
log
@Merge from -current: virtual hosting capability.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.17.2.1 1997/04/26 23:39:29 davidn Exp $
d8 1
a8 1
CFLAGS+=-DSETPROCTITLE -DSKEY -DVIRTUAL_HOSTING -Wall
@


1.17.2.3
log
@Merge from current: adds login.conf support & bugfix mmap failure.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.17.2.2 1997/04/29 12:55:33 davidn Exp $
d8 1
a8 1
CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
@


1.17.2.4
log
@MFC: update for new kerberos flags.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.17.2.3 1997/05/10 19:48:12 davidn Exp $
d22 1
a22 1
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
@


1.17.2.5
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.16
log
@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
@
text
@d2 1
d15 2
a16 1
.if defined(KERBEROS)
d21 1
@


1.15
log
@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.
@
text
@d7 1
a7 1
CFLAGS+=-DSETPROCTITLE -DSKEY -DSTATS -DPARANOID
d13 7
@


1.14
log
@backout yacc changes
@
text
@d7 1
a7 1
CFLAGS+=-DSETPROCTITLE -DSKEY -DSTATS
@


1.13
log
@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>
@
text
@d5 1
a5 1
SRCS=	ftpd.c ftpcmd.y logwtmp.c popen.c skey-stuff.c
d12 1
a12 1
CLEANFILES+=ftpcmd.tab.h
@


1.12
log
@Fix yacc rule usage.
@
text
@a7 1
CFLAGS+=-DFTP_DATA_BOTTOM=40000 -DFTP_DATA_TOP=44999
@


1.11
log
@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.
@
text
@d5 1
a5 1
SRCS=	ftpd.c ftpcmd.c logwtmp.c popen.c skey-stuff.c
d13 1
a13 1
CLEANFILES+=ftpcmd.c y.tab.h
@


1.10
log
@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
@
text
@d10 2
a11 2
LDADD=	-lskey -lmd -lcrypt
DPADD=	${LIBSKEY} ${LIBMD} ${LIBCRYPT}
@


1.9
log
@Remove trailing whitespace.
@
text
@d8 1
@


1.9.4.1
log
@Brought in changes from main branch: use ports 40000-44999.
@
text
@a7 1
CFLAGS+=-DFTP_DATA_BOTTOM=40000 -DFTP_DATA_TOP=44999
@


1.8
log
@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.
@
text
@d10 1
a10 1
DPADD=	${LIBSKEY} ${LIBMD} ${LIBCRYPT} 
@


1.7
log
@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
@
text
@d9 2
a10 2
LDADD=	-lcrypt -lskey -lmd
DPADD=	${LIBCRYPT} ${LIBSKEY} ${LIBMD}
@


1.6
log
@Include most of the logdaemon v4.4 S/key changes
@
text
@d7 1
a7 1
CFLAGS+=-DSETPROCTITLE -DSKEY
@


1.5
log
@Clean up makefile
@
text
@d9 2
a10 2
LDADD=	-lcrypt -lskey
DPADD=	${LIBCRYPT} ${LIBSKEY}
@


1.4
log
@Put skey support in ftpd.
Reviewed by:
Submitted by:	 guido
@
text
@d4 3
d8 1
a8 1
SRCS=	ftpd.c ftpcmd.c logwtmp.c popen.c skey-stuff.c
d10 2
a11 2
DPADD=	${LIBSKEY}
MAN8=	ftpd.8
@


1.3
log
@LDADD= -lcrypt
Submitted by:	Geoff
@
text
@d4 4
a7 3
CFLAGS+=-DSETPROCTITLE
SRCS=	ftpd.c ftpcmd.c logwtmp.c popen.c
LDADD=	-lcrypt
@


1.2
log
@Update to new make macros and disable Kerberos because we haven't got it
set up right yet.
@
text
@d6 1
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
MAN8=	ftpd.0
@


1.1.1.1
log
@BSD 4.4 Lite Libexec Sources
@
text
@@
