head	1.21;
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.19
	RELEASE_7_1_0:1.18
	RELEASE_6_4_0:1.18
	RELEASE_5_EOL:1.16
	RELEASE_7_0_0:1.16
	RELEASE_6_3_0:1.16
	PRE_XORG_7:1.16
	RELEASE_4_EOL:1.15
	RELEASE_6_2_0:1.15
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.12
	RELEASE_5_4_0:1.12
	RELEASE_4_11_0:1.11
	RELEASE_5_3_0:1.11
	RELEASE_4_10_0:1.9
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.4
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.3
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


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

1.20
date	2012.04.11.03.34.15;	author miwi;	state Exp;
branches;
next	1.19;

1.19
date	2009.03.11.17.04.03;	author dhn;	state Exp;
branches;
next	1.18;

1.18
date	2008.08.10.21.19.57;	author miwi;	state Exp;
branches;
next	1.17;

1.17
date	2008.07.27.04.30.47;	author linimon;	state Exp;
branches;
next	1.16;

1.16
date	2007.01.29.19.05.03;	author gabor;	state Exp;
branches;
next	1.15;

1.15
date	2006.09.21.10.30.20;	author sergei;	state Exp;
branches;
next	1.14;

1.14
date	2006.04.26.20.52.47;	author sergei;	state Exp;
branches;
next	1.13;

1.13
date	2005.08.29.12.20.05;	author sergei;	state Exp;
branches;
next	1.12;

1.12
date	2005.02.22.09.25.05;	author sergei;	state Exp;
branches;
next	1.11;

1.11
date	2004.05.22.20.00.06;	author sergei;	state Exp;
branches;
next	1.10;

1.10
date	2004.05.11.01.37.21;	author eik;	state Exp;
branches;
next	1.9;

1.9
date	2003.12.24.13.57.06;	author sergei;	state Exp;
branches;
next	1.8;

1.8
date	2003.10.24.11.10.25;	author sergei;	state Exp;
branches;
next	1.7;

1.7
date	2003.06.15.18.38.30;	author lioux;	state Exp;
branches;
next	1.6;

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

1.5
date	2003.02.21.12.00.39;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2002.05.21.03.33.11;	author ijliao;	state Exp;
branches;
next	1.3;

1.3
date	2002.03.12.22.27.25;	author pat;	state Exp;
branches;
next	1.2;

1.2
date	2002.03.02.14.46.17;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2001.09.16.16.18.47;	author kevlo;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Switch exporter over
@
text
@# New ports collection makefile for:	twoftpd
# Date created:				14 September 2001
# Whom:					Gea-Suan Lin (gslin@@ccca.nctu.edu.tw)
#
# $FreeBSD: head/ftp/twoftpd/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	twoftpd
PORTVERSION=	1.41
PORTREVISION=	1
CATEGORIES=	ftp
MASTER_SITES=	http://untroubled.org/${PORTNAME}/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A simple, secure, efficient FTP server

BUILD_DEPENDS=	${LOCALBASE}/bin/bg-installer:${PORTSDIR}/devel/bglibs
LIB_DEPENDS=	cvm-v2client.2:${PORTSDIR}/security/cvm

CFLAGS+=	-I${LOCALBASE}/include
#-I${LOCALBASE}/include/bglibs
LDFLAGS+=	-L${LOCALBASE}/lib
BGLIBS_LIB=	${LOCALBASE}/lib/bglibs
BGLIBS_INCLUDE=	${LOCALBASE}/include/bglibs

DOCS=		NEWS README TODO
MAN1=		twoftpd-auth.1 twoftpd-switch.1 twoftpd-xfer.1

do-patch:
	${REINPLACE_CMD} -e 's,timezone,tm.tm_gmtoff,' ${WRKSRC}/statmod.c

do-configure:
	${ECHO_CMD} "${PREFIX}/bin"	> ${WRKSRC}/conf-bin
	${ECHO_CMD} "${MANPREFIX}/man"	> ${WRKSRC}/conf-man
	${ECHO_CMD} "${CC} ${CFLAGS}"	> ${WRKSRC}/conf-cc
	${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}"       > ${WRKSRC}/conf-ld
	${ECHO_CMD} "${BGLIBS_INCLUDE}"	> ${WRKSRC}/conf-bgincs
	${ECHO_CMD} "${BGLIBS_LIB}"	> ${WRKSRC}/conf-bglibs

