head	1.6;
access;
symbols
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2;
locks; strict;
comment	@# @;


1.6
date	2011.10.09.04.23.19;	author dougb;	state dead;
branches;
next	1.5;

1.5
date	2011.09.17.07.06.40;	author sunpoet;	state Exp;
branches;
next	1.4;

1.4
date	2011.08.03.06.19.10;	author bapt;	state Exp;
branches;
next	1.3;

1.3
date	2009.08.16.09.21.58;	author linimon;	state Exp;
branches;
next	1.2;

1.2
date	2007.09.08.01.10.39;	author linimon;	state Exp;
branches;
next	1.1;

1.1
date	2007.06.19.12.34.00;	author lbr;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Remove p5- ports that have disappeared from CPAN

Approved by:	perl@@ (maintainer)
@
text
@# Ports collection makefile for:	p5-Catalyst-Plugin-FormCanary
# Date created:				Jun 19, 2007
# Whom:					Lars Balker Rasmussen <lbr@@FreeBSD.org>
#
# $FreeBSD: ports/www/p5-Catalyst-Plugin-FormCanary/Makefile,v 1.5 2011/09/17 07:06:40 sunpoet Exp $
#

PORTNAME=	Catalyst-Plugin-FormCanary
PORTVERSION=	0.01
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@@FreeBSD.org
COMMENT=	Check that forms are submitted from your site

DEPRECATED=	Disappear from CPAN
EXPIRATION_DATE=	2011-09-01

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-Catalyst-Runtime>=0:${PORTSDIR}/www/p5-Catalyst-Runtime \
		p5-Catalyst-Plugin-Session>=0:${PORTSDIR}/www/p5-Catalyst-Plugin-Session

PERL_CONFIGURE=	yes

MAN3=	Catalyst::Plugin::FormCanary.3

post-extract:
	@@${PERL} -i.bak -ne 'print unless m,build_requires,' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>
@


1.5
log
@- Change PERL_CONFIGURE to "yes" for all values between 5.8.1+ and 5.8.9+

Suggested by:	az
With hat:	perl
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@Deprecate some perl@@ ports that disappared from CPAN
@
text
@d24 1
a24 1
PERL_CONFIGURE=	5.8.1+
@


1.3
log
@Reset lbr@@FreeBSD.org due to maintainer-timeouts and no response to email.

Hat:		portmgr
@
text
@d17 3
@


1.2
log
@Welcome bsd.perl.mk.  Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
@
text
@d14 1
a14 1
MAINTAINER=	lbr@@FreeBSD.org
@


1.1
log
@FormCanary will examine your outgoing HTML and add a canary value to
each form.  When the form is submitted, the value of the canary is com-
pared against one saved in the session at page generation time.  If the
canary that's sent doesn't match the one in the session (or there is no
canary at all), the request is halted.

There is no way to get params into your application without a correct
canary.  This is good for preventing "cross-site request attacks".

This module is compatible with FormBuilder.  Just drop it into your use
line and have secure submit-once-only forms.  Yay.

Inspired by:
http://www.25hoursaday.com/weblog/2007/06/05/WhatRubyOnRailsCanLearnFromASPNET.a
spx
@
text
@d21 1
a21 1
PERL_CONFIGURE=	yes
d28 1
a28 5
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500801
IGNORE=	requires at least Perl 5.8.1. Install lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>
@

