1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Add p5-GD-SecurityImage, a Perl5 module for creating CAPTCHA security images

PR:		87494
Submitted by:	Rod Taylor <ports@rbt.ca>
Approved by:	novel (mentor) (implicit)
This commit is contained in:
Emanuel Haupt 2005-10-16 17:36:36 +00:00
parent 0271c8726b
commit 2001c788bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145572
5 changed files with 55 additions and 0 deletions

View File

@ -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

View File

@ -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 <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires Perl 5.6 or newer. Install lang/perl5 or lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (GD-SecurityImage-1.57.tar.gz) = 7b7495a4f8c34c8ccbf3e931db10f31f
SIZE (GD-SecurityImage-1.57.tar.gz) = 55270

View File

@ -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/

View File

@ -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