.if !defined(NOPORTDOCS)
post-install:
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>
@


1.20
log
@- Respect STRIP/LDFLAGS

PR:		162920
Submitted by:	Jan Beich (jbeich@@tormail.net)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.19
log
@- Chase security/cvm shlib bump
- Bump PORTREVISION

PR:	132502
Submitted by:	Alex Povolotsky <tarkhil@@over.ru>
Approved by:	miwi (mentor)
@
text
@d22 1
a22 1
LDFLAGS+=	-s -L${LOCALBASE}/lib
d36 1
a36 1
	${ECHO_CMD} "${CC} ${LDFLAGS}"	> ${WRKSRC}/conf-ld
@


1.18
log
@- Update to 1.30

PR:		126241
Submitted by:	Wen heping <wenheping@@gmail.com> (maintainer)
@
text
@d10 1
d18 1
a18 1
LIB_DEPENDS=	cvm-v2client.1:${PORTSDIR}/security/cvm
@


1.17
log
@Reset sergei@@ due to maintainer-timeouts and no response to email.

Hat:		portmgr
@
text
@d9 1
a9 2
PORTVERSION=	1.21
PORTREVISION=	1
d16 1
d20 1
@


1.16
log
@Remove USE_GPG from all effected ports. This knob is a no-op and the way it
was supposed to work is useless, because if we can't trust the distfile from
the remote machine, we can't trust the signature from the same machine either.
Our MD5 and SHA256 are good for checking both the sanity and the
trustiness of distfiles.

Approved by:	portmgr (erwin), erwin (mentor)
@
text
@d14 1
a14 1
MAINTAINER=	sergei@@FreeBSD.org
@


1.15
log
@- Add security/cvm to LIB_DEPENDS as this port now links against cvm
  dynamically
- devel/bglibs is now pulled as a dependency for cvm
- Bump PORTREVISION
@
text
@a18 2
USE_GPG=	yes
SIG_SUFFIX=	.sig
@


1.14
log
@- Upgrade to 1.21
@
text
@d10 1
d17 1
a17 2
BUILD_DEPENDS=	${BGLIBS_LIB}/libbg-unix.a:${PORTSDIR}/devel/bglibs \
		${LOCALBASE}/lib/libcvm-client.a:${PORTSDIR}/security/cvm
@


1.13
log
@- Chase changed location of bglibs libraries
- Bump PORTREVISION
@
text
@d9 1
a9 2
PORTVERSION=	1.20
PORTREVISION=	1
d19 2
a20 2
USE_REINPLACE=	yes

a39 2
do-install:
	cd ${WRKSRC} && ./installer
d41 1
@


1.12
log
@- Update to 1.20
- Patch statmod.c into using 'tm.tm_gmtoff' instead of
  unknown global 'timezone' symbol (Linux specific?) [1]
  Patch submitted upstream and hopefully will be integrated shortly

Obtained from:	Dale Woolridge on bgware mailing list
@
text
@d10 1
d17 1
a17 1
BUILD_DEPENDS=	${LOCALBASE}/lib/libbg-unix.a:${PORTSDIR}/devel/bglibs \
d23 3
a25 1
LDFLAGS?=	-s
d38 2
a39 2
	${ECHO_CMD} "${LOCALBASE}/include/bglibs" > ${WRKSRC}/conf-bgincs
	${ECHO_CMD} "${LOCALBASE}/lib"	> ${WRKSRC}/conf-bglibs
@


1.11
log
@- Take maintainership
@
text
@d9 1
a9 2
PORTVERSION=	1.17
PORTREVISION=	2
d19 2
d25 4
a28 1
MAN1=		twoftpd-auth.1 twoftpd-xfer.1
@


1.10
log
@Drop maintainership.

PR:		66502
Submitted by:	Gea-Suan Lin <gslin@@netnews.NCTU.edu.tw> (maintainer)
@
text
@d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.9
log
@- Unbreak build by depending on newly-added security/cvm port
- Cosmetic fixes for consistency with other untroubled.org ports
@
text
@d14 1
a14 1
MAINTAINER=	gslin@@ccca.nctu.edu.tw
@


