head	1.21;
access;
symbols
	RELEASE_8_0_0:1.20
	RELEASE_7_2_0:1.20
	RELEASE_7_1_0:1.20
	RELEASE_6_4_0:1.20
	RELEASE_5_EOL:1.19
	RELEASE_7_0_0:1.19
	RELEASE_6_3_0:1.19
	PRE_XORG_7:1.18
	RELEASE_4_EOL:1.17
	RELEASE_6_2_0:1.16
	RELEASE_6_1_0:1.7
	RELEASE_5_5_0:1.7
	RELEASE_6_0_0:1.6;
locks; strict;
comment	@# @;


1.21
date	2009.12.14.16.29.17;	author garga;	state dead;
branches;
next	1.20;

1.20
date	2008.06.09.23.48.31;	author garga;	state Exp;
branches;
next	1.19;

1.19
date	2007.05.25.12.44.26;	author garga;	state Exp;
branches;
next	1.18;

1.18
date	2007.03.28.19.02.44;	author garga;	state Exp;
branches;
next	1.17;

1.17
date	2006.12.14.10.15.24;	author garga;	state Exp;
branches;
next	1.16;

1.16
date	2006.07.25.10.07.52;	author garga;	state Exp;
branches;
next	1.15;

1.15
date	2006.07.05.02.30.55;	author linimon;	state Exp;
branches;
next	1.14;

1.14
date	2006.05.29.10.59.03;	author garga;	state Exp;
branches;
next	1.13;

1.13
date	2006.05.24.10.36.30;	author garga;	state Exp;
branches;
next	1.12;

1.12
date	2006.05.15.11.23.32;	author garga;	state Exp;
branches;
next	1.11;

1.11
date	2006.05.12.10.55.02;	author garga;	state Exp;
branches;
next	1.10;

1.10
date	2006.05.11.13.27.55;	author garga;	state Exp;
branches;
next	1.9;

1.9
date	2006.04.05.13.02.56;	author garga;	state Exp;
branches;
next	1.8;

1.8
date	2006.03.15.10.16.57;	author garga;	state Exp;
branches;
next	1.7;

1.7
date	2005.09.14.23.27.00;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2005.07.11.16.47.15;	author garga;	state Exp;
branches;
next	1.5;

1.5
date	2005.05.30.13.33.46;	author novel;	state Exp;
branches;
next	1.4;

1.4
date	2005.05.23.10.45.01;	author novel;	state Exp;
branches;
next	1.3;

1.3
date	2005.05.16.12.25.34;	author novel;	state Exp;
branches;
next	1.2;

1.2
date	2005.04.19.15.37.25;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2005.04.15.18.41.09;	author sem;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Remove security/pfw, it's no longer maintainer by author
@
text
@# New ports collection makefile for:	pfw
# Date created:		2005-04-14
# Whom:			Renato Botelho <freebsd@@galle.com.br>
#
# $FreeBSD: ports/security/pfw/Makefile,v 1.20 2008/06/09 23:48:31 garga Exp $
#

PORTNAME=	pfw
PORTVERSION=	0.7.8
CATEGORIES=	security www
MASTER_SITES=	http://www.allard.nu/pfw/download/
EXTRACT_SUFX=	.tgz

MAINTAINER=	garga@@FreeBSD.org
COMMENT=	A web frontend for the pf firewall

RUN_DEPENDS=	sudo:${PORTSDIR}/security/sudo

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_PHP=	session	pcre sqlite
WANT_PHP_WEB=	yes
DEFAULT_PHP_VER=5
IGNORE_WITH_PHP=4
NO_BUILD=	yes

PFW_PREFIX?=	${PREFIX}/www/pfw
SUB_FILES=	pkg-message
SUB_LIST=	PFW_PREFIX=${PFW_PREFIX}

BINFILES=	commandwrapper.sh packetfilter.sh
CPDIRS=		lib web include test
PORTDOCS=	INSTALL README README_TEST

.include <bsd.port.pre.mk>

do-install:
	@@${MKDIR} ${PFW_PREFIX}
	${INSTALL_DATA} ${WRKSRC}/include.inc.php ${PFW_PREFIX}
