Commit graph

744 commits

Author SHA1 Message Date
Simon L. B. Nielsen
a72d0992f3 - Update to match the 5.3-RELEASE/5-STABLE/6-CURRENT world.
- Handle that 6.0 also uses .tbz packages.
- Simply refer to the -STABLE/-CURRENT branches by their major number
  so we don't have to update that part of the script for each release.
- 5-STABLE currently points to packages-5-current since there is no
  packages-5-stable yet.
- Change the default version to 5-STABLE/i386.
2004-11-09 15:15:01 +00:00
Hiroki Sato
03af21fadf Fix the entry for OpenBSD 3.6. 2004-11-09 12:30:05 +00:00
Simon L. B. Nielsen
e28c51f658 Catch up the default manual pages to 5.3-RELEASE. 2004-11-08 13:48:05 +00:00
Hiroki Sato
fab98cdc29 Bump various version numbers.
Submitted by:	blackend
2004-11-07 19:12:53 +00:00
Giorgos Keramidas
f70028d350 Reduce the size of the generated HTML reports even further, by using
the last suggestion of Jie Cao from www/69780:

	``3. If we strip the spaces at the beginning of the lines, we
	can reduce the size with a further 90000 bytes.''

PR:		www/69780
Submitted by:	Jie Cao (gaoj (at) cpsc (dot) ucalgary (dot) ca)
2004-10-25 11:27:08 +00:00
Hiroki Sato
4d0e7bc642 Add 5.3-RELEASE. 2004-10-24 11:29:51 +00:00
Giorgos Keramidas
2152ca53a4 Put on my chain mail suit and change the output format of the PR
database queries once again, because I've received complaints that the
HTML output mode of the PR query scripts outputs huge, bloated tables
after the style changes I made to beautify HTML output.

This moves all the visual tweaks of the output in a CSS stylesheet and
add a $t_style option to the common cgi-style.pl script.  If not set,
the style defaults to empty, but users of cgi-style.pl can set this to
a local CSS style like this:

        $t_style="<style type=\"text/css\">...</style>";

or use it to refer from the header of the HTML output to an external
CSS stylesheet.

The HTML output size is substantially reduced now (at least 50% of the
size was caused by many repetitions of style="" attributes), but it's
still larger than the preformatted <pre> output because of all the
<tr> and <td> tags.
2004-10-13 10:55:55 +00:00
Dima Dorfman
29993f9779 Improve English wording
PR:		71576
Submitted by:	Warren Block <wblock@wonkity.com>
2004-09-11 08:31:02 +00:00
Bruce A. Mah
69aec7717d s/FreeBSD 6-current/FreeBSD 6.0-current/ for consistency with
prior CURRENT releases/snapshots.
2004-09-04 05:45:53 +00:00
Ceri Davies
7e6599e918 Populate/add alt attributes where they were missing. 2004-08-30 19:11:31 +00:00
Wolfram Schneider
f414bc4d99 oops, 5.2.1-RELEASE is not here, use 5.2R instead 2004-08-29 18:46:21 +00:00
www
ab1ed2ee96 Add copyright link to www.x.org 2004-08-29 18:23:39 +00:00
Wolfram Schneider
35383eeb08 ups, we have a dot release FreeBSD 5.2.1-RELEASE 2004-08-29 18:08:57 +00:00
Wolfram Schneider
5c14bf59a8 add X11R6.7.0
alias x11 -> X11R6.7.0
(xfree86 will still point to XFree86 4.4.0)
2004-08-29 18:04:37 +00:00
Wolfram Schneider
ed5f580a19 add XFree86 4.4.0 2004-08-29 17:44:01 +00:00
www
0a171a9881 let FreeBSD 5.2-stable point to the real stable manpages. 2004-08-29 12:02:14 +00:00
Wolfram Schneider
6dc9cde535 add FreeBSD 6-current
FreeBSD 5.2-current -> FreeBSD 5.2-stable
2004-08-29 11:53:19 +00:00
Wolfram Schneider
7720a9c886 update copyright
add little stylesheet
2004-08-23 20:59:13 +00:00
Wolfram Schneider
6eae9a9c1e optimize search 2004-08-20 17:59:55 +00:00
Ceri Davies
ba0a434481 Add 6-* to the list of searchable releases. 2004-08-19 12:43:25 +00:00
www
a8d6f32b00 Instead of
<TITLE>FreeBSD Hypertext Man Pages: tunefs(8)</TITLE>

they should be in the form
        <TITLE>tunefs(8)</TITLE>

When a user has half a dozen tabs open in their browser, the tabs all
read "FreeBSD Hy...".  If they read "tunefs(8)" instead, the user
could navigate much more quickly.

submitted by: Carleton Vaughn <keebler@mindspring.com>
2004-08-02 20:35:15 +00:00
www
548e887474 fix FreeBSD 4.10-RELEASE manpath 2004-08-02 17:58:17 +00:00
Ceri Davies
798c983fea Some people don't have 20/20 vision, so elide 'I' and '1' from the
characters in the confirmation image.

en/gifs/1.pnm and en/gifs/I.pnm will be safe to remove 45 minutes after
the next web build and not before, so I'll do that tomorrow.

