head	1.18;
access;
symbols
	RELEASE_8_3_0:1.16
	RELEASE_9_0_0:1.16
	RELEASE_7_4_0:1.16
	RELEASE_8_2_0:1.16
	RELEASE_6_EOL:1.16
	RELEASE_8_1_0:1.15
	RELEASE_7_3_0:1.15
	RELEASE_8_0_0:1.15
	RELEASE_7_2_0:1.15
	RELEASE_7_1_0:1.15
	RELEASE_6_4_0:1.15
	RELEASE_5_EOL:1.15
	RELEASE_7_0_0:1.15
	RELEASE_6_3_0:1.15
	PRE_XORG_7:1.14
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.14
	RELEASE_6_1_0:1.14
	RELEASE_5_5_0:1.14
	RELEASE_6_0_0:1.13
	RELEASE_5_4_0:1.13
	RELEASE_4_11_0:1.12
	RELEASE_5_3_0:1.12
	RELEASE_4_10_0:1.12
	RELEASE_5_2_1:1.10
	RELEASE_5_2_0:1.10
	RELEASE_4_9_0:1.10
	RELEASE_5_1_0:1.10
	RELEASE_4_8_0:1.10
	RELEASE_5_0_0:1.9
	RELEASE_4_7_0:1.9
	RELEASE_4_6_2:1.9
	RELEASE_4_6_1:1.9
	RELEASE_4_6_0:1.9
	RELEASE_5_0_DP1:1.9
	RELEASE_4_5_0:1.8
	RELEASE_4_4_0:1.8
	RELEASE_4_3_0:1.8
	RELEASE_4_2_0:1.6
	RELEASE_4_1_1:1.5
	RELEASE_4_1_0:1.4
	RELEASE_3_5_0:1.3
	RELEASE_4_0_0:1.1.1.1
	publicfile_0_52:1.1.1.1
	NBM:1.1.1;
locks; strict;
comment	@# @;


1.18
date	2013.03.22.15.52.26;	author svnexp;	state Exp;
branches;
next	1.17;

1.17
date	2012.11.17.06.02.58;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2010.10.07.18.31.21;	author lx;	state Exp;
branches;
next	1.15;

1.15
date	2007.05.27.00.10.02;	author lx;	state Exp;
branches;
next	1.14;

1.14
date	2005.11.22.19.36.33;	author pav;	state Exp;
branches;
next	1.13;

1.13
date	2005.02.27.18.42.30;	author vs;	state Exp;
branches;
next	1.12;

1.12
date	2004.04.20.08.33.16;	author roam;	state Exp;
branches;
next	1.11;

1.11
date	2004.03.25.18.42.01;	author nbm;	state Exp;
branches;
next	1.10;

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

1.9
date	2002.01.29.12.08.35;	author knu;	state Exp;
branches;
next	1.8;

1.8
date	2001.02.05.15.33.45;	author olgeni;	state Exp;
branches;
next	1.7;

1.7
date	2001.01.30.08.19.26;	author nbm;	state Exp;
branches;
next	1.6;

1.6
date	2000.10.04.06.40.06;	author sobomax;	state Exp;
branches;
next	1.5;

1.5
date	2000.07.29.16.25.40;	author nbm;	state Exp;
branches;
next	1.4;

1.4
date	2000.06.21.12.37.51;	author nbm;	state Exp;
branches;
next	1.3;

1.3
date	2000.04.27.23.10.01;	author nbm;	state Exp;
branches;
next	1.2;

1.2
date	2000.04.10.00.06.42;	author cpiazza;	state Exp;
branches;
next	1.1;

1.1
date	2000.01.28.16.41.08;	author nbm;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.01.28.16.41.08;	author nbm;	state Exp;
branches;
next	;


desc
@@


1.18
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314915
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Neil Blakey-Milner
# $FreeBSD: head/www/publicfile/Makefile 314915 2013-03-22 11:53:34Z bapt $

PORTNAME=	publicfile
PORTVERSION=	0.52
PORTREVISION=	2
CATEGORIES=	www ftp
MASTER_SITES=	http://cr.yp.to/publicfile/

MAINTAINER=	lx@@FreeBSD.org
COMMENT=	A secure, read-only, anonymous HTTP/FTP server

RUN_DEPENDS=	setuidgid:${PORTSDIR}/sysutils/daemontools \
		tcpserver:${PORTSDIR}/sysutils/ucspi-tcp

