head	1.25;
access;
symbols
	RELEASE_8_3_0:1.24
	RELEASE_9_0_0:1.24
	RELEASE_7_4_0:1.24
	RELEASE_8_2_0:1.24
	RELEASE_6_EOL:1.24
	RELEASE_8_1_0:1.24
	RELEASE_7_3_0:1.24
	RELEASE_8_0_0:1.24
	RELEASE_7_2_0:1.24
	RELEASE_7_1_0:1.24
	RELEASE_6_4_0:1.24
	RELEASE_5_EOL:1.24
	RELEASE_7_0_0:1.24
	RELEASE_6_3_0:1.24
	PRE_XORG_7:1.22
	RELEASE_4_EOL:1.21
	RELEASE_6_2_0:1.21
	RELEASE_6_1_0:1.19
	RELEASE_5_5_0:1.19
	RELEASE_6_0_0:1.19
	RELEASE_5_4_0:1.18
	RELEASE_4_11_0:1.18
	RELEASE_5_3_0:1.18
	RELEASE_4_10_0:1.18
	RELEASE_5_2_1:1.17
	RELEASE_5_2_0:1.17
	RELEASE_4_9_0:1.16
	RELEASE_5_1_0:1.16
	RELEASE_4_8_0:1.16
	RELEASE_5_0_0:1.15
	RELEASE_4_7_0:1.14
	RELEASE_4_6_2:1.14
	RELEASE_4_6_1:1.14
	RELEASE_4_6_0:1.14
	RELEASE_5_0_DP1:1.14
	RELEASE_4_5_0:1.12
	RELEASE_4_4_0:1.12
	RELEASE_4_3_0:1.9
	RELEASE_4_2_0:1.6
	RELEASE_4_1_1:1.6
	RELEASE_4_1_0:1.6
	RELEASE_3_5_0:1.6
	RELEASE_4_0_0:1.4
	RELEASE_3_4_0:1.2
	v0_6:1.1.1.1
	JEDGAR:1.1.1;
locks; strict;
comment	@# @;


1.25
date	2012.11.17.06.03.10;	author svnexp;	state Exp;
branches;
next	1.24;

1.24
date	2007.07.12.18.52.00;	author lme;	state Exp;
branches;
next	1.23;

1.23
date	2007.06.18.18.17.54;	author miwi;	state Exp;
branches;
next	1.22;

1.22
date	2007.04.29.16.21.09;	author gabor;	state Exp;
branches;
next	1.21;

1.21
date	2006.05.13.04.41.21;	author edwin;	state Exp;
branches;
next	1.20;

1.20
date	2006.03.24.06.23.46;	author linimon;	state Exp;
branches;
next	1.19;

1.19
date	2005.05.28.09.04.46;	author oliver;	state Exp;
branches;
next	1.18;

1.18
date	2004.02.04.05.09.37;	author marcus;	state Exp;
branches;
next	1.17;

1.17
date	2003.11.06.06.13.48;	author anders;	state Exp;
branches;
next	1.16;

1.16
date	2003.03.07.06.12.56;	author ade;	state Exp;
branches;
next	1.15;

1.15
date	2002.11.04.03.05.48;	author edwin;	state Exp;
branches;
next	1.14;

1.14
date	2002.01.30.13.42.51;	author jedgar;	state Exp;
branches;
next	1.13;

1.13
date	2002.01.29.12.08.37;	author knu;	state Exp;
branches;
next	1.12;

1.12
date	2001.07.06.12.24.30;	author sheldonh;	state Exp;
branches;
next	1.11;

1.11
date	2001.06.03.12.27.51;	author jedgar;	state Exp;
branches;
next	1.10;

1.10
date	2001.05.08.22.34.19;	author jedgar;	state Exp;
branches;
next	1.9;

1.9
date	2001.02.05.15.33.55;	author olgeni;	state Exp;
branches;
next	1.8;

