summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--architecture.php2
-rw-r--r--download/index.html96
-rw-r--r--index.php31
-rw-r--r--lib/helper.php47
-rw-r--r--lib/style.php2
-rw-r--r--packages/pkginfo.php31
-rw-r--r--robots.txt26
-rw-r--r--static/archnav32.svg38
8 files changed, 187 insertions, 86 deletions
diff --git a/architecture.php b/architecture.php
index 4bb8be0..87fb80c 100644
--- a/architecture.php
+++ b/architecture.php
@@ -76,7 +76,7 @@ print " </p>\n";
print " <p>\n";
print " Also note:\n";
print " If your flags contain 'pae' you can use the <a href=\"https://www.archlinux32.org/packages/pentium4/extra/linux-pae/\">linux-pae</a> package to make use of more memory.\n";
-print " If your flags contain 'lm' you can still use Archlinux32, but 64-bit Archlinux might be the better option.\n";
+print " If your flags contain 'lm' you can still use Archlinux32, but <a href=\"https://www.archlinux.org\">64-bit Archlinux</a> might be the better option.\n";
print " </p>\n";
print " </div>\n";
print_footer();
diff --git a/download/index.html b/download/index.html
index 54834ad..41dc4ca 100644
--- a/download/index.html
+++ b/download/index.html
@@ -38,41 +38,54 @@
can always be updated with <code>pacman -Syu</code>.</p>
<ul>
- <li><strong>Current Release:</strong> 2020.08.04</li>
- <li><strong>Included Kernel:</strong> 5.7.11.arch1-1.0</li>
- <li><strong>ISO Size (i686 only):</strong> 666.0 MB</li>
- <li><strong>ISO Size (dual bootable):</strong> 1276.2 MB</li>
+ <li><strong>Current Release:</strong> 2021.04.06</li>
+ <li><strong>Included Kernel:</strong> 5.11.10.arch1-1.0</li>
+ <li><strong>ISO Size (i686 only):</strong> 631.0 MB</li>
+ <li><strike><strong>ISO Size (dual bootable):</strong> 1365.2 MB</strike></li>
</ul>
- <h3>Existing Arch Users</h3>
+ <h3>Existing Arch32 Users</h3>
- <p>If you are an existing Arch user, there is no need to download a new ISO
+ <p>If you are an existing Arch32 user, there is no need to download a new ISO
to update your existing system. You may be looking for
<a href="https://git.archlinux32.org/packages/plain/core/pacman-mirrorlist/mirrorlist">an updated mirrorlist</a> instead.</p>
<h3>Package Archive</h3>
<p>Older versions of packages can be found in the <a href="https://archive.archlinux32.org">Package Archive</a>.
- It contains daily snapshots of the package mirror.</p>
+ It works similar to the <a href="https://archive.archlinux.org">Arch Linux Archive</a> which is documented <a href="https://wiki.archlinux.org/index.php/Arch_Linux_Archive">in the ArchWiki</a>.
+ </p>
- <h3>Transition from the Official Repositories</h3>
+ <h3>Transition from Archlinux to Archlinux32</h3>
- <p>If you plan to move from the <a href="https://www.archlinux.org/packages/">official repositories</a>
- to <a href="https://mirror.archlinux32.org/i686/">our community maintained repositories</a>, follow
+ <p>If you plan to move from <a href="https://www.archlinux.org/packages/">Archlinux</a>
+ to <a href="https://mirror.archlinux32.org/pentium4/">Archlinux32</a>, follow
these steps:</p>
<ul>
+ <li> Put <code>Server=https://archive.archlinux32.org/repos/2020/01/01/$arch/$repo</code> as <i>only</i> mirror into <code>/etc/pacman.d/mirrorlist</code>.
+ <ul>
+ <li>Note, that it is not necessary to use the archive, if one uses a recent pacman-static to provide zstd support.
+ See "Fixing Broken Pacman" below for details on how to obtain pacman-static.</li>
+ </ul>
+ </li>
+ <li> Execute <code>pacman -Syy archlinux32-keyring-transition</code> to install our keyring transition package signed by one of the x86_64 archlinux devs.</li>
+ <li> Run <code>pacman -Syuu</code> to update to a state, when pacman was capable of installing zstd-compressed packages.
<li> Put any mirror from <a href="https://git.archlinux32.org/packages/plain/core/pacman-mirrorlist/mirrorlist">our mirrorlist</a>
into <code>/etc/pacman.d/mirrorlist</code>.</li>
- <li> Execute <code>pacman -Syy archlinux32-keyring-transition</code> to install our keyring transition package signed by one of the x86_64 archlinux devs.</li>
- <li> Execute <code>pacman -S archlinux32-keyring</code> to install our most recent keyring package.</li>
- <li> Run <code>pacman -Syuu</code> for a full transition.
+ <li> Run <code>pacman -Syuu</code> for a full transition to the most recent state.
<ul>
- <li> Note, that some packages are currently newer in the official repositories and will be downgraded, therefore.</li>
- <li> Also note, that packages found in your package cache won't match the signatures from archlinux32 - either allow pacman to delete these cached packages or run <code>pacman -Sc</code> to clean your cache before you start and after you finish upgrading.</li>
+ <li> Note, that packages found in your package cache won't match the signatures from Archlinux32 - either allow pacman to delete these cached packages or run <code>pacman -Sc</code> to clean your cache before you start and after you finish upgrading.</li>
</ul>
</li>
</ul>
+ <h3>Fixing Broken Pacman</h3>
+ If pacman is unable to work properly (due to partial upgrade, broken libraries, missing compression support, etc.), there are two possibilities to fix it:
+ <ul>
+ <li> Boot a recent live medium, mount the broken system on <code>/mnt</code> and use <code>pacman --sysroot /mnt ...</code> to reinstall/update the broken/outdated packages.</li>
+ <li> Install <a href="https://aur.archlinux.org/packages/pacman-static/#pinned-666894">pacman-static</a> (either from the <a href="https://aur.archlinux.org/packages/pacman-static/">AUR</a> before breaking the system or the <a href="https://pkgbuild.com/~eschwartz/repo/i686-extracted/pacman-static">extracted binary compiled by Eli Schwartz</a> if your system is already broken) and use <code>pacman-static</code> in place of <code>pacman</code> to reinstall/update the broken/outdated packages.</li>
+ </ul>
+
<h3>BitTorrent Download (recommended)</h3>
<p>If you can spare the bytes, please leave the client open after your
@@ -80,15 +93,16 @@
<em>A web-seed capable client is recommended for fastest download speeds.</em></p>
<ul>
- <li><a href="magnet:?xt=urn:btih:f0547192b22519bbd9fb2b63279c772ff4a9db6b&dn=archlinux-2020.07.03-i686.iso&tr=http%3A%2F%2Farchlinux32.org%3A6969%2Fannounce&ws=http%3A%2F%2Farch32.mirrors.simplysam.us%2Farchisos%2F&ws=http%3A%2F%2Fmirror.datacenter.by%2Fpub%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Farchlinux32.mirror.roelf.org%2Farchisos%2F&ws=http%3A%2F%2Farchlinux32.vollzornbrot.de%2Farchisos%2F&ws=https%3A%2F%2Farchlinux32.vollzornbrot.de%2Farchisos%2F&ws=http%3A%2F%2Fmirror.archlinux32.org%2Farchisos%2F&ws=https%3A%2F%2Fmirror.archlinux32.org%2Farchisos%2F&ws=http%3A%2F%2Fmirror.archlinux32.oss%2Farchisos%2F&ws=https%3A%2F%2Find.mirror.archlinux32.org%2Farchisos%2F&ws=https%3A%2F%2Fmex.mirror.archlinux32.org%2Farchisos%2F&ws=http%3A%2F%2Fmirror.yandex.ru%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Fmirror.yandex.ru%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Fsgp.mirror.archlinux32.org%2Farchisos%2F&ws=http%3A%2F%2Farchlinux32.andreasbaumann.cc%2Farchisos%2F&ws=https%3A%2F%2F32.arlm.tyzoid.com%2Farchisos%2F&ws=https%3A%2F%2Fmirror.math.princeton.edu%2Fpub%2Farchlinux32%2Farchisos%2F"
- title="Magnet link">Magnet link for 2020.07.03 (i686 only) <img width="12" height="12" src="/static/magnet.29ed728b8ae4.png" alt=""/></a></li>
- <li><a href="magnet:?xt=urn:btih:e412c271ac825b42e8d94ccfae4aa02ceb554aac&dn=archlinux-2020.07.03-dual.iso&tr=http%3A%2F%2Farchlinux32.org%3A6969%2Fannounce&ws=http%3A%2F%2Farch32.mirrors.simplysam.us%2Farchisos%2F&ws=http%3A%2F%2Fmirror.datacenter.by%2Fpub%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Farchlinux32.mirror.roelf.org%2Farchisos%2F&ws=http%3A%2F%2Farchlinux32.vollzornbrot.de%2Farchisos%2F&ws=https%3A%2F%2Farchlinux32.vollzornbrot.de%2Farchisos%2F&ws=http%3A%2F%2Fmirror.archlinux32.org%2Farchisos%2F&ws=https%3A%2F%2Fmirror.archlinux32.org%2Farchisos%2F&ws=http%3A%2F%2Fmirror.archlinux32.oss%2Farchisos%2F&ws=https%3A%2F%2Find.mirror.archlinux32.org%2Farchisos%2F&ws=https%3A%2F%2Fmex.mirror.archlinux32.org%2Farchisos%2F&ws=http%3A%2F%2Fmirror.yandex.ru%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Fmirror.yandex.ru%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Fsgp.mirror.archlinux32.org%2Farchisos%2F&ws=http%3A%2F%2Farchlinux32.andreasbaumann.cc%2Farchisos%2F&ws=https%3A%2F%2F32.arlm.tyzoid.com%2Farchisos%2F&ws=https%3A%2F%2Fmirror.math.princeton.edu%2Fpub%2Farchlinux32%2Farchisos%2F"
- title="Magnet link">Magnet link for 2020.07.03 (dual bootable) <img width="12" height="12" src="/static/magnet.29ed728b8ae4.png"
+ <li><a href="magnet:?xt=urn:btih:d7c3da39d2978a6d254936532d66a6ebcb52800f&dn=archlinux32-2021.04.06-i686.iso&tr=http%3A%2F%2Farchlinux32.org%3A6969%2Fannounce&ws=http%3A%2F%2Fmirror.datacenter.by%2Fpub%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Fmirror.datacenter.by%2Fpub%2Farchlinux32%2Farchisos%2F&ws=http%3A%2F%2Farchlinux32.agoctrl.org%2Farchisos%2F&ws=https%3A%2F%2Farchlinux32.agoctrl.org%2Farchisos%2F&ws=http%3A%2F%2Fde.mirror.archlinux32.org%2Farchisos%2F&ws=https%3A%2F%2Fde.mirror.archlinux32.org%2Farchisos%2F&ws=http%3A%2F%2Fmirror.archlinux32.org%2Farchisos%2F&ws=https%3A%2F%2Fmirror.archlinux32.org%2Farchisos%2F&ws=http%3A%2F%2Fmirror.archlinux32.oss%2Farchisos%2F&ws=http%3A%2F%2Fgr.mirror.archlinux32.org%2Farchisos%2F&ws=http%3A%2F%2Fmirror.juniorjpdj.pl%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Fmirror.juniorjpdj.pl%2Farchlinux32%2Farchisos%2F&ws=http%3A%2F%2Fmirror.yandex.ru%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Fmirror.yandex.ru%2Farchlinux32%2Farchisos%2F&ws=http%3A%2F%2Fmirror.tversu.ru%2Farchlinux32%2Farchisos%2F&ws=http%3A%2F%2Fmirror.nw-sys.ru%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Fmirror.nw-sys.ru%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Farchlinux32.andreasbaumann.cc%2Farchisos%2F&ws=http%3A%2F%2Farchlinux32.andreasbaumann.cc%2Farchisos%2F&ws=https%3A%2F%2F32.arlm.tyzoid.com%2Farchisos%2F&ws=https%3A%2F%2Fmirror.math.princeton.edu%2Fpub%2Farchlinux32%2Farchisos%2F&ws=http%3A%2F%2Fmirror.math.princeton.edu%2Fpub%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Fmirror.clarkson.edu%2Farchlinux32%2Farchisos%2F&ws=http%3A%2F%2Fmirror.clarkson.edu%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Fmirror.bradiceanu.net%2Farchlinux32%2Farchisos%2F"
+ title="Magnet link">Magnet link for 2021.04.06 (i686 only) <img width="12" height="12" src="/static/magnet.29ed728b8ae4.png"
alt=""/></a></li>
- <li><a href="https://pool.mirror.archlinux32.org/archisos/archlinux-2020.08.04-i686.iso.torrent"
- title="Download torrent">Torrent for 2020.08.04 (i686 only) <img width="12" height="12" src="/static/download.301a2aacd2a2.png" alt=""/></a></li>
- <li><a href="https://pool.mirror.archlinux32.org/archisos/archlinux-2020.08.04-dual.iso.torrent"
- title="Download torrent">Torrent for 2020.08.04 (dual bootable) <img width="12" height="12" src="/static/download.301a2aacd2a2.png" alt=""/></a></li>
+ <li><strike><a href="magnet:?xt=urn:btih:e412c271ac825b42e8d94ccfae4aa02ceb554aac&dn=archlinux-2020.07.03-dual.iso&tr=http%3A%2F%2Farchlinux32.org%3A6969%2Fannounce&ws=http%3A%2F%2Farch32.mirrors.simplysam.us%2Farchisos%2F&ws=http%3A%2F%2Fmirror.datacenter.by%2Fpub%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Farchlinux32.mirror.roelf.org%2Farchisos%2F&ws=http%3A%2F%2Farchlinux32.vollzornbrot.de%2Farchisos%2F&ws=https%3A%2F%2Farchlinux32.vollzornbrot.de%2Farchisos%2F&ws=http%3A%2F%2Fmirror.archlinux32.org%2Farchisos%2F&ws=https%3A%2F%2Fmirror.archlinux32.org%2Farchisos%2F&ws=http%3A%2F%2Fmirror.archlinux32.oss%2Farchisos%2F&ws=https%3A%2F%2Find.mirror.archlinux32.org%2Farchisos%2F&ws=https%3A%2F%2Fmex.mirror.archlinux32.org%2Farchisos%2F&ws=http%3A%2F%2Fmirror.yandex.ru%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Fmirror.yandex.ru%2Farchlinux32%2Farchisos%2F&ws=https%3A%2F%2Fsgp.mirror.archlinux32.org%2Farchisos%2F&ws=http%3A%2F%2Farchlinux32.andreasbaumann.cc%2Farchisos%2F&ws=https%3A%2F%2F32.arlm.tyzoid.com%2Farchisos%2F&ws=https%3A%2F%2Fmirror.math.princeton.edu%2Fpub%2Farchlinux32%2Farchisos%2F"
+ title="Magnet link">Magnet link for 2021.02.01 (dual bootable) <img width="12" height="12" src="/static/magnet.29ed728b8ae4.png"
+ alt=""/></a></strike></li>
+ <li><a href="https://pool.mirror.archlinux32.org/archisos/archlinux32-2021.04.06-i686.iso.torrent"
+ title="Download torrent">Torrent for 2021.04.06 (i686 only) <img width="12" height="12" src="/static/download.301a2aacd2a2.png" alt=""/></a></li>
+ <li><strike><a href="https://pool.mirror.archlinux32.org/archisos/archlinux-2021.02.01-dual.iso.torrent"
+ title="Download torrent">Torrent for 2021.02.01 (dual bootable) <img width="12" height="12" src="/static/download.301a2aacd2a2.png" alt=""/></a></strike></li>
</ul>
<h3>HTTP Direct Downloads</h3>
@@ -102,15 +116,15 @@
<p>File integrity checksums for the latest releases can be found below:</p>
<ul>
- <li><a href="https://mirror.archlinux32.org/archisos/archlinux-2020.08.04-i686.iso.sig"
+ <li><a href="https://mirror.archlinux32.org/archisos/archlinux-2021.02.01-i686.iso.sig"
title="PGP signature">PGP signature (i686 only)</a></li>
- <li><a href="https://mirror.archlinux32.org/archisos/archlinux-2020.08.04-dual.iso.sig"
- title="PGP signature">PGP signature (dual bootable)</a></li>
+ <li><strike><a href="https://mirror.archlinux32.org/archisos/archlinux-2021.02.01-dual.iso.sig"
+ title="PGP signature">PGP signature (dual bootable)</a></strike></li>
<li><strong>PGP Key:</strong> <a href="http://www.archlinux32.org/buildmaster/gpg-keys.php?fp=33CA3597B0D161AAE4173F65C17F1214114574A4">33CA3597B0D161AAE4173F65C17F1214114574A4</a></li>
- <li><strong>MD5 (i686 only):</strong> b8bbf93ceda66bdc6c49434bbef6647a</li>
- <li><strong>MD5 (dual bootable):</strong> 9d4a9b3cc9b9f600c96ebfe84b743bcc</li>
- <li><strong>SHA512 (i686 only):</strong> e6425b532d43ada9e78286ea582f3622a727e1b9cda9a0d3b9a4be06319a3b942db87d09f8ad1b79909699b9ff97eafeefb7393663a548f811828f86db5405ca</li>
- <li><strong>SHA512 (dual bootable):</strong> ecbfd61e436a690479ae92cfca0a6bcce9ad876edbbd8c3455d5fb49596bd99a6c5a2db207a796f33b3410239c904a1a1e2cb062ff4bfc17bc3750c65fcb706f</li>
+ <li><strong>MD5 (i686 only):</strong> 575da7d4a1ab606b1ca97cc0ab417e7f</li>
+ <li><strike><strong>MD5 (dual bootable):</strong>a9786e209ed2d2cf1687a6c64f52881e</strike></li>
+ <li><strong>SHA512 (i686 only):</strong> 3a24d4517b5e0291c25606d6c1efcdb8a1db256adb489bcb7828b09988deffe0f0d99feae24b44701c4f2a4739613a88cff027c9717b4b4b0af3b65709d19a30</li>
+ <li><strike><strong>SHA512 (dual bootable):</strong>62c36f22d25cfc61c97db9b73a39daad1927f71a0d22bdc06bd877e3558a5dcace9b8d58335a5e8352aea6ef242be6a947646ac53b1d0718f0cf336976d53880</strike></li>
</ul>
<div id="download-mirrors">
@@ -173,22 +187,18 @@
</ul>
- <h5><span class="fam-flag fam-flag-in" title="India"></span> India</h5>
+ <h5><span class="fam-flag fam-flag-ru" title="Russia"></span> Russia</h5>
<ul>
- <li><a href="http://ind.mirror.archlinux32.org/archisos/"
- title="Download from http://ind.mirror.archlinux32.org/">ind.mirror.archlinux32.org</a></li>
-
- <li><a href="https://ind.mirror.archlinux32.org/archisos/"
- title="Download from https://ind.mirror.archlinux32.org/">ind.mirror.archlinux32.org</a></li>
+ <li><a href="http://mirror.nw-sys.ru/archlinux32/archisos/"
+ title="Download from http://mirror.nw-sys.ru/archlinux32/">mirror.nw-sys.ru</a></li>
+ <li><a href="https://mirror.nw-sys.ru/archlinux32/archisos/"
+ title="Download from https://mirror.nw-sys.ru/archlinux32/">mirror.nw-sys.ru</a></li>
- </ul>
-
- <h5><span class="fam-flag fam-flag-ru" title="Russia"></span> Russia</h5>
-
- <ul>
+ <li><a href="http://mirror.tversu.ru/archlinux32/archisos/"
+ title="Download from http://mirror.tversu.ru/archlinux32/">mirror.tversu.ru</a></li>
<li><a href="http://mirror.yandex.ru/archlinux32/archisos/"
title="Download from http://mirror.yandex.ru/archlinux32/">mirror.yandex.ru</a></li>
@@ -216,8 +226,8 @@
<ul>
- <li><a href="https://32.arlm.tyzoid.com/archisos/"
- title="Download from https://32.arlm.tyzoid.com/">32.arlm.tyzoid.com</a></li>
+ <li><a href="https://mirror.bradiceanu.net/archlinux32/archisos/"
+ title="Download from https://mirror.bradiceanu.net/archlinux32/">mirror.bradiceanu.net</a></li>
<li><a href="http://mirror.clarkson.edu/archlinux32/archisos/"
title="Download from http://mirror.clarkson.edu/archlinux32/">mirror.clarkson.edu</a></li>
diff --git a/index.php b/index.php
index cca24ce..034133c 100644
--- a/index.php
+++ b/index.php
@@ -53,10 +53,10 @@ print_header("", "home");
Instructions for the transition from Arch Linux to Arch Linux 32 can be found <a href="/download">here</a>.
</p>
<p>
- Installation media which boot on x86_64 and i686 can be found <a href="https://mirror.archlinux32.org/archisos">here</a>.
+ Installation media which boot on i686 can be found <a href="https://mirror.archlinux32.org/archisos">here</a>.
</p>
<p>
- Join us on <a href="https://webchat.freenode.net/">#archlinux32</a> IRC channel on Freenode, check out our
+ Join us on <a href="ircs://irc.libera.chat/archlinux32">#archlinux32</a> IRC channel on Libera, check out our
<a href="https://bbs.archlinux32.org/" title="Arch 32 Forums">forums</a>
or subscribe to the <a href="https://lists.archlinux.org/listinfo/arch-ports"
title="Arch-Ports Mailing Lists">mailing list</a>
@@ -73,31 +73,8 @@ print_header("", "home");
<a href="https://bbs.archlinux32.org/extern.php?action=feed&fid=12&type=atom" title="Arch 32 News RSS Feed" class="rss-icon"><img width="16" height="16" src="/static/rss.c5ebdc5318d6.png" alt="RSS Feed" /></a>
<?php
-$news_reachable = apcu_fetch('news_reachable', $apcu_success);
-if ($apcu_success == false) {
- if (site_is_reachable('https://bbs.archlinux32.org/extern.php?action=feed&fid=12&type=atom'))
- $news_reachable = 'YES';
- else
- $news_reachable = 'NO';
- apcu_store('news_reachable', $news_reachable, 300);
-}
-if ($news_reachable == 'YES') {
- $ch = curl_init('https://bbs.archlinux32.org/extern.php?action=feed&fid=12&type=atom');
- curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- $news32 = curl_exec($ch);
- curl_close($ch);
- $news32 = simplexml_load_string($news32);
-} else {
- $news32 = false;
-}
-
-$ch = curl_init("https://www.archlinux.org/feeds/news/");
-curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
-$news64 = curl_exec($ch);
-curl_close($ch);
-$news64 = simplexml_load_string($news64);
+$news32 = get_news('news32', 'https://bbs.archlinux32.org/extern.php?action=feed&fid=12&type=atom', 300);
+$news64 = get_news('news64', 'https://archlinux.org/feeds/news/', 300);
$news = array();
diff --git a/lib/helper.php b/lib/helper.php
index a81eedf..ad089bf 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -143,7 +143,7 @@ function if_unset($array, $index, $default) {
};
function site_is_reachable($url) {
- $stream_context = stream_context_create(array('timeout' => 10));
+ $stream_context = stream_context_create(array('http' => array('timeout' => 10)));
$headers = get_headers($url, 0, $stream_context);
if (is_array($headers))
foreach ($headers as $header) {
@@ -156,6 +156,51 @@ function site_is_reachable($url) {
return false;
}
+function get_news($name, $url, $ttl) {
+ // clear cache if you have to push out new news fast, otherwise wait for $ttl seconds
+ //apcu_clear_cache();
+
+ $news = apcu_fetch($name, $apcu_success);
+ if( $apcu_success == false ) {
+ $news_reachable = apcu_fetch($name."_reachable", $apcu_success);
+ if ($apcu_success == false) {
+ if (site_is_reachable($url)) {
+ $news_reachable = 'YES';
+ } else {
+ $news_reachable = 'NO';
+ }
+ apcu_store($name."_reachable", $news_reachable, $ttl);
+ }
+ if ($news_reachable == 'YES') {
+ $ch = curl_init($url);
+ if( $ch != null && $ch != false ) {
+ curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
+ curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
+ curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
+ curl_setopt($ch, CURLOPT_VERBOSE,1);
+ $news = curl_exec($ch);
+ $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
+ curl_close($ch);
+ if( $httpcode >= 200 && $httpcode < 300 ) {
+ apcu_store($name, $news, $ttl);
+ } else {
+ $news = false;
+ }
+ } else {
+ $news = false;
+ }
+ } else {
+ $news = false;
+ }
+ }
+ if ($news != false) {
+ $news = simplexml_load_string($news);
+ }
+ return $news;
+}
+
function add_fancy_unit($value, $unit) {
$suffixes = array("z", "y", "a", "f", "p", "n", "µ", "m", "", "k", "M", "G", "T", "P", "Y", "Z");
if ($value==0)
diff --git a/lib/style.php b/lib/style.php
index a1d9b2b..e1b7fcd 100644
--- a/lib/style.php
+++ b/lib/style.php
@@ -47,7 +47,7 @@ function print_footer() {
<div id="footer">
<p>
Copyright © 2002-2019 <a href="mailto:jvinet@zeroflux.org" title="Contact Judd Vinet">Judd Vinet</a> and <a href="mailto:aaron@archlinux.org" title="Contact Aaron Griffin">Aaron Griffin</a>.
- Copyright © 2018-2020 <a href="mailto:arch@eckner.net" title="Contact Erich Eckner">Erich Eckner</a>.
+ Copyright © 2018-2021 <a href="mailto:arch@eckner.net" title="Contact Erich Eckner">Erich Eckner</a>.
</p>
<p>
The Arch Linux name and logo are recognized <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:TrademarkPolicy" title="Arch Linux Trademark Policy">trademarks</a>. Some rights reserved.
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index bf6812c..a66fb68 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -376,10 +376,23 @@ require_once BASE . "/lib/style.php";
" WHERE `original`.`id`=" . $mysql_content["id"]
);
+
$elsewhere = array();
while ($row = $mysql_result -> fetch_assoc())
$elsewhere[] = $row;
+ // blacklist entry
+ $mysql_result = mysql_run_query( "select distinct architectures.name as architecture, " .
+ "package_sources.pkgbase as pkgname, " .
+ "is_black_listed as reason " .
+ "from architectures,package_sources,build_assignments " .
+ "where package_sources.id=package_source and architecture=architectures.id and " .
+ "package_sources.pkgbase='" . $_GET["pkgname"] . "' and is_black_listed is not null and " .
+ "architectures.name='" . $_GET["repo_arch"] . "'" );
+ $blacklists = array();
+ while ($row = $mysql_result -> fetch_assoc())
+ $blacklists[] = $row;
+
print_header($content["pkgname"] . " " . $content["version"] . " (" . $content["arch"] . ")");
?>
@@ -630,6 +643,24 @@ if ($count > 1 || $content["pkgname"] != $content["pkgbase"]) {
<?php print $content["last_moved"]."\n"; ?>
</td>
</tr>
+<?php
+ if (count($blacklists)>0) {
+ print <<<EOF
+ <tr>
+ <th>
+ Blacklisted:
+ </th>
+ <td>
+EOF;
+ foreach ($blacklists as $blacklist) {
+ print $blacklist["reason"];
+ }
+ print <<<EOF
+ </td>
+ </tr>
+EOF;
+ }
+?>
</table>
</div>
<div id="metadata">
diff --git a/robots.txt b/robots.txt
index fd3ab65..5e59c5a 100644
--- a/robots.txt
+++ b/robots.txt
@@ -1,14 +1,14 @@
User-agent: *
-Disallow: buildmaster/build-list-links.php
-Disallow: buildmaster/build-list.php
-Disallow: buildmaster/build-log.php
-Disallow: buildmaster/build-slaves.php
-Disallow: buildmaster/deletion-links.php
-Disallow: buildmaster/dependencies.php
-Disallow: buildmaster/execution-times.php
-Disallow: buildmaster/log.php
-Disallow: buildmaster/mysql-issues.php
-Disallow: buildmaster/statistics.php
-Disallow: buildmaster/status.php
-Disallow: buildmaster/to-delete.php
-Disallow: packages/differences/
+Disallow: /buildmaster/build-list-links.php
+Disallow: /buildmaster/build-list.php
+Disallow: /buildmaster/build-log.php
+Disallow: /buildmaster/build-slaves.php
+Disallow: /buildmaster/deletion-links.php
+Disallow: /buildmaster/dependencies.php
+Disallow: /buildmaster/execution-times.php
+Disallow: /buildmaster/log.php
+Disallow: /buildmaster/mysql-issues.php
+Disallow: /buildmaster/statistics.php
+Disallow: /buildmaster/status.php
+Disallow: /buildmaster/to-delete.php
+Disallow: /packages/ \ No newline at end of file
diff --git a/static/archnav32.svg b/static/archnav32.svg
new file mode 100644
index 0000000..bc1c144
--- /dev/null
+++ b/static/archnav32.svg
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg width="230" height="40" version="1.0" viewBox="0 -172 713 124" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <metadata>
+ <rdf:RDF>
+ <cc:Work rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g transform="matrix(.7 0 0 .7 -37.867 -272.53)">
+ <g transform="matrix(.87464 0 0 .87464 14.731 23.409)">
+ <g transform="matrix(1.0034 0 0 1.0034 -35.474 -116.46)" fill="#fff" fill-rule="evenodd">
+ <path d="m339.97 309.09c-14.471-0.0239-26.481 2.9437-31.125 4.5625l-4.7812 25.812c-0.0116 0.0951 23.795-6.3486 34.281-5.9688 17.362 0.62381 18.959 6.6354 18.656 14.75 0.29595 0.47462-4.4793-7.3319-19.5-7.5938-18.95-0.32687-45.693 6.7095-45.656 35.312-0.51086 32.174 24.034 41.639 40.75 41.812 15.028-0.27364 22.078-5.6914 25.938-8.5938 5.0712-5.3024 10.873-10.634 16.406-17.031-5.2357 9.5128-9.7747 16.09-14.5 21.125v4.25l22.844-3.8438 0.15625-62.094c-0.23141-8.7884 5.0412-42.418-43.469-42.5zm-3.2812 54.062c9.4689 0.12995 20.328 4.7971 20.344 16.031 0.049 10.218-12.8 15.712-21.156 15.625-8.3598-0.0868-19.451-6.5698-19.5-16.531 0.16016-8.9044 10.46-15.354 20.312-15.125z"/>
+ <path d="m398.5 314.83-0.15505 102.83 26.612-5.1272 0.0449-58.302c6e-3 -8.6809 12.406-18.825 27.963-18.663 3.302-5.9741 9.5087-21.242 11.021-24.715-34.756-0.0833-35.199 9.9899-41.244 14.945-0.0631-9.4528-0.0213-15.127-0.0213-15.127l-24.22 4.1621z"/>
+ <path d="m548.27 328.33c-0.25696-0.12068-13.879-15.934-41.266-16.059-25.652-0.42638-54.426 9.519-54.886 52.533 0.22457 37.819 27.64 52.598 55.031 52.886 29.313 0.30451 40.977-18.329 41.676-18.791-3.4976-3.0321-16.598-16.013-16.598-16.013s-8.1824 11.651-24.058 11.799c-15.879 0.1512-29.682-12.273-29.878-29.609-0.20349-17.336 12.689-26.728 29.997-27.487 14.985-3e-3 23.63 9.6733 23.63 9.6733z"/>
+ <path d="m581.81 278.84-25.125 5.9062 0.1875 133.94 24.75-4.4688 0.28125-63.031c0.0529-6.6093 9.5613-16.759 25.438-16.438 15.18 0.15775 18.572 10.118 18.531 11.375l0.4375 72.969 24.406-4.3125 0.0937-77.375c0.1607-7.4454-16.308-23.17-42.781-23.281-12.581 0.0202-19.548 2.8682-23.094 4.9688-6.0666 4.6856-13 9.1754-19.812 14.906 6.2981-8.091 11.586-13.685 16.75-17.844l-0.0625-37.312z"/>
+ </g>
+ <g transform="matrix(1.4854 0 .021021 1.4854 24.81 -769.96)" fill="#1793d1" fill-rule="evenodd">
+ <path d="m400.68 629.8 7.6817-1.9158-0.92851 91.208-7.7957 1.3243z"/>
+ <path d="m421.1 657.02 6.7506-2.9867-0.86808 65.399-6.4978 1.3392zm-1.2606-23.583 5.4717-4.4153 4.4226 4.9995-5.4756 4.5322z"/>
+ <path d="m440.44 655.83 7.6776-1.562-0.1573 13.672c-7e-3 0.58717 4.4194-15.274 24.685-14.921 19.68 0.10952 22.684 15.346 22.529 18.762l-0.43759 48.078-6.7304 1.4563 0.63316-47.489c0.0974-1.3868-2.8814-13.114-16.789-13.158-13.905-0.0404-23.684 10.1-23.758 16.579l-0.48127 41.835-7.8039 2.0313z"/>
+ <path d="m561.53 720.2-7.6776 1.5619 0.15737-13.672c7e-3 -0.58742-4.422 15.274-24.685 14.921-19.68-0.10944-22.684-15.346-22.529-18.762l0.43757-48.079 8.1567-1.6423-0.54644 47.49c-0.0149 1.2968 1.3684 13.3 15.276 13.343 13.905 0.0405 23.766-8.3736 24.015-21.044l0.43105-37.469 7.5978-1.932z"/>
+ <path d="m577.45 655.29-5.4272 4.2002 20.199 26.933-22.391 31.116 5.635 4.226 21.044-28.897 20.878 29.582 5.3273-4.201-22.376-31.629 18.57-25.578-5.5319-4.7343-16.921 23.668z"/>
+ </g>
+ <path d="m146.08 140.35c-8.7954 21.564-14.1 35.669-23.893 56.592 6.004 6.3642 13.374 13.776 25.342 22.146-12.867-5.2947-21.644-10.611-28.203-16.127-12.533 26.151-32.167 63.402-72.013 135 31.317-18.08 55.594-29.226 78.218-33.48-0.97151-4.1784-1.5239-8.6982-1.4863-13.414l0.0372-1.0033c0.49693-20.064 10.934-35.493 23.298-34.446 12.364 1.0476 21.974 18.172 21.478 38.236-0.0935 3.7754-0.51932 7.4074-1.2634 10.776 22.379 4.3777 46.396 15.496 77.289 33.331-6.0916-11.215-11.529-21.325-16.721-30.953-8.1789-6.3392-16.71-14.59-34.111-23.521 11.961 3.1079 20.525 6.6936 27.2 10.702-52.793-98.29-57.068-111.35-75.171-153.84z" fill="#1793d1" fill-rule="evenodd"/>
+ <g transform="matrix(3.8808 0 0 3.8808 -1673.1 -734.12)" fill="#808080">
+ <path d="m685.47 263.84v-5.3294h-1.9908v-0.71307h4.7895v0.71307h-1.9991v5.3294h-0.79962"/>
+ <path d="m689.1 263.84v-6.0425h1.2036l1.4303 4.2784c0.13189 0.39843 0.22806 0.69658 0.28852 0.89442 0.0687-0.21983 0.17586-0.5427 0.3215-0.96862l1.4467-4.2042h1.0758v6.0425h-0.77077v-5.0574l-1.7559 5.0574h-0.72131l-1.7476-5.144v5.144h-0.77077"/>
+ </g>
+ <g transform="rotate(-14.298 557.41 350.51)" fill="#fff">
+ <path d="m1027.4 301.59v16.333h53.9v-16.333zm53.9 16.333v40.833h17.967v-40.833zm0 40.833h-35.933v16.333h35.933zm0 16.333v40.833h17.967v-40.833zm0 40.833h-53.9v16.333h53.9z" style="paint-order:normal"/>
+ <path d="m1138.7 301.59v16.333h35.933v-16.333zm35.933 16.333v40.833h17.967v-40.833zm0 40.833h-17.967v18.375h17.967zm-17.967 18.375h-17.967v18.375h17.967zm-17.967 18.375h-17.967v36.75h71.867v-16.333h-53.9zm0-77.583h-17.967v16.333h17.967z" style="paint-order:normal"/>
+ </g>
+ </g>
+ </g>
+</svg>