head	1.61;
access;
symbols
	RELEASE_8_3_0:1.50
	RELEASE_9_0_0:1.48
	RELEASE_7_4_0:1.43
	RELEASE_8_2_0:1.43
	RELEASE_6_EOL:1.43
	RELEASE_8_1_0:1.40
	RELEASE_7_3_0:1.39
	RELEASE_8_0_0:1.37
	RELEASE_7_2_0:1.35
	RELEASE_7_1_0:1.33
	RELEASE_6_4_0:1.33
	RELEASE_5_EOL:1.32
	RELEASE_7_0_0:1.31
	RELEASE_6_3_0:1.31
	PRE_XORG_7:1.31
	RELEASE_4_EOL:1.30
	RELEASE_6_2_0:1.30
	RELEASE_6_1_0:1.26
	RELEASE_5_5_0:1.26
	RELEASE_6_0_0:1.24
	RELEASE_5_4_0:1.21
	RELEASE_4_11_0:1.21
	RELEASE_5_3_0:1.21
	RELEASE_4_10_0:1.19
	RELEASE_5_2_1:1.16
	RELEASE_5_2_0:1.16
	RELEASE_4_9_0:1.13
	RELEASE_5_1_0:1.12
	RELEASE_4_8_0:1.12
	RELEASE_5_0_0:1.11
	RELEASE_4_7_0:1.7
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.3
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.1;
locks; strict;
comment	@# @;


1.61
date	2012.12.10.06.29.24;	author svnexp;	state Exp;
branches;
next	1.60;

1.60
date	2012.11.17.05.57.31;	author svnexp;	state Exp;
branches;
next	1.59;

1.59
date	2012.09.27.18.52.58;	author dinoex;	state Exp;
branches;
next	1.58;

1.58
date	2012.09.27.18.14.34;	author dinoex;	state Exp;
branches;
next	1.57;

1.57
date	2012.09.06.14.29.59;	author dinoex;	state Exp;
branches;
next	1.56;

1.56
date	2012.08.05.23.19.36;	author dougb;	state Exp;
branches;
next	1.55;

1.55
date	2012.07.26.16.21.29;	author dinoex;	state Exp;
branches;
next	1.54;

1.54
date	2012.07.26.16.18.08;	author dinoex;	state Exp;
branches;
next	1.53;

1.53
date	2012.05.28.09.49.56;	author dinoex;	state Exp;
branches;
next	1.52;

1.52
date	2012.05.24.18.35.20;	author dinoex;	state Exp;
branches;
next	1.51;

1.51
date	2012.04.14.08.24.56;	author dinoex;	state Exp;
branches;
next	1.50;

1.50
date	2012.01.05.21.38.46;	author dinoex;	state Exp;
branches;
next	1.49;

1.49
date	2011.12.24.10.51.35;	author dinoex;	state Exp;
branches;
next	1.48;

1.48
date	2011.09.23.22.22.32;	author amdmi3;	state Exp;
branches;
next	1.47;

1.47
date	2011.08.05.14.08.47;	author dinoex;	state Exp;
branches;
next	1.46;

1.46
date	2011.05.22.08.08.15;	author dinoex;	state Exp;
branches;
next	1.45;

1.45
date	2011.05.01.23.14.18;	author pav;	state Exp;
branches;
next	1.44;

1.44
date	2011.02.18.08.34.23;	author dinoex;	state Exp;
branches;
next	1.43;

1.43
date	2010.08.20.09.25.15;	author dinoex;	state Exp;
branches;
next	1.42;

1.42
date	2010.08.20.07.00.35;	author dinoex;	state Exp;
branches;
next	1.41;

1.41
date	2010.08.07.07.49.17;	author dinoex;	state Exp;
branches;
next	1.40;

1.40
date	2010.06.05.19.53.30;	author dinoex;	state Exp;
branches;
next	1.39;

1.39
date	2009.11.18.06.19.29;	author dinoex;	state Exp;
branches;
next	1.38;

1.38
date	2009.10.20.16.56.55;	author dinoex;	state Exp;
branches;
next	1.37;

1.37
date	2009.08.14.19.41.40;	author dinoex;	state Exp;
branches;
next	1.36;

1.36
date	2009.05.30.20.35.59;	author dinoex;	state Exp;
branches;
next	1.35;

1.35
date	2009.02.25.06.49.26;	author dinoex;	state Exp;
branches;
next	1.34;

1.34
date	2009.01.17.06.04.20;	author dinoex;	state Exp;
branches;
next	1.33;