1.8
date	2001.01.05.18.23.08;	author jedgar;	state Exp;
branches;
next	1.7;

1.7
date	2000.11.29.22.39.49;	author jedgar;	state Exp;
branches;
next	1.6;

1.6
date	2000.04.10.00.07.16;	author cpiazza;	state Exp;
branches;
next	1.5;

1.5
date	2000.04.07.22.06.51;	author jedgar;	state Exp;
branches;
next	1.4;

1.4
date	2000.01.10.13.30.53;	author jedgar;	state Exp;
branches;
next	1.3;

1.3
date	99.12.24.21.33.42;	author jedgar;	state Exp;
branches;
next	1.2;

1.2
date	99.11.27.01.02.34;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	99.11.26.19.34.11;	author steve;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.11.26.19.34.11;	author steve;	state Exp;
branches;
next	;


desc
@@


1.25
log
@Switch exporter over
@
text
@# New ports collection makefile for:	webfs
# Date created:				18 October 1999
# Whom:					Chris D. Faulhaber <jedgar@@fxp.org>
#
# $FreeBSD: head/www/webfs/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	webfs
PORTVERSION=	1.21
CATEGORIES=	www ipv6
MASTER_SITES=	http://dl.bytesex.org/releases/webfs/ \
		http://www.bsd-geek.de/FreeBSD/distfiles/

MAINTAINER=	lme@@FreeBSD.org
COMMENT=	A simple http server for static content