PR:	www/69676
2004-07-27 20:34:40 +00:00
Giorgos Keramidas
4ad53f07f0 - Split text & html output in two separate functions.
- Use a <table> to align data for HTML output similar to the one used by
  CVSweb to list directory contents.  This helps the eye to pick the
  right line to click on when picking PRs to read from a long list.

Approved by:	ceri, linimon, simon, silence on -www
2004-07-25 00:30:35 +00:00
Simon L. B. Nielsen
a984efc38d - Support reading directly from a local INDEX(-5) file that isn't in
CVS, and use this by default.  The CVS version is still used if the
  local updated version isn't readable.  On www.FreeBSD.org this means
  that the updated INDEX(-5) found on
  http://www.FreeBSD.porg/ports/INDEX(-5) are used.

  In essence this mean that this CGI script is actually useful
  again since it's not returning out-of-date results.

- Disable the "new ports" HTML since it just doesn't work without
  frequent INDEX versions in CVS.  The support code for this isn't
  removed at this to avoid breaking stuff, but should be removed
  later.

Testing opertunity provided by:	kuriama
2004-05-27 20:27:55 +00:00
Hiroki Sato
84793204ba Bump version numbers for FreeBSD 4.10-RELEASE. 2004-05-25 22:08:43 +00:00
Hiroki Sato
30e14310c2 Add 4.10-RELEASE. 2004-05-25 21:45:15 +00:00
Simon L. B. Nielsen
363b99e074 Remove some trailing whitespace before I begin to work more on this file. 2004-05-22 15:16:45 +00:00
Simon L. B. Nielsen
490f747786 - After some further though, use 5.2.1 instead of 5.2.
- Add amd64.
2004-05-22 15:09:12 +00:00
Simon L. B. Nielsen
b086f2958c Bump version numbers for FreeBSD 5.2 (only slightly late...).
PR:		www/65943
Noticed by:	wosch
2004-04-24 22:32:09 +00:00
Ceri Davies
61f24a6469 Realign headers. 2004-04-06 11:22:37 +00:00
Ceri Davies
746e692884 Add the new threads category. 2004-04-05 23:14:21 +00:00
Alexey Zelkin
9d67a1cf50 FreeBSD.ORG -> FreeBSD.org 2004-04-05 14:46:17 +00:00
Alexey Zelkin
42507c7acb freebsd.org -> FreeBSD.org 2004-04-04 21:49:42 +00:00
Josef El-Rayes
fcafd834b1 Announce the removal of the gallery pages (www/en/gallery/).
This will be removed in two weeks.

Approved by: simon(mentor), phantom(maintainer)
2004-03-27 13:28:39 +00:00
Bruce A. Mah
59d2199679 Remove duplicate entry for 5.2-RELEASE. Add an entry for upcoming
5.2.1-RELEASE manual pages, which (for the moment) uses the same
manual page set as 5.2-RELEASE.
2004-02-16 21:03:29 +00:00
Ceri Davies
34113a7869 Now that my test build/grep has finished, freebsd.def can go. 2004-02-16 17:25:38 +00:00
Ceri Davies
a2313c9ce5 s/$Id$/$FreeBSD$/ 2004-02-16 16:58:48 +00:00
Ceri Davies
f08bb99ab7 Add an embryonic Gnats.pm that will collect variables and subroutines
related to querying GNATS together, in order to aid with the upgrade to
GNATS 4.

Switch over dosendpr.cgi and query-pr.cgi to use it.
query-pr-summary.cgi to follow.
2004-02-16 16:57:10 +00:00
Ceri Davies
84cbdf31c8 Remove some commented out debugging code. 2004-02-16 16:54:06 +00:00
Ceri Davies
1644d55106 Remove checks for files that do not exist, and garbage collect more
variables.
2004-02-16 16:49:25 +00:00
Ceri Davies
0e60992650 Move files that are only require()d from CGI to DATA, as they do not
need the executable bit to be set.
2004-02-16 15:18:02 +00:00
Ceri Davies
e777890956 Garbage collect the gnrelease variable. 2004-02-16 14:42:47 +00:00
Ceri Davies
55282681c2 Bump the send-pr version header port r1.17. 2004-02-16 14:41:30 +00:00
Ceri Davies
b38382e9a8 Have dosendpr.cgi clean up after itself, rather than having a separate
script to do the job.

Suggested by:	wosch
2004-02-16 14:38:05 +00:00
Ceri Davies
62ba1925fa Remove duplicated text. 2004-02-16 14:34:23 +00:00
Ceri Davies
b275a1696e Add the repocopy state. 2004-02-16 14:30:57 +00:00
www
11f2c82111 add OpenBSD 3.4 2004-01-15 10:25:21 +00:00
www
9ddea9bb29 add FreeBSD 5.2 RELEASE 2004-01-15 09:49:55 +00:00
www
a12a2ff0ea Add Darwin 7.0.1 PPC 2004-01-14 09:42:31 +00:00
Ceri Davies
e107d98123 Up the length of time for which a code remains valid from 15 minutes to
45 minutes.  This was partially prompted by:

