import p5-GD-SecurityImage

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.
This commit is contained in:
simon 2007-09-15 16:40:52 +00:00
parent a23af270e0
commit 47d751bd31
4 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/09/15 16:40:52 simon Exp $
COMMENT= security image (captcha) generator
MODULES= cpan
DISTNAME= GD-SecurityImage-1.64
CATEGORIES= graphics security
MAINTAINER= Simon Bertrang <simon@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::graphics/p5-GD
CONFIGURE_STYLE=modbuild
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-GD-SecurityImage
sed -e 's!\r!!' ${WRKSRC}/eg/demo.pl \
> ${PREFIX}/share/examples/p5-GD-SecurityImage/demo.pl
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (GD-SecurityImage-1.64.tar.gz) = Utm0LfkLBmfxsepm6MFbHQ==
RMD160 (GD-SecurityImage-1.64.tar.gz) = +4IU11rWosrL8sJecwcc5MDzJn0=
SHA1 (GD-SecurityImage-1.64.tar.gz) = 3tuZsT4015YCm+RuQPvEJqg6V9E=
SHA256 (GD-SecurityImage-1.64.tar.gz) = mYSWDhDA2EKeQaXuBCeleOqZkkqqZgLYl2AYGC8boAU=
SIZE (GD-SecurityImage-1.64.tar.gz) = 69030

View File

@ -0,0 +1,9 @@
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.

View File

@ -0,0 +1,13 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/09/15 16:40:52 simon Exp $
${P5SITE}/GD/
${P5SITE}/GD/SecurityImage/
${P5SITE}/GD/SecurityImage.pm
${P5SITE}/GD/SecurityImage/GD.pm
${P5SITE}/GD/SecurityImage/Magick.pm
${P5SITE}/GD/SecurityImage/Styles.pm
@man man/man3p/GD::SecurityImage.3p
@man man/man3p/GD::SecurityImage::GD.3p
@man man/man3p/GD::SecurityImage::Magick.3p
@man man/man3p/GD::SecurityImage::Styles.3p
share/examples/p5-GD-SecurityImage/
share/examples/p5-GD-SecurityImage/demo.pl