diff --git a/graphics/p5-GD-SecurityImage/Makefile b/graphics/p5-GD-SecurityImage/Makefile new file mode 100644 index 00000000000..721b93fec99 --- /dev/null +++ b/graphics/p5-GD-SecurityImage/Makefile @@ -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 + +# 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 diff --git a/graphics/p5-GD-SecurityImage/distinfo b/graphics/p5-GD-SecurityImage/distinfo new file mode 100644 index 00000000000..39883948709 --- /dev/null +++ b/graphics/p5-GD-SecurityImage/distinfo @@ -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 diff --git a/graphics/p5-GD-SecurityImage/pkg/DESCR b/graphics/p5-GD-SecurityImage/pkg/DESCR new file mode 100644 index 00000000000..619ec990da2 --- /dev/null +++ b/graphics/p5-GD-SecurityImage/pkg/DESCR @@ -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. diff --git a/graphics/p5-GD-SecurityImage/pkg/PLIST b/graphics/p5-GD-SecurityImage/pkg/PLIST new file mode 100644 index 00000000000..129a1c2ff10 --- /dev/null +++ b/graphics/p5-GD-SecurityImage/pkg/PLIST @@ -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