head	1.15;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.11
	RELEASE_7_4_0:1.11
	RELEASE_8_2_0:1.11
	RELEASE_6_EOL:1.11
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.10
	RELEASE_7_2_0:1.10
	RELEASE_7_1_0:1.10
	RELEASE_6_4_0:1.10
	RELEASE_5_EOL:1.9
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.8
	RELEASE_6_2_0:1.8
	RELEASE_6_1_0:1.7
	RELEASE_5_5_0:1.7
	RELEASE_6_0_0:1.5
	RELEASE_5_4_0:1.5
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.5
	RELEASE_4_10_0:1.5
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.15
date	2013.03.03.01.08.25;	author svnexp;	state dead;
branches;
next	1.14;

1.14
date	2012.12.30.19.12.27;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.11.17.05.57.29;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.08.05.23.19.36;	author dougb;	state Exp;
branches;
next	1.11;

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

1.10
date	2008.08.21.06.17.01;	author rafan;	state Exp;
branches;
next	1.9;

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

1.8
date	2006.06.14.20.46.26;	author marius;	state Exp;
branches;
next	1.7;

1.7
date	2006.02.20.12.38.27;	author marius;	state Exp;
branches;
next	1.6;

1.6
date	2005.08.30.18.37.02;	author marius;	state Exp;
branches;
next	1.5;

1.5
date	2004.04.20.13.49.29;	author netchild;	state Exp;
branches;
next	1.4;

1.4
date	2004.01.04.13.56.20;	author netchild;	state Exp;
branches;
next	1.3;

1.3
date	2003.10.09.08.46.46;	author netchild;	state Exp;
branches;
next	1.2;

1.2
date	2003.09.25.11.34.39;	author netchild;	state Exp;
branches;
next	1.1;

1.1
date	2003.09.10.08.11.48;	author netchild;	state Exp;
branches;
next	;


desc
@@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313293
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Ports collection makefile for:	ftpd-tls
# Date created:				21 August 2003
# Whom:					marius@@alchemy.franken.de
#
# $FreeBSD: head/ftp/ftpd-tls/Makefile 309665 2012-12-30 12:47:48Z marius $
#

PORTNAME=	ftpd-tls
PORTVERSION=	20031008
PORTREVISION=	2
CATEGORIES=	ftp security
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	marius

MAINTAINER=	marius@@FreeBSD.org
COMMENT=	Ftp server supporting FTP AUTH TLS

DEPRECATED=	No longer maintained upstream
EXPIRATION_DATE=	2013-01-31

GNU_CONFIGURE=	YES
USE_OPENSSL=	YES
USE_RC_SUBR=	ftpd-tls

MAN8=		ftpd-tls.8

CONFIGURE_ARGS=		--with-openssl-dir=${OPENSSLBASE}
PKGMESSAGE=		${WRKDIR}/pkg-message

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 900007
BROKEN=		fails to build with new utmpx
.endif

post-patch:
.for i in README.TLS ftpd.8.TLS pathnames.h tlsutil.c
	@@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i}
.endfor
	@@${SED} 's|%%PREFIX%%|${PREFIX}|g; s|%%DOCSDIR%%|${DOCSDIR}|g' \
		${PKGDIR}/pkg-message > ${WRKDIR}/pkg-message

do-install:
	@@${INSTALL_PROGRAM} ${WRKSRC}/ftpd ${PREFIX}/libexec/ftpd-tls
	@@${INSTALL_MAN} ${WRKSRC}/ftpd.8.TLS ${PREFIX}/man/man8/ftpd-tls.8
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for i in README.TLS draft-murray-auth-ftp-ssl-09.txt
	@@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.if !exists(${PREFIX}/etc/ftpd-tls)
	@@${MKDIR} ${PREFIX}/etc/ftpd-tls
	@@${CHMOD} 700 ${PREFIX}/etc/ftpd-tls