1.33
date	2008.07.30.14.09.34;	author dinoex;	state Exp;
branches;
next	1.32;

1.32
date	2008.02.18.04.01.32;	author dinoex;	state Exp;
branches;
next	1.31;

1.31
date	2007.03.22.14.04.43;	author dinoex;	state Exp;
branches;
next	1.30;

1.30
date	2006.07.09.08.31.51;	author dinoex;	state Exp;
branches;
next	1.29;

1.29
date	2006.05.08.17.06.47;	author dinoex;	state Exp;
branches;
next	1.28;

1.28
date	2006.05.07.11.09.21;	author edwin;	state Exp;
branches;
next	1.27;

1.27
date	2006.03.18.14.52.33;	author dinoex;	state Exp;
branches;
next	1.26;

1.26
date	2006.01.16.09.09.59;	author dinoex;	state Exp;
branches;
next	1.25;

1.25
date	2005.10.13.05.07.33;	author dinoex;	state Exp;
branches;
next	1.24;

1.24
date	2005.07.15.06.24.46;	author dinoex;	state Exp;
branches;
next	1.23;

1.23
date	2005.05.02.10.40.20;	author dinoex;	state Exp;
branches;
next	1.22;

1.22
date	2005.04.10.04.31.32;	author dinoex;	state Exp;
branches;
next	1.21;

1.21
date	2004.07.06.20.28.39;	author dinoex;	state Exp;
branches;
next	1.20;

1.20
date	2004.04.29.02.47.55;	author dinoex;	state Exp;
branches;
next	1.19;

1.19
date	2004.03.12.19.28.03;	author dinoex;	state Exp;
branches;
next	1.18;

1.18
date	2003.12.28.20.14.32;	author dinoex;	state Exp;
branches;
next	1.17;

1.17
date	2003.12.12.19.17.17;	author dinoex;	state Exp;
branches;
next	1.16;

1.16
date	2003.11.21.15.10.13;	author dinoex;	state Exp;
branches;
next	1.15;

1.15
date	2003.11.13.04.27.55;	author dinoex;	state Exp;
branches;
next	1.14;

1.14
date	2003.10.19.19.21.09;	author dinoex;	state Exp;
branches;
next	1.13;

1.13
date	2003.06.01.03.14.15;	author dinoex;	state Exp;
branches;
next	1.12;

1.12
date	2003.02.20.19.21.25;	author dinoex;	state Exp;
branches;
next	1.11;

1.11
date	2002.11.11.04.03.25;	author dinoex;	state Exp;
branches;
next	1.10;

1.10
date	2002.11.03.05.47.22;	author dinoex;	state Exp;
branches;
next	1.9;

1.9
date	2002.10.28.20.40.04;	author dinoex;	state Exp;
branches;
next	1.8;

1.8
date	2002.10.26.02.51.13;	author kris;	state Exp;
branches;
next	1.7;

1.7
date	2002.10.01.20.04.13;	author dinoex;	state Exp;
branches;
next	1.6;

1.6
date	2002.08.04.19.58.37;	author nbm;	state Exp;
branches;
next	1.5;

1.5
date	2002.08.04.19.53.07;	author nbm;	state Exp;
branches;
next	1.4;

1.4
date	2002.01.29.10.53.24;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2001.12.18.04.38.53;	author petef;	state Exp;
branches;
next	1.2;

1.2
date	2001.08.01.09.05.58;	author nbm;	state Exp;
branches;
next	1.1;

1.1
date	2001.02.03.19.07.42;	author nbm;	state Exp;
branches;
next	;


desc
@@


1.61
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308587
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308587 | dinoex | 2012-12-10 06:25:52 +0000 (Mon, 10 Dec 2012) | 3 lines
## SVN ##
## SVN ## - update to 3.0.2
## SVN ## - enable SSL as default
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Neil Blakey-Milner
# $FreeBSD: head/ftp/vsftpd/Makefile 308587 2012-12-10 06:25:52Z dinoex $