1.8
log
@(maintainer timeout since 2003-06-15)

- Use native installer
- Install documentation
- Remove unneeded USE_REINPLACE
- Bump PORTREVISION

PR:		52909
Approved by:	krion (implicit)
@
text
@d12 1
a12 1
MASTER_SITES=	http://untroubled.org/twoftpd/
d17 5
a21 1
BUILD_DEPENDS=	${LOCALBASE}/lib/libbg-unix.a:${PORTSDIR}/devel/bglibs
d27 4
d32 1
a32 4
	${ECHO_CMD} "${LOCALBASE}/lib"		> ${WRKSRC}/conf-bglibs
	${ECHO_CMD} "${PREFIX}/bin"		> ${WRKSRC}/conf-bin
	${ECHO_CMD} "${MANPREFIX}/man"		> ${WRKSRC}/conf-man
	${ECHO_CMD} "${CC} ${CFLAGS}"		> ${WRKSRC}/conf-cc
@


1.7
log
@o Update to reflect recent change in location of header files
  installed by devel/bglibs port
o No functional changes

PR:		52909
Submitted by:	Sergei Kolobov <sergei@@kolobov.com>
@
text
@d10 1
d19 1
a19 2
USE_REINPLACE=	yes

a21 3
BIN=		twoftpd-anon twoftpd-anon-conf twoftpd-auth	\
		twoftpd-bind-port twoftpd-conf twoftpd-xfer

d23 1
a23 2
	${ECHO_CMD} "${LOCALBASE}/include/bglibs"       \
		> ${WRKSRC}/conf-bgincs
d25 1
a25 1
	${ECHO_CMD} "${PREFIX}/sbin"		> ${WRKSRC}/conf-bin
d30 5
a34 6
.for FILE in ${MAN1}
	${INSTALL_MAN} ${WRKSRC}/${FILE} ${MANPREFIX}/man/man1
.endfor
.for FILE in ${BIN}
	${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/sbin
.endfor
@


1.6
log
@Maintainer Update Port: ftp/twoftpd

	Upgrade to 1.17.

PR:		ports/50857
Submitted by:	Gea-Suan Lin <gslin@@netnews.NCTU.edu.tw>
@
text
@d16 1
a16 2
BUILD_DEPENDS=	${LOCALBASE}/lib/libbg-str.a:${PORTSDIR}/devel/bglibs
RUN_DEPENDS=	${BUILD_DEPENDS}
d25 7
a31 4
post-patch:
	${REINPLACE_CMD} -e 's,/usr/local/bglibs/,${LOCALBASE}/,'	\
	${WRKSRC}/conf-bgincs ${WRKSRC}/conf-bglibs
	${REINPLACE_CMD} -e 's,/usr/local/,${PREFIX}/,' ${WRKSRC}/conf-bin
d35 1
a35 1
	${INSTALL_MAN} ${WRKSRC}/${FILE} ${PREFIX}/man/man1
@


1.5
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	1.15
d16 5
d23 7
a29 1
BIN=		twoftpd-anon twoftpd-anon-conf twoftpd-auth twoftpd-conf twoftpd-xfer
@


1.4
log
@upgrade to 1.15

PR:		38237
Submitted by:	maintainer
@
text
@d14 1
@


1.3
log
@Add patch to allow twoftpd compile again. There is no such socket level
SOL_TCP and sys/types.h should be included first.

PR:		35826
Submitted by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	1.14
PORTREVISION=	1
d15 2
d20 3
d24 1
a24 1
	@@${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/sbin
@


1.2
log
@upgrade to 1.14

PR:		35477
Submitted by:	maintainer
@
text
@d10 1
@


1.1
log
@Initial import of twoftpd-1.13.

Twoftpd is an FTP server that strives to be secure, simple, and efficient.
None of the commands can cause execution of other programs, and the normal
model of execution does a chroot to the logged in user's directory
immediately after authentication.

PR: 30565
Submitted by: Gea-Suan Lin <gslin@@infomath.math.nctu.edu.tw>
@
text
@d9 1
a9 1
PORTVERSION=	1.13
@

