head	1.13;
access;
symbols
	RELEASE_4_10_0:1.9
	RELEASE_5_2_1:1.9
	RELEASE_5_2_0:1.9
	RELEASE_4_9_0:1.8
	RELEASE_5_1_0:1.7
	RELEASE_4_8_0:1.7
	RELEASE_5_0_0:1.6
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.5
	RELEASE_4_6_1:1.5
	RELEASE_4_6_0:1.5
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.3
	RELEASE_4_3_0:1.1;
locks; strict;
comment	@# @;


1.13
date	2004.08.18.06.55.39;	author obrien;	state dead;
branches;
next	1.12;

1.12
date	2004.08.17.18.02.46;	author nectar;	state Exp;
branches;
next	1.11;

1.11
date	2004.08.16.14.47.42;	author arved;	state Exp;
branches;
next	1.10;

1.10
date	2004.05.16.16.44.23;	author krion;	state Exp;
branches;
next	1.9;

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

1.8
date	2003.07.30.06.06.05;	author daichi;	state Exp;
branches;
next	1.7;

1.7
date	2003.02.21.12.00.37;	author knu;	state Exp;
branches;
next	1.6;

1.6
date	2002.11.04.02.15.26;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2002.02.10.10.18.34;	author petef;	state Exp;
branches;
next	1.4;

1.4
date	2001.10.07.02.03.41;	author petef;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.30.01.04.23;	author dannyboy;	state Exp;
branches;
next	1.2;

1.2
date	2001.05.14.00.23.21;	author jeh;	state Exp;
branches;
next	1.1;

1.1
date	2001.04.13.09.08.12;	author demon;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Go ahead and rush the 2004-08-30 deprecatation since the port is now
FORBIDDEN due to a vulerability.  I really don't think anyone is going
to put the effort into un-FORBIDDENing it.
@
text
@# New ports collection makefile for:	lukemftpd
# Date created:				12 April 2001
# Whom:					Anders Nordby <anders@@fix.no>
#
# $FreeBSD: ports/ftp/lukemftpd/Makefile,v 1.12 2004/08/17 18:02:46 nectar Exp $
#

PORTNAME=	lukemftpd
PORTVERSION=	1.1
PORTREVISION=	1
CATEGORIES=	ftp ipv6
MASTER_SITES=	ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/old/ \
		ftp://ftp.nuug.no/pub/anders/distfiles/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Enhanced ftp server from NetBSD

FORBIDDEN=	http://vuxml.freebsd.org/c4b025bb-f05d-11d8-9837-000c41e2cdad.html
DEPRECATED=	"lukemftpd was renamed to tnftpd"
EXPIRATION_DATE=2004-08-30
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes

DOCS=		ChangeLog README THANKS

MAN5=		ftpd.conf.5 ftpusers.5
MAN8=		ftpd.8

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/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

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/ftpd ${PREFIX}/libexec/ftpd
	${INSTALL_MAN} ${WRKSRC}/src/ftpd.8 ${PREFIX}/man/man8
	${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.5 ${PREFIX}/man/man5
	${INSTALL_MAN} ${WRKSRC}/src/ftpusers.5 ${PREFIX}/man/man5
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/lukemftpd
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/lukemftpd/
.endfor
.endif

post-install:
	@@${ECHO_MSG} "================================================================================"
	@@${ECHO_MSG} "This port relies on a number of configuration files in ${PREFIX}/etc."
	@@${ECHO_MSG} "At the very least, create a ftpusers file with the usernams of users you don't"
	@@${ECHO_MSG} "want to connect (root, toor, etc.). This will allow non-listed users to log in."
	@@${ECHO_MSG} "Copying /etc/ftpusers to ${PREFIX}/etc/ftpusers should be sufficient."
	@@${ECHO_MSG}
	@@${ECHO_MSG} "See the man files for more information. The man- and configuration files for"
	@@${ECHO_MSG} "FreeBSD's built-in ftpd can also be of use as examples/additional info."
	@@${ECHO_MSG} "================================================================================"

.include <bsd.port.mk>
@


1.12
log
@Mark forbidden due to remotely exploitable vulnerability.
http://www.vuxml.org/freebsd/c4b025bb-f05d-11d8-9837-000c41e2cdad.html
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@Mark deprecated, Port was renamed to tnftpd (already in ports),
has no maintainer, and is broken on CURRENT.
@
text
@d18 1
@


1.10
log
@- Fix MASTER_SITES

PR:		ports/66703
Submitted by:	Roman Neuhauser <neuhauser@@chello.cz>
@
text
@d18 2
@


1.9
log
@- ECHO -> ECHO_MSG

for some ports:
- pre-fetch -> pre-everything

PR:		ports/56785-56799
Submitted by:	KATO Tsuguru <tkato@@prontomail.com>
@
text
@d12 1
a12 1
MASTER_SITES=	ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/ \
@


1.8
log
@update ftp/lukemftpd: drop maintainer ship

PR:		48388
Submitted by:	Rudolf Cejka <cejkar@@fit.vutbr.cz>
Apporved by:	maintainer (timeout)
@
text
@d57 9
a65 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.7
log
@De-pkg-comment.
@
text
@d15 1
a15 1
MAINTAINER=	debolaz@@debolaz.com
d41 1
a41 1
		"s@@^#define\t_DEFAULT_CONFDIR\t\"/etc\"@@#define\t_DEFAULT_CONFDIR\t\"${PREFIX}/etc\"@@" \
@


1.6
log
@PERL -> REINPLACE
Noticed on: bento
@
text
@d16 1
@


1.5
log
@Give maintainership to Anders Nor Berle <debolaz@@debolaz.com> from ports@@.

Submitted by:	Anders Nor Berle <debolaz@@debolaz.com>
@
text
@d17 1
d29 1
a29 1
	${PERL} -pi -e "s@@^\.Dq Pa /etc@@.Dq Pa ${PREFIX}/etc@@g; \
d39 1
a39 1
	${PERL} -pi -e \
@


1.4
log
@Set maintainer to ports@@FreeBSD.org

Submitted by:	Anders Nordby <anders@@fix.no> (previous maintainer)
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/lukemftpd/Makefile,v 1.3 2001/05/30 01:04:23 dannyboy Exp $
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.3
log
@Fix wtmp and utmp logging.

PR:		27720
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/lukemftpd/Makefile,v 1.2 2001/05/14 00:23:21 jeh Exp $
d15 1
a15 1
MAINTAINER=	anders@@fix.no
@


1.2
log
@Updates the port to version 1.1, the latest version.

PR:		27298
Submitted by:	Anders Nordby <anders@@fix.no> MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/lukemftpd/Makefile,v 1.1 2001/04/13 09:08:12 demon Exp $
d10 1
@


1.1
log
@New port: lukemftpd: Enhanced ftp server from NetBSD

PR:		26522
Submitted by:	Anders Nordby <anders.fix.no>
@
text
@d5 1
a5 1
# $FreeBSD$
d9 1
a9 1
PORTVERSION=	1.0
@

