<pre style='margin:0'>
Lawrence Velázquez (larryv) pushed a commit to branch master
in repository macports-www.
</pre>
<p><a href="https://github.com/macports/macports-www/commit/1c054daed05bc68e4a5ff46797a4ba182cf54fb4">https://github.com/macports/macports-www/commit/1c054daed05bc68e4a5ff46797a4ba182cf54fb4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1c054daed05bc68e4a5ff46797a4ba182cf54fb4
</span>Author: Mojca Miklavec <mojca@macports.org>
AuthorDate: Fri Nov 4 15:35:18 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> Replace tabs with spaces, remove trailing whitespace
</span>---
contact.php | 2 +-
docs.php | 72 +++++++++++++++++++--------------------
includes/AcceptAbstract.class.php | 28 +++++++--------
includes/common.inc | 14 ++++----
includes/footer.inc | 4 +--
includes/warnings.inc | 8 ++---
index.php | 14 ++++----
install.php | 18 +++++-----
ports.php | 16 ++++-----
9 files changed, 88 insertions(+), 88 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/contact.php b/contact.php
</span><span style='display:block; white-space:pre;color:#808080;'>index 4a65b27..b2f7e52 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/contact.php
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/contact.php
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -140,7 +140,7 @@
</span>
<h3 class="subhdr" id="Individuals">Individuals</h3>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <p>To find out who the people behind MacPorts are and what they are up to, visit the <a href="<?php print $trac_url .
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <p>To find out who the people behind MacPorts are and what they are up to, visit the <a href="<?php print $trac_url .
</span> 'wiki/MacPortsDevelopers'; ?>">team members page</a> on our Wiki.</p>
</div>
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/docs.php b/docs.php
</span><span style='display:block; white-space:pre;color:#808080;'>index 432d4b6..c84caba 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/docs.php
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/docs.php
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,53 +13,53 @@
</span> <br/>
<h3 class="subhdr" id="installation">Installation</h3>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <ul>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://www.macports.org/install.php">Installation</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://guide.macports.org/#installing">Guide to Installation</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://trac.macports.org/wiki/InstallingMacPorts">Installation Wiki</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://trac.macports.org/wiki/howto/RunningTrunk">Installing from SVN Trunk</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://trac.macports.org/wiki/GetMacPortsSource">Get the Source</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- </ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://www.macports.org/install.php">Installation</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://guide.macports.org/#installing">Guide to Installation</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://trac.macports.org/wiki/InstallingMacPorts">Installation Wiki</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://trac.macports.org/wiki/howto/RunningTrunk">Installing from SVN Trunk</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://trac.macports.org/wiki/GetMacPortsSource">Get the Source</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </ul>
</span>
<h3 class="subhdr" id="howtos">HOWTOs</h3>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <ul>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://trac.macports.org/wiki/howto">HOWTO Wiki</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- </ul>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://trac.macports.org/wiki/howto">HOWTO Wiki</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <h3 class="subhdr" id="guide">Guide</h3>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <ul>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://guide.macports.org">Single HTML</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- </ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://guide.macports.org">Single HTML</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </ul>
</span>
<h3 class="subhdr" id="faq">FAQs</h3>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <ul>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://trac.macports.org/wiki/FAQ">FAQ Wiki</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://trac.macports.org/wiki/ProblemHotlist">Problem Hotlist</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://trac.macports.org/wiki/LeopardProblems">Leopard Problems</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- </ul>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://trac.macports.org/wiki/FAQ">FAQ Wiki</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://trac.macports.org/wiki/ProblemHotlist">Problem Hotlist</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://trac.macports.org/wiki/LeopardProblems">Leopard Problems</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <h3 class="subhdr" id="bugreports">Bug Reports</h3>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <ul>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://guide.macports.org/#project">Reporting Guidelines</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://trac.macports.org/wiki/TracTicketing">Ticket Reporting Wiki</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- </ul>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://guide.macports.org/#project">Reporting Guidelines</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://trac.macports.org/wiki/TracTicketing">Ticket Reporting Wiki</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <h3 class="subhdr" id="membership">Membership</h3>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <ul>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://guide.macports.org/#project.membership">Project Membership Guide</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://trac.macports.org/wiki/NewCommittersGuide">New Committers Guide</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://trac.macports.org/wiki/CommittersTipsAndTricks">Tips and Tricks</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- </ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://guide.macports.org/#project.membership">Project Membership Guide</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://trac.macports.org/wiki/NewCommittersGuide">New Committers Guide</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://trac.macports.org/wiki/CommittersTipsAndTricks">Tips and Tricks</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </ul>
</span>
<h3 class="subhdr" id="usage">How to Use MacPorts</h3>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <ul>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://guide.macports.org/#using">Using Macports</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <li><a href="https://trac.macports.org/wiki/UsingMacPortsQuickStart">Quick Start</a></li>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- </ul>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://guide.macports.org/#using">Using Macports</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li><a href="https://trac.macports.org/wiki/UsingMacPortsQuickStart">Quick Start</a></li>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> </div>
<?php
<span style='display:block; white-space:pre;background:#ffe0e0;'>- print_footer();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ print_footer();
</span> ?>
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/includes/AcceptAbstract.class.php b/includes/AcceptAbstract.class.php
</span><span style='display:block; white-space:pre;color:#808080;'>index a0654e7..3160d46 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/includes/AcceptAbstract.class.php
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/includes/AcceptAbstract.class.php
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,20 +4,20 @@
</span> # Copyright (c) 2008, The MacPorts Project.
class AcceptAbstract {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> function AcceptAbstract($accept_header) {
$this->accept = array();
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if (empty($accept_header)) {
return;
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> $fudge_factor = 0.00001;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> $components = preg_split('%\s*,\s*%', $accept_header);
$temp = array();
foreach ($components as $i => $component) {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> // Find the parts of the string.
preg_match('%^
([^\s;]+) # one or more chars -- the value -- match 1
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,12 +29,12 @@ class AcceptAbstract {
</span> $%ix',
$component, $matches
);
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> $value = $matches[1];
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> // If no quality is given, quality 1 is assumed.
$q = isset($matches[2]) ? (float)$matches[2] : (float)1;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> // Stuff it in the array, if the quality is non-zero.
if ($q > 0) {
$temp[$value] = array(
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,18 +43,18 @@ class AcceptAbstract {
</span> 'i' => $i,
);
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> // Sort descending by quality.
usort($temp, create_function('$a, $b', 'return ($a["q"] == $b["q"]) ? 0 : ($a["q"] > $b["q"]) ? -1 : 1;'));
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> // Unfudge the quality parameter and simplify the array.
foreach ($temp as $x) {
$this->accept[$x['value']] = $x['q'] + $x['i'] * $fudge_factor;
}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> function getPreferred() {
if (empty($this->accept)) {
return false;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,9 +63,9 @@ class AcceptAbstract {
</span> return $this->accept[$keys[0]];
}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> function acceptable($value) {
return array_key_exists($value, $this->accept);
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/includes/common.inc b/includes/common.inc
</span><span style='display:block; white-space:pre;color:#808080;'>index 4b621b0..dd1c79c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/includes/common.inc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/includes/common.inc
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -70,7 +70,7 @@ function print_warnings() {
</span> # Connect to the portsdb and gather miscellaneous information:
function portsdb_connect() {
$script = basename($_SERVER['PHP_SELF']);
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> $portsdb_connection = FALSE;
if (function_exists('pg_connect')) {
$portsdb_connection = pg_connect("");
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -85,16 +85,16 @@ function portsdb_connect() {
</span> );
break;
case "ports.php":
<span style='display:block; white-space:pre;background:#ffe0e0;'>- print_header("The MacPorts Project", "utf-8");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ print_header("The MacPorts Project", "utf-8");
</span> print '
<div id="content">
<h2 class="hdr">MacPorts Portfiles</h2>
<p>Our database is currently unavailable. We hope to have it back soon!</p>
</div>
';
<span style='display:block; white-space:pre;background:#ffe0e0;'>- print_footer();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- die();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ print_footer();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ die();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span> default:
print_footer();
die();
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -107,9 +107,9 @@ function portsdb_connect() {
</span> 'num_categories' => categories_count()
);
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> return $portsdb_info;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/includes/footer.inc b/includes/footer.inc
</span><span style='display:block; white-space:pre;color:#808080;'>index e4011cc..9f2be85 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/includes/footer.inc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/includes/footer.inc
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,10 +6,10 @@
</span>
<div id="footer">
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <p><a href="http://validator.w3.org/check?uri=referer"><img src="img/valid-xhtml11-blue.png" alt="Valid XHTML 1.1" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="img/vcss.png" alt="Valid CSS!" /></a></p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <p>Copyright © 2002–<?php print date("Y"); ?>, <a href="https://www.macports.org">The MacPorts Project</a>.
Content delivery accelerated by <a href="https://www.maxcdn.com">MaxCDN</a>.
All rights reserved.</p>
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/includes/warnings.inc b/includes/warnings.inc
</span><span style='display:block; white-space:pre;color:#808080;'>index 394eea2..ec36ff1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/includes/warnings.inc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/includes/warnings.inc
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,22 +19,22 @@ if (isset($_SERVER['HTTP_REFERER']) && strpos($_SERVER['HTTP_REFERER'], 'darwinp
</span> <p>The information you may have been presented with on <i>darwinports.com</i> may be incorrect or outdated and is not
endorsed in any way by <i>The MacPorts Project</i>. For the most accurate information about MacPorts, please bookmark
this site, <a href="https://www.macports.org">https://www.macports.org</a>.</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> </div>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-<?php
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<?php
</span> }
# Warn about us being a valid mirror if we're not being served off htt://www.macports.org itself
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if (isset($_SERVER['HTTP_HOST']) && !preg_match('%(^|\.)macports\.org$%', $_SERVER['HTTP_HOST'])) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if (isset($_SERVER['HTTP_HOST']) && !preg_match('%(^|\.)macports\.org$%', $_SERVER['HTTP_HOST'])) {
</span> ?>
<div class="warnings">
<p>Warning: This is a mirror installation of the official site for The MacPorts Project, located at <a href="https://www.macports.org">
https://www.macports.org</a> as always. Information here is not guaranteed to be up to date.</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> </div>
<?php
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/index.php b/index.php
</span><span style='display:block; white-space:pre;color:#808080;'>index 04c4184..fdee04c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/index.php
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/index.php
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,28 +17,28 @@
</span> href="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</a>, and through it easy access to thousands of ports
that <a href="<?php print $guide_url . '#introduction'; ?>"> greatly simplify</a> the task of <a href="<?php print $guide_url
. '#using'; ?>">compiling and installing</a> open-source software on your Mac.</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <p>We provide a single software tree that attempts to track the latest release of every software title (port) we distribute,
without splitting them into “stable” Vs. “unstable” branches, targeting mainly OS X Mavericks v10.9 and later
(including macOS Sierra v10.12).
There are currently <a href="ports.php">
<b><?php print $portsdb_info['num_ports']; ?></b> ports</a> in our tree, distributed among <?php print $portsdb_info['num_categories']; ?>
different categories, and more are being added on a regular basis.</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <h3 class="subhdr">Getting started</h3>
<p>For information on installing MacPorts please see the <a href="install.php">installation</a> section of this site and
explore the myriad of download options we provide and our base system requirements.</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <p>If you run into any problems installing and/or using MacPorts we also have many options to help you, depending on how
you wish to get <a href="contact.php">get in touch with us</a>. Other important help resources are our online documentation,
A.K.A <a href="<?php print $guide_url; ?>"> The MacPorts Guide</a>, and our Trac <a href="<?php print $trac_url; ?>">Wiki
server & bug tracker</a>.</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <p><b>Latest MacPorts <a href="install.php">release</a>: <?php print $macports_version_latest; ?></b></p>
<h3 class="subhdr">Getting involved</h3>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <?php
/*
<p>We are participating in <b>Google Summer of Code <?php print date('Y'); ?></b>: MacPorts-wielding students of higher education can be paid
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,9 +49,9 @@
</span>
<p>There are many ways you can get involved with MacPorts and peer users, system administrators & developers alike.
Browse over to the “<a href="contact.php">Contact Us</a>” section of our site and:</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <ul>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <li>Explore our <a href="contact.php#Lists">mailing lists</a>, either if it is for some general user support or to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <li>Explore our <a href="contact.php#Lists">mailing lists</a>, either if it is for some general user support or to
</span> keep on top of the latest MacPorts developments and commits to our software repository.</li>
<li>Check out our <a href="contact.php#Tracker">Support & Development</a> portal for some bug reporting and live
tutorials through the integrated Wiki server.</li>
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/install.php b/install.php
</span><span style='display:block; white-space:pre;color:#808080;'>index ddbeffb..6ebcd04 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/install.php
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/install.php
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,7 +39,7 @@
</span> for use with the macOS Installer.
This is the simplest installation
procedure that most users should <a href="#pkg">follow</a> after meeting the requirements listed <a href="#requirements">
<span style='display:block; white-space:pre;background:#ffe0e0;'>- below</a>. Installers for legacy platforms <a href="<?php print $mountainlion_pkg; ?>">Mountain Lion</a>,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ below</a>. Installers for legacy platforms <a href="<?php print $mountainlion_pkg; ?>">Mountain Lion</a>,
</span> <a href="<?php print $lion_pkg; ?>">Lion</a>, <a
href="<?php print $snowleopard_pkg; ?>">Snow Leopard</a>, <a href="<?php print $leopard_dmg; ?>">Leopard</a>
and <a href="<?php print $tiger_dmg; ?>">Tiger</a> are
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -113,7 +113,7 @@
</span> latest available release and the latest revisions to the “Portfiles” that contain the instructions employed
in the building and installation of ports. After installation is done, it is recommended that you run this step manually
on a regular basis to to keep your MacPorts system always current:</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <pre>sudo port -v selfupdate</pre>
<p>At this point you should be ready to enjoy MacPorts!</p>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -144,7 +144,7 @@
</span> <li><kbd>cd ../</kbd></li>
<li><kbd>rm -rf MacPorts-<?php print $macports_version_latest; ?>*</kbd></li>
</ul>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> </li>
</ol>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -154,7 +154,7 @@
</span>
<p>To customize your installation you should read the output of “<kbd>./configure --help | more</kbd>” and
pass the appropriate options for the settings you wish to tweak to the configuration script in the steps detailed above.</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <p>You will need to manually adapt your shell's environment to work with MacPorts and your chosen installation <kbd>
prefix</kbd> (the value passed to <kbd>configure</kbd>'s <kbd>--prefix</kbd> flag, defaulting to <kbd>/opt/local</kbd>):
</p>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -189,8 +189,8 @@
</span>
<p>Alternatively, if you'd simply like to view the SVN repository without checking it out, you can do so via the <a
href="<?php print $trac_url . 'browser'; ?>">Trac source browser</a>.</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <h3 class="subhdr" id="selfupdate">Selfupdate</h3>
<p>If you already have MacPorts installed and have no restrictions to use the rsync networking protocol (tcp port 873 by
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -198,7 +198,7 @@
</span> by using the <kbd>selfupdate</kbd> target of the <kbd>port(1)</kbd> command. This will both update your ports tree (by
performing a <kbd>sync</kbd> operation) and rebuild your current installation if it's outdated, preserving your customizations,
if any.</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>
<h3 class="subhdr" id="other">Other Platforms</h3>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -235,11 +235,11 @@
</span>
<p>If any of these resources do not answer your questions or if you need any kind of extended support, there are many ways
to <a href="contact.php">contact us</a>!</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>
</div>
<?php
<span style='display:block; white-space:pre;background:#ffe0e0;'>- print_footer();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ print_footer();
</span> ?>
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ports.php b/ports.php
</span><span style='display:block; white-space:pre;color:#808080;'>index 384a378..b9c05d7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/ports.php
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ports.php
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,9 +3,9 @@
</span> /* Web client to the PortIndex2MySQL script located in MacPorts base/portmgr/jobs svn directory. */
/* Copyright (c) 2004, OpenDarwin. */
/* Copyright (c) 2004-2007, The MacPorts Project. */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> include_once("includes/common.inc");
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> $portsdb_info = portsdb_connect();
$sql = "SELECT ceil(extract( epoch from activity_time)) as tim FROM log ORDER BY tim DESC";
$result = pg_query($sql);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,7 +35,7 @@
</span> <?php print $portsdb_info['num_categories']; ?> different categories and available below for viewing. This form allows
you to search the MacPorts software index, last updated on <?php print '<b>' . $date . '</b> at <b>' . $time . '</b>'; ?>.
</p>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> <br />
<form action="<?php print $phpself; ?>" method="get">
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -129,7 +129,7 @@
</span> $where = ($criteria == '' ? '' : "WHERE $criteria");
$query = "SELECT DISTINCT $fields FROM $tables $where ORDER BY name";
$result = pg_query($query);
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> /* Main query sent to the DB */
if ($result) {
$paging = false;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -157,7 +157,7 @@
</span> # seek the data pointer by fetching the row before the interesting one
# FIXME: maybe should be offset - 1
if($offset > 0){
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pg_fetch_row($result, $offset);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pg_fetch_row($result, $offset);
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -180,11 +180,11 @@
</span> print '<dt><b>' . htmlspecialchars($row['name']) . '</b> ' . htmlspecialchars($row['version'])
. ' <i>(<a href="' . htmlspecialchars($github_url_ports . 'blob/master' . $row['path'] . '/Portfile')
. '">source</a>)</i></dt>';
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> print '<dd>';
/* Port short description */
print htmlspecialchars($row['description']) . '<br />';
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> /* Licenses */
$nquery = "SELECT license FROM licenses WHERE portfile='" . pg_escape_string($row['name']) .
"' ORDER BY license";
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -280,7 +280,7 @@
</span> } else {
print '<p>An Error Occurred: '. pg_last_error($portsdb_info['connection_handler']) . '</p>';
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> } /* if (main query sent to the DB) */
?>
</pre><pre style='margin:0'>
</pre>