head	1.20;
access;
symbols
	RELEASE_8_3_0:1.19
	RELEASE_9_0_0:1.19
	RELEASE_7_4_0:1.19
	RELEASE_8_2_0:1.19
	RELEASE_6_EOL:1.19
	RELEASE_8_1_0:1.19
	RELEASE_7_3_0:1.19
	RELEASE_8_0_0:1.19
	RELEASE_7_2_0:1.18
	RELEASE_7_1_0:1.18
	RELEASE_6_4_0:1.18
	RELEASE_5_EOL:1.17
	RELEASE_7_0_0:1.16
	RELEASE_6_3_0:1.16
	PRE_XORG_7:1.16
	RELEASE_4_EOL:1.16
	RELEASE_6_2_0:1.16
	RELEASE_6_1_0:1.15
	RELEASE_5_5_0:1.15
	RELEASE_6_0_0:1.15
	RELEASE_5_4_0:1.13
	RELEASE_4_11_0:1.13
	RELEASE_5_3_0:1.13
	RELEASE_4_10_0:1.13
	RELEASE_5_2_1:1.12
	RELEASE_5_2_0:1.12
	RELEASE_4_9_0:1.11
	RELEASE_5_1_0:1.11
	RELEASE_4_8_0:1.10
	RELEASE_5_0_0:1.8
	RELEASE_4_7_0:1.8
	RELEASE_4_6_2:1.8
	RELEASE_4_6_1:1.8
	RELEASE_4_6_0:1.8
	RELEASE_5_0_DP1:1.8
	RELEASE_4_5_0:1.5
	RELEASE_4_4_0:1.5
	RELEASE_4_3_0:1.2;
locks; strict;
comment	@# @;


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

1.19
date	2009.08.28.16.52.25;	author linimon;	state Exp;
branches;
next	1.18;

1.18
date	2008.08.21.06.17.01;	author rafan;	state Exp;
branches;
next	1.17;

1.17
date	2008.01.23.22.43.35;	author beech;	state Exp;
branches;
next	1.16;

1.16
date	2006.05.07.11.09.20;	author edwin;	state Exp;
branches;
next	1.15;

1.15
date	2005.04.12.03.25.28;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	2005.04.11.08.02.17;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	2004.03.28.16.36.10;	author krion;	state Exp;
branches;
next	1.12;

1.12
date	2003.09.27.00.45.41;	author edwin;	state Exp;
branches;
next	1.11;

1.11
date	2003.04.08.22.19.58;	author anders;	state Exp;
branches;
next	1.10;

1.10
date	2003.03.07.06.02.04;	author ade;	state Exp;
branches;
next	1.9;

1.9
date	2003.01.23.21.03.14;	author anders;	state Exp;
branches;
next	1.8;

1.8
date	2002.03.17.23.38.44;	author anders;	state Exp;
branches;
next	1.7;

1.7
date	2002.03.15.00.31.47;	author anders;	state Exp;
branches;
next	1.6;

1.6
date	2002.03.14.00.11.38;	author anders;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.17.18.16.39;	author dannyboy;	state Exp;
branches;
next	1.4;

1.4
date	2001.05.29.13.24.40;	author kevlo;	state Exp;
branches;
next	1.3;

1.3
date	2001.04.24.13.12.30;	author kevlo;	state Exp;
branches;
next	1.2;

1.2
date	2001.04.10.22.16.56;	author dirk;	state Exp;
branches;
next	1.1;

1.1
date	2001.04.07.00.39.05;	author will;	state Exp;
branches;
next	;


desc
@@


1.20
log
@Switch exporter over
@
text
@# Ports collection makefile for:  oftpd
# Date created:			  31 March 2001
# Whom:				  Anders Nordby <anders@@fix.no>
#
# $FreeBSD: head/ftp/oftpd/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	oftpd
PORTVERSION=	0.3.7
CATEGORIES=	ftp
MASTER_SITES=	http://www.time-travellers.org/oftpd/ \
		http://atreides.freenix.no/~anders/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A threaded, anonymous only FTP server designed for security

GNU_CONFIGURE=	yes

MAN8=		oftpd.8
PORTDOCS=	README AUTHORS ChangeLog NEWS TODO BUGS
PLIST_FILES=	sbin/oftpd

