ports/87494: [NEW PORT] security/p5-GD-SecurityImage
Rod Taylor
ports at rbt.ca
Sat Oct 15 20:30:22 UTC 2005
>Number: 87494
>Category: ports
>Synopsis: [NEW PORT] security/p5-GD-SecurityImage
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 15 20:30:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Rod Taylor
>Release: FreeBSD 6.0-BETA4 amd64
>Organization:
>Environment:
System: FreeBSD home 6.0-BETA4 FreeBSD 6.0-BETA4 #12: Thu Sep 15 22:41:54 EDT 2005 root at home:/usr/obj/usr/src/sys/HOME amd64
>Description:
Creates Security Images (Human tests -- www.captcha.net). This module is actively maintained and has a larger feature set than p5-Authen-Captcha.
>How-To-Repeat:
>Fix:
--- gd-securityimage.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-GD-SecurityImage/
# p5-GD-SecurityImage/Makefile
# p5-GD-SecurityImage/distinfo
# p5-GD-SecurityImage/pkg-descr
# p5-GD-SecurityImage/pkg-plist
#
echo c - p5-GD-SecurityImage/
mkdir -p p5-GD-SecurityImage/ > /dev/null 2>&1
echo x - p5-GD-SecurityImage/Makefile
sed 's/^X//' >p5-GD-SecurityImage/Makefile << 'END-of-p5-GD-SecurityImage/Makefile'
X# New ports collection makefile for: GD-SecurityImage
X# Date created: 15 October 2005
X# Whom: ports at rbt.ca
X#
X# $FreeBSD$
X#
X
XPORTNAME= GD-SecurityImage
XPORTVERSION= 1.57
XCATEGORIES= security perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= GD/BURAK
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= ports at rbt.ca
XCOMMENT= Security image (captcha) generator
X
XBUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
X.if exists(${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm)
XBUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick
X.endif
X
XPERL_CONFIGURE= yes
X
XMAN3= GD::SecurityImage::AC.3 GD::SecurityImage::Magick.3 \
X GD::SecurityImage::Styles.3 GD::SecurityImage.3 \
X GD::SecurityImage::GD.3
X
X.include <bsd.port.mk>
END-of-p5-GD-SecurityImage/Makefile
echo x - p5-GD-SecurityImage/distinfo
sed 's/^X//' >p5-GD-SecurityImage/distinfo << 'END-of-p5-GD-SecurityImage/distinfo'
XMD5 (GD-SecurityImage-1.57.tar.gz) = 7b7495a4f8c34c8ccbf3e931db10f31f
XSIZE (GD-SecurityImage-1.57.tar.gz) = 55270
END-of-p5-GD-SecurityImage/distinfo
echo x - p5-GD-SecurityImage/pkg-descr
sed 's/^X//' >p5-GD-SecurityImage/pkg-descr << 'END-of-p5-GD-SecurityImage/pkg-descr'
XThe (so called) "Security Images" are so popular. Most internet
Xsoftware use these in their registration screens to block robot
Xprograms (which may register tons of fake member accounts). Security
Ximages are basicaly, graphical CAPTCHAs (Completely Automated Public
XTuring Test to Tell Computers and Humans Apart). This module gives
Xyou a basic interface to create such an image. The final output is
Xthe actual graphic data, the mime type of the graphic and the created
Xrandom string.
X
XWWW: http://search.cpan.org/dist/GD-SecurityImage
END-of-p5-GD-SecurityImage/pkg-descr
echo x - p5-GD-SecurityImage/pkg-plist
sed 's/^X//' >p5-GD-SecurityImage/pkg-plist << 'END-of-p5-GD-SecurityImage/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/GD/SecurityImage/.packlist
X%%SITE_PERL%%/GD/SecurityImage.pm
X%%SITE_PERL%%/GD/SecurityImage/AC.pm
X%%SITE_PERL%%/GD/SecurityImage/GD.pm
X%%SITE_PERL%%/GD/SecurityImage/Magick.pm
X%%SITE_PERL%%/GD/SecurityImage/Styles.pm
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/GD/SecurityImage
X at dirrm %%SITE_PERL%%/GD/SecurityImage
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/GD 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/GD 2>/dev/null || true
END-of-p5-GD-SecurityImage/pkg-plist
exit
--- gd-securityimage.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list