.for dir in ${CPDIRS}
	@@${MKDIR} ${PFW_PREFIX}/${dir}
	@@${CP} -Rv ${WRKSRC}/${dir}/* ${PFW_PREFIX}/${dir}
.endfor
	@@${MKDIR} ${PFW_PREFIX}/bin
.for f in ${BINFILES}
	${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${PFW_PREFIX}/bin
.endfor
	@@${MKDIR} ${DATADIR}
	@@${CP} -v ${WRKSRC}/docs/sql/sqlite.sql ${DATADIR}
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
. endfor
.endif
	@@${MKDIR} ${PFW_PREFIX}/conf
	${CHOWN} www:www ${PFW_PREFIX}/conf

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

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


1.20
log
@- Remove IGNORE for 5.x since it's no longer supported
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.19
log
@- Update to 0.7.8
@
text
@a36 4
.if ${OSVERSION} < 502105
IGNORE=		pf is only in 5.x and newer
.endif

@


1.18
log
@- Update to 0.7.7
@
text
@d9 1
a9 1
PORTVERSION=	0.7.7
@


1.17
log
@- Update to 0.7.6

Changelog at: http://www.allard.nu/pfw/history
@
text
@d9 1
a9 1
PORTVERSION=	0.7.6
@


1.16
log
@* Update to 0.7.5

CHANGES:
- Added parsing for multiple route-to's
- Added parsing of "set skip" statements
- Added Optionsclass unit test script
- Fixed the natedit page so that is reloads automatically when it should.
- Fixed a small XHTML compliance problem which sometimes would generate &
  instead of &amp;
- Moved the stylesheet fromt the body to the header on a lot of web scripts
  for xhtml compliance reasons
- Changed from statically defining font size on the screen to a relative
  measurement. This allows changing of font size on IE
@
text
@d9 1
a9 1
PORTVERSION=	0.7.5
@


1.15
log
@Change all bogus uses of BROKEN to IGNORE.  See CHANGES 20060705.

PR:		ports/92445
Hat:		portmgr
@
text
@d9 1
a9 1
PORTVERSION=	0.7.4
@


1.14
log
@- Update to 0.7.4

Full Changelog at:
	http://www.allard.nu/pfw/history
@
text
@d24 1
a24 1
BROKEN_WITH_PHP=4
@


1.13
log
@Fix PLIST

Reported by:	krismail
@
text
@d9 1
a9 2
PORTVERSION=	0.7.3
PORTREVISION=	1
d42 1
a42 1
	${MKDIR} ${PFW_PREFIX}
d53 1
a53 1
	${CP} ${WRKSRC}/docs/sql/sqlite.sql ${DATADIR}
d55 1
a55 1
	${MKDIR} ${DOCSDIR}
d60 1
a60 1
	${MKDIR} ${PFW_PREFIX}/conf
@


1.12
log
@- Update to 0.7.3

Full ChangeLog at:
	http://www.allard.nu/pfw/history
@
text
@d10 1
@


1.11
log
@- Remove accidentally add # char, that removed sqlite dependency
- Bump PORTREVISION to fix package dependencies
@
text
@d9 1
a9 2
PORTVERSION=	0.7.2
PORTREVISION=	2
a40 4
post-patch:
	@@${REINPLACE_CMD} -E 's,id=("theform"),name=\1 id=\1,' \
		${WRKSRC}/include.inc.php

@


1.10
log
@Patch include.inc.php to fix a javascript error caused by a missing form name

Submitted by:	Davide D'Amico <d.damico__informeditalia.net> on pfw maillist
@
text
@d10 1
a10 1
PORTREVISION=	1
d22 1
a22 1
USE_PHP=	session	pcre # sqlite
@


1.9
log
@- Update to 0.7.2

  * Fixed icmp6 handling with diffs supplied by Ralf Wagner.
@
text
@d10 1
d22 1
a22 1
USE_PHP=	session	pcre sqlite
d42 4
@


1.8
log
@Update to 0.7.1
@
text
@d9 1
a9 1
PORTVERSION=	0.7.1
@


1.7
log
@- Remove dependencies on security/pf, it was removed. pf is in base since
  502106

Pointy hat to:	pav
@
text
@d9 1
a9 1
PORTVERSION=	0.6.2
d21 1
a21 1
USE_PHP=	session	pcre
d23 2
d31 4
d42 3
a44 1
.for dir in lib web
a47 1
	@@${CP} -v ${WRKSRC}/INSTALL ${WRKSRC}/README ${PFW_PREFIX}
d49 13
a61 2
	${INSTALL_SCRIPT} ${WRKSRC}/bin/pfctlwrapper.sh.remote ${PFW_PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/bin/pfctlwrapper.sh ${PFW_PREFIX}/bin
@


1.6
log
@Change MAINTAINER to my @@FreeBSD.org account

Approved by:	flz (mentor)
@
text
@d31 2
a32 4
.if ${OSVERSION} < 500000
IGNORE=		pf is only in 5.x
.elif ${OSVERSION} < 502105
RUN_DEPENDS+=	pf:${PORTSDIR}/security/pf
@


1.5
log
@Update to 0.6.2.

PR:		81654
Submitted by:	Renato Botelho (maintainer)
@
text
@d14 1
a14 1
MAINTAINER=	freebsd@@galle.com.br
@


1.4
log
@Tarball has been rerolled (author accidentally added his personal
conf test dir in the previous version).

PR:		81391
Submitted by:	Renato Botelho (maintainer)
Reported by:	Olli Hauer <ohauer@@gmx.de>
@
text
@d9 1
a9 1
PORTVERSION=	0.6.1
a27 1
PKGMESSAGE=	${WRKDIR}/pkg-message
@


1.3
log
@Update to 0.6.1.

PR:		81101
Submitted by:	Renato Botelho (maintainer)
@
text
@d19 1
a19 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.1//}
d39 1
a39 1
.for dir in conf lib web
@


1.2
log
@- Update to 0.6

PR:		ports/80063
Submitted by:	Renato Botelho <freebsd@@galle.com.br> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.6
d19 2
@


1.1
log
@A web frontend for the pf firewall wrote in PHP.

PR:		ports/79907
Submitted by:	Renato Botelho <freebsd@@galle.com.br>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.3
d31 1
a31 1
IGNORE=		"pf is only in 5.x"
d37 4
a40 1
	@@${MKDIR} ${PFW_PREFIX} ${PFW_PREFIX}/bin ${PFW_PREFIX}/lib ${PFW_PREFIX}/web
d42 1
a42 2
	@@${CP} -Rv ${WRKSRC}/web/* ${PFW_PREFIX}/web
	@@${CP} -Rv ${WRKSRC}/lib/* ${PFW_PREFIX}/lib
@