PR:		www/60668
Submitted by:	Kevin Ross <austusross@yahoo.com>
2004-01-03 21:24:51 +00:00
Ceri Davies
3e9c39007f Our longest category name is currently 8 characters long, and we're over
halfway to P100k, so update the width of the "Tracker" column to cope.
2003-12-27 14:44:57 +00:00
Ceri Davies
a6df2a6df1 Sort the releases numerically. 2003-12-27 14:32:15 +00:00
Ceri Davies
f4375883ac Update some definitions (which are not currently used).
I sense a cleanup coming.
2003-12-14 17:39:13 +00:00
Ceri Davies
555cb01e5a Re-enable the web-based PR submission mechanism.
This code relies on the netpbm port being installed ; this is
already a dependency of the textproc/docproj port.

This comes courtesy of a collaboration with Eric Anderson
<anderson@centtech.com> who submitted both the idea and the vast
majority of the code to implement it; thank you very much, Eric - this
is a great Christmas present to us and our user community.
2003-12-14 17:28:13 +00:00
Bruce A. Mah
4c9ed58f4c Add an entry for FreeBSD 5.2-RELEASE manpages. 2003-12-11 19:05:46 +00:00
Wolfram Schneider
320b1fe0af fix last commit: openssl manpath is openssl/man 2003-11-19 11:56:01 +00:00
Wolfram Schneider
be6b482eed FreeBSD 5.1-RELEASE with subdirectories 'man' and 'openssl' 2003-11-19 11:53:52 +00:00
Wolfram Schneider
c146f32a20 add FreeBSD Ports 5.1-RELEASE
update ports aliases
2003-11-19 10:30:08 +00:00
Wolfram Schneider
478815754a make 'FreeBSD 5.1-RELEASE and Port' the default release. 2003-11-18 22:30:41 +00:00
Wolfram Schneider
19e4cf1d8d support multiple manpage directories, separates by colons
e.g: /usr/share/man:/usr/local/man
2003-11-18 22:25:09 +00:00
Wolfram Schneider
0e7454bf22 Print a 'Want to link to this message' link at the bottom.
The URI is permanent and works for the e-mails of the current
week and the mail archive.
2003-11-18 21:41:10 +00:00
Ceri Davies
750c390701 Correct some problems formatting links in query-pr.cgi's output.
The patch is from [1], and the problem was reported in both of the
following

PR:		www/51607, www/53530 [1]
Submitted by:	anholt, eik [1]
2003-11-12 20:58:13 +00:00
www
02434679cc add SuSE Linux/i386 8.0, SuSE Linux/i386 8.1, SuSE Linux/i386 8.2 2003-11-04 14:30:57 +00:00
www
15fe022767 add Red Hat Linux/i386 9 2003-11-04 14:29:52 +00:00
www
f376957c2f Add Red Hat Linux/i386 8.0 2003-10-31 11:22:04 +00:00
www
7fa2a34957 4.8-stable -> 4.9-stable 2003-10-29 14:15:54 +00:00
www
f13505f71b update german linux manpages 2003-10-29 11:44:47 +00:00
Wolfram Schneider
2c7f675cf4 Add 4.9-RELEASE
Remove 4.7-RELEASE
4.8-STABLE -> 4.9-STABLE
2003-10-29 10:50:37 +00:00
Wolfram Schneider
1e40a83593 Add robots meta tag "nofollow" 2003-10-23 10:44:34 +00:00
Wolfram Schneider
0d02313840 Fix a typo in a regular expression which performs terrible
slow (1000x times) with the outdated perl 5.005_03 in
FreeBSD-4.x-stable. Depending on the number of hits, the html
output should now 2-30 seconds (!) faster.
2003-10-19 17:01:24 +00:00
Bruce A. Mah
6c7f51316b Add a menu item for 4.9-RELEASE manpages, in advance of the
release.
2003-10-19 06:38:55 +00:00
Wolfram Schneider
48ee653ee9 FreeBSD 5.1 is now the default release. 2003-10-11 16:05:06 +00:00
Christian Brueffer
3ee2f5cb30 Add a cvsweb mirror in Turkey
Submitted by:	Ismail YENIGUL <ismail@EnderUNIX.ORG>
2003-09-18 19:19:06 +00:00
Ceri Davies
00ca5bfab5 The RBL at osirusoft.com no longer operates, so use dnsbl.njabl.org instead. 2003-09-04 15:16:15 +00:00
Doug Barton
1f8f2e7bd8 Don't show the Resp. field if it's ports-bugs, just like we do with
freebsd-bugs already.

Add a micro-optimization to this test, which should just about make
up for checking two strings instead of one for most pr's.

Reviewed by:	ceri
2003-09-02 09:46:27 +00:00
Ville Skyttä
7902f07353 Bring PR categories up to date with src/gnu/usr.bin/send-pr/categories v 1.15.
Submitted by:	simon
Approved by:	knu
2003-07-30 20:42:28 +00:00
Simon L. B. Nielsen
609d7da443 Look for pkg-descr in Attic, if it can not be found in the expected
directory.

This fixes the problem reported several times on www@ when a port's
pkg-descr file is CVS deleted and INDEX isn't fully updated, then the
description link in ports.cgi will not work, because url.cgi can't the
pkg-descr file.

