Commit graph

570 commits

Author SHA1 Message Date
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