RUN_DEPENDS=	${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support

WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
USE_GMAKE=	yes
MAKEFILE=	GNUmakefile
.if !defined(WITHOUT_OPENSSL)
MAKE_ENV=	USE_SSL=no
.endif
MAKE_ENV+=	LDLIBS="-lssl -lcrypto" USE_DIET=no

PLIST_FILES=	sbin/webfsd

MAN1=		webfsd.1
MIMEFILE?=	${LOCALBASE}/etc/mime.types

USE_RC_SUBR=	webfsd

pre-everything::
	@@${ECHO_CMD} ""
	@@${ECHO_CMD} "==========================================="
	@@${ECHO_CMD} "This package supports the following option:"
	@@${ECHO_CMD} ""
	@@${ECHO_CMD} " -DWITHOUT_SSL   - omit SSL support"
	@@${ECHO_CMD} "==========================================="
	@@${ECHO_CMD} ""

post-patch:
	@@${REINPLACE_CMD} -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/GNUmakefile
	@@${REINPLACE_CMD} -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/webfsd.man
.if defined(WITHOUT_OPENSSL)
	@@${REINPLACE_CMD} -e 's|USE_SSL      := yes|USE_SSL      := no|' ${WRKSRC}/Make.config
.endif

do-install:
	@@${INSTALL_PROGRAM} ${WRKSRC}/webfsd ${PREFIX}/sbin
	@@${INSTALL_MAN} ${WRKSRC}/webfsd.man ${PREFIX}/man/man1/webfsd.1

.include <bsd.port.mk>
@


1.24
log
@Change e-mail address of my ports to my FreeBSD.org one.

Approved by:	miwi (mentor)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.23
log
@- Add backup MASTER_SITES
- Move content of pkg-plist to PLIST_FILES
- Add a rc_ng start script
- Pass maintainership to submitter

PR:		113784
Submitted by:	Lars Engels <lars.engels@@0x20.net>
@
text
@d14 1
a14 1
MAINTAINER=	lars.engels@@0x20.net
@


1.22
log
@- Remove FreeBSD 4.X support from unmaintained ports in categories starting
  with letter t-w
@
text
@a9 1
PORTREVISION=	0
d11 2
a12 1
MASTER_SITES=	http://dl.bytesex.org/releases/webfs/
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
d27 2
d32 2
@


1.21
log
@Remove USE_REINPLACE from categories starting with W
@
text
@a29 6
.include <bsd.port.pre.mk>

.if ${OSVERSION} <= 400000
BROKEN=		"Requires FreeBSD 4.x or greater due to ipv6 support"
.endif

d50 1
a50 1
.include <bsd.port.post.mk>
@


1.20
log
@Reset jedgar as maintainer; has not responded to email about status.

Hat:		portmgr
@
text
@a19 1
USE_REINPLACE=	yes
@


1.19
log
@update to 1.21
update MASTER_SITES
utilize misc/mime-support

PR:		ports/80731
Approved by:	maintainer timeout (21 days)
@
text
@d14 1
a14 1
MAINTAINER=	jedgar@@FreeBSD.org
@


1.18
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d9 2
a10 2
PORTVERSION=	1.20
PORTREVISION=	1
d12 1
a12 2
MASTER_SITES=	http://bytesex.org/misc/
DISTNAME=	${PORTNAME}_${PORTVERSION}
d17 2
d29 1
a29 1
MIMEFILE?=	${PREFIX}/etc/webfsd/mime.types
d46 1
a46 1
do-configure:
a55 4
.if !exists(${PREFIX}/etc/webfsd/mime.types)
	@@${MKDIR} ${PREFIX}/etc/webfsd
	@@${ECHO_CMD} "# Insert mime types here" > ${PREFIX}/etc/webfsd/mime.types
.endif
@


1.17
log
@Update to 1.20, a much needed security update.

This closes a number of known vulnerabilities:

http://www.securityfocus.com/bid/8724 (Server Information Disclosure)
http://www.securityfocus.com/bid/8726 (Long Pathname Buffer Overrrun)
http://www.securityfocus.com/bid/7990 (Request-URI Buffer Overflow)

PR:		58846
Submitted by:	Matthias Andree <matthias.andree@@web.de>
Approved by:	maintainer
@
text
@d10 1
@


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

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d9 1
a9 1
PORTVERSION=	1.16
d19 6
d35 9
d45 1
a45 1
	@@${REINPLACE_CMD} -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/Makefile
d47 3
@


1.15
log
@PERL -> REINPLACE
and russian/mod_ssl has USE_PERL5=yes

Notices on: bento
@
text
@d15 1
@


1.14
log
@Update port to 1.16
@
text
@d17 2
d29 2
a30 2
	@@${PERL} -pi.orig -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/Makefile
	@@${PERL} -pi.orig -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/webfsd.man
@


1.13
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
@d9 1
a9 1
PORTVERSION=	1.13
d28 1
@


1.12
log
@Upgrade to 1.13, which fixes basic authentication.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webfs/Makefile,v 1.11 2001/06/03 12:27:51 jedgar Exp $
d34 1
a34 1
	@@${ECHO} "# Insert mime types here" > ${PREFIX}/etc/webfsd/mime.types
@


1.11
log
@Update port to 1.12

PR:		27844
Submitted by:	David W. Chapman Jr. <dwcjr@@inethouston.net>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webfs/Makefile,v 1.10 2001/05/08 22:34:19 jedgar Exp $
d9 1
a9 1
PORTVERSION=	1.12
a27 2
# author forgot to bump the revision number
	@@${PERL} -pi.orig -e 's|1.9|1.10|' ${WRKSRC}/main.c
@


1.10
log
@Update port to 1.10
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webfs/Makefile,v 1.9 2001/02/05 15:33:55 olgeni Exp $
d9 1
a9 1
PORTVERSION=	1.10
d11 1
a11 1
MASTER_SITES=	http://www.bytesex.org/misc/
@


1.9
log
@Some spaces -> tabs for ports/www.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webfs/Makefile,v 1.8 2001/01/05 18:23:08 jedgar Exp $
d9 1
a9 1
PORTVERSION=	1.6
d11 1
a11 1
MASTER_SITES=	http://www.strusel007.de/linux/misc/
d18 1
d27 3
a29 4
	@@${CP} ${WRKSRC}/webfsd.man ${WRKSRC}/webfsd.1
.for file in webfsd.1 main.c Makefile
	@@${PERL} -pi.orig -e 's|/etc/mime.types|${PREFIX}/etc/webfsd/mime.types|' ${WRKSRC}/${file}
.endfor
d33 1
a33 1
	@@${INSTALL_MAN} ${WRKSRC}/webfsd.1 ${PREFIX}/man/man1
@


1.8
log
@Mark as BROKEN for FreeBSD < 4.x due to required ipv6 support
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webfs/Makefile,v 1.7 2000/11/29 22:39:49 jedgar Exp $
d9 1
a9 1
PORTVERSION= 	1.6
@


1.7
log
@Update port to 1.6
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webfs/Makefile,v 1.6 2000/04/10 00:07:16 cpiazza Exp $
d10 1
a10 1
CATEGORIES=	www
d19 6
d39 1
a39 1
.include <bsd.port.mk>
@


1.6
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/webfs/Makefile,v 1.5 2000/04/07 22:06:51 jedgar Exp $
d9 1
a9 1
PORTVERSION= 	1.0
d11 2
a12 1
MASTER_SITES=	http://me.IN-Berlin.DE/~kraxel/dl/
d16 1
d21 3
a23 2
	@@${PERL} -pi.orig -e 's|/etc/mime.types|${PREFIX}/etc/webfsd/mime.types|' ${WRKSRC}/webfsd.1
	@@${PERL} -pi.orig -e 's|/etc/mime.types|${PREFIX}/etc/webfsd/mime.types|' ${WRKSRC}/main.c
@


1.5
log
@Update port to 1.0
@
text
@a1 1
# Version required:			1.0
d5 1
a5 1
# $FreeBSD: ports/www/webfs/Makefile,v 1.4 2000/01/10 13:30:53 jedgar Exp $
d8 2
a9 1
DISTNAME=	webfs-1.0
@


1.4
log
@Update port to 0.9
@
text
@d2 1
a2 1
# Version required:			0.9
d6 1
a6 1
# $FreeBSD: ports/www/webfs/Makefile,v 1.3 1999/12/24 21:33:42 jedgar Exp $
d9 1
a9 1
DISTNAME=	webfs-0.9
d11 1
a11 1
MASTER_SITES=	http://www.IN-Berlin.DE/User/kraxel/dl/
@


1.3
log
@Update port to 0.8
@
text
@d2 1
a2 1
# Version required:			0.8
d6 1
a6 1
# $FreeBSD: ports/www/webfs/Makefile,v 1.2 1999/11/27 01:02:34 steve Exp $
d9 1
a9 1
DISTNAME=	webfs-0.8
@


1.2
log
@Update to version 0.7.

PR:		15106
Submitted by:	maintainer
@
text
@d2 1
a2 1
# Version required:			0.7
d6 1
a6 1
# $FreeBSD: ports/www/webfs/Makefile,v 1.1.1.1 1999/11/26 19:34:11 steve Exp $
d9 1
a9 1
DISTNAME=	webfs-0.7
d13 1
a13 1
MAINTAINER=	jedgar@@fxp.org
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# Version required:			0.6
d6 1
a6 1
# $FreeBSD$
d9 1
a9 1
DISTNAME=	webfs-0.6
d18 3
a20 5
	@@${SED} -e 's|/etc/mime.types|${PREFIX}/etc/webfsd/mime.types|' \
	    < ${WRKSRC}/webfsd.man > ${WRKSRC}/webfsd.1
	@@${MV} ${WRKSRC}/main.c ${WRKSRC}/main.c.orig
	@@${SED} -e 's|/etc/mime.types|${PREFIX}/etc/webfsd/mime.types|' \
	    < ${WRKSRC}/main.c.orig > ${WRKSRC}/main.c
d25 1
d28 1
@


1.1.1.1
log
@Initial import of webfs version 0.6.
A simple http server for static content.

PR:		14409
Submitted by:	Chris D. Faulhaber <jedgar@@fxp.org>
@
text
@@