PR:		www/53386
Submitted by:	myself
Approved by:	ceri (mentor)
2003-07-24 14:40:48 +00:00
Simon L. B. Nielsen
3473871ab3 * Make the script know about FreeBSD 4.8-RELEASE and 5.1-RELEASE.
* Remove FreeBSD 4.6-RELEASE.
* s/5.0-CURRENT/5.1-CURRENT/.
* s/4.7-STABLE/4.8-STABLE/.
* Use INDEX-5 for FreeBSD 5.x releases.
* Use .tbz packages for FreeBSD 5.x releases.
* Use CVS tags to find the correct INDEX version.  This also makes
  maintenance of this script simpler, since it does not have to know
  about release dates.
* Do not use revision / date for -STABLE and -CURRENT (HEAD will contain
  the needed INDEX version).
* Fix odd link to http://www.FreeBSD.org/ports/ instead of
  mailto:www@freebsd.org (this was reported some time ago on the
  www@freebsd.org mailing list).

PR:		www/53381
Submitted by:	myself
Approved by:	ceri (mentor)
2003-07-21 23:49:13 +00:00
Simon L. B. Nielsen
9b2fc810f9 Use HTML entities for less than and greater than in port comments.
This avoid having the browser interpret <foo> as a HTML tag, which it
did for the port devel/pear-HTML_Select_Common.

Noticed by:	Martin Jakob <m.jakob@gmx.net>
Approved by:	ceri (mentor)
2003-07-20 21:03:14 +00:00
Wolfram Schneider
c27b14e330 FreeBSD 4.7-stable -> FreeBSD 4.8-stable
FreeBSD 5.0-current -> FreeBSD 5.1-current
2003-06-23 09:13:06 +00:00
Wolfram Schneider
fcf91371a6 sort section names
Submitted by: "Taz Meister" <taz@lagmonster.org>
2003-06-23 09:09:56 +00:00
Bruce A. Mah
62d0625ad3 Add an alias to catch a manpath that equals "FreeBSD 5.1-release",
to fix an apparent typo in the RELENG_5_1 release documentation.
2003-06-10 15:12:53 +00:00
Ceri Davies
20f599f17e The code in the last commit causes Internal Server Errors when executed;
correct this.
2003-06-09 14:58:00 +00:00
Ceri Davies
8456cf94b7 Complete the error reporting fix that revision 1.32 started:
If gaining the lock fails, then catch that error and explain it to the user.
2003-06-08 20:59:51 +00:00
Bruce A. Mah
624152df7a Add FreeBSD 5.1-RELEASE. 2003-06-03 01:13:30 +00:00
Ceri Davies
2cdb6fc9e0 We now have sparc64 and ia64 categories in gnats, so update the regex that
searches for possible PR references for urlification.
2003-05-21 18:57:10 +00:00
Ceri Davies
a666faaa33 The output from query-pr.web will never match /^query-pr:/, as we call it
as query-pr.real; fix error reporting by taking this into account.
2003-05-21 18:48:51 +00:00
Ceri Davies
ec6bada8d5 Explicitly set $hsty_base to avoid broken links in this page when 404s occur
on people.freebsd.org.

PR:	www/42389
2003-05-18 17:45:20 +00:00
Ceri Davies
3fe1d85edc Correct some user visible typo's. 2003-05-15 12:08:05 +00:00
Wolfram Schneider
5e6970d2a0 Update URL for german mirror site. 2003-05-10 18:57:12 +00:00
www
44886030c2 log missing whatis database in apache error log 2003-05-07 10:23:44 +00:00
www
abbb01fce1 Added OpenBSD 3.3 2003-05-07 10:21:07 +00:00
www
ceecf0febe Added XFree86 4.3.0 2003-04-20 09:03:16 +00:00
www
e24bca7cd9 Added NetBSD 1.6.1 2003-04-20 08:50:40 +00:00
Dag-Erling Smørgrav
59990dbf67 Speed up PR lookup by about 100% by ignoring the "confidential" field,
which we have never honored anyway.
2003-04-10 09:29:21 +00:00
www
bd2ee7d1d0 FreeBSD 4.8-RELEASE is the default manpage releases. 2003-04-04 07:57:45 +00:00
Bruce A. Mah
bc1e5c83e6 Add 4.8-RELEASE manpages.
Allow manpage directories to be symlinks.
2003-03-28 23:12:35 +00:00
Wolfram Schneider
338a878c6d Change the 'Download' link from ftp site (which is no longer there)
to cvsweb.freebsd.org (tarball option).

Submitted by: Kris Kennaway <kris@obsecurity.org>
2003-03-14 08:19:26 +00:00
Wolfram Schneider
a74e3ae6d1 hyperlinks in mail archives don't deal with all special html characters properly
PR: www/45184
Submitted by: Dan Langille <dan@undef.unixathome.org>
2003-03-11 15:22:52 +00:00
Wolfram Schneider
2e7126ef95 Call the wrapper query-pr.web 2003-03-06 23:51:58 +00:00
Peter Pentchev
1572f62696 Update the list of releases: remove 4.5, add 5.0, add a couple more
hardware platforms for 5.0.