OPTIONS_DEFINE=	BASICAUTH COMMONLOG REDIRECT_SLASH ENV_FILETYPES SSL
BASICAUTH_DESC=		basic HTTP authentication support
COMMONLOG_DESC=		support for Apache common log format
REDIRECT_SLASH_DESC=	do not require trailing slash on directories
ENV_FILETYPES_DESC=	get mime types from the environment
SSL_DESC=		provide SSL support through ucspi-ssl

.include <bsd.port.pre.mk>

pre-everything::
.if ${PORT_OPTIONS:MBASICAUTH} && ${PORT_OPTIONS:MCOMMONLOG}
	@@${ECHO_MSG}
	@@${ECHO_MSG} "Currently the common log and auth patches conflict."
	@@${ECHO_MSG}
BROKEN=	Currently the common log and auth patches conflict.
.endif

.if ${PORT_OPTIONS:MBASICAUTH} && ${PORT_OPTIONS:MREDIRECT_SLASH}
	@@${ECHO_MSG}
	@@${ECHO_MSG} "Currently the redirect slash and auth patches conflict."
	@@${ECHO_MSG}
BROKEN=	Currently the redirect slash and auth patches conflict.
.endif

.if ${PORT_OPTIONS:MREDIRECT_SLASH}
pre-configure::
	@@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/redirect-slash-patch
.endif

.if ${PORT_OPTIONS:MENV_FILETYPES}
pre-configure::
	@@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/publicfile-0.52-filetype-diff
.endif

.if ${PORT_OPTIONS:MSSL}
pre-configure::
	@@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/publicfile.sslserver
RUN_DEPENDS+=	sslserver:${PORTSDIR}/sysutils/ucspi-ssl
.endif

.if ${PORT_OPTIONS:MBASICAUTH}
pre-configure::
	@@${SED} -e "s:__PORTSDIR__:${PORTSDIR}:g" \
		-e "s:__WRKSRC__:${WRKSRC}:g" \
		${PATCHDIR}/publicfile-0.52_basicauth.patch.in > \
		${PATCHDIR}/publicfile-0.52_basicauth.patch
	@@${PATCH} ${PATCH_ARGS} -p1 < \
		${PATCHDIR}/publicfile-0.52_basicauth.patch
BUILD_DEPENDS+=	${NONEXISTENT}:${PORTSDIR}/databases/cdb:extract
PLIST_SUB+=	BASICAUTH=""
.else
PLIST_SUB+=	BASICAUTH="@@comment "
.endif

.if ${PORT_OPTIONS:MCOMMONLOG}
pre-configure::
	@@${PATCH} ${PATCH_ARGS} -p1 < \
		${PATCHDIR}/publicfile-0.52-commonlog-2.patch
.endif

ALL_TARGET=	it
INSTALL_TARGET=	setup check

post-extract:
.if ${PORT_OPTIONS:MBASICAUTH}
	@@${LN} -s ${PORTSDIR}/databases/cdb/work/cdb-0.75 ${WRKSRC}/cdb-0.75
.endif

