head	1.19;
access;
symbols
	RELEASE_8_3_0:1.17
	RELEASE_9_0_0:1.17
	RELEASE_7_4_0:1.17
	RELEASE_8_2_0:1.17
	RELEASE_6_EOL:1.16
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.13
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.13
	RELEASE_7_1_0:1.13
	RELEASE_6_4_0:1.13
	RELEASE_5_EOL:1.12
	RELEASE_7_0_0:1.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.12
	RELEASE_4_EOL:1.11
	RELEASE_6_2_0:1.9
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_6_0_0:1.8
	RELEASE_5_4_0:1.8
	RELEASE_4_11_0:1.8
	RELEASE_5_3_0:1.8
	RELEASE_4_10_0:1.5;
locks; strict;
comment	@# @;


1.19
date	2012.11.17.05.57.30;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2012.05.11.20.38.04;	author ade;	state Exp;
branches;
next	1.17;

1.17
date	2010.12.04.07.31.40;	author ade;	state Exp;
branches;
next	1.16;

1.16
date	2010.10.05.19.57.34;	author ade;	state Exp;
branches;
next	1.15;

1.15
date	2010.09.26.19.22.23;	author wxs;	state Exp;
branches;
next	1.14;

1.14
date	2010.03.20.14.47.26;	author miwi;	state Exp;
branches;
next	1.13;

1.13
date	2008.08.23.20.13.18;	author beech;	state Exp;
branches;
next	1.12;

1.12
date	2007.02.02.23.39.24;	author markus;	state Exp;
branches;
next	1.11;

1.11
date	2006.12.14.12.34.40;	author miwi;	state Exp;
branches;
next	1.10;

1.10
date	2006.12.13.07.21.34;	author miwi;	state Exp;
branches;
next	1.9;

1.9
date	2006.05.07.11.09.21;	author edwin;	state Exp;
branches;
next	1.8;

1.8
date	2004.08.19.14.25.11;	author vs;	state Exp;
branches;
next	1.7;

1.7
date	2004.08.17.18.03.15;	author nectar;	state Exp;
branches;
next	1.6;

1.6
date	2004.05.21.13.50.27;	author vs;	state Exp;
branches;
next	1.5;

1.5
date	2004.02.03.17.57.21;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2004.01.26.11.50.54;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2004.01.23.22.56.46;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2004.01.23.22.51.48;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2004.01.03.07.27.59;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Switch exporter over
@
text
@# New ports collection makefile for:	tnftpd
# Date created:				3 August 2003
# Whom:					ports
#
# $FreeBSD: head/ftp/tnftpd/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	tnftpd
PORTVERSION=	20100324
CATEGORIES=	ftp ipv6
MASTER_SITES=	ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/

MAINTAINER=	cejkar@@fit.vutbr.cz
COMMENT=	Enhanced ftp server from NetBSD

USE_AUTOTOOLS=	aclocal automake libtool
AUTOMAKE_ARGS=	--add-missing
ACLOCAL_ARGS=	-I ${LOCALBASE}/share/aclocal

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 900007
CFLAGS+=	-DSUPPORT_UTMPX
.else
CFLAGS+=	-DSUPPORT_UTMP
.endif

MAN5=		ftpd.conf.5 ftpusers.5
MAN8=		tnftpd.8
PLIST_FILES=	libexec/tnftpd
PORTDOCS=	ChangeLog NEWS README THANKS COPYING
PORTEXAMPLES=	ftpd.conf ftpusers