PORTNAME=	vsftpd
PORTVERSION=	3.0.2
CATEGORIES=	ftp ipv6
MASTER_SITES=	https://security.appspot.com/downloads/ \
		${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR=	distfiles
PKGNAMESUFFIX?=	${SSL_SUFFIX}${PKGNAMESUFFIX2}

MAINTAINER=	dinoex@@FreeBSD.org
COMMENT=	A FTP daemon that aims to be "very secure"

LICENSE=	GPLv2

ALL_TARGET=	vsftpd
MAN5=		vsftpd.conf.5
MAN8=		vsftpd.8
USE_RC_SUBR=	vsftpd
DOCFILES=	AUDIT BENCHMARKS BUGS Changelog FAQ INSTALL LICENSE \
		README README.security README.ssl REFS REWARD \
		SIZE SPEED TODO TUNING

OPTIONS_DEFINE=	VSFTPD_SSL PIDFILE STACKPROTECTOR
OPTIONS_DEFAULT?=	VSFTPD_SSL STACKPROTECTOR
NO_OPTIONS_SORT=yes

VSFTPD_SSL_DESC=Include support for SSL
PIDFILE_DESC=	Unofficial support for pidfile
STACKPROTECTOR_DESC=	Build with stack-protector

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MVSFTPD_SSL} && !defined(WITHOUT_SSL)
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
SSL_SUFFIX=	-ssl
CFLAGS+=	-I${OPENSSLINC}
LDFLAGS+=	-L${OPENSSLLIB}
.endif

.if ${PORT_OPTIONS:MPIDFILE}
EXTRA_PATCHES+=	${FILESDIR}/pidfile.patch
.endif

VSFTPD_OPTIMIZED=	${CFLAGS:M-O*}
.if defined(CFLAGS) && !empty(VSFTPD_OPTIMIZED)
VSFTPD_NO_OPTIMIZED=	-e "s|-O2 ||"
.endif

.if ${PORT_OPTIONS:MSTACKPROTECTOR}
# BROKEN on FreeBSD with undefined reference to `__stack_chk_fail_local'
VSFTPD_LIBS=	-lssp_nonshared
.else
VSFTPD_NO_SSP=	-e "s|-fstack-protector --param=ssp-buffer-size=4 ||"
.endif

do-configure:
.if !defined(WITHOUT_SSL) && ${PORT_OPTIONS:MVSFTPD_SSL}
	${REINPLACE_CMD} -e \
		"s|#undef VSF_BUILD_TCPWRAPPERS|#define VSF_BUILD_TCPWRAPPERS 1|" \
		-e "s|#undef VSF_BUILD_SSL|#define VSF_BUILD_SSL 1|" \
		${WRKSRC}/builddefs.h
.else
	${REINPLACE_CMD} -e \
		"s|#undef VSF_BUILD_TCPWRAPPERS|#define VSF_BUILD_TCPWRAPPERS 1|" \
		${WRKSRC}/builddefs.h
.endif
	${REINPLACE_CMD} -e "s|^listen=.*|listen=NO|" \
		-e "s|/etc/vsftpd.conf|${PREFIX}/etc/vsftpd.conf|" \
		${WRKSRC}/defs.h ${WRKSRC}/vsftpd.conf
	${REINPLACE_CMD} -e "s|/etc/v|${PREFIX}/etc/v|" \
		${WRKSRC}/vsftpd.8 ${WRKSRC}/vsftpd.conf.5 ${WRKSRC}/tunables.c
	${REINPLACE_CMD} ${VSFTPD_NO_OPTIMIZED} ${VSFTPD_NO_SSP} \
		-e "s|^CC 	=	gcc|CC	=	${CC}|" \
		-e "s|^CFLAGS	=	|CFLAGS	=	${CFLAGS} |" \
		-e "s|^LDFLAGS	=	|LDFLAGS	=	${LDFLAGS} |" \
		-e "s|	-Wl,-s|	${VSFTPD_LIBS}|" \
		${WRKSRC}/Makefile
	${REINPLACE_CMD} -e '/-lutil/d' ${WRKSRC}/vsf_findlibs.sh
	@@${ECHO_CMD} "secure_chroot_dir=${PREFIX}/share/vsftpd/empty" >> \
		${WRKSRC}/vsftpd.conf
	@@${ECHO_CMD} >>${WRKSRC}/vsftpd.conf ""
	@@${ECHO_CMD} >>${WRKSRC}/vsftpd.conf \
		"# If using vsftpd in standalone mode, uncomment the next two lines:"
	@@${ECHO_CMD} >>${WRKSRC}/vsftpd.conf "# listen=YES"
	@@${ECHO_CMD} >>${WRKSRC}/vsftpd.conf "# background=YES"

pre-install:
	${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/vsftpd ${PREFIX}/libexec/
	${INSTALL_DATA} ${WRKSRC}/vsftpd.conf ${PREFIX}/etc/vsftpd.conf.dist
	${INSTALL} -d ${PREFIX}/share/vsftpd/empty
	@@if [ ! -e ${PREFIX}/etc/vsftpd.conf ]; then \
		${INSTALL_DATA} ${WRKSRC}/vsftpd.conf ${PREFIX}/etc/ ; \
	fi
	${MKDIR} ${PREFIX}/share/vsftpd/empty
	@@for i in ${MAN8} ; do \
		${INSTALL_MAN} -m 644 ${WRKSRC}/$${i} ${MANPREFIX}/man/man8/ ; \
		done
	@@for i in ${MAN5} ; do \
		${INSTALL_MAN} -m 644 ${WRKSRC}/$${i} ${MANPREFIX}/man/man5/ ; \
		done
	${MKDIR} /var/ftp
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}
.for i in ${DOCFILES}
	${INSTALL_DATA} -m 644 ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.for i in EXAMPLE SECURITY
	${MKDIR} ${DOCSDIR}/${i}
	${CP} -p -R -L ${WRKSRC}/${i}/./ ${DOCSDIR}/${i}/
	${CHMOD} -R -L a+rX,go-w ${DOCSDIR}/${i}/
.endfor
.endif

.include <bsd.port.post.mk>
@


1.60
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for: vsftpd
# Date created:		03 Feb 2001
# Whom:			Neil Blakey-Milner
#
# $FreeBSD: head/ftp/vsftpd/Makefile 304972 2012-09-27 18:52:58Z dinoex $
#
d5 1
a5 1
PORTVERSION=	3.0.0
d26 1
a26 1
OPTIONS_DEFAULT?=	STACKPROTECTOR
@


1.59
log
@SVN rev 304972 on 2012-09-27 18:52:58Z by dinoex

- new option STACKPROTECTOR
makes building easier on platforms that does not support this feature
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.58
log
@SVN rev 304968 on 2012-09-27 18:14:34Z by dinoex

- cleanup linkflags
PR:		171386
@
text
@d29 3
a31 1
OPTIONS_DEFINE=	VSFTPD_SSL PIDFILE
d35 1
d50 1
a50 1
VSFTPD_OPTIMIZED=	${CFLAGS:M-O}
d52 1
a52 1
VSFTPD_NO_OPTIMIZED=	-e "s| -O2 ||"
d55 1
d57 4
a60 1
LDFLAGS+=	 -lssp_nonshared
d78 5
a82 5
	${REINPLACE_CMD} ${VSFTPD_NO_OPTIMIZED} \
		-e "s|^CC 	=	gcc|CC	= ${CC}|" \
		-e "s|^CFLAGS	=|CFLAGS	= ${CFLAGS}|" \
		-e "s|$$(INSTALL) -m 755=|$${INSTALL_PROGRAM}|" \
		-e "s|	-Wl,-s|	${LDFLAGS:S/-rpath=/-Wl,-rpath,/g}|" \
@


1.57
log
@SVN rev 303756 on 2012-09-06 14:29:59Z by dinoex

- respect INSTALL_PROGRAM, STRIP and custom optimisations in CFLAGS
PR:		163550
@
text
@d75 1
a75 1
		-e "s|	-Wl,-s| -Wl ${LDFLAGS:S/-rpath=/-Wl,-rpath,/g}|" \
@


1.56
log
@SVN rev 302141 on 2012-08-05 23:19:36Z by dougb

Move the rc.d scripts of the form *.sh.in to *.in

Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
@
text
@d47 5
d66 1
a66 1
	${REINPLACE_CMD} -e "s|^listen=|#listen=|" \
d71 1
a71 1
	${REINPLACE_CMD} \
d74 2
a75 2
		-e "s|^INSTALL	=|INSTALL	= ${INSTALL_PROGRAM}|" \
		-e "s|	-Wl,-s| -Wl,-s ${LDFLAGS:S/-rpath=/-Wl,-rpath,/g}|" \
@


1.55
log
@SVN rev 301567 on 2012-07-26 16:21:29Z by dinoex

- Use OPTIONS_DEFINE
PR:		170101
Submitted by:	Hung-te Liang
@
text
@d24 1
a24 1
USE_RC_SUBR=	vsftpd.sh
@


1.54
log
@SVN rev 301566 on 2012-07-26 16:18:08Z by dinoex

- Fix pass -rpath from compiler to linker
PR:		170101
Submitted by:	Hung-te Liang
@
text
@d29 4
a32 2
OPTIONS=	VSFTPD_SSL	"Include support for SSL" off \
		PIDFILE		"unofficial support for pidfile" off
