a serious issue, and we should give admins full support in this area.
Exploited systems only throw a back light back to us.
I posted this to doc@ a months ago or so (no response), and then
discussed it a little later in a different thread on cvs-www with other
people, including the security-officer, who showed support for it.
collection. Instead, webcheck is the new version (www/webcheck) and
our Makefile should be updated accordingly
PR: 30089
Submitted by: Cyrille Lefevre
Not Reviewed by: -doc
actual directories under /doc. This broke inter-document links if
you started at http://www.freebsd.org/{FAQ,handbook}, instead of the
longer .../doc/en_US.ISO8859-1/books/{faq,handbook}, and has caused a
steady stream of complaints to -doc.
Instead, have a static index.html in both those directories with a
http-equiv="refresh" that points people to the right place.
Adjust the build process to take account of this.
to process generated HTML. This not cause any side effects except
leaving some character entities in their numeric form instead
converting them into alphabetical notation (< instead of <),
but since all browsers understand such cases it is not a problem.
This commit should make all translations tidy clean, since
tidy should not arise entities conversion problem as it did
for long time before. Therefore all occurences of manual settings
of TIDYFLAGS and NO_TIDY declarations for translations are removed.
Also clean *OPTS/*FLAGS variables declaration like it was done in doc/ tree
some time ago. Currently all local additions to commands parameters that used
in make process should be passed thru *FLAGS variables. All variables
with OPTS suffix are reserved for internal use of web.site.mk now.
Cleanup part is based on work done by Cyrille Lefevre <clefevre-lists@noos.fr>
No objections from: -doc
Requested by: Russian and Japanese translation teams
* 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>
generated -CURRENT and 4-STABLE release notes.
Nothing points to this page yet; appropriate commits to hook it
into the rest of the Web site will follow after some testing.
same naming scheme as that used by the doc/ repo.
Update docs.sgml to point to the documentation in this canonical location.
Update the FAQ/ and handbook/ directories to use symlinks to point to
the real documentation under doc/en_US.ISO_8859-1/. This means that local
testing of the site (and mirrors) will still work as expected using the
legacy URLs. Mirrors that expect to see a lot of traffic are advised to
alter their web server configuration so that $WEBROOT/FAQ and $WEBROOT/handbook
are redirected to $WEBROOT/doc/en_US.ISO_8859-1/books/{faq,handbook},
instead of relying on the symlinks.
Discussed on: doc, www
Large URLs like
http://www.FreeBSD.ORG/docs/en_US.ISO_8859-1/books/handbook/
are evil and hard to use for humans. There is no reason to move
our handbooks 3 (!) directory levels deeper.
Also, docs did not build and too many things are now broken on the
web server. So I immediate back this nightmare out.
o Symbolic links for web.mk in each translations are removed.
o So building procedure is:
- cd /usr/www; make obj (optional)
- cd /usr/www/en; make all
Submitted by: nbm
Modified by: kuriyama
obj-clean.
This basically entails putting ${.CURDIR} in front of the occasional
source file, script, or directory.
Also adds '.include <bsd.obj.mk>' to web.mk so 'make obj' works.
Change gencommercial script to take a '-s' flag pointing to the source
directory, and the portindex script to take an optional additional
parameter indicating the source directory.
Add -D ${.CURDIR} to sgmlformat to follow includes properly.
automatically created from /usr/ports/INDEX and it does not make
sense to test the ports pages (Note: WEB_ONLY is a debug variable
for the webmaster, nothing else).
Made some changes when creating index.sgml from index.html.
* Changed element names to lower-case.
* Reindented.
* Quoted all attribute values.
* Added elements that are a good idea, but not strictly required (<tbody>)
* Reordered the two main columns. A new row has been added at the top,
and the second column (as it appears in a graphical browser) is in
this row. The left hand side bar is in the second row. Text browsers
should then display the main text first, with the quick links
afterwards. The display on graphical browsers should be almost identical
to how it was before.
Caveat: This forces the first line within the sidebar down by one.
* Removed <b>...</b> from the headings.
* Use &base; in many of the "href"s, instead of ".".
* <font size="4"> --> <big>
* <font size="2"> --> <small>
Approved by: Wolfram <wosch@freebsd.org>