post-patch:
	@@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
	@@${ECHO_CMD} "${CC} -s" > ${WRKSRC}/conf-ld
	@@${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home

.include <bsd.port.mk>
@


1.17
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for: publicfile
# Date created:		24 Jan 2000
# Whom:			Neil Blakey-Milner
#
# $FreeBSD: head/www/publicfile/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d16 6
a21 5
OPTIONS=	BASICAUTH "basic HTTP authentication support" off \
		COMMONLOG "support for Apache common log format" off \
		REDIRECT_SLASH "don't require trailing slash on directories" off \
		ENV_FILETYPES "get mime types from the environment" off \
		SSL "provide SSL support through ucspi-ssl" off
d26 1
a26 1
.if defined(WITH_BASICAUTH) && defined(WITH_COMMONLOG)
d33 1
a33 1
.if defined(WITH_BASICAUTH) && defined(WITH_REDIRECT_SLASH)
d40 1
a40 1
.if defined(WITH_REDIRECT_SLASH)
d45 1
a45 1
.if defined(WITH_ENV_FILETYPES)
d50 1
a50 1
.if defined(WITH_SSL)
d56 1
a56 1
.if defined(WITH_BASICAUTH)
d70 1
a70 1
.if defined(WITH_COMMONLOG)
d80 1
a80 1
.if defined(WITH_BASICAUTH)
d89 1
a89 1
.include <bsd.port.post.mk>
@


1.16
log
@Fix MASTER_SITES and WWW, update maintainer address.

Submitted by:	http://people.freebsd.org/~ehaupt/distilator/
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.15
log
@Make OPTIONS vanilla by default, and make portlint happy.

Approved by:	edwin (mentor)
@
text
@d12 1
a12 2
MASTER_SITES=	http://cr.yp.to/publicfile/ \
		ftp://cr.yp.to/publicfile/
@


1.14
log
@- Add ENV_FILETYPES to OPTIONS
- Add SHA256

PR:		ports/89343
Submitted by:	David Thiel <lx@@redundancy.redundancy.org> (maintainer)
@
text
@d15 1
a15 1
MAINTAINER=	lx@@redundancy.redundancy.org
d22 4
a25 4
		COMMONLOG "support for Apache common log format" on \
		REDIRECT_SLASH "don't complain when omitting trailing slash" off \
		ENV_FILETYPES "get filetypes from the environment" off \
		SSL "provide SSL support through ucspi-ssl" on
d34 1
a34 1
BROKEN=	"Currently the common log and auth patches conflict."
d41 1
a41 1
BROKEN=	"Currently the redirect slash and auth patches conflict."
@


1.13
log
@- Add optional patches
- Assign maintainership to submitter

PR:		ports/76556
Submitted by:	David Thiel
@
text
@d24 1
@


1.12
log
@After Kris pointed out dosirak's dissatisfaction with the way dns/djbdns
changed the permissions on $PREFIX and $PREFIX/bin, fix the same problem
in two other ports of DJB software.
@
text
@d10 1
a10 1
PORTREVISION=	1
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d21 58
d82 5
d92 1
a92 1
.include <bsd.port.mk>
@


1.11
log
@Drop maintainership.
@
text
@d10 1
@


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


1.9
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
@
text
@d15 1
@


1.8
log
@Some spaces -> tabs for ports/www.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/publicfile/Makefile,v 1.7 2001/01/30 08:19:26 nbm Exp $
d23 3
a25 3
	@@${ECHO} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
	@@${ECHO} "${CC} -s" > ${WRKSRC}/conf-ld
	@@${ECHO} "${PREFIX}" > ${WRKSRC}/conf-home
@


1.7
log
@Add a run-time dependency on tcpserver/ucspi-tcp, as per the default
setup created by the configuration program, which is the preferred and
most common method too.

Submitted by:	Justin Honold <jhonold@@bigfoot.com>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/publicfile/Makefile,v 1.6 2000/10/04 06:40:06 sobomax Exp $
d9 1
a9 1
PORTVERSION= 	0.52
@


1.6
log
@Correct CATEGORIES - make first category in the CATEGORIES list matching parent
directory.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/publicfile/Makefile,v 1.5 2000/07/29 16:25:40 nbm Exp $
d16 2
a17 1
RUN_DEPENDS=	setuidgid:${PORTSDIR}/sysutils/daemontools
@


1.5
log
@Add an ftp version of the MASTER_SITE, since it is available, and I've
had one or two people ask me to do so.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/publicfile/Makefile,v 1.4 2000/06/21 12:37:51 nbm Exp $
d10 1
a10 1
CATEGORIES=	ftp
@


1.4
log
@Use ${ECHO} instead of 'echo' (from PR), and additionally remove
outdated message about insufficient version of daemontools.

PR:		ports/18282
Submitted by:	KATO Tsuguru <tkato@@prontomail.ne.jp>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/publicfile/Makefile,v 1.3 2000/04/27 23:10:01 nbm Exp $
d11 2
a12 1
MASTER_SITES=	http://cr.yp.to/publicfile/
@


1.3
log
@Add dependency to daemontools, now that we have a version of
daemontools that publicfile can use.
@
text
@d1 1
a1 1
# New ports collection makefile for: publicfile-0.52
d5 1
a5 1
# $FreeBSD: ports/www/publicfile/Makefile,v 1.2 2000/04/10 00:06:42 cpiazza Exp $
d21 3
a23 6
	@@echo "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
	@@echo "${CC} -s" > ${WRKSRC}/conf-ld
	@@echo "${PREFIX}" > ${WRKSRC}/conf-home

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


1.2
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/publicfile/Makefile,v 1.1.1.1 2000/01/28 16:41:08 nbm Exp $
d14 2
@


1.1
log
@Initial revision
@
text
@a1 1
# Version required:	0.52
d5 1
a5 1
# $FreeBSD$
d8 2
a9 1
DISTNAME=	publicfile-0.52
@


1.1.1.1
log
@Import of publicfile 0.52, a combined ftp and web server by Dan
Bernstein.
@
text
@@
