ecfee2d274
paranoid against attackers. It's to be used when you're fetching a remote resource on behalf of a possibly malicious user. WWW: http://search.cpan.org/dist/LWPx-ParanoidAgent/
36 lines
908 B
Makefile
36 lines
908 B
Makefile
# New ports collection makefile for: p5-LWPx-ParanoidAgent
|
|
# Date created: Tue Dec 19 17:00:41 CST 2006
|
|
# Whom: Cheng-Lung Sung <clsung@dragon2.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= LWPx-ParanoidAgent
|
|
PORTVERSION= 1.03
|
|
CATEGORIES= www security perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= LWPx
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
COMMENT= Subclass of LWP::UserAgent that protects you from harm
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
|
|
${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= LWPx::ParanoidAgent.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500601
|
|
IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again
|
|
.endif
|
|
|
|
.if ${PERL_LEVEL} < 500703
|
|
BUILD_DEPENDS+= ${SITE_PERL}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|