From 2001c788bde8b29f624924e9939b8a987d83ab82 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Sun, 16 Oct 2005 17:36:36 +0000 Subject: Add p5-GD-SecurityImage, a Perl5 module for creating CAPTCHA security images PR: 87494 Submitted by: Rod Taylor Approved by: novel (mentor) (implicit) --- security/Makefile | 1 + security/p5-GD-SecurityImage/Makefile | 34 ++++++++++++++++++++++++++++++++++ security/p5-GD-SecurityImage/distinfo | 2 ++ security/p5-GD-SecurityImage/pkg-descr | 8 ++++++++ security/p5-GD-SecurityImage/pkg-plist | 10 ++++++++++ 5 files changed, 55 insertions(+) create mode 100644 security/p5-GD-SecurityImage/Makefile create mode 100644 security/p5-GD-SecurityImage/distinfo create mode 100644 security/p5-GD-SecurityImage/pkg-descr create mode 100644 security/p5-GD-SecurityImage/pkg-plist (limited to 'security') diff --git a/security/Makefile b/security/Makefile index 9f14ad45dd64..29d8e4cc74ba 100644 --- a/security/Makefile +++ b/security/Makefile @@ -335,6 +335,7 @@ SUBDIR += p5-File-Scan SUBDIR += p5-Filter-CBC SUBDIR += p5-Filter-Crypto + SUBDIR += p5-GD-SecurityImage SUBDIR += p5-GnuPG-Interface SUBDIR += p5-IO-Socket-SSL SUBDIR += p5-MD5 diff --git a/security/p5-GD-SecurityImage/Makefile b/security/p5-GD-SecurityImage/Makefile new file mode 100644 index 000000000000..8200e9b179a6 --- /dev/null +++ b/security/p5-GD-SecurityImage/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: GD-SecurityImage +# Date created: 15 October 2005 +# Whom: ports@rbt.ca +# +# $FreeBSD$ +# + +PORTNAME= GD-SecurityImage +PORTVERSION= 1.57 +CATEGORIES= security perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= GD/BURAK +PKGNAMEPREFIX= p5- + +MAINTAINER= ports@rbt.ca +COMMENT= Perl5 module for creating CAPTCHA security images + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \ + ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= GD::SecurityImage::AC.3 GD::SecurityImage::Magick.3 \ + GD::SecurityImage::Styles.3 GD::SecurityImage.3 \ + GD::SecurityImage::GD.3 + +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires Perl 5.6 or newer. Install lang/perl5 or lang/perl5.8, and try again +.endif + +.include diff --git a/security/p5-GD-SecurityImage/distinfo b/security/p5-GD-SecurityImage/distinfo new file mode 100644 index 000000000000..23350e720451 --- /dev/null +++ b/security/p5-GD-SecurityImage/distinfo @@ -0,0 +1,2 @@ +MD5 (GD-SecurityImage-1.57.tar.gz) = 7b7495a4f8c34c8ccbf3e931db10f31f +SIZE (GD-SecurityImage-1.57.tar.gz) = 55270 diff --git a/security/p5-GD-SecurityImage/pkg-descr b/security/p5-GD-SecurityImage/pkg-descr new file mode 100644 index 000000000000..8cebca710c9e --- /dev/null +++ b/security/p5-GD-SecurityImage/pkg-descr @@ -0,0 +1,8 @@ +This module gives you a basic interface to create CAPTCHAs (Completely +Automated Public Turing Test to Tell Computers and Humans Apart) also known +as "Security Images". + +The final output is the actual graphic data, the mime type of the graphic and +the created random string. + +WWW: http://search.cpan.org/dist/GD-SecurityImage/ diff --git a/security/p5-GD-SecurityImage/pkg-plist b/security/p5-GD-SecurityImage/pkg-plist new file mode 100644 index 000000000000..b82d70fead35 --- /dev/null +++ b/security/p5-GD-SecurityImage/pkg-plist @@ -0,0 +1,10 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/GD/SecurityImage/.packlist +%%SITE_PERL%%/GD/SecurityImage.pm +%%SITE_PERL%%/GD/SecurityImage/AC.pm +%%SITE_PERL%%/GD/SecurityImage/GD.pm +%%SITE_PERL%%/GD/SecurityImage/Magick.pm +%%SITE_PERL%%/GD/SecurityImage/Styles.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/GD/SecurityImage +@dirrm %%SITE_PERL%%/GD/SecurityImage +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/GD 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/GD 2>/dev/null || true -- cgit v1.2.3