summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhe <he>2008-11-17 21:05:54 +0000
committerhe <he>2008-11-17 21:05:54 +0000
commit20340bdea8bb1f90a35f32c7d21220366d274ca4 (patch)
tree51ae30cb88050044700e48c579fe41b08c4d5ddf
parent205d75790d0f03f54de5bcdeea569ff06012a6b1 (diff)
downloadpkgsrc-20340bdea8bb1f90a35f32c7d21220366d274ca4.tar.gz
Import p5-GD-SecurityImage version 1.66.
The (so called) "Security Images" are so popular. Most internet software use these in their registration screens to block robot programs (which may register tons of fake member accounts). Security images are basicaly, graphical CAPTCHAs (Completely Automated Public Turing Test to Tell Computers and Humans Apart). This module gives you a basic interface to create such an image. The final output is the actual graphic data, the mime type of the graphic and the created random string. The module also has some "styles" that are used to create the background (or foreground) of the image. If you are an Authen::Captcha user, see GD::SecurityImage::AC for migration from Authen::Captcha to GD::SecurityImage. This module is just an image generator. Not a captcha handler. The validation of the generated graphic is left to your programming taste. But there are some captcha handlers for several Perl FrameWorks. If you are an user of one of these frameworks, see "GD::SecurityImage Implementations" in "SEE ALSO" section for information.
-rw-r--r--graphics/p5-GD-SecurityImage/DESCR19
-rw-r--r--graphics/p5-GD-SecurityImage/Makefile21
-rw-r--r--graphics/p5-GD-SecurityImage/distinfo5
3 files changed, 45 insertions, 0 deletions
diff --git a/graphics/p5-GD-SecurityImage/DESCR b/graphics/p5-GD-SecurityImage/DESCR
new file mode 100644
index 00000000000..ff3f203e2fd
--- /dev/null
+++ b/graphics/p5-GD-SecurityImage/DESCR
@@ -0,0 +1,19 @@
+The (so called) "Security Images" are so popular. Most internet
+software use these in their registration screens to block robot
+programs (which may register tons of fake member accounts). Security
+images are basicaly, graphical CAPTCHAs (Completely Automated Public
+Turing Test to Tell Computers and Humans Apart). This module gives
+you a basic interface to create such an image. The final output is
+the actual graphic data, the mime type of the graphic and the
+created random string. The module also has some "styles" that are
+used to create the background (or foreground) of the image.
+
+If you are an Authen::Captcha user, see GD::SecurityImage::AC for
+migration from Authen::Captcha to GD::SecurityImage.
+
+This module is just an image generator. Not a captcha handler. The
+validation of the generated graphic is left to your programming
+taste. But there are some captcha handlers for several Perl
+FrameWorks. If you are an user of one of these frameworks, see
+"GD::SecurityImage Implementations" in "SEE ALSO" section for
+information.
diff --git a/graphics/p5-GD-SecurityImage/Makefile b/graphics/p5-GD-SecurityImage/Makefile
new file mode 100644
index 00000000000..d1255ea3650
--- /dev/null
+++ b/graphics/p5-GD-SecurityImage/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/11/17 21:05:54 he Exp $
+#
+
+DISTNAME= GD-SecurityImage-1.66
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5gsi
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GD/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Perl5 security image (CAPTCHA) generator
+
+DEPENDS+= p5-GD>0:../../graphics/p5-GD
+DEPENDS+= p5-PerlMagick>=6.0.4:../../graphics/p5-PerlMagick
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/GD/SecurityImage/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/p5-GD-SecurityImage/distinfo b/graphics/p5-GD-SecurityImage/distinfo
new file mode 100644
index 00000000000..788af5d1527
--- /dev/null
+++ b/graphics/p5-GD-SecurityImage/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/11/17 21:05:54 he Exp $
+
+SHA1 (GD-SecurityImage-1.66.tar.gz) = 9604ad55a99590b811e2ab0673873837dbad0ba3
+RMD160 (GD-SecurityImage-1.66.tar.gz) = 205d5ec137d590ea880bc9bf32376c622c84be35
+Size (GD-SecurityImage-1.66.tar.gz) = 68530 bytes