Reviewed by:	phantom
Approved by:	phantom, ceri (mentor)
2003-03-04 11:56:15 +00:00
Wolfram Schneider
57b1ce2413 New location of FreeBSD CVS tree after repository split. 2003-03-03 22:24:08 +00:00
Wolfram Schneider
58a072e932 update link to bsd-family-tree
remove dead link to BSDI man.cgi
2003-02-06 22:07:04 +00:00
Wolfram Schneider
9d7d2d2c04 update FAQ: /usr/include links no longer supported bei man.cgi 2003-02-06 22:04:39 +00:00
Wolfram Schneider
758a073562 update copyright year 2003-02-06 22:03:32 +00:00
Wolfram Schneider
5f24c648cb Added HP-UX 10.10 and HP-UX 10.01. 2003-02-06 22:01:18 +00:00
Wolfram Schneider
755d4dca88 Added HP-UX 11.20 2003-01-30 16:38:36 +00:00
Wolfram Schneider
bf3948539c Added HP-UX 10.20 2003-01-30 13:33:27 +00:00
Wolfram Schneider
27f7da1a0b Added XFree86 4.2.99.3 2003-01-30 13:13:48 +00:00
Wolfram Schneider
0b51c8d769 update 'FreeBSD Ports' aliases (=> FreeBSD Ports 4.7-RELEASE) 2003-01-28 10:42:49 +00:00
Wolfram Schneider
a8e06e1e89 Added FreeBSD Ports 4.7-RELEASE
Added FreeBSD Ports 5.0-RELEASE
2003-01-28 10:22:21 +00:00
Wolfram Schneider
e91454d2d6 Added link to HP homepage on copyright.html 2003-01-27 19:21:14 +00:00
Wolfram Schneider
9cc1f7dfb0 Added HP-UX 11.00 2003-01-27 19:19:17 +00:00
Wolfram Schneider
aaf45359e2 Added HP-UX 11.22 and HP-UX 11.11 2003-01-22 11:28:31 +00:00
Wolfram Schneider
d068e28083 Added SunOS 5.9 2003-01-22 11:03:55 +00:00
Wolfram Schneider
2f9045ba81 Added OpenBSD 3.2 2003-01-18 11:38:06 +00:00
Giorgos Keramidas
fd9bf51165 Increase the column width for PR responsibles to 11 characters.
"ports-bugs" now fits nicely, but there are still a few that are too long.
2003-01-16 02:02:40 +00:00
Wolfram Schneider
2fc3651d7e Added FreeBSD-5.0-RELEASE 2003-01-10 11:25:48 +00:00
Giorgos Keramidas
3bd4ff7fd1 Delete references to mirrors in Israel. They no longer function as
FreeBSD mirrors and mailing hostmaster@il.freebsd.org timed out.

Submitted by:   Yonatan Bokovza <Yonatan@xpert.com>
2002-12-16 21:10:23 +00:00
Will Andrews
49a7435661 Well, since spaces are allowed in the first field, what the heck, let's try
tacking on (IPv6) and mention ftp2.at twice.  Also in this commit: whack
those .at. hosts with 'freebsd' back to 'FreeBSD' as is the custom.
2002-11-18 19:47:44 +00:00
Will Andrews
fb170e4e9d Add ftp.at and ftp2.at to represent Austria. Ftp2.at supports IPv6, but
AFAIK there is no way to mention this in this file.

Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2002-11-18 19:33:26 +00:00
Bruce A. Mah
c774888208 Don't try to install dosendpr.cgi (at least until some resolution
is made regarding the web PR submission interface).
2002-11-09 05:23:14 +00:00
Ceri Davies
5ae2caabf6 Like the warning says:
"Scalar value @_[0] better written as $_[0] at dosendpr.cgi line 70."
2002-11-02 01:22:44 +00:00
Ceri Davies
e613525131 Log as much information about the submitter as the web server will give us.
Reviewed by:	kuriyama
2002-11-02 01:21:41 +00:00
Wolfram Schneider
547358218d Added NetBSD 1.6 manpages. 2002-10-12 21:36:13 +00:00
Wolfram Schneider
0165bbca98 added FreeBSD 4.6.2-RELEASE manpages 2002-10-12 21:19:30 +00:00
Wolfram Schneider
8e9863d4c7 update 4.6-stable link to 4.7-stable 2002-10-12 21:13:55 +00:00
Wolfram Schneider
fc07e017fe added FreeBSD 4.7-RELEASE, make it the default release. 2002-10-12 21:04:36 +00:00
Anders Nordby
a82711e856 Add Norwegian FTP mirrors. 2002-10-05 15:46:22 +00:00
Ceri Davies
9d293da917 Refuse access to the interface for machines listed in relays.osirusoft.com.
Insert a header and allow access to unverified hosts should the lookup have
problems.

