From: "Diego Petteno (flameeyes)" <flameeyes@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in www-misc/awstats/files: awstats-7.0_p20101205-nofollow.patch
Date: Mon, 10 Jan 2011 01:12:33 +0000 (UTC) [thread overview]
Message-ID: <20110110011233.AD1D120057@flycatcher.gentoo.org> (raw)
flameeyes 11/01/10 01:12:33
Added: awstats-7.0_p20101205-nofollow.patch
Log:
Simplify ebuild by dropping apache.depend and webapp eclasses; this version no longer users webapp-config for setup, instead it relies on stable paths for configuration (suggested method), as it doesn't slot and it requires global paths to save data. Also, patch in rel=nofollow attribute on external links to avoid boosting spammers' pagerank.
(Portage version: 2.2.0_alpha14/cvs/Linux x86_64)
Revision Changes Path
1.1 www-misc/awstats/files/awstats-7.0_p20101205-nofollow.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/awstats/files/awstats-7.0_p20101205-nofollow.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/awstats/files/awstats-7.0_p20101205-nofollow.patch?rev=1.1&content-type=text/plain
Index: awstats-7.0_p20101205-nofollow.patch
===================================================================
Index: awstats-7.0_p20101205/wwwroot/cgi-bin/awstats.pl
===================================================================
--- awstats-7.0_p20101205.orig/wwwroot/cgi-bin/awstats.pl
+++ awstats-7.0_p20101205/wwwroot/cgi-bin/awstats.pl
@@ -8787,7 +8787,7 @@ sub HTMLShowURLInfo {
{ # URL seems to be extracted from a proxy log file
print "<a href=\""
. XMLEncode("$newkey")
- . "\" target=\"url\">"
+ . "\" target=\"url\" rel=\"nofollow\">"
. XMLEncode($nompage) . "</a>";
}
elsif ( $newkey =~ /^\// )
@@ -8802,7 +8802,7 @@ sub HTMLShowURLInfo {
}
print "<a href=\""
. XMLEncode("$urlprot://$SiteDomain$newkey")
- . "\" target=\"url\">"
+ . "\" target=\"url\" rel=\"nofollow\">"
. XMLEncode($nompage) . "</a>";
}
else {
reply other threads:[~2011-01-10 1:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110110011233.AD1D120057@flycatcher.gentoo.org \
--to=flameeyes@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox