summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-11-24 05:20:36 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-11-24 05:20:36 +0000
commit0942b46e9e9428902d91215b2dd56adcfb7d26d8 (patch)
tree7e8f33f3828d29b4aea6f70e5990d811ed97a97a /www
parentThe Dropbox API is a OAuth based API. I try to abstract as much away (diff)
The blogspam site exists to provide a service which allows you to
test whether a submitted blog/forum comment is SPAM or not, in real-time. We can identify many common SPAM characteristics and using them allow comments to be blocked - cutting down on the SPAM that might otherwise affect your site. WWW: http://blogspam.net/ PR: ports/152421 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes: svn path=/head/; revision=265053
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Blog-Spam/Makefile58
-rw-r--r--www/p5-Blog-Spam/distinfo2
-rw-r--r--www/p5-Blog-Spam/pkg-descr8
-rw-r--r--www/p5-Blog-Spam/pkg-plist32
5 files changed, 101 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 321bc93b5d32..3393732489e4 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -699,6 +699,7 @@
SUBDIR += p5-AxKit-XSP-WebUtils
SUBDIR += p5-B-LexInfo
SUBDIR += p5-Bigtop
+ SUBDIR += p5-Blog-Spam
SUBDIR += p5-Bundle-Slash
SUBDIR += p5-Bundle-Sledge
SUBDIR += p5-Business-PayPal
diff --git a/www/p5-Blog-Spam/Makefile b/www/p5-Blog-Spam/Makefile
new file mode 100644
index 000000000000..aa480a0b24ca
--- /dev/null
+++ b/www/p5-Blog-Spam/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: p5-Blog-Spam
+# Date created: 2010-11-20
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Blog-Spam
+PORTVERSION= 1.0.2
+CATEGORIES= www net perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../../authors/id/S/SK/SKX
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Blog & Forum SPAM Detection
+
+RUN_DEPENDS= p5-Net-CIDR-Lite>=0:${PORTSDIR}/net/p5-Net-CIDR-Lite \
+ p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \
+ p5-RPC-XML>=0:${PORTSDIR}/net/p5-RPC-XML \
+ p5-URI-Find>=0:${PORTSDIR}/textproc/p5-URI-Find \
+ p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+
+PERL_CONFIGURE= yes
+
+MAN1= blogspam.1
+MAN3= Blog::Spam::API.3 \
+ Blog::Spam::Plugin::00blacklist.3 \
+ Blog::Spam::Plugin::00whitelist.3 \
+ Blog::Spam::Plugin::Sample.3 \
+ Blog::Spam::Plugin::badip.3 \
+ Blog::Spam::Plugin::bayesian.3 \
+ Blog::Spam::Plugin::bogusip.3 \
+ Blog::Spam::Plugin::drone.3 \
+ Blog::Spam::Plugin::dropme.3 \
+ Blog::Spam::Plugin::emailtests.3 \
+ Blog::Spam::Plugin::hashcash.3 \
+ Blog::Spam::Plugin::httpbl.3 \
+ Blog::Spam::Plugin::logger.3 \
+ Blog::Spam::Plugin::lotsaurls.3 \
+ Blog::Spam::Plugin::multilinks.3 \
+ Blog::Spam::Plugin::rdns.3 \
+ Blog::Spam::Plugin::requiremx.3 \
+ Blog::Spam::Plugin::sfs.3 \
+ Blog::Spam::Plugin::size.3 \
+ Blog::Spam::Plugin::stopwords.3 \
+ Blog::Spam::Plugin::strong.3 \
+ Blog::Spam::Plugin::surbl.3 \
+ Blog::Spam::Plugin::wordcount.3 \
+ Blog::Spam::Server.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500809
+RUN_DEPENDS+= p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-Blog-Spam/distinfo b/www/p5-Blog-Spam/distinfo
new file mode 100644
index 000000000000..ef8d166d8f94
--- /dev/null
+++ b/www/p5-Blog-Spam/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Blog-Spam-1.0.2.tar.gz) = b7a0b133e2a547acb5239a708cf1aa497fa5ef656dc347401a81340271185500
+SIZE (Blog-Spam-1.0.2.tar.gz) = 38601
diff --git a/www/p5-Blog-Spam/pkg-descr b/www/p5-Blog-Spam/pkg-descr
new file mode 100644
index 000000000000..193b79cd8e71
--- /dev/null
+++ b/www/p5-Blog-Spam/pkg-descr
@@ -0,0 +1,8 @@
+The blogspam site exists to provide a service which allows you to
+test whether a submitted blog/forum comment is SPAM or not, in real-time.
+
+We can identify many common SPAM characteristics and using them allow
+comments to be blocked - cutting down on the SPAM that might otherwise
+affect your site.
+
+WWW: http://blogspam.net/
diff --git a/www/p5-Blog-Spam/pkg-plist b/www/p5-Blog-Spam/pkg-plist
new file mode 100644
index 000000000000..dd0b44b45871
--- /dev/null
+++ b/www/p5-Blog-Spam/pkg-plist
@@ -0,0 +1,32 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Blog/Spam/.packlist
+%%SITE_PERL%%/Blog/Spam/API.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/00blacklist.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/00whitelist.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/Sample.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/badip.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/bayesian.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/bogusip.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/drone.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/dropme.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/emailtests.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/hashcash.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/httpbl.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/logger.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/lotsaurls.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/multilinks.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/rdns.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/requiremx.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/sfs.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/size.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/stopwords.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/strong.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/surbl.pm
+%%SITE_PERL%%/Blog/Spam/Plugin/wordcount.pm
+%%SITE_PERL%%/Blog/Spam/Server.pm
+bin/blogspam
+@dirrmtry %%SITE_PERL%%/Blog/Spam/Plugin
+@dirrmtry %%SITE_PERL%%/Blog/Spam
+@dirrmtry %%SITE_PERL%%/Blog
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Blog/Spam
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Blog