d36 1
a36 1
.if defined(WITH_VSFTPD_SSL) && !defined(WITHOUT_SSL)
d43 1
a43 1
.if defined(WITH_PIDFILE)
d51 1
a51 1
.if !defined(WITHOUT_SSL) && defined(WITH_VSFTPD_SSL)
d99 1
a99 1
.if !defined(NOPORTDOCS)
@


1.53
log
@- add MASTER_SITE_GENTOO
@
text
@d68 1
a68 1
		-e "s|	-Wl,-s| -Wl,-s ${LDFLAGS}|" \
@


1.52
log
@- update to 3.0.0
@
text
@d11 3
a13 1
MASTER_SITES=	https://security.appspot.com/downloads/
@


1.51
log
@- drop option WITH_RC_NG
@
text
@d9 1
a9 1
PORTVERSION=	2.3.5
d27 2
a28 2
OPTIONS=	VSFTPD_SSL	"Include support for SSL"	off \
		PIDFILE		"unofficial support for pidfile"	off
d43 3
d47 12
a58 1
	${REINPLACE_CMD} -e "s|/etc/vsftpd.conf|${PREFIX}/etc/vsftpd.conf|" \
d60 2
a68 3
	${REINPLACE_CMD} -e \
		"s|#undef VSF_BUILD_TCPWRAPPERS|#define VSF_BUILD_TCPWRAPPERS 1|" \
		${WRKSRC}/builddefs.h
a75 9
	${REINPLACE_CMD} -e "s|/etc/v|${PREFIX}/etc/v|" \
		-e 's|delay_failed_logins|delay_failed_login|' \
		-e 's|delay_successful_logins|delay_successful_login|' \
		${WRKSRC}/vsftpd.8 ${WRKSRC}/vsftpd.conf.5 ${WRKSRC}/tunables.c
.if !defined(WITHOUT_SSL) && defined(WITH_VSFTPD_SSL)
	${REINPLACE_CMD} -e \
		"s|#undef VSF_BUILD_SSL|#define VSF_BUILD_SSL 1|" \
		${WRKSRC}/builddefs.h
.endif
@


1.50
log
@- update to 2.3.5
@
text
@d22 1
d27 1
a27 2
OPTIONS=	RC_NG		"install RC_NG script"		off \
		VSFTPD_SSL	"Include support for SSL"	off \
a31 4
.if defined(WITH_RC_NG)
USE_RC_SUBR=	vsftpd.sh
.endif

@


1.49
log
@- remove duplicate -lwrap
- drop usage of -lutil
- honor INSTALL_PROGRAM
PR:		163550
@
text
@d9 1
a9 1
PORTVERSION=	2.3.4
@


1.48
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@a25 2
LDFLAGS+=	-lwrap

d53 1
d56 1
@


1.47
log
@- update MASTER_SITE
PR:		159504
Submitted by:	Dr Josef L P Karthauser
@
text
@a42 2
.else
MAKE_ENV+=	LDFLAGS="${LDFLAGS}"
@


1.46
log
@- fix build on FreeBSD 9.0-CURRENT
PR:		157124
Submitted by:	Andrey V. Elsukov
@
text
@d11 1
a11 1
MASTER_SITES=	ftp://vsftpd.beasts.org/users/cevans/
@


1.45
log
@- Mark BROKEN on 9-CURRENT: does not compile

  sysdeputil.c:611: error: 'cap_t' undeclared (first use in this function)
  [..]

Reported by:	pointyhat

- While here, remove 6.X specific conditional
@
text
@a33 4
.if ${OSVERSION} >= 900000
BROKEN=		does not compile on FreeBSD 9.X
.endif

@


1.44
log
@- update to 2.3.4
@
text
@d34 4
a42 3
.if ${OSVERSION} < 700000
WITH_OPENSSL_PORT=	yes
.endif
@


1.43
log
@- update to 2.3.2
@
text
@d9 1
a9 1
PORTVERSION=	2.3.2
@


1.42
log
@- update to 2.3.1
@
text
@d9 1
a9 1
PORTVERSION=	2.3.1
@


1.41
log
@- rc.d supports now vsftpd_config
PR:		146556

- new option WITH_PIDFILE
Submitted by:	Eugen Zagorodniy

- update to 2.3.0
@
text
@d9 1
a9 1
PORTVERSION=	2.3.0
@


1.40
log
@LICENSE	GPLv2
@
text
@d9 1
a9 1
PORTVERSION=	2.2.2
d29 2
a30 1
		VSFTPD_SSL	"Include support for SSL"	off