Suggested by:	Thread on -developers
Approved by:	silence on -www
2002-10-05 12:17:19 +00:00
Ville Skyttä
2008b40234 Fix HTML footer buglet, now actually outputs the cgi-style.pl footer.
Approved by:    knu (mentor)
2002-09-30 21:02:05 +00:00
Ville Skyttä
aab19e1844 Merge from FreeBSD-CVSweb 2.0.6 (really). 2002-09-30 20:14:06 +00:00
Ville Skyttä
396ee9651c Merge from FreeBSD-CVSweb 2.0.6. 2002-09-26 22:18:25 +00:00
Wolfram Schneider
0271e3a460 added Red Hat Linux/i386 7.3 2002-08-07 18:58:22 +00:00
Wolfram Schneider
03423fca73 Increase the value of maximum PR number from 99999 to 499999.
(the current PR number is around 41300 ;-)
2002-08-05 19:05:29 +00:00
Wolfram Schneider
1a242d0d95 Sleep 0.35 seconds to avoid DoS attacks from broken robots. 2002-08-04 22:24:29 +00:00
Ville Skyttä
b7fa6e497b Merge from FreeBSD-CVSweb 2.0.5. 2002-07-23 16:27:04 +00:00
Wolfram Schneider
b33774ccc7 added NetBSD 1.5.3 manual pages 2002-07-22 09:44:59 +00:00
Ville Skyttä
ed69f4a36b Added new mirror (cvsweb.sm.freebsd.org).
Reordered mirrors alphabetically.
Replaced ', ' with '/' in USA mirror for cleaner output.

PR:             38448
Submitted by:   Alex Dupre <sysadmin@alexdupre.com>
Approved by:    knu (mentor)
2002-07-18 20:01:11 +00:00
Akinori MUSHA
7a8fd215b9 Merge from FreeBSD-CVSweb 2.0.4.
Refer to the project page for details.
2002-07-07 04:46:06 +00:00
Bill Fenner
6bb491d5de Don't allow download, annotate, or diff of CVSROOT/badcommitters.
Log messages are still visible.
2002-07-01 16:22:34 +00:00
Wolfram Schneider
e3d7f7c998 4.5-STABLE -> 4.6-STABLE
add 4.6-RELEASE
remove old FreeBSD releases
2002-06-23 15:54:57 +00:00
Wolfram Schneider
0b06d8cfbf nuke FreeBSD 4.5-stable (replaced by 4.6-stable)
add freebsd-stable alias
2002-06-23 15:19:15 +00:00
Wolfram Schneider
aa56cd41fb > I found the man.cgi was garbled in my IE Browser with default encoding in
> Chinese. and I checked the source of man.cgi output, I think maybe add one
> line:
> <HTML>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
>
> will avoid these type of browser auto charset detection error.