.endif
.if (!exists(${PREFIX}/etc/ftpd-tls/ftpusers)) && (exists(/etc/ftpusers))
	@@${INSTALL_DATA} /etc/ftpusers ${PREFIX}/etc/ftpd-tls
.endif

pre-install:
# Make sure there's no startup script left over from a previous installation.
	@@${RM} -f ${PREFIX}/etc/rc.d/ftpd-tls.sh

post-install:
	@@${CAT} ${WRKDIR}/pkg-message

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


1.14
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309665
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309665 | marius | 2012-12-30 12:47:48 +0000 (Sun, 30 Dec 2012) | 6 lines
## SVN ##
## SVN ## Mark deprecated with an expiration on 2013-01-31. Unfortunately, these
## SVN ## ports are no longer maintained upstream, which is a bad thing especially
## SVN ## for supposedly secure software.
## SVN ##
## SVN ## Approved by:	beat (mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@@


1.13
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/ftp/ftpd-tls/Makefile 302141 2012-08-05 23:19:36Z dougb $
d18 3
@


1.12
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
@d5 1
a5 1
# $FreeBSD$
@


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

Reported by:	pointyhat
@
text
@d20 1
a20 1
USE_RC_SUBR=	ftpd-tls.sh
@


1.10
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d29 4
@


1.9
log
@Remove support for OSVERSION  < 5
@
text
@a24 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.8
log
@Use MASTER_SITE_LOCAL instead of a private server.

Approved by:	netchild
@
text
@a29 4
.if ${OSVERSION} < 400000
BROKEN=		"Not supported on systems prior to FreeBSD 4.0 (missing getaddrinfo())"
.endif

@


1.7
log
@- Switch to a rc.d startup script.
- Remove obsolete USE_REINPLACE.

Approved by:	netchild
@
text
@d12 2
a13 1
MASTER_SITES=	ftp://ftp.zeist.de/pub/distfiles/
@


1.6
log
@Remove no longer available WWW and site from MASTER_SITES (author passed
away and domain expired shortly after).

Approved by:	netchild
@
text
@d10 1
a10 1
PORTREVISION=	1
d19 1
a19 1
USE_REINPLACE=	YES
d23 4
a32 4
CONFIGURE_ARGS=		--with-openssl-dir=${OPENSSLBASE}
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
PKGMESSAGE=		${WRKDIR}/pkg-message

a38 2
	@@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/ftpd-tls.sh > \
		${WRKDIR}/ftpd-tls.sh
a42 2
	@@${INSTALL_SCRIPT} ${WRKDIR}/ftpd-tls.sh \
		${PREFIX}/etc/rc.d/ftpd-tls.sh.sample
d57 4
@


1.5
log
@Use the @@FreeBSD.org address of the maintainer.

Approved by:	marius
@
text
@d12 1
a12 2
MASTER_SITES=	ftp://ftp.zeist.de/pub/distfiles/ \
		ftp://ftp.runestig.com/pub/ftpd-tls/
@


1.4
log
@Replace "/etc/nologin" with "/var/run/nologin" in manpage to reflect
reality.

Submitted by:	maintainer
@
text
@d15 1
a15 1
MAINTAINER=	marius@@alchemy.franken.de
@


1.3
log
@Update to 20031008. This fixes a bug where ftpd-tls would log bogus file
sizes for transfered files. On other operating systems (e.g. GNU/Linux) it
was even more severe as it also affected the file sizes ftpd-tls announced
in advent of a file transfer.

Submitted by:	maintainer
@
text
@d10 1
@


1.2
log
@- Update to 20030924. If you're running 20030520 there is no need to
  update, the only change is that it now incorporates two patches
  previously part of this port.
- Fix PLIST, the sample start-up script was missing.

Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	20030924
@


1.1
log
@Add ftpd-tls, a FTP AUTH TLS aware ftp server. This is the counterpart
to ftp/ftp-tls and also written by Peter Runestig.

Submitted by:	Marius Strobl <marius@@alchemy.franken.de>
@
text
@d9 1
a9 1
PORTVERSION=	20030520
@

