head	1.10;
access;
symbols
	RELEASE_6_2_0:1.9
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1;
locks; strict;
comment	@# @;


1.10
date	2006.12.12.16.38.13;	author vd;	state dead;
branches;
next	1.9;

1.9
date	2006.06.26.13.56.29;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2006.05.23.19.23.48;	author simon;	state Exp;
branches;
next	1.7;

1.7
date	2006.05.23.07.17.49;	author simon;	state Exp;
branches;
next	1.6;

1.6
date	2006.02.14.08.23.38;	author lawrance;	state Exp;
branches;
next	1.5;

1.5
date	2006.02.11.15.18.25;	author lawrance;	state Exp;
branches;
next	1.4;

1.4
date	2006.02.11.04.32.03;	author lawrance;	state Exp;
branches;
next	1.3;

1.3
date	2005.12.04.10.24.43;	author clement;	state Exp;
branches;
next	1.2;

1.2
date	2005.11.08.02.07.12;	author mnag;	state Exp;
branches;
next	1.1;

1.1
date	2005.02.09.20.13.26;	author pav;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Remove expired www/frontpage and all frontpage ports:

2006-12-01 www/frontpage: Microsoft Frontpage Extensions have reached their End-of-Life

portuguese/frontpage-pt_BR
www/frontpage-ar
www/frontpage-de
www/frontpage-es
www/frontpage-fr
www/frontpage-he
www/frontpage-it
www/frontpage-ja
www/frontpage-ko
www/frontpage-nl
www/frontpage-sv
www/frontpage-th
www/frontpage-zh
www/mod_frontpage
www/mod_frontpage-rtr
www/mod_frontpage2-rtr
@
text
@# New ports collection makefile for:    Microsoft FrontPage Extensions
# Date created:         Tue Feb  4 13:59:20 CST 2003
# Whom:                 hetzels@@westbend.net
#
# $FreeBSD: ports/www/mod_frontpage2-rtr/Makefile,v 1.9 2006/06/26 13:56:29 pav Exp $
#

PORTNAME=	mod_frontpage
PORTVERSION=	5.0.2.4803
CATEGORIES=	www
MASTER_SITES=	# Requries manual fetch of files from http://www.rtr.com/
PKGNAMESUFFIX=	${AP_VERSION:S/+//}
DISTFILES=	${FRONTPAGE}

MAINTAINER=	swhetzel@@gmail.com
COMMENT=	Microsoft mod_frontpage (by RTR) for Apache ${FP_AP_VER}

RUN_DEPENDS=	${LOCALBASE}/${FP_SETPERM}:${PORTSDIR}/www/frontpage

PATCH_WRKSRC=	${WRKDIR}

EXTRACT_FILES=	${FP_DIR}/apache-fp/mod_frontpage.c \
		${FP_DIR}/apache2/mod_fpcgid.c \
		${FP_DIR}/apache2/mod_fpcgid.h \
		${FP_DIR}/apache2/mod_frontpage.c \
		${FP_DIR}/apache2/mod_frontpage.h \
		${FP_DIR}/apache2/mod_suexec.h

USE_APACHE?=	20+
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes

AP_EXTRAS=	-Wc,-DFREEBSD

FP_SETPERM=	${FP_DIR}/set_default_perms.sh

.ifdef WITH_MODFP_COMPAT
AP_EXTRAS+=	-DIMPROVED_MODFP_COMPAT
.endif
.ifdef WITH_MODFP_DISABLED
AP_EXTRAS+=	-DDEFAULT_TO_OFF
.endif

.include <bsd.port.pre.mk>
.include "${.CURDIR}/../frontpage/Makefile.fp.common"

.if ${APACHE_VERSION} >= 20
FP_AP_VER=	2.0
WRKSRC=		${WRKDIR}/${FP_DIR}/apache2
SRC_FILE=	mod_frontpage.c mod_fpcgid.c
.else
FP_AP_VER=	1.3
WRKSRC=		${WRKDIR}/${FP_DIR}/apache-fp
PKGMESSAGE=	${MASTERDIR}/pkg-message13
.endif

do-extract:
	@@${RM} -rf ${WRKDIR}
	@@${MKDIR} ${WRKDIR}
	@@if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
		${_DISTDIR}/${FRONTPAGE} ${EXTRACT_AFTER_ARGS} ${EXTRACT_FILES}); \
	then \
		exit 1; \
	fi