submitted by: "Che Dong" <chedong@yeah.net>
2002-06-23 15:15:18 +00:00
Wolfram Schneider
19e2b98eba added OpenBSD 3.1 manpages 2002-06-07 14:14:10 +00:00
Wolfram Schneider
7538ab8363 FreeBSD 4.6-RELEASE is the default release 2002-06-07 14:03:02 +00:00
Wolfram Schneider
867a6b025e Added FreeBSD 4.6-stable and FreeBSD 4.6-RELEASE 2002-06-03 08:31:03 +00:00
Akinori MUSHA
367a12aae4 Remove a debug cruft that was accidentally committed. 2002-05-22 08:33:27 +00:00
Akinori MUSHA
ba1109f417 Merge from FreeBSD-cvsweb 2.0.3.
2002-05-22  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Read configuration files with `do' instead of
	`require' to unbreak mod_perl support.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]

	* cvsweb.cgi: Cosmetic fixes.  Use and/or rather than &&/|| to
	connect sentences.

	* cvsweb.cgi: Exit with -1 if exec() fails.

	* cvsweb.cgi: Do not print a redundant `Diff' for rev.1.1.
	[Submitted by:	Ville Skytt,Ad(B <ville.skytta@iki.fi>]

	* cvsweb.cgi: Prevent cross-site scripting.
	[Submitted by: Motoyuki Konno <motoyuki@bsdclub.org> (modified)]

	* cvsweb.cgi: Skip a possible `locked by' clause and extract a
	revision number out of a log entry properly.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]

	* cvsweb.cgi: Apply some HTML cleanups and use CSS instead of
	ancient HTML 3/4 tags and attributes.
	[Submitted by:	Ville Skytt,Ad(B <ville.skytta@iki.fi>]

	* cvsweb.cgi: Pass `use' features to import to make it more memory
	efficient.
	[Submitted by: Ville Skytt,Ad(B <ville.skytta@iki.fi>]

	* cvsweb.cgi: Add new configuration variables: $allow_log_extra,
	$allow_dir_extra, and $allow_source_extra.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]

	* cvsweb.cgi: Release as FreeBSD-cvsweb 2.0.2.

	* cvsweb.cgi: Previous fixes against cross-site scripting
	vulnerabilities were insufficient and buggy (error messages were
	messed up).  Revamp fatal() to HTML-quote automatically and fix
	error message output.

	* cvsweb.cgi: Release as FreeBSD-cvsweb 2.0.3.

2002-05-11  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: There are no spaces at EOL in modern rlog output.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]

2002-05-08  Motoyuki Konno <motoyuki@FreeBSD.org>

	* cvsweb.cgi: Fix a cross-site scripting vulnerablity.

2002-05-07  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.conf-netbsd, cvsweb.conf-openbsd: NetBSD and OpenBSD
	don't use $CVSHeader$ but $Id$.
	[Submitted by: motoyuki@FreeBSD.org]

	* cvsweb.cgi: Work around a bug of cvs -p; expand symlinks in a
	cvsroot.
	[Submitted by: motoyuki@FreeBSD.org]

	* cvsweb.cgi: Fix parsing in 'tags' state.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]
2002-05-22 08:31:06 +00:00
Dima Dorfman
0ea6a64950 Be a good web email interface and include the originator's IP address
in the headers.  Although this information can be gleaned from the web
server logs, it should not be necessary to have access to the web
server in order to know who sent in a PR.
2002-05-20 07:14:41 +00:00
Wolfram Schneider
7db050baa8 make links to include file optional. The default is of:
$enable_include_links = 0;
2002-05-13 19:44:09 +00:00
Wolfram Schneider
ca986aa36a test if /usr/include/<file> really exist before open the file 2002-05-13 19:41:01 +00:00
Wolfram Schneider
984966d974 block cross-site scripting attacks (css)
submitted via bugtraq
2002-05-13 07:40:24 +00:00
Wolfram Schneider
0d920b0934 fix link to http://www.freebsd.org/search/ 2002-05-10 19:28:38 +00:00
Motoyuki Konno
b7cf1bf61d Fix cross-site scripting vulnerablity.
This problem was reported at www.jp.FreeBSD.org, which uses the
(almost) same CGI script as www.FreeBSD.org.
2002-05-08 05:42:25 +00:00
Wolfram Schneider
90c02f11cf Add freebsd-doc mailing list for reporting broken links.
Add a search interface.
2002-05-04 18:48:05 +00:00
Wolfram Schneider
4585c04b42 remove trailing spaces for dumb users 2002-05-04 15:58:29 +00:00
Wolfram Schneider
9f6887dea7 use /usr/bin/man as man command 2002-05-04 15:56:24 +00:00
Wolfram Schneider
5d19b3c712 Adjust cvsroot. 2002-05-02 14:21:40 +00:00
Jun Kuriyama
8480081292 Escape sort parameter from request when output HTML. 2002-04-23 17:15:40 +00:00
Jun Kuriyama
bdcf881fcc Escape input from query. 2002-04-22 05:08:41 +00:00
Alexey Zelkin
3823ccc9aa * 4.4-STABLE -> 4.5-STABLE
* Point ftp directory associated to -STABLE to $ftproot/packages-4-stable,
instead of $ftproot/packages-4.?-stable. When this file will be forgoten to be
updated next time it will not cause big problems.

* Remove 3.5-STABLE and 3.5-RELEASE from list of releases in search criteria
since ftp.FreeBSD.org no longer carry packages for this branch

* Add 4.3-RELEASE's INDEX time specification. Now request for 4.3-RELEASE
will return 4.3-RELEASE, not default.

* Also switch default release in search criteria to -STABLE to avoid
confusion of people who usually expect more recent information on
ports available for FreeBSD. Since -RELEASE criteria means using pors/INDEX
associated with exact release people never will see for new things until
manually change -RELEASE to -STABLE.
2002-04-18 18:04:27 +00:00
Jun Kuriyama
f25a592f67 Fix typo in previous commit. 2002-04-17 08:15:39 +00:00
Jun Kuriyama
74fc306920 Temporally bandaid to avoid using %ENV variables literally.
TODO:
  o Clean-up CGI files from scratch. :-)
2002-04-17 05:03:38 +00:00
Bill Fenner
b896f3625f Re-add missing ; 2002-04-11 01:55:34 +00:00
Akinori MUSHA
078fd33429 Update to FreeBSD-cvsweb 2.0.1.
2002-04-11  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi, cvsweb.conf: Perform an HTML cleanup.
	[Submitted by: Ville Skytt,Ad(B <ville.skytta@iki.fi>]

	* cvsweb.cgi: Call this version FreeBSD-cvsweb 2.0.1.

2002-02-06  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Use TMPDIR instead of the hardcoded /tmp.

	* cvsweb.cgi: Never pass 'MAIN' to cvs(1).  'HEAD' is the valid
	tag.
2002-04-10 20:26:27 +00:00
Akinori MUSHA
c54344a6cc Resolve conflicts and remove unuseful CVS tags in comment. 2002-04-10 20:13:19 +00:00
Ceri Davies
855a4223aa - Stop asking people to enter their postal address when we do nothing with it
- Offer to subscribe people to -announce and -security-notifications instead

Approved by:	murray
PR:		docs/35563
2002-04-01 13:39:05 +00:00
Bill Fenner
4418b34dc8 Updated states in header.
Use query-pr --list-foo to get states and classes.
Add headers to &state=summary display.
2002-03-22 15:38:24 +00:00
Peter Wemm
2c9aa1786f Add p4 archives to the allowed-list 2002-03-19 00:53:52 +00:00
Wolfram Schneider
1e7f9c29da the russian cvsweb mirror is located in Ukraine (not Russia!)
Submitted by: "Womchik alexeyeff" <wom@wom.ru>
2002-03-09 20:55:39 +00:00
Wolfram Schneider
1c920853cd Added OSF1 V4.0/alpha and OSF1 V5.1/alpha. Also known als Compaq True64 Unix. 2002-02-26 11:27:26 +00:00
Wolfram Schneider
78a84cd195 Added FreeBSD 4.5 Release.
Make FreeBSD 4.5 the default release until FreeBSD-4.5-stable
packages are available.
2002-02-12 10:48:04 +00:00
Wolfram Schneider
ba68edafc5 FreeBSD 4.5-RELEASE is now the default release 2002-02-09 22:58:17 +00:00
Wolfram Schneider
08998ecc47 Added FreeBSD 4.5-RELEASE
Removed FreeBSD 4.4-stable
2002-02-09 22:55:35 +00:00
Wolfram Schneider
5cd78277fe Aded alias FreeBSD 4.5-RELEASE, pointing to FreeBSD-4.4-stable. 2002-01-21 22:32:19 +00:00
Wolfram Schneider
3c20ab8478 Added FreeBSD 4.5-stable alias (pointing to 4.4-stable) 2002-01-21 18:34:16 +00:00
Wolfram Schneider
425624928e Added XFree86-4.2.0 2002-01-21 18:11:44 +00:00
Alexey Zelkin
b115a243fc Correct preview mode -- close </a> before printing description.
PR:	docs/33641
2002-01-08 13:29:12 +00:00
Wolfram Schneider
8ece919dce alias freebsd point to FreeBSD 4.4-RELEASE 2001-12-30 17:01:54 +00:00
Wolfram Schneider
bc7ef30df0 Added SuSE Linux/i386 7.3 2001-12-30 14:13:52 +00:00
Wolfram Schneider
f121e49efc added Red Hat Linux/i386 7.2 2001-12-30 14:13:07 +00:00
Wolfram Schneider
a3f2cd79bc Added NetBSD 1.5.1 and NetBSD 1.5.2 2001-12-30 11:01:57 +00:00
Wolfram Schneider
a25e4bebe5 Added OpenBSD 3.0 2001-12-30 10:48:38 +00:00
Wolfram Schneider
5c529faba2 catagory -> category
PR: misc/32749
submitted by: Steven Huwig <sjh13@po.cwru.edu>
2001-12-12 15:25:46 +00:00
Wolfram Schneider
4934536b76 Print better warnings to users if the port does not
exists. Print the HTTP_REFERER if available.
2001-12-11 21:37:30 +00:00
Akinori MUSHA
2dd49a11c2 Merge from FreeBSD-cvsweb 2.0.0.
* cvsweb.conf-freebsd: Allow downloading a tarball of a project
  directory as well as a port directory.

* cvsweb.cgi, cvsweb.conf: Introduce optional output filter.
  [Requested by: Shigeyuki Fukushima <shige@FreeBSD.org>]

* cvsweb.cgi: Fix a bug where it produces wrong download links when
  cvsweb.cgi is placed right under the document root.
  [Reported by: Arnaud on EFnet]
2001-11-07 21:25:16 +00:00
Bill Fenner
da9bc4fbe9 Add the ability to query based on GNATS "Release:". There's a new
pull-down box that defaults to "All", but has options for
 "Pre-5.x", "4.x", "5.x", "3.x" and "2.x".

Give query-pr.cgi the full PR path.  This will allow a future
 query-pr.cgi to skip looking through the whole GNATS index to
 display a PR.
2001-11-07 19:38:16 +00:00
Maxim Sobolev
6327a9c186 http://www.FreeBSD.org/cgi/cvsweb.cgi/ --> http://cvsweb.FreeBSD.org/ 2001-11-07 16:32:19 +00:00
Jun Kuriyama
eef8406907 Prevent cross-site-scripting by escaping input text.
Pointed out by:	"Benjamin Krueger" <roo@ufies.org>
Reference:	http://securityfocus.com/cgi-bin/archive.pl?id=1&mid=220101&start=2001-10-09&end=2001-10-15
2001-10-30 07:26:27 +00:00
Murray Stokely
0d8e79bd0c * Make build/install of www /usr/obj prefix clean.
* Use make variables instead of hard coding commands, paths, and
  options.
* Wrap some long lines.
* Replace shell loops with make for loops, etc.

PR:		docs/31132
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2001-10-29 10:14:33 +00:00
Alexey Zelkin
51f726e6eb note that only english is accepted in gallery submissions 2001-10-24 17:29:39 +00:00
Murray Stokely
289bb9611e Allow ^ and $ as regular expressions in the responsible person field.
This allows us to search for all those PRs assigned to 're' without
adding the ones assigned to 'reg', or 'mi' and 'mike', etc..  Finally
I hope to have PR email that only contains the PRs that were really
meant for me.
2001-10-23 04:28:48 +00:00
Wolfram Schneider
68a0a6aca4 added FreeBSD 4.4 2001-09-29 13:15:32 +00:00
Wolfram Schneider
8c0fe54f75 Update to FreeBSD 4.4R 2001-09-29 13:02:57 +00:00
Wolfram Schneider
cf04997075 FreeBSD 4.3-stable -> FreeBSD 4.4-stable 2001-09-28 17:11:33 +00:00
Bill Fenner
4b75f6a847 Propogate QUERY_STRING properly when redirecting diffs for files in
the Attic.

Requested by:	joe
2001-09-19 15:18:41 +00:00
Wolfram Schneider
414833220b revert to rev 1.29, the main ftp server ftp.freebsd.org is up and running. 2001-09-17 15:40:56 +00:00
Wolfram Schneider
9b43fdca13 fix encode_data which did not delete all .^H 2001-09-02 16:17:08 +00:00