d50 4
@


1.39
log
@- Update to 2.2.2
Changes: ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.2.2/Changelog
PR:		140651
Submitted by:	Sahil Tandon
@
text
@d17 2
@


1.38
log
@- update to 2.2.0
PR:		139788
Submitted by:	Sahil Tandon
@
text
@d9 1
a9 1
PORTVERSION=	2.2.1
@


1.37
log
@- update to 2.2.0
@
text
@d9 1
a9 1
PORTVERSION=	2.2.0
@


1.36
log
@- update to 2.1.2
Bugfix 421 Data timeout
PR:		134422
@
text
@d9 1
a9 1
PORTVERSION=	2.1.2
@


1.35
log
@- update to 2.1.0
Reported by:	Eugen Zagorodniy
@
text
@d9 1
a9 1
PORTVERSION=	2.1.0
@


1.34
log
@- Fix pkg-install call script from the Makefile
- Fix pkg-deinstall doesn't match the user used by pkg-install.
- Fix comment at top of vsftpd.conf
- Add commented-out versions of listen=YES and background=YES
  to match the rcNG script's expectations.
- Add missing documentation on how to configure vsftpd to rcNG script.
- Fix two typos in rcNG script.
PR:		130509
Submitted by:	Matthias Andree

- small cleanups
- fix escaping in  rcNG script.
@
text
@d9 1
a9 1
PORTVERSION=	2.0.7
@


1.33
log
@- update to 2.0.7
@
text
@d49 1
a49 1
		${WRKSRC}/defs.h
d58 1
a58 1
	${ECHO_CMD} "secure_chroot_dir=${PREFIX}/share/vsftpd/empty" >> \
d60 5
d75 3
a91 1
	${SH} ${PKGINSTALL}
@


1.32
log
@- update to 2.0.6
@
text
@d9 1
a9 1
PORTVERSION=	2.0.6
@


1.31
log
@- fix keywords in manpage
PR:		110271
Submitted by:	Bolinard Vincent
@
text
@d9 1
a9 1
PORTVERSION=	2.0.5
d36 3
@


1.30
log
@- update to 2.0.5
@
text
@d45 1
a45 1
	${REINPLACE_CMD} -e "s=/etc/vsftpd.conf=${PREFIX}/etc/vsftpd.conf=" \
d53 1
a53 1
		"s/#undef VSF_BUILD_TCPWRAPPERS/#define VSF_BUILD_TCPWRAPPERS 1/" \
d57 3
a59 1
	${REINPLACE_CMD} -e "s=/etc/v=${PREFIX}/etc/v=" \
d63 1
a63 1
		"s/#undef VSF_BUILD_SSL/#define VSF_BUILD_SSL 1/" \
@


1.29
log
@- make portlint happier
@
text
@d9 1
a9 2
PORTVERSION=	2.0.4
PORTREVISION=	1
@


1.28
log
@Remove USE_REINPLACE from all categories starting with F
@
text
@d36 1
a36 1
.if !defined(WITHOUT_SSL) && defined(WITH_VSFTPD_SSL)
@


1.27
log
@- Fix PAM problem
PR:		92579
Submitted by:	Joe Doupnik
@
text
@a17 1
USE_REINPLACE=	yes
@


1.26
log
@- update to 2.0.4
@
text
@d10 1
@


1.25
log
@- prevent endless loop on config errors
- extend USE_RC_SUBR
PR:		87174, 87354
Submitted by:	Pavel Gubin, Wesley Shields
@
text
@d9 1
a9 2
PORTVERSION=	2.0.3
PORTREVISION=	1
@


1.24
log
@- include SSL in OPTIONS
PR:		83421
Submitted by:	Marcus Grando
@
text
@d10 1
d34 1
a34 4
USE_RC_SUBR=	yes
PLIST_SUB+=	RC_NG=""
.else
PLIST_SUB+=	RC_NG="@@comment "
a46 4
.if defined(WITH_RC_NG)
	@@${SED} -e 's,%%RC_SUBR%%,${RC_SUBR},g' -e 's,%%PREFIX%%,${PREFIX},g' \
		${FILESDIR}/${PORTNAME}.sh >${WRKDIR}/${PORTNAME}.sh
.endif
a93 3
.if defined(WITH_RC_NG)
	@@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d/${PORTNAME}.sh
.endif
@


1.23
log
@- Add rcNG script option
PR:		79687
Submitted by:	Marcus Grando
@
text
@d12 1
d27 2
a28 9
OPTIONS=	RC_NG	"install RC_NG script" off

