OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-web, openpkg-doc Date: 19-Dec-2002 11:52:46
Branch: HEAD Handle: 2002121910524303
Modified files:
openpkg-doc/handbook Makefile openpkg.xml
openpkg-web .htaccess about.wml download.wml events.txt
events.wml index.wml news.rdf.mk news.wml page.inc
releng.wml security.wml status.cgi status.wml
openpkg-web/cvsweb cvsweb.wml
openpkg-web/dep vdg.pl
Log:
commit pending changes to CVS
Summary:
Revision Changes Path
1.17 +1 -1 openpkg-doc/handbook/Makefile
1.61 +2 -2 openpkg-doc/handbook/openpkg.xml
1.2 +11 -0 openpkg-web/.htaccess
1.14 +2 -3 openpkg-web/about.wml
1.2 +12 -7 openpkg-web/cvsweb/cvsweb.wml
1.8 +1 -1 openpkg-web/dep/vdg.pl
1.2 +52 -23 openpkg-web/download.wml
1.21 +3 -4 openpkg-web/events.txt
1.4 +1 -3 openpkg-web/events.wml
1.37 +3 -3 openpkg-web/index.wml
1.4 +1 -1 openpkg-web/news.rdf.mk
1.4 +4 -0 openpkg-web/news.wml
1.25 +1 -1 openpkg-web/page.inc
1.3 +75 -0 openpkg-web/releng.wml
1.25 +1 -1 openpkg-web/security.wml
1.3 +54 -11 openpkg-web/status.cgi
1.4 +1 -1 openpkg-web/status.wml
____________________________________________________________________________
Index: openpkg-doc/handbook/Makefile
============================================================
$ cvs diff -u -r1.16 -r1.17 Makefile
--- openpkg-doc/handbook/Makefile 12 Jul 2002 09:34:56 -0000 1.16
+++ openpkg-doc/handbook/Makefile 19 Dec 2002 10:52:46 -0000 1.17
@@ -1,5 +1,5 @@
-OPENPKG = /cw
+OPENPKG = /e/openpkg/sw
BINDIR = $(OPENPKG)/bin
SHTOOL = $(BINDIR)/shtool
Index: openpkg-doc/handbook/openpkg.xml
============================================================
$ cvs diff -u -r1.60 -r1.61 openpkg.xml
--- openpkg-doc/handbook/openpkg.xml 11 Dec 2002 10:41:30 -0000 1.60
+++ openpkg-doc/handbook/openpkg.xml 19 Dec 2002 10:52:46 -0000 1.61
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE book
- PUBLIC '-//OASIS//DTD DocBook XML V4.1.2//EN'
- '/cw/share/sgml/docbook-dtd-xml/docbookx.dtd'>
+ PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "/e/openpkg/sw/share/sgml/docbook-dtd-xml/docbookx.dtd">
<!-- For DocBook see http://docbook.org/tdg/en/html/docbook.html -->
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
Index: openpkg-web/.htaccess
============================================================
$ cvs diff -u -r1.1.1.1 -r1.2 .htaccess
--- openpkg-web/.htaccess 28 Aug 2001 12:57:50 -0000 1.1.1.1
+++ openpkg-web/.htaccess 19 Dec 2002 10:52:43 -0000 1.2
@@ -1,3 +1,14 @@
Options +ExecCGI
+<Files webtrends.pw>
+ Order deny,allow
+ Deny from all
+</Files>
+<Files webtrends.cgi>
+ Require valid-user
+ AuthType Basic
+ AuthName "Webtrends"
+ AuthUserFile /e/openpkg/web/webtrends.pw
+</Files>
+
Index: openpkg-web/about.wml
============================================================
$ cvs diff -u -r1.13 -r1.14 about.wml
--- openpkg-web/about.wml 11 Nov 2002 13:11:14 -0000 1.13
+++ openpkg-web/about.wml 19 Dec 2002 10:52:43 -0000 1.14
@@ -94,7 +94,8 @@
<define-tag person2>
<tr>
<td><b>%0</b></td>
- <td align=right> <<a href="mailto:%1">%1</a>></td>
+ #<td align=right> <<a href="mailto:%1">%1</a>></td>
+ <td align=right> </td>
</tr>
</define-tag>
<table cellspacing=0 cellpadding=0 border=0>
@@ -116,14 +117,12 @@
<person2 "Joerg Lehrke" "[EMAIL PROTECTED]">
<person2 "Richard Maier" "[EMAIL PROTECTED]">
<person2 "Christian Muschiol" "[EMAIL PROTECTED]">
- <person2 "Petra M�ller" "[EMAIL PROTECTED]">
<person2 "J�rg Pichel" "[EMAIL PROTECTED]">
<person2 "Thomas Rohde" "[EMAIL PROTECTED]">
<person2 "Markus Sander" "[EMAIL PROTECTED]">
<person2 "J�rgen Sch�dlich" "[EMAIL PROTECTED]">
<person2 "Christian Scheithauer" "[EMAIL PROTECTED]">
<person2 "Andrea Sikeler" "[EMAIL PROTECTED]">
- <person2 "Diana Stricker" "[EMAIL PROTECTED]">
<person2 "Alexander W�gner" "[EMAIL PROTECTED]">
<person2 "Robert Watson" "[EMAIL PROTECTED]">
<person2 "Robert Weilhammer" "[EMAIL PROTECTED]">
Index: openpkg-web/cvsweb/cvsweb.wml
============================================================
$ cvs diff -u -r1.1 -r1.2 cvsweb.wml
--- openpkg-web/cvsweb/cvsweb.wml 29 Aug 2001 13:29:37 -0000 1.1
+++ openpkg-web/cvsweb/cvsweb.wml 19 Dec 2002 10:52:45 -0000 1.2
@@ -8,13 +8,18 @@
<h1>CVS Repository</h1>
-This is a web-interface to the OpenPKG CVS repository. You can browse
-the file hierarchy by picking directories (which have slashes after
-them). If you pick a file, you will see the revision history for that
-file. Selecting a revision number will download that revision of the
-file. There is a link at each revision to display diffs between that
-revision and the previous one, and a form at the bottom of the page that
-allows you to display diffs between arbitrary revisions.
+This is a web-interface to the OpenPKG <a
+href="http://www.cvshome.org/">CVS</a> repository. You can browse the file
+hierarchy by picking directories (which have slashes after them). If you pick
+a file, you will see the revision history for that file. Selecting a revision
+number will download that revision of the file. There is a link at each
+revision to display diffs between that revision and the previous one, and a
+form at the bottom of the page that allows you to display diffs between
+arbitrary revisions.
+
+<p>
+Alternatively, you can access the OpenPKG CVS repository via Anonymous-CVS as
+described on the <a href="/contrib.html">Contribution</a> page.
</intro>
Index: openpkg-web/dep/vdg.pl
============================================================
$ cvs diff -u -r1.7 -r1.8 vdg.pl
--- openpkg-web/dep/vdg.pl 10 Jul 2002 12:56:18 -0000 1.7
+++ openpkg-web/dep/vdg.pl 19 Dec 2002 10:52:45 -0000 1.8
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/e/openpkg/sw/bin/perl
#
# Usage: vdg.pl -f <format> [-t <treepoint>]
# format: vcg for use with xvcg
Index: openpkg-web/download.wml
============================================================
$ cvs diff -u -r1.1 -r1.2 download.wml
--- openpkg-web/download.wml 10 Jan 2002 15:53:00 -0000 1.1
+++ openpkg-web/download.wml 19 Dec 2002 10:52:43 -0000 1.2
@@ -12,42 +12,71 @@
distributions are currently available for download:
<ul>
- <li><a href="ftp://ftp.openpkg.org/release/1.0/"><font size=+2>OpenPKG
1.0</font></a><br>
- This is the official OpenPKG 1.0 release version from 11-Jan-2002.
- It is considered stable and so use it on production systems.
+ <li><a href="ftp://ftp.openpkg.org/current/"><font color="#cc3333"
size=+2>OpenPKG CURRENT</font></a><br>
+ This is the development series of OpenPKG. It is considered
+ potentially unstable, so use it on development systems only. It
+ should be used on production systems with great care and on your
+ own risk.
<p>
<ul>
- <li><a href="ftp://ftp.openpkg.org/release/1.0/UPD/">OpenPKG 1.0
Updates</a><br>
- These are updates for the OpenPKG 1.0-RELEASE source packages
- made from the OpenPKG 1.0-SOLID branch. Always upgrade your installation
+ <li><a href="ftp://ftp.openpkg.org/current/SRC/">OpenPKG CURRENT
Source</a><br>
+ These are the OpenPKG CURRENT source packages, the only resource
+ available from the CURRENT branch.
+ </ul>
+ <p>
+ <li><a href="ftp://ftp.openpkg.org/release/1.1/"><font color="#339933"
size=+2>OpenPKG 1.1</font></a><br>
+ This is the official OpenPKG 1.1 release version from 28-Aug-2002.
+ It is considered stable and should be used on production systems.
+ <p>
+ <ul>
+ <li><a href="ftp://ftp.openpkg.org/release/1.1/UPD/">OpenPKG 1.1
Updates</a><br>
+ These are updates for the OpenPKG 1.1-RELEASE source packages
+ made from the OpenPKG 1.1-SOLID branch. Always upgrade your installation
to the latest solid state with these packages. This distribution
part grows on demand.
<p>
- <li><a href="ftp://ftp.openpkg.org/release/1.0/SRC/">OpenPKG 1.0
Source</a><br>
- These are the OpenPKG 1.0 source packages, the primary resource for
- installing OpenPKG. This distribution part is fixed.
+ <li><a href="ftp://ftp.openpkg.org/release/1.1/SRC/">OpenPKG 1.1
Source</a><br>
+ These are the OpenPKG 1.0 source packages of class CORE and
+ BASE, the primary resource for installing OpenPKG. This
+ distribution part is fixed. Additionally, packages of class PLUS
+ are <a href="ftp://ftp.openpkg.org/release/1.1/SRC/PLUS/">provided</a>
+ for your convenience, too.
<p>
- <li><a href="ftp://ftp.openpkg.org/release/1.0/BIN/">OpenPKG 1.0
Binary</a><br>
- These are the OpenPKG 1.0 binary packages for a <tt>/cw</tt>
- filesystem hierarchy, built for FreeBSD 4.4, Debian GNU/Linux 2.2
- and Solaris 2.8. Use these for bootstrapping and time-critical
+ <li><a href="ftp://ftp.openpkg.org/release/1.1/BIN/">OpenPKG 1.1
Binary</a><br>
+ These are the OpenPKG 1.1 CORE and BASE class binary packages for a
<tt>/cw</tt>
+ filesystem hierarchy, built for
+ <a href="ftp://ftp.openpkg.org/release/1.1/BIN/freebsd-4.6">FreeBSD
4.6</a>,
+ <a href="ftp://ftp.openpkg.org/release/1.1/BIN/redhat-7.2/">RedHat
Linux 7.2</a>,
+ <a href="ftp://ftp.openpkg.org/release/1.1/BIN/debian-2.2/">Debian
GNU/Linux 2.2</a>,
+ <a href="ftp://ftp.openpkg.org/release/1.1/BIN/debian-3.0/">Debian
GNU/Linux 3.0</a>,
+ <a href="ftp://ftp.openpkg.org/release/1.1/BIN/solaris-8/">Solaris
8</a> and
+ <a href="ftp://ftp.openpkg.org/release/1.1/BIN/solaris-9/">Solaris
9</a>.
+ Use these for bootstrapping and time-critical
emergency situations only. This distribution part is fixed.
+ We do not provide corresponding binary packages for PLUS class source
packages.
<p>
- <li><a href="ftp://ftp.openpkg.org/release/1.0/ISO/">OpenPKG 1.0 ISO-9660
Images</a><br>
- These are ISO-9660 images of the OpenPKG 1.0 Updates, Source and Binary
+ <li><a href="ftp://ftp.openpkg.org/release/1.1/ISO/">OpenPKG 1.1 ISO-9660
Images</a><br>
+ These are ISO-9660 images of the OpenPKG 1.1 Updates, Source and Binary
distribution parts. They are provided for convinience reasons only.
- Use them if you need to carry OpenPKG 1.0 with you on CDROM.
+ Use them if you need to carry OpenPKG 1.1 with you on CDROM. The whole
+ release data is split into three CDROMs:
+ <a
href="ftp://ftp.openpkg.org/release/1.1/ISO/OpenPKG-1.1-RELEASE-SRC.iso">Source</a>,
+ <a
href="ftp://ftp.openpkg.org/release/1.1/ISO/OpenPKG-1.1-RELEASE-BIN1.iso">Binary
1/2</a> (FreeBSD and Solaris),
+ <a
href="ftp://ftp.openpkg.org/release/1.1/ISO/OpenPKG-1.1-RELEASE-BIN2.iso">Binary
2/2</a> (RedHat and Debian Linux).
</ul>
<p>
- <li><a href="ftp://ftp.openpkg.org/current/"><font size=+2>OpenPKG
CURRENT</font></a><br>
- This is the development series of OpenPKG. It is
- It is considered potentially unstable, so use it on development systems only.
- It should be used on production systems with great care and on your own risk.
+ <li><a href="ftp://ftp.openpkg.org/release/1.0/"><font color="#666699"
size=+2>OpenPKG 1.0</font></a><br>
+ This is the official OpenPKG 1.0 release version from 11-Jan-2002.
+ It is considered stable but now obsoleted by OpenPKG 1.1. Please
+ do not any longer deploy on production systems and instead
+ consider upgrading existing installations to OpenPKG 1.1. Support
+ will be dropped soon.
<p>
<ul>
- <li><a href="ftp://ftp.openpkg.org/current/SRC/">OpenPKG CURRENT
Source</a><br>
- These are the OpenPKG CURRENT source packages, the only resource
- available from the CURRENT branch.
+ <li><a href="ftp://ftp.openpkg.org/release/1.0/UPD/">OpenPKG 1.0
Updates</a><br>
+ <li><a href="ftp://ftp.openpkg.org/release/1.0/SRC/">OpenPKG 1.0
Source</a><br>
+ <li><a href="ftp://ftp.openpkg.org/release/1.0/BIN/">OpenPKG 1.0
Binary</a><br>
+ <li><a href="ftp://ftp.openpkg.org/release/1.0/ISO/">OpenPKG 1.0 ISO-9660
Images</a><br>
</ul>
</ul>
Index: openpkg-web/events.txt
============================================================
$ cvs diff -u -r1.20 -r1.21 events.txt
--- openpkg-web/events.txt 15 Jul 2002 11:25:17 -0000 1.20
+++ openpkg-web/events.txt 19 Dec 2002 10:52:43 -0000 1.21
@@ -1,4 +1,3 @@
-31-Jul-2002: OpenPKG 1.1-RELEASE
-15-Sep-2002: OpenPKG 1.2-RELEASE
-15-Nov-2002: OpenPKG 1.3-RELEASE
-15-Dec-2002: OpenPKG 1.4-RELEASE
+Q4/2002: SysAdmin Magazine Article
+Q4/2002: OpenPKG 1.2-RELEASE
+Q1/2003: OpenPKG 2.0-RELEASE
Index: openpkg-web/events.wml
============================================================
$ cvs diff -u -r1.3 -r1.4 events.wml
--- openpkg-web/events.wml 14 Aug 2002 20:45:31 -0000 1.3
+++ openpkg-web/events.wml 19 Dec 2002 10:52:43 -0000 1.4
@@ -9,9 +9,7 @@
schedule is just a declaration of intent and will <i>not</i> force a hasty
release for purposes of meeting a target milestone. Nevertheless we will
try hard to stay on schedule.
-<p>
-<h2>OpenPKG v1.1 <a href="releng.html">release engineering</a> package building
-<a href="status.cgi">status</a> report.</h2>
+
<p>
<newsflash from="events.txt" nohead>
Index: openpkg-web/index.wml
============================================================
$ cvs diff -u -r1.36 -r1.37 index.wml
--- openpkg-web/index.wml 16 Oct 2002 19:16:14 -0000 1.36
+++ openpkg-web/index.wml 19 Dec 2002 10:52:43 -0000 1.37
@@ -27,7 +27,7 @@
<box bgcolor="#cc3333" bdcolor="#ffffff" bdwidth=1 bdspace=15>
<a href="http://www.samag.com/"><font size=+1 color="#fff0f0">
<font color="#ffffff">SysAdmin</font></a> article online<i>!</i></font><br>
-<a href="http://www.samag.com/documents/s=7666/sam0211a/0211a.htm"><font size=+1
color="#fff0f0">Read it now...</font></a>
+<a href="http://www.sysadminmag.com/documents/sam0211a/"><font size=+1
color="#fff0f0">Read it now...</font></a>
</box>
</box>
@@ -63,8 +63,8 @@
system.
<p>
-As of March 2002, OpenPKG consists of over <b>40,000</b> lines of
-polished RPM package specifications, resulting in over <b>380</b> freely
+As of December 2002, OpenPKG consists of over <b>48,000</b> lines of
+polished RPM package specifications, resulting in over <b>440</b> freely
available individual packages. At the end of a typical development cycle,
OpenPKG is released with CORE, BASE, and PLUS package subsets. OpenPKG 1.1
includes <b>274</b> such packages, for example.
Index: openpkg-web/news.rdf.mk
============================================================
$ cvs diff -u -r1.3 -r1.4 news.rdf.mk
--- openpkg-web/news.rdf.mk 20 Jan 2002 10:29:27 -0000 1.3
+++ openpkg-web/news.rdf.mk 19 Dec 2002 10:52:43 -0000 1.4
@@ -7,7 +7,7 @@
my $txt = '';
open(FP, "<news.txt");
$txt .= $_ while (<FP>);
-$txt =~ s|^(([^\n]+\n){10}).*$|$1|s;
+$txt =~ s|^(([^\n]+\n){15}).*$|$1|s;
close(FP);
my $rdf = '';
Index: openpkg-web/news.wml
============================================================
$ cvs diff -u -r1.3 -r1.4 news.wml
--- openpkg-web/news.wml 28 Aug 2002 15:31:18 -0000 1.3
+++ openpkg-web/news.wml 19 Dec 2002 10:52:43 -0000 1.4
@@ -28,6 +28,10 @@
<li>bugdb with web form and mailing list tracking</li>
</ul>
<p>
+For upgrading, please pay attention to the <a
+href="http://cvs.openpkg.org/openpkg-adm/upgrade.txt">known upgrading
+issues</a>. If an important issue is still missing, please
+submit it via <a href="/bugdb/guest">Bug Database</a>.
<h2>Newsflash</h2>
<a href="newsflash.html">complete history</a>
Index: openpkg-web/page.inc
============================================================
$ cvs diff -u -r1.24 -r1.25 page.inc
--- openpkg-web/page.inc 2 Aug 2002 15:20:18 -0000 1.24
+++ openpkg-web/page.inc 19 Dec 2002 10:52:43 -0000 1.25
@@ -213,7 +213,7 @@
<navbar:button id=releng url="releng.html" txt="Release Engineering">
#<navbar:button id=pkg url="pkg.cgi" txt="Package Repository">
<navbar:button id=download url="download.html" txt="Download Area">
- <navbar:button id=cvsweb url="cvsweb/cvsweb.cgi" txt="CVS Repository">
+ <navbar:button id=cvs url="http://cvs.openpkg.org/"
txt="CVS Repository">
<navbar:button id=contrib url="contrib.html" txt="Contribution">
<navbar:button id=bugdb url="bugdb.html" txt="Bug Database">
<navbar:button id=support url="support.html" txt="Support">
Index: openpkg-web/releng.wml
============================================================
$ cvs diff -u -r1.2 -r1.3 releng.wml
--- openpkg-web/releng.wml 30 Nov 2001 23:12:31 -0000 1.2
+++ openpkg-web/releng.wml 19 Dec 2002 10:52:43 -0000 1.3
@@ -5,6 +5,78 @@
<h1>OpenPKG Release Engineering</h1>
+<h2>Package Classification</h2>
+
+OpenPKG packages are grouped into multiple classes.
+The class of a source package can be determined by running:
+
+<pre>
+$ rpm -qp --qf '%{DISTRIBUTION}' <i>foo-1.2-3.4.src.rpm</i>
+</pre>
+
+The class of an installed package can be determined by running:
+
+<pre>
+$ rpm -q --qf '%{DISTRIBUTION}' <i>foo</i>
+</pre>
+
+The classes are differenciated by multiple attributes as
+described by the following table:
+
+<p>
+<define-tag yes>
+<td align=center><img src="status.img/icon-ok.gif" alt="yes"></td>
+</define-tag>
+<define-tag no>
+<td align=center> </td>
+</define-tag>
+<define-tag ab>
+<td align=center>%0</td>
+</define-tag>
+
+<table>
+<tr>
+<td align=top>
+
+<table cellspacing=0 cellpadding=1 border=0 bgcolor="#a5a095"><tr><td>
+<table cellspacing=1 cellpadding=1 border=0 bgcolor="#e5e0d5">
+ <tr><td> </td> <ab RTT> <ab SAP> <ab RSS> <ab REL> <ab BLD> <ab PKG> <ab PUB>
</tr>
+ <tr bgcolor="#f5f0e5"><td>CORE</td> <yes> <yes> <yes> <yes> <yes>
<yes> <yes> </tr>
+ <tr bgcolor="#d5d0c5"><td>BASE</td> <no> <yes> <yes> <yes> <yes>
<yes> <yes> </tr>
+ <tr bgcolor="#f5f0e5"><td>PLUS</td> <no> <no> <no> <yes> <yes>
<yes> <yes> </tr>
+ <tr bgcolor="#d5d0c5"><td>PRIV</td> <no> <no> <no> <no> <no>
<yes> <no> </tr>
+ <tr bgcolor="#f5f0e5"><td>EVAL</td> <no> <no> <no> <no> <no>
<no> <yes> </tr>
+ <tr bgcolor="#d5d0c5"><td>JUNK</td> <no> <no> <no> <no> <no>
<no> <yes> </tr>
+</table>
+</td></tr></table>
+
+</td>
+<td>
+
+
+
+</td>
+<td align=top>
+
+<table cellspacing=0 cellpadding=0>
+ <tr>
+ <td colspan=2>Legend:</td>
+ </tr>
+ <tr><td>RTT: </td><td>Run-Time Tested</td></tr>
+ <tr><td>SAP: </td><td>Security Advisories and Patches</td></tr>
+ <tr><td>RSS: </td><td>Release Show-Stopper</td></tr>
+ <tr><td>REL: </td><td>Release Package</td></tr>
+ <tr><td>BLD: </td><td>Building Successful</td></tr>
+ <tr><td>PKG: </td><td>Packaging Completed</td></tr>
+ <tr><td>PUB: </td><td>Publically Distributed</td></tr>
+</table>
+
+</td>
+</tr>
+</table>
+
+<h2>Version Numbering Scheme</h2>
+
OpenPKG packages are available in various versions, derived from different
source branches. These directly map to the internal structure of the <a
href="http://www.openpkg.org/cvsweb/cvsweb.cgi/">CVS repository</a> module <a
@@ -32,6 +104,9 @@
Our developer's <a href="cvs.txt">summary table</a> shows the details how CVS
tag/branch names and community/marketing names are related and where the
corresponding distribution packages are located.
+
+<p>
+The latest package building status can be found <a href="status.cgi">here</a>.
<p>
See also:
Index: openpkg-web/security.wml
============================================================
$ cvs diff -u -r1.24 -r1.25 security.wml
--- openpkg-web/security.wml 17 Dec 2002 16:24:44 -0000 1.24
+++ openpkg-web/security.wml 19 Dec 2002 10:52:43 -0000 1.25
@@ -44,7 +44,7 @@
At this time, security advisories are being released for:
<ul>
- <li>OpenPKG 1.1 (CORE and BASE class packages only)
+ <li>OpenPKG 1.1 (<b>CORE and BASE class packages only</b>)
<li>OpenPKG 1.0
</ul>
Index: openpkg-web/status.cgi
============================================================
$ cvs diff -u -r1.2 -r1.3 status.cgi
--- openpkg-web/status.cgi 9 Aug 2002 10:25:06 -0000 1.2
+++ openpkg-web/status.cgi 19 Dec 2002 10:52:43 -0000 1.3
@@ -9,17 +9,23 @@
my $O = '';
-my $bgcolors = [qw(#f0f0f0 #e5e5e5)];
-my $okcolors = {
- "REL" => "#ff6666",
- "EXP" => "#f0f000",
- "BRK" => "#ccccff",
- "DEV" => "#f5f5f5",
+#my $STAT => [
+#];
+# dv1: REL=0/12 EXP=0/2
+
+my $bgcolors = {
+ "CORE" => [qw(#fffff0 #f5f5e5)],
+ "BASE" => [qw(#f0f0f0 #e5e5e5)],
+ "PLUS" => [qw(#eae0d0 #dfd5c5)],
+ "PRIV" => [qw(#e0e0e0 #d5d5d5)],
+ "EVAL" => [qw(#f0f0ff #e5e5f5)],
+ "JUNK" => [qw(#fff0f0 #f0e0e0)],
};
my $io = new IO::File "<status.txt" || die;
my $n = 0;
$O .= "<table cellspacing=1 cellpadding=2 border=0>\n";
my $ishead = 1;
+my $hostlist = ();
while ($line = <$io>) {
# a2ps 4.13b 20020609 REL yes OK OK ...
if ($line =~ m|^===|) {
@@ -31,6 +37,7 @@
if ($ishead) {
$ishead = 0;
$O .= "<tr bgcolor=\"#000000\">\n";
+ $O .= "<td align=center><font color=\"#ffffff\">Ok</font></td>";
$O .= "<td><font color=\"#ffffff\">$name</font></td>";
$O .= "<td><font color=\"#ffffff\">$version</font></td>";
$O .= "<td><font color=\"#ffffff\">$release</font></td>";
@@ -38,25 +45,61 @@
$O .= "<td><font color=\"#ffffff\">$rel</font></td>";
foreach my $host (@hosts) {
$O .= "<td><font color=\"#ffffff\">$host</font></td>";
+ push(@hostlist, $host);
}
$O .= "</tr>\n";
}
else {
- $O .= "<tr bgcolor=\"".$bgcolors->[$n]."\">\n";
- $O .= "<td>$name</td>";
+ $O .= "<tr bgcolor=\"".$bgcolors->{$dst}->[$n]."\">\n";
+ my $img = "icon-x.gif";
+ my $ok = 1;
+ foreach my $host (@hosts[0..2]) {
+ if ($host eq "--") {
+ $ok = 0;
+ last;
+ }
+ }
+ if ($ok) {
+ $img = "icon-ok.gif";
+ }
+ $O .= "<td align=center><img src=\"status.img/$img\" width=9 height=9
alt=\"\"></td>";
+ $O .= "<td><a
href=\"ftp://ftp.openpkg.org/current/SRC/$name-$version-$release.src.rpm\"><font
color=\"#000000\">$name</font></a></td>";
$O .= "<td>$version</td>";
$O .= "<td>$release</td>";
$O .= "<td>$dst</td>";
$O .= "<td>$rel</td>";
+ my $n = 0;
foreach my $host (@hosts) {
+ my @log =
glob("status.log/$name-$version-$release.log.".$hostlist[$n].".*");
+ my $log = $log[0];
+ $log =~ s|^status.log/||s;
if ($host eq "--") {
- $O .= "<td bgcolor=\"".$okcolors->{$dst}."\">";
+ $O .= "<td bgcolor=\"#".($n < 3 ? "ff9999" : "993333")."\"
align=center>";
+ if ($#log >= 0) {
+ $O .= "<a href=\"status-log.cgi/".$log."\">";
+ $mtime_srpm =
(stat("/e/openpkg/ftp/current/SRC/$name-$version-$release.src.rpm"))[9];
+ $mtime_logf = (stat($log[0]))[9];
+ my $img = "icon-x.gif";
+ $img = "icon-star.gif" if ($mtime_logf < $mtime_srpm);
+ $O .= "<img src=\"status.img/$img\" width=9 height=9 alt=\"--\"
border=0>";
+ }
+ else {
+ #$O .= "<img src=\"status.img/icon-empty.gif\" width=9 height=9
alt=\"??\" border=0>";
+ $O .= " ";
+ }
}
else {
- $O .= "<td bgcolor=\"#99cc99\">";
+ $O .= "<td bgcolor=\"#".($n < 3 ? "99cc99" : "336633")."\"
align=center>";
+ if ($#log >= 0) {
+ $O .= "<a href=\"status-log.cgi/".$log."\">";
+ }
+ $O .= "<img src=\"status.img/icon-ok.gif\" width=9 height=9
alt=\"OK\" border=0>";
+ }
+ if ($#log >= 0) {
+ $O .= "</a>";
}
- $O .= $host;
$O .= "</td>";
+ $n++;
}
$O .= "</tr>\n";
}
Index: openpkg-web/status.wml
============================================================
$ cvs diff -u -r1.3 -r1.4 status.wml
--- openpkg-web/status.wml 19 Aug 2002 15:06:32 -0000 1.3
+++ openpkg-web/status.wml 19 Dec 2002 10:52:43 -0000 1.4
@@ -19,7 +19,7 @@
<li><b>dv5</b>: ix86-linux2.2 (Debian 2.2)
<li><b>dv8</b>: sparc64-solaris2.8 (Solaris 8)
<li><b>dv4</b>: ix86-linux2.4 (RedHat 7.2)
- <li><b>dv6</b>: ix86-linux2.4 (Debian 3.3)
+ <li><b>dv6</b>: ix86-linux2.4 (Debian 3.0)
<li><b>dv9</b>: sparc64-solaris2.9 (Solaris 9)
</ul>
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]