diff options
author | he <he@pkgsrc.org> | 2008-11-17 20:19:58 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2008-11-17 20:19:58 +0000 |
commit | adaf410c302ad5d28c2277d0ee1360ec358b7439 (patch) | |
tree | 278659ffc1b9af70f53769642187151df551d9c7 /www | |
parent | 31094a0b592f9d29ab0295371e57d0594e151483 (diff) | |
download | pkgsrc-adaf410c302ad5d28c2277d0ee1360ec358b7439.tar.gz |
Import p5-HTML-Email-Obfuscate version 1.00.
"Don't put emails directly on the page, they will be scraped"
Stuff that I'm sick of looking at "bob at smith dot com". Why can't
we just write emails in a way that looks normal to people, but is
very, very difficult to scrape off. Most email scrapers only use
very very simple parsing methods. And it isn't as if it is hard to
just do
# Before we search for email addresses...
$page =~ s/\s+at\s+/@/g;
$page =~ s/\s+dot\s+/./g;
This is an arms war dammit, and I want nukes!
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-HTML-Email-Obfuscate/DESCR | 13 | ||||
-rw-r--r-- | www/p5-HTML-Email-Obfuscate/Makefile | 22 | ||||
-rw-r--r-- | www/p5-HTML-Email-Obfuscate/distinfo | 5 |
3 files changed, 40 insertions, 0 deletions
diff --git a/www/p5-HTML-Email-Obfuscate/DESCR b/www/p5-HTML-Email-Obfuscate/DESCR new file mode 100644 index 00000000000..fe20e941806 --- /dev/null +++ b/www/p5-HTML-Email-Obfuscate/DESCR @@ -0,0 +1,13 @@ +"Don't put emails directly on the page, they will be scraped" + +Stuff that, I'm sick of looking at "bob at smith dot com". Why can't +we just write emails in a way that looks normal to people, but is +very, very difficult to scrape off. Most email scrapers only use +very very simple parsing methods. And it isn't as if it is hard to +just do + + # Before we search for email addresses... + $page =~ s/\s+at\s+/@/g; + $page =~ s/\s+dot\s+/./g; + +This is an arms war dammit, and I want nukes! diff --git a/www/p5-HTML-Email-Obfuscate/Makefile b/www/p5-HTML-Email-Obfuscate/Makefile new file mode 100644 index 00000000000..c4962ad87ed --- /dev/null +++ b/www/p5-HTML-Email-Obfuscate/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/11/17 20:19:58 he Exp $ + +DISTNAME= HTML-Email-Obfuscate-1.00 +PKGNAME= p5-${DISTNAME} +SVR4_PKGNAME= p5heo +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/HTML-Email-Obfuscate/ +COMMENT= Perl5 module for obfuscating HTML email addresses + +DEPENDS+= p5-HTML-Parser>=3.46:../../www/p5-HTML-Parser + +PKG_DESTDIR_SUPPORT= user-destdir +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/HTML/Email/Obfuscate/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/p5-HTML-Email-Obfuscate/distinfo b/www/p5-HTML-Email-Obfuscate/distinfo new file mode 100644 index 00000000000..ce0738daf2b --- /dev/null +++ b/www/p5-HTML-Email-Obfuscate/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/11/17 20:19:58 he Exp $ + +SHA1 (HTML-Email-Obfuscate-1.00.tar.gz) = 13d1432322180b39d965efaf7bf8af9440e0ad44 +RMD160 (HTML-Email-Obfuscate-1.00.tar.gz) = 1fbf4e9cb291fd2a65e441352fb2015c59b98ec6 +Size (HTML-Email-Obfuscate-1.00.tar.gz) = 23387 bytes |