.if !defined(WITHOUT_SSL) && defined(WITH_VSFTPD_SSL)
USE_OPENSSL=	yes
CFLAGS+=	-I${OPENSSLINC}
LDFLAGS+=	-L${OPENSSLLIB}
.else
MAKE_ENV+=	LDFLAGS="${LDFLAGS}"
.endif
d39 9
@


1.22
log
@- Update to 2.0.3
- link with tcp-wrapper
PR:		79687
Submitted by:	Marcus Grando
@
text
@d26 2
d38 7
d46 4
d97 3
@


1.21
log
@- update to 2.0.1
see ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.0.1/Changelog

- new option WITH_VSFTPD_SSL
- honor CC, LDFLAGS
@
text
@d9 1
a9 1
PORTVERSION=	2.0.1
d24 2
d30 2
@


1.20
log
@- update to 1.2.2
@
text
@d9 1
a9 1
PORTVERSION=	1.2.2
d21 8
a28 1
		README README.security REWARD SIZE SPEED TODO TUNING
d35 4
a38 1
	${REINPLACE_CMD} -e "s/^CFLAGS	=/CFLAGS	+=/" \
d47 5
@


1.19
log
@- add ipv6 to CATEGORIES
PR:		64101
Submitted by:	Janos Mohacsi
@
text
@d9 1
a9 2
PORTVERSION=	1.2.1
PORTREVISION=	3
@


1.18
log
@- Fix path to config files in manpages
- search all config files in ${PREFIX}/etc/
@
text
@d11 1
a11 1
CATEGORIES=	ftp
@


1.17
log
@- get rid of all perl stuff
- USE_REINPLACE
@
text
@d10 1
a10 1
PORTREVISION=	2
d36 2
@


1.16
log
@- Fix output of time_t for 64bit
PR:		59546
Submitted by:	matthias.andree@@gmx.de
@
text
@d10 1
a10 1
PORTREVISION=	1
d17 1
a17 1
USE_PERL5=	yes
d27 7
a33 11
	@@${MV} ${WRKSRC}/defs.h ${WRKSRC}/defs.h.sed
	${SED} -e "s=/etc/vsftpd.conf=${PREFIX}/etc/vsftpd.conf=" \
		${WRKSRC}/defs.h.sed > ${WRKSRC}/defs.h
	@@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.sed
	${SED} -e "s/^CFLAGS	=/CFLAGS	+=/" \
		${WRKSRC}/Makefile.sed > ${WRKSRC}/Makefile
	@@${MV} ${WRKSRC}/builddefs.h ${WRKSRC}/builddefs.h.sed
	${SED} -e "s/#undef VSF_BUILD_TCPWRAPPERS/#define VSF_BUILD_TCPWRAPPERS 1/" \
		${WRKSRC}/builddefs.h.sed > ${WRKSRC}/builddefs.h
	${SED} -e "s/^CFLAGS	=/CFLAGS	+=/" \
		${WRKSRC}/Makefile.sed > ${WRKSRC}/Makefile
d51 1
a51 1
	${PERL5} ${PKGINSTALL}
@


1.15
log
@- update to 1.2.1
@
text
@d10 1
@


1.14
log
@- remove COPYING
@
text
@d9 1
a9 1
PORTVERSION=	1.2.0
@


1.13
log
@- Update to 1.2.0
PR:		52787
@
text
@d20 1
a20 1
DOCFILES=	AUDIT BENCHMARKS BUGS COPYING Changelog FAQ INSTALL LICENSE \
@


1.12
log
@- Add COMMENT
@
text
@d9 1
a9 1
PORTVERSION=	1.1.3
@


1.11
log
@- Update to 1.1.3
- supports tcp_wrappers in standalone mode
- verboose install
- documentation added
PR:		45199
Submitted by:	matthias.andree@@web.de
@
text
@d14 1
@


1.10
log
@- remove BROKEN
- add USE_PERL5
- honor CFLAGS
- whitespace fixes
@
text
@d9 1
a9 1
PORTVERSION=	1.1.2
a16 1

a17 1

d19 2
d24 1
a24 1
post-patch:
d31 6
a36 1
	@@${ECHO_CMD} "secure_chroot_dir=${PREFIX}/share/vsftpd/empty" >> \
d40 3
a42 3
	@@${INSTALL_PROGRAM} ${WRKSRC}/vsftpd ${PREFIX}/libexec/
	@@${INSTALL_DATA} ${WRKSRC}/vsftpd.conf ${PREFIX}/etc/vsftpd.conf.dist
	@@${INSTALL} -d ${PREFIX}/share/vsftpd/empty