post-install:
.if (${PREFIX} != "/usr/local")
	@@${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|'
.else
	@@${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
		| ${GREP} -v "ln"
.endif

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


1.9
log
@- Update to 5.0.2.4803 which fixes the vulnerability

PR:		ports/99321
Submitted by:	Scot W. Hetzel <swhetzel@@gmail.com> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.8
log
@Document frontpage -- cross site scripting vulnerability and point
FORBIDDEN from the frontpage ports at it.

While this is "only" a cross site scripting vulnerability it has some
rather serious implications which can allow an attacker to take over a
web site, so I'm keeping FORBIDDEN.
@
text
@d9 1
a9 2
PORTVERSION=	5.0.2.2635
PORTREVISION=	2
a17 2
FORBIDDEN=	http://vuxml.FreeBSD.org/c0171f59-ea8a-11da-be02-000c6ec775d9.html

a19 4
DIST_SUBDIR=	fp${PORTVERSION:S/.//g}

ONLY_FOR_ARCHS=	i386 ia64 amd64 alpha sparc64

d22 6
a27 8
FPDIR=		frontpage/version${FP_VER}

EXTRACT_FILES=	${FPDIR}/apache-fp/mod_frontpage.c \
		${FPDIR}/apache2/mod_fpcgid.c \
		${FPDIR}/apache2/mod_fpcgid.h \
		${FPDIR}/apache2/mod_frontpage.c \
		${FPDIR}/apache2/mod_frontpage.h \
		${FPDIR}/apache2/mod_suexec.h
d35 1
a35 1
FP_SETPERM=	${FPDIR}/set_default_perms.sh
d40 1
a40 1
.ifdef WITH_DISABLED
d49 1
a49 1
WRKSRC=		${WRKDIR}/${FPDIR}/apache2
d53 1
a53 1
WRKSRC=		${WRKDIR}/${FPDIR}/apache-fp
@


1.7
log
@Mark FORBBIDEN due to remote code execution vulnerability.

Security:	http://www.rtr.com/fpsupport/fp2002sr1_download.htm
Reported by:	Jaroslav Kadubec
With hat:	secteam
@
text
@d19 1
a19 1
FORBIDDEN=	Remote code execution vulnerability
@


1.6
log
@s/-DFreeBSD/-DFREEBSD.  Bump PORTREVISION because it changes the package.

Submitted by:	Scot Hetzel <swhetzel@@gmail.com> (maintainer)
@
text
@d19 2
@


1.5
log
@Fix typo in knob name.

Submitted by:	Scot Hetzel <swhetzel@@gmail.com> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
d40 1
a40 1
AP_EXTRAS=	-Wc,-DFreeBSD
@


1.4
log
@Allow frontpage ports to build with Apache 2.2.

PR:		ports/91968
Submitted by:	Scot Hetzel <swhetzel@@gmail.com> (maintainer)
@
text
@d47 1
a47 1
.ifdef WITH_DISAPLED
@


1.3
log
@- oops. I missed some ${.CURDIR}../apache2/ .include
@
text
@d10 1
a10 1
PORTREVISION=	0
d13 1
a13 1
PKGNAMESUFFIX=	${AP_VER}
d25 1
a25 1
USE_REINPLACE=	yes
d27 1
a27 1
WANT_APACHE?=	2
d29 10
a38 3
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../apache20/Makefile.modules.3rd"
.include "${.CURDIR}/../frontpage/Makefile.fp.common"
d40 1
a40 7
.ifdef WITH_APACHE2
FP_AP_VER=	2.0
APACHE=		apache2
.else
FP_AP_VER=	1.3
APACHE=		apache
.endif
a41 2
FPDIR=		frontpage/version${FP_VER}
FP_INSTALL=	${FPDIR}/fp_install.sh
d45 1
a45 1
FP_ARGS=	-DIMPROVED_MODFP_COMPAT
d47 2
a48 2
.ifdef WITH_DISABLED
FP_ARGS+=	-DDEFAULT_TO_OFF
d51 2
a52 7
NO_WRKSUBDIR=	yes
EXTRACT_FILES=	${FPDIR}/apache-fp/mod_frontpage.c \
		${FPDIR}/apache2/mod_fpcgid.c \
		${FPDIR}/apache2/mod_fpcgid.h \
		${FPDIR}/apache2/mod_frontpage.c \
		${FPDIR}/apache2/mod_frontpage.h \
		${FPDIR}/apache2/mod_suexec.h
d54 9
a62 2
PLIST_SUB+=	FP_VER=${FP_VER} \
		APACHE=${APACHE}
a72 16
do-build:
.ifdef WITH_APACHE2
	@@${APXS} -c -Wc,-DFREEBSD ${FP_ARGS} ${WRKDIR}/${FPDIR}/apache2/mod_frontpage.c \
		${WRKDIR}/${FPDIR}/apache2/mod_fpcgid.c
.else
	@@(cd ${WRKDIR}/${FPDIR}/apache-fp && \
		${APXS} -c -Wc,-DFREEBSD ${FP_ARGS} ${WRKDIR}/${FPDIR}/apache-fp/mod_frontpage.c)
.endif

do-install:
.ifdef WITH_APACHE2
	@@${APXS} -i -a -n frontpage ${WRKDIR}/${FPDIR}/apache2/mod_frontpage.la
.else
	@@${APXS} -i -a -n frontpage ${WRKDIR}/${FPDIR}/apache-fp/mod_frontpage.so
.endif

@


1.2
log
@Update maintainer's email

PR:		88624
Submitted by:	Scot W. Hetzel <swhetzel@@gmail.com> (maintainer)
@
text
@d30 1
a30 1
.include "${.CURDIR}/../apache2/Makefile.modules.3rd"
@


1.1
log
@These ports are the standalone FrontPage module for Apache 1.3 and Apache 2.x
servers. Ready-To-Run has designed these modules to work as DSO modules with no
need to patch the apache sources.

PR:		ports/77218
Submitted by:	Scot W. Hetzel <swhetzel@@gmail.com>
@
text
@d16 1
a16 1
MAINTAINER=	hetzels@@westbend.net
@

