From e94a484f414d6975553c0cd5585192b6af6aba9b Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 11 Jun 2007 06:18:58 +0000 Subject: [PATCH] Ruby implementation of captcha (Completely Automated Public Turing-Test to Tell Computers and Humans Apart) that is both easy to use and easy to customize/extend. WWW: http://turing.rubyforge.org/ PR: ports/113509 Submitted by: Alexander Logvinov --- graphics/Makefile | 1 + graphics/rubygem-turing/Makefile | 21 ++++++++ graphics/rubygem-turing/distinfo | 3 ++ graphics/rubygem-turing/pkg-descr | 5 ++ graphics/rubygem-turing/pkg-plist | 88 +++++++++++++++++++++++++++++++ 5 files changed, 118 insertions(+) create mode 100644 graphics/rubygem-turing/Makefile create mode 100644 graphics/rubygem-turing/distinfo create mode 100644 graphics/rubygem-turing/pkg-descr create mode 100644 graphics/rubygem-turing/pkg-plist diff --git a/graphics/Makefile b/graphics/Makefile index 39eaa62b3f1c..3d2649d6690a 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -635,6 +635,7 @@ SUBDIR += rubygem-gruff SUBDIR += rubygem-railroad SUBDIR += rubygem-scruffy + SUBDIR += rubygem-turing SUBDIR += rubyphoto SUBDIR += s10sh SUBDIR += s3switch diff --git a/graphics/rubygem-turing/Makefile b/graphics/rubygem-turing/Makefile new file mode 100644 index 000000000000..f2ddf1eb8f53 --- /dev/null +++ b/graphics/rubygem-turing/Makefile @@ -0,0 +1,21 @@ +# Ports collection makefile for: rubygem-turing +# Date created: 07 June 2007 +# Whom: Alexander Logvinov +# +# $FreeBSD$ + +PORTNAME= turing +PORTVERSION= 0.0.11 +CATEGORIES= graphics rubygems +MASTER_SITES= ${MASTER_SITE_RUBYFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@logvinov.com +COMMENT= Easy to use and customize/extend implementation of captcha + +BUILD_DEPENDS= rubygem-gd2>=1.0.0:${PORTSDIR}/graphics/rubygem-gd2 +RUN_DEPENDS= ${BUILD_DEPENDS} + +.include +.include "${PORTSDIR}/devel/ruby-gems/Makefile.common" +.include diff --git a/graphics/rubygem-turing/distinfo b/graphics/rubygem-turing/distinfo new file mode 100644 index 000000000000..4b26b70e22fc --- /dev/null +++ b/graphics/rubygem-turing/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/turing-0.0.11.gem) = 93420a5ae2597e6fb6b3d05d51f4954c +SHA256 (rubygem/turing-0.0.11.gem) = 2b238342153fe5bcfb97f63184ff3d1a6998e09d6912cfcac0664ca2d5442eba +SIZE (rubygem/turing-0.0.11.gem) = 416256 diff --git a/graphics/rubygem-turing/pkg-descr b/graphics/rubygem-turing/pkg-descr new file mode 100644 index 000000000000..1045e41d794a --- /dev/null +++ b/graphics/rubygem-turing/pkg-descr @@ -0,0 +1,5 @@ +Ruby implementation of captcha (Completely Automated Public Turing-Test to +Tell Computers and Humans Apart) that is both easy to use and easy to +customize/extend. + +WWW: http://turing.rubyforge.org/ diff --git a/graphics/rubygem-turing/pkg-plist b/graphics/rubygem-turing/pkg-plist new file mode 100644 index 000000000000..808c74af15c1 --- /dev/null +++ b/graphics/rubygem-turing/pkg-plist @@ -0,0 +1,88 @@ +%%GEM_CACHE%% +%%GEM_SPEC%% +%%GEM_LIB_DIR%%/lib/turing.rb +%%GEM_LIB_DIR%%/lib/turing/cgi_handler.rb +%%GEM_LIB_DIR%%/lib/turing/challenge.rb +%%GEM_LIB_DIR%%/lib/turing/image.rb +%%GEM_LIB_DIR%%/lib/turing/image_plugins/black_squaring.rb +%%GEM_LIB_DIR%%/lib/turing/image_plugins/random_noise.rb +%%GEM_LIB_DIR%%/lib/turing/image_plugins/blending.rb +%%GEM_LIB_DIR%%/lib/turing/image_plugins/__squaring_helper.rb +%%GEM_LIB_DIR%%/lib/turing/image_plugins/white_squaring.rb +%%GEM_LIB_DIR%%/lib/turing/image_plugins/spiral.rb +%%GEM_LIB_DIR%%/shared/dictionary +%%GEM_LIB_DIR%%/shared/README +%%GEM_LIB_DIR%%/shared/fonts/georgiai.ttf +%%GEM_LIB_DIR%%/shared/fonts/cour.ttf +%%GEM_LIB_DIR%%/shared/bgs/21.jpeg +%%GEM_LIB_DIR%%/shared/bgs/04.jpeg +%%GEM_LIB_DIR%%/shared/bgs/13.jpeg +%%GEM_LIB_DIR%%/shared/bgs/06.jpeg +%%GEM_LIB_DIR%%/shared/bgs/07.jpeg +%%GEM_LIB_DIR%%/shared/bgs/08.jpeg +%%GEM_LIB_DIR%%/shared/bgs/26.jpeg +%%GEM_LIB_DIR%%/shared/bgs/09.jpeg +%%GEM_LIB_DIR%%/shared/bgs/18.jpeg +%%GEM_LIB_DIR%%/shared/bgs/19.jpeg +%%GEM_LIB_DIR%%/shared/bgs/28.jpeg +%%GEM_LIB_DIR%%/shared/bgs/29.jpeg +%%GEM_LIB_DIR%%/shared/templates/challenge.rhtml +%%GEM_LIB_DIR%%/shared/templates/success.rhtml +%%GEM_LIB_DIR%%/shared/templates/error.rhtml +%%GEM_LIB_DIR%%/samples/cgi_handler.rb +%%GEM_LIB_DIR%%/samples/challenge.rb +%%GEM_LIB_DIR%%/samples/image.rb +%%GEM_LIB_DIR%%/README +%%GEM_LIB_DIR%%/CHANGES +%%GEM_LIB_DIR%%/TODO +%%GEM_LIB_DIR%%/COPYING +%%GEM_LIB_DIR%%/COPYRIGHT +%%GEM_LIB_DIR%%/Rakefile +%%GEM_LIB_DIR%%/rdoc.jamis.rb +%%GEM_DOC_DIR%%/rdoc/rdoc-style.css +%%GEM_DOC_DIR%%/rdoc/files/lib/turing_rb.html +%%GEM_DOC_DIR%%/rdoc/files/lib/turing/cgi_handler_rb.html +%%GEM_DOC_DIR%%/rdoc/files/lib/turing/challenge_rb.html +%%GEM_DOC_DIR%%/rdoc/files/lib/turing/image_rb.html +%%GEM_DOC_DIR%%/rdoc/files/lib/turing/image_plugins/black_squaring_rb.html +%%GEM_DOC_DIR%%/rdoc/files/lib/turing/image_plugins/random_noise_rb.html +%%GEM_DOC_DIR%%/rdoc/files/lib/turing/image_plugins/blending_rb.html +%%GEM_DOC_DIR%%/rdoc/files/lib/turing/image_plugins/__squaring_helper_rb.html +%%GEM_DOC_DIR%%/rdoc/files/lib/turing/image_plugins/white_squaring_rb.html +%%GEM_DOC_DIR%%/rdoc/files/lib/turing/image_plugins/spiral_rb.html +%%GEM_DOC_DIR%%/rdoc/files/README.html +%%GEM_DOC_DIR%%/rdoc/classes/Turing.html +%%GEM_DOC_DIR%%/rdoc/classes/Turing/Challenge.html +%%GEM_DOC_DIR%%/rdoc/classes/Turing/Image.html +%%GEM_DOC_DIR%%/rdoc/classes/Turing/Image/SquaringHelper.html +%%GEM_DOC_DIR%%/rdoc/classes/Turing/Image/BlackSquaring.html +%%GEM_DOC_DIR%%/rdoc/classes/Turing/Image/RandomNoise.html +%%GEM_DOC_DIR%%/rdoc/classes/Turing/Image/Spiral.html +%%GEM_DOC_DIR%%/rdoc/classes/Turing/Image/WhiteSquaring.html +%%GEM_DOC_DIR%%/rdoc/classes/Turing/Image/Blending.html +%%GEM_DOC_DIR%%/rdoc/classes/Turing/CGIHandler.html +%%GEM_DOC_DIR%%/rdoc/classes/Turing/CGIHandler/Template.html +%%GEM_DOC_DIR%%/rdoc/fr_file_index.html +%%GEM_DOC_DIR%%/rdoc/fr_class_index.html +%%GEM_DOC_DIR%%/rdoc/fr_method_index.html +%%GEM_DOC_DIR%%/rdoc/index.html +%%GEM_DOC_DIR%%/rdoc/created.rid +@dirrm %%GEM_LIB_DIR%%/samples +@dirrm %%GEM_LIB_DIR%%/shared/templates +@dirrm %%GEM_LIB_DIR%%/shared/bgs +@dirrm %%GEM_LIB_DIR%%/shared/fonts +@dirrm %%GEM_LIB_DIR%%/shared +@dirrm %%GEM_LIB_DIR%%/lib/turing/image_plugins +@dirrm %%GEM_LIB_DIR%%/lib/turing +@dirrm %%GEM_LIB_DIR%%/lib +@dirrm %%GEM_LIB_DIR%% +@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Turing/CGIHandler +@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Turing/Image +@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Turing +@dirrm %%GEM_DOC_DIR%%/rdoc/classes +@dirrm %%GEM_DOC_DIR%%/rdoc/files/lib/turing/image_plugins +@dirrm %%GEM_DOC_DIR%%/rdoc/files/lib/turing +@dirrm %%GEM_DOC_DIR%%/rdoc/files/lib +@dirrm %%GEM_DOC_DIR%%/rdoc/files +@dirrm %%GEM_DOC_DIR%%/rdoc +@dirrm %%GEM_DOC_DIR%%