diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2005-10-16 17:36:36 +0000 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2005-10-16 17:36:36 +0000 |
commit | ecf622f2506745018993b9232c583a613d8163fb (patch) | |
tree | 1ffd7cf492f91276bfd687c4ca6af9a4b53612f0 | |
parent | da7c8c0d14926ead459dcd0840b662ae3f4e57b3 (diff) | |
download | FreeBSD-ports-ecf622f2506745018993b9232c583a613d8163fb.zip FreeBSD-ports-ecf622f2506745018993b9232c583a613d8163fb.tar.gz |
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)
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/p5-GD-SecurityImage/Makefile | 34 | ||||
-rw-r--r-- | security/p5-GD-SecurityImage/distinfo | 2 | ||||
-rw-r--r-- | security/p5-GD-SecurityImage/pkg-descr | 8 | ||||
-rw-r--r-- | security/p5-GD-SecurityImage/pkg-plist | 10 |
5 files changed, 55 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 9f14ad4..29d8e4c 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 0000000..8200e9b --- /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 <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> diff --git a/security/p5-GD-SecurityImage/distinfo b/security/p5-GD-SecurityImage/distinfo new file mode 100644 index 0000000..23350e7 --- /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 0000000..8cebca7 --- /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 0000000..b82d70f --- /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 |