post-patch:
	${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \
		 s|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.if defined(MAX_NUM_CLIENTS)
	${REINPLACE_CMD} -e 's|MAX_NUM_CLIENTS 300|MAX_NUM_CLIENTS ${MAX_NUM_CLIENTS}|g' ${WRKSRC}/src/oftpd.h
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/oftpd ${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/man/oftpd.8 ${MANPREFIX}/man/man8
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.19
log
@Reset beech@@FreeBSD.org while he works on restoring his email situation.

Hat:		portmgr
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.18
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
@d14 1
a14 1
MAINTAINER=	beech@@FreeBSD.org
@


1.17
log
@- Adopt orphan ports in ftp category.

Approved by:	linimon (mentor, implicit)
@
text
@a17 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.16
log
@Remove USE_REINPLACE from all categories starting with F
@
text
@d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.15
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@a16 1
USE_REINPLACE=	yes
@


1.14
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d19 1
a19 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.13
log
@- Update to version 0.3.7

PR:		ports/64856
Submitted by:	Ports Fury
@
text
@d19 1
a19 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.12
log
@- ECHO -> ECHO_MSG

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

PR:		ports/56785-56799
Submitted by:	KATO Tsuguru <tkato@@prontomail.com>
@
text
@d9 1
a9 2
PORTVERSION=	0.3.6
PORTREVISION=	2
d17 1
d19 1
a19 6
USE_REINPLACE=	yes

DOCFILES=	README AUTHORS ChangeLog NEWS TODO BUGS

CFLAGS+=	${PTHREAD_CFLAGS}
CONFIGURE_ENV+=	LIBS="-pthread"
d22 2
d26 2
d29 1
a29 1
	${REINPLACE_CMD} -e "s@@MAX_NUM_CLIENTS 300@@MAX_NUM_CLIENTS ${MAX_NUM_CLIENTS}@@" ${WRKSRC}/src/oftpd.h
d33 2
a34 1
	${INSTALL_PROGRAM} ${WRKSRC}/src/oftpd ${PREFIX}/sbin/oftpd
d36 3
a38 3
	${INSTALL} -d -m 555 ${PREFIX}/share/doc/oftpd
.for i in ${DOCFILES}
	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/oftpd
d41 1
a41 8

post-install:
	@@${INSTALL_MAN} ${WRKSRC}/man/oftpd.8 ${MANPREFIX}/man/man8
	@@${ECHO_MSG} "================================================================================"
	@@${ECHO_MSG} "oftpd only runs standalone, not from inetd."
	@@${ECHO_MSG} "Create a README file in the root anonymous FTP dir to have it displayed to"
	@@${ECHO_MSG} "users upon login."
	@@${ECHO_MSG} "================================================================================"
@


1.11
log
@Lose maintainership. I don't use oftpd anymore.
@
text
@d44 5
a48 5
	@@${ECHO} "================================================================================"
	@@${ECHO} "oftpd only runs standalone, not from inetd."
	@@${ECHO} "Create a README file in the root anonymous FTP dir to have it displayed to"
	@@${ECHO} "users upon login."
	@@${ECHO} "================================================================================"
@


1.10
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d15 1
a15 1
MAINTAINER=	anders@@FreeBSD.org
@


1.9
log
@Use USE_REINPLACE & REINPLACE_CMD instead of PERL.

Requested by:	Ulrich Spoerlein <q@@uni.de>
@
text
@d16 1
@


1.8
log
@Add MAX_NUM_CLIENTS option, to override command-line limit for maximum
number of connections.

PR:		36022
Submitted by:	Gea-Suan Lin <gslin@@infomath.math.nctu.edu.tw>
@
text
@d18 1
d29 1
a29 1
	@@${PERL} -pi -e "s,MAX_NUM_CLIENTS 300,MAX_NUM_CLIENTS ${MAX_NUM_CLIENTS}," ${WRKSRC}/src/oftpd.h
@


1.7
log
@Master site updates: www.freenix.no => atreides.freenix.no for these
files.
@
text
@d10 1
a10 1
PORTREVISION=	1
d25 5
@


1.6
log
@Correct MAINTAINER e-mail address for ports I maintain.
@
text
@d13 1
a13 1
		http://www.freenix.no/~anders/
@


1.5
log
@Add patch to disable badly-working sendfile code.

PR:		28214
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/oftpd/Makefile,v 1.4 2001/05/29 13:24:40 kevlo Exp $
d15 1
a15 1
MAINTAINER=	anders@@fix.no
@


1.4
log
@Update to version 0.3.6

PR: 27719
Submitted by: MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/oftpd/Makefile,v 1.3 2001/04/24 13:12:30 kevlo Exp $
d10 1
@


1.3
log
@Upgrade to version 0.3.5

PR: 26779
Submitted by: MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/oftpd/Makefile,v 1.2 2001/04/10 22:16:56 dirk Exp $
d9 1
a9 1
PORTVERSION=	0.3.5
@


1.2
log
@Upgrade to 0.3.4.

PR:		ports/26443
Submitted by:	Anders Nordby <anders@@fix.no> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD: ports/ftp/oftpd/Makefile,v 1.1 2001/04/07 00:39:05 will Exp $
d9 1
a9 1
PORTVERSION=	0.3.4
d21 1
d26 1
a26 1
	${INSTALL_PROGRAM} ${WRKSRC}/src/oftpd ${PREFIX}/libexec/oftpd
@


1.1
log
@Add oftpd 0.3.3, a threaded, anonymous only FTP server designed for
security.

PR:		26243
Submitted by:	Anders Nordby <anders@@fix.no>
@
text
@d5 1
a5 1
# $FreeBSD$
d9 1
a9 1
PORTVERSION=	0.3.3
d22 2
d34 1
a36 1
	@@${ECHO} "Try ${PREFIX}/libexec/oftpd -h to see command line options."
@

