summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2005-10-16 17:36:36 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2005-10-16 17:36:36 +0000
commit2001c788bde8b29f624924e9939b8a987d83ab82 (patch)
treef5d4317025d42f57b2d2510a1eefff3903261f9b /security
parent- Update to 3.0.20b (diff)
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)
Notes
Notes: svn path=/head/; revision=145572
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-GD-SecurityImage/Makefile34
-rw-r--r--security/p5-GD-SecurityImage/distinfo2
-rw-r--r--security/p5-GD-SecurityImage/pkg-descr8
-rw-r--r--security/p5-GD-SecurityImage/pkg-plist10
5 files changed, 55 insertions, 0 deletions
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 <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 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