d46 1
a46 1
	@@${MKDIR} ${PREFIX}/share/vsftpd/empty
d53 13
a65 2
	@@${PERL5} ${PKGINSTALL}
	@@${MKDIR} /var/ftp
@


1.9
log
@- Update to 1.1.2
- take maintainership
- remove dependency to PERL
Approved by:	nbm
@
text
@d15 1
a23 4
.if ${OSVERSION} >= 500035
BROKEN=		"Does not compile on 5.0"
.endif

d27 4
a30 1
                ${WRKSRC}/defs.h.sed > ${WRKSRC}/defs.h
@


1.8
log
@Mark BROKEN on 5.0
@
text
@d9 1
a9 1
PORTVERSION=	1.1.0
d13 1
a13 1
MAINTAINER=	nbm@@FreeBSD.org
d28 3
a30 3
	@@${PERL} -pi -e 's@@/etc/vsftpd.conf@@${PREFIX}/etc/vsftpd.conf@@' \
		${WRKSRC}/defs.h
	@@${PERL} -pi -e 's@@ -ldl@@@@; s@@^CFLAGS.*$$@@CFLAGS+= -D"atoll(x)=strtoll(x, (char **)NULL, 10)"@@' ${WRKSRC}/Makefile
@


1.7
log
@unbreak port, see errlog on bento
no response from MAINTAINER sin 2002-09-07
@
text
@d21 6
d51 1
a51 1
.include <bsd.port.mk>
@


1.6
log
@Fix typo in atoll define
@
text
@d24 1
a24 1
	@@${PERL} -pi -e 's@@ -ldl@@@@; s@@^CFLAGS.*$$@@CFLAGS= -D"atoll(x)=strtoll(x, (char **)NULL, 10)"@@' ${WRKSRC}/Makefile
@


1.5
log
@Upgrade to vsftpd 1.1.0
@
text
@d24 1
a24 1
	@@${PERL} -pi -e 's@@ -ldl@@@@; s@@^CFLAGS.*$$@@CFLAGS= -D"atoll(x)=strtol(x, (char **)NULL, 10)"@@' ${WRKSRC}/Makefile
@


1.4
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.

Use command macros where appropriate.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.1
d11 1
a11 1
MASTER_SITES=	ftp://ferret.lmh.ox.ac.uk/pub/linux/
d24 1
a24 1
	@@${PERL} -pi -e 's@@ -ldl@@@@; s@@^CFLAGS.*$$@@@@' ${WRKSRC}/Makefile
@


1.3
log
@- update to 1.0.1
- style (spaces -> ^I)
- clean up post-patch target
- make sure /var/ftp exists

PR:		32929, 32939
Submitted by:	Matthias Andree <matthias.andree@@web.de>,
                Miguel Mendez <flynn@@energyhq.homeip.net>
Approved by:	nbm (approval to update the port while he is away)
@
text
@d25 1
a25 1
	@@${ECHO} "secure_chroot_dir=${PREFIX}/share/vsftpd/empty" >> \
@


1.2
log
@Update to 0.0.15

Submitted by:	Anders Andersson <anders@@codefactory.se>
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/vsftpd/Makefile,v 1.1 2001/02/03 19:07:42 nbm Exp $
d9 1
a9 1
PORTVERSION=	0.0.15
d11 1
a11 1
MASTER_SITES= 	ftp://ferret.lmh.ox.ac.uk/pub/linux/
d17 4
d22 1
a22 2
	@@${PERL} -i -p -e \
		's@@^(#define VSFTP_DEFAULT_CONFIG    )"[/]etc/vsftpd.conf"@@\1"${PREFIX}/etc/vsftpd.conf"@@' \
d24 3
a26 5
	@@${PERL} -i -p \
		-e 's@@ -ldl@@@@;' \
		-e 's@@^CFLAGS.*$$@@@@' \
		${WRKSRC}/Makefile
	@@${ECHO} "secure_chroot_dir=${PREFIX}/share/vsftpd/empty" >> ${WRKSRC}/vsftpd.conf
a30 1
	@@#
d35 7
a41 1
	@@#
d43 1
@


1.1
log
@Add vsftpd 0.0.10, a FTP daemon that aims to be "very secure".
@
text
@d5 1
a5 1
# $FreeBSD$
d9 1
a9 1
PORTVERSION=	0.0.10
@