SUB_FILES=	pkg-message

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/tnftpd ${PREFIX}/libexec
	${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.man ${PREFIX}/man/man5/ftpd.conf.5
	${INSTALL_MAN} ${WRKSRC}/src/ftpusers.man ${PREFIX}/man/man5/ftpusers.5
	${INSTALL_MAN} ${WRKSRC}/src/tnftpd.man ${PREFIX}/man/man8/tnftpd.8
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
	${MKDIR} ${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
.endfor
.endif

post-install:
	@@${CAT} ${PKGMESSAGE}

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


1.18
log
@Update autoconf to 2.69 and automake to 1.12

PR:		166836
Tested by:	Multiple -exp runs (pav)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.17
log
@Sync to new bsd.autotools.mk
@
text
@d17 1
@


1.16
log
@Round one migration of ports from automake{19,110} to automake111
@
text
@d16 1
a16 1
USE_AUTOTOOLS=	aclocal:111 automake:111 libtool:22
@


1.15
log
@Update to 20100324

PR:		ports/150499
Submitted by:	Rudolf Cejka <cejkar@@fit.vutbr.cz> (maintainer)
@
text
@d16 1
a16 1
USE_AUTOTOOLS=	aclocal:110 automake:110 libtool:22
@


1.14
log
@- Mark BROKEN on HEAD: fails to build with new utmpx

Reported by:	pointyhat
@
text
@d9 1
a9 1
PORTVERSION=	20080609
d16 2
a17 3
GNU_CONFIGURE=	yes

CFLAGS+=	-DSUPPORT_UTMP
d21 4
a24 7
.if ${OSVERSION} > 900007
BROKEN=		fails to build with new utmpx
.endif

.if defined(WITH_SOCKS5)
BUILD_DEPENDS+=	${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
CONFIGURE_ARGS+=	--with-socks5
d31 1
a33 19
FIXPREFIX=	ftpd.8 ftpd.conf.5 ftpusers.5

pre-patch:
.for f in ${FIXPREFIX}
	${REINPLACE_CMD} -e \
		"s@@^\.Dq Pa /etc@@.Dq Pa ${PREFIX}/etc@@g; \
		s@@^\.Pa /etc@@.Pa ${PREFIX}/etc@@g; \
		s@@^\.It Pa /etc/@@.It Pa ${PREFIX}/etc/@@g; \
		s@@^\.Ss /etc/@@.Ss ${PREFIX}/etc/@@g; \
		s@@^\.Sx /etc/@@.Sx ${PREFIX}/etc/@@g; \
		s@@^\.Bl -tag -width /etc/@@.Bl -tag -width ${PREFIX}/etc/@@g; \
		s@@${PREFIX}/etc/shells@@/etc/shells@@g; \
		s@@${PREFIX}/etc/nologin@@/etc/nologin@@g; \
		s@@${PREFIX}/etc/pwd.db@@/etc/pwd.db@@g" \
	${WRKSRC}/src/${f}
.endfor
	${REINPLACE_CMD} -e \
		"s@@^#define	_DEFAULT_CONFDIR	\"/etc\"@@#define	_DEFAULT_CONFDIR	\"${PREFIX}/etc\"@@" \
	${WRKSRC}/src/pathnames.h
d37 3
a39 3
	${INSTALL_MAN} ${WRKSRC}/src/ftpd.8 ${PREFIX}/man/man8/tnftpd.8
	${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.5 ${PREFIX}/man/man5
	${INSTALL_MAN} ${WRKSRC}/src/ftpusers.5 ${PREFIX}/man/man5
d46 6
@


1.13
log
@- Update to 20080609

PR:		ports/126749
Submitted by:	Yarema <yds@@CoolRat.org>
Approved by:	Rudolf Cejka <cejkar@@fit.vutbr.cz> (maintainer)
@
text
@d20 6
d72 1
a72 1
.include <bsd.port.mk>
@


1.12
log
@- Fix plist if NOPORTDOCS is defined
- Bump PORTREVISION

Approved by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	20061204
PORTREVISION=	1
a16 1
PKGMESSAGE=	${WRKDIR}/pkg-message
a24 2
DOCS=		ChangeLog README THANKS COPYING

d28 1
a28 1
PORTDOCS=	ChangeLog README THANKS COPYING
d30 1
a50 3
post-build:
	@@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}

d58 1
a58 1
.for f in ${DOCS}
@


1.11
log
@- Update to 20061204

PR:		ports/106700
Submitted by:	Rudolf Cejka <cejkar@@fit.vutbr.cz> (maintainer)
@
text
@d10 1
d31 2
a32 6
PLIST_FILES=	libexec/tnftpd \
		%%PORTDOCS%%%%DOCSDIR%%/ChangeLog \
		%%PORTDOCS%%%%DOCSDIR%%/README \
		%%PORTDOCS%%%%DOCSDIR%%/THANKS \
		%%PORTDOCS%%%%DOCSDIR%%/COPYING
PLIST_DIRS=	%%PORTDOCS%%%%DOCSDIR%%
@


1.10
log
@- Fix root exploid

PR:		ports/106594
Submitted by:	Sergey N. Voronkov <serg@@tmn.ru>
Approved by:	maintainer
Security:	http://www.vuxml.org/freebsd/e969e6cb-8911-11db-9d01-0016179b2dd5.html
@
text
@d9 1
a9 2
PORTVERSION=	20040810
PORTREVISION=	1
d30 6
a48 1
		s@@${PREFIX}/etc/motd@@/etc/motd@@g; \
d66 1
a66 1
	${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
d68 1
a68 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}/
@


1.9
log
@Remove USE_REINPLACE from all categories starting with F
@
text
@d10 1
@


1.8
log
@Update to 20040810, which contains latest security fixes

PR:		ports/70624
Submitted by:	Rudolf Cejka (maintainer)
@
text
@a15 1
USE_REINPLACE=	yes
@


1.7
log
@Mark forbidden due to remotely exploitable vulnerability.
http://vuxml.freebsd.org/c4b025bb-f05d-11d8-9837-000c41e2cdad.html
@
text
@d9 1
a9 2
PORTVERSION=	20031217
PORTREVISION=	1
a12 1
FORBIDDEN=	http://vuxml.freebsd.org/c4b025bb-f05d-11d8-9837-000c41e2cdad.html
@


1.6
log
@Handle files over 4GB.

PR:		ports/66741
Submitted by:	Rudolf Cejka (maintainer)
@
text
@d14 1
@


1.5
log
@- Update to 20031217 snapshot

PR:		ports/62069
Submitted by:	Rudolf Cejka <cejkar@@fit.vutbr.cz> (maintainer)
@
text
@d10 1
@


1.4
log
@- Give maintainership to Rudolf Cejka, who uses this daemon
  to power ftp-master.cz.FreeBSD.org

Submitted by:	Rudolf Cejka <cejkar@@fit.vutbr.cz>
@
text
@d9 1
a9 2
PORTVERSION=	2.0b3
PORTREVISION=	1
a11 1
DISTNAME=	${PORTNAME}-2.0-beta3
d19 2
@


1.3
log
@- Rip post-install echo block into standalone pkg-message
- Quiet portlint on RUN_DEPENDS
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.2
log
@- Add support for utmp/wtmp
- Bump portrevision

PR:		ports/61722
Submitted by:	Rudolf Cejka <cejkar@@fit.vutbr.cz>
@
text
@d20 1
d23 1
a23 1
BUILD_DEPENDS=	${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
d53 3
d69 1
a69 9
	@@${ECHO} "================================================================================"
	@@${ECHO} "This port relies on a number of configuration files in ${PREFIX}/etc."
	@@${ECHO} "At the very least, create a ftpusers file with the usernams of users you don't"
	@@${ECHO} "want to connect (root, toor, etc.). This will allow non-listed users to log in."
	@@${ECHO} "Copying /etc/ftpusers to ${PREFIX}/etc/ftpusers should be sufficient."
	@@${ECHO}
	@@${ECHO} "See the man files for more information. The man- and configuration files for"
	@@${ECHO} "FreeBSD's built-in ftpd can also be of use as examples/additional info."
	@@${ECHO} "================================================================================"
@


1.1
log
@New port: ftp/tnftpd (obsoletes ftp/lukemftpd)

	tnftpd (formerly known as lukemftpd) is a port of the
	enhanced NetBSD ftp server to other systems

PR:		ports/55229
Submitted by:	Alex Vasylenko <lxv@@send-pr.sink.omut.org>
@
text
@d10 1
@

