Commit graph

227 commits

Author SHA1 Message Date
Alexey Zelkin
0d6b3ca64e . Fix 'webcheck' target url generation in directories other than 'www/en'. In
these cases we get urls like 'http://www.FreeBSD.org///ru//java/', etc.
  On such urls webcheck fails immediately with 403 error code.  So, cleanup
  multiple slashes.

. Make 'checkmissing' output more compact and readable.  Avoid
  printing '===>' in case if current directory does not have anything
  to report.  Also print each missing entry on separate line to make
  output more readable.
2004-04-12 11:52:38 +00:00
Alexey Zelkin
7e7c9ca7be . Fix 'make spellcheck' to take generated html files from ${.OBJDIR}
instead of ${.CURDIR}

. Add 'obj' target depending on _PROGSUBDIR, so 'make obj' for web tree
  is processed recursively for SUBDIRs

. Remove 'cleandir' target.  bsd.obj.mk declares it unconditionally and
  it does absolutely same things.  Removing of target from this makefile
  reduces spawning of ${MAKE} by factor *6* when called from 'www/en'
  directory!
2004-04-09 10:15:19 +00:00
Alexey Zelkin
ba9fb293d1 Huh! Fix a bogon introduced by previous revision. In !TIDY_VERBOSE
case use correct variable name for default tidy logfile (/dev/null).

Submitted by:	Rudolf Cejka <cejkar at fit.vutbr.cz>
2004-04-08 09:43:04 +00:00
Alexey Zelkin
da54502904 Implement TIDY_VERBOSE knob. It tells tidy to save error log into file
named 'tidyerr.$filename', instead of default /dev/null.
2004-04-07 13:04:55 +00:00
Alexey Zelkin
6b12a01ff0 Add &u.rel*.{installation,readme}; entities 2004-04-06 00:00:20 +00:00
Alexey Zelkin
15d2dc0c1f Add one more special target 'checkmissing'. It supposed to process
tree and find all files/directories which are not used by Makefile's.
Found files are: forgotten or build only (these should be handled later)
2004-04-05 23:45:05 +00:00
Alexey Zelkin
285a5526cf Move webcheck target to web.site.mk. It is also re-done in relative
manner, i.e.  calling 'make webcheck' in www/ru/java directory will cause
checking hrefs under http://www.FreeBSD.org/ru/java/
2004-04-05 14:21:26 +00:00
Alexey Zelkin
1150235fc0 Restyle web.site.mk a bit:
. Move variable declarations from suffix transformation declaration area
  to appropriate place
. Move spellcheck target to place where it belongs
. Fix/add some comments
2004-04-05 14:19:17 +00:00
Jacques Vidrine
7f4828b08d Add FreeBSD-SA-04:06.ipv6. 2004-03-29 14:10:28 +00:00
Alexey Zelkin
df467b1589 Cleanup web.site.mk for different leftovers.
. remove unused (ever used?) docb -> html suffix transformation rule

. remove long time unused ${LOCAL}.  It's handled with ${DATA} now.

. extend comment to be more clear

. fail build if ORPHANS check failed.  I.e. fail as early as possible.

. remove DIRS_TO_CLEAN related workaround (unused since 2001)

. rewrite "cleandir" target to be more consistent with /usr/share/mk

. remove DOCSUBDIR related logic.  Last consumer of this logic (www/zh/FAQ)
  was converted to use new methods, so no need to leave this spam

PS: It removes more than 30% of actual logic of this makefile
2004-03-23 23:25:57 +00:00
Jacques Vidrine
180b3f4df2 Add FreeBSD-SA-04:05.openssl. 2004-03-17 16:43:55 +00:00
Jacques Vidrine
be1b74c850 Add 5.2.1-RELEASE
Add FreeBSD-SA-04:04.tcp
2004-03-02 19:52:18 +00:00
Jacques Vidrine
d797b38ebc Add FreeBSD-SA-04:03.jail. 2004-02-27 18:35:02 +00:00
Bruce A. Mah
65a8d0d9cd FreeBSD 5.2.1-RELEASE is now the latest 5.X release. 2004-02-26 05:00:54 +00:00
Jacques Vidrine
e82eae023a Add FreeBSD-SA-04:02.shmat. 2004-02-05 18:12:20 +00:00
Alex Dupre
839379aa02 Complete support for localized web sites.
Approved by:	blackend (mentor)
2004-02-03 22:25:23 +00:00
Alex Dupre
868770ec6f Enhance support for localized navigation menu.
Approved by:	josef, blackend (mentor)
2004-02-01 22:56:56 +00:00
Josef El-Rayes
b0c3856a5f Remove plain html navigation and replace it with xml/xslt based navigation
So navigation is now maintained through navigation.xml.
This makes adding links very simple now.

Approved by:    simon(mentor)
	        trhodes
2004-02-01 00:02:58 +00:00
Jacques Vidrine
1afab62936 Add FreeBSD-SA-04:01.mksnap_ffs. 2004-01-30 16:06:29 +00:00
Jacques Vidrine
28c5e3b857 Remove bogus <advisory> element that had been inserted as a workaround
for an issue with www/en/security/mkindex.xsl.  The issue was fixed with
revision 1.3 of mkindex.xsl.
2004-01-24 15:05:49 +00:00
Hiroki Sato
db86c6c974 Add a workaround to prevent bogus link generation.
Submitted by:	ceri
2004-01-24 12:10:02 +00:00
Hiroki Sato
64ef5f2490 Move templates in mkindex.xsl into includes.misc.xsl. 2004-01-17 18:58:07 +00:00
Hiroki Sato
2f11535ad1 Back out the previous change because some translated documents
depend on the localized mkindex.xsl based on the older versions.
2004-01-14 20:16:16 +00:00
Hiroki Sato
646bff5f5f Eliminate <ul></ul> generated when there is a <release> element
without <advisory>.

Pointed out by:	nectar
2004-01-13 22:44:07 +00:00
Jacques Vidrine
8f413eb374 Add 2004 and FreeBSD 5.2-RELEASE.
Add a bogus first advisory placeholder.  (The stylesheet for producing
the advisory list needs some tweaking.)
2004-01-13 14:05:24 +00:00
Hiroki Sato
925e309a67 Improve transtable.{xml,xsl}, including:
- The structure of transtable.xml is revised.  <word> should be
   bracketed with <group>.

 - A sorting order of the FreeBSD mirror sites rendered using
   mirrors.xml has been determined by sort(1).

 - A template "transtable-lookup" has been added for localization on
   word-by-word basis.

 - Replace English month names in news.xml, press.xml, and
   advisories.xml with numbers that correspond to the names.
   The number->name translation is performed on the fly.

 - Since information in mirrors.xml is used in www/ tree, it depends on
   doc/ tree now.  When WITHOUT_DOC is defined it can be built without
   doc/ tree, but some information becomes unavailable.  For example,
   a list of the mirror sites generated in index.html becomes a dummy
   one, and calling "transtable-lookup" with a word returns the word
   itself.

Neither www/ nor doc/ build should be broken due to this commit, but
until the necessary changes are applied in the localized directories,
the transtable does not work; it simply generates non-localized contents
even if transtable.xsl is used.
2004-01-12 21:27:01 +00:00
Bruce A. Mah
624c5bee59 BAM! Make 5.2-RELEASE the current 5.X release on the Web site. 2004-01-12 20:36:30 +00:00
Hiroki Sato
ffc4169bfa Fix a condition; "@a!=b" becomes false when @a does not exist. 2004-01-06 23:47:08 +00:00
Jacques Vidrine
1cc0e2eb31 Add 4.9-RELEASE.
Reminded by:	Mark Steven Baker <msbaker@cs.uoregon.edu>
2004-01-06 20:26:27 +00:00
Marc Fonvieille
cd82ce1a6c Some changes were done in 2004, so let's update the Copyright to
1995-2004.
2004-01-02 14:07:33 +00:00
Hiroki Sato
52aee72dda - Add news/news.xml dependency to index.html.
- Add several templates for index.xsl into includes.misc.xsl.

- The structure of mirrors.xml has been changed; <host> is
  a container of <name> and <url> now.
2003-12-06 07:39:32 +00:00
Hiroki Sato
f247f77a83 Add FreeBSD-SA-03:19.bind. 2003-11-30 21:28:41 +00:00
Hiroki Sato
810e0c7c6a Remove --nonet. It breaks www/en/gnome. 2003-11-25 15:12:42 +00:00
Hiroki Sato
c1cc8a1352 Add refinements on mirrors.xml:
- add doc.common.mk, which defines variables, targets, and
   dependencies commonly used in www/ and doc/.

 - move www/<lang>/includes.xsl to the language independent
   directory and split into several files.

 - add transtable*.xsl and transtable.xml to support localized
   mirror names.

 - make doc/{en_US.ISO8859-1,ja_JP.eucJP}/books/handbook/ use
   mirrors.xml (mirrors and eresources).

 - make www/{en,ja}/index.xsl use mirrors.xml.

For details, please see doc/share/sgml/README.mirrors for the moment.

Reviewed by:	simon and Alex Dupre <sysadmin@alexdupre.com>
2003-11-24 18:26:35 +00:00
Hiroki Sato
f19f8b9c34 Move lists of FreeBSD mirror sites to doc/share/sgml/mirrors.xml
(currently en_US.ISO8859-1/books/handbook/mirrors and
www/en/index.xsl use it).

Reviewed by:	simon
Discussed on:	-doc
2003-11-16 18:56:24 +00:00
Jun Kuriyama
e534b7d956 Add link to Japanese translation of FreeBSD-SA-03:11.sendmail. 2003-11-07 09:32:24 +00:00
Murray Stokely
89f317cefd FreeBSD 4.9 is newest 4.X release. 2003-10-29 07:37:05 +00:00
Hiroki Sato
275e43fb8f Split includes.sgml into several files in share/sgml/includes.*.sgml, since
most of the entities in the files are language independent.  The translators
can override them partly, choosing where they want to do so.
2003-10-11 18:51:26 +00:00
Hiroki Sato
46cbf77a02 - Add <ulink> to the Japanese tranlation of SAs into advisories.xml.
- Fix old SAs' $ftpbase.
2003-10-11 07:12:58 +00:00
Jacques Vidrine
21e9f4b3ee Add FreeBSD-SA-03:15.openssh and FreeBSD-SA-03:18.openssl. 2003-10-05 17:15:32 +00:00
Jacques Vidrine
a132872dc7 Add FreeBSD-SA-03:17.procfs. 2003-10-03 14:27:29 +00:00
Jacques Vidrine
3dd7608044 Add FreeBSD-SA-03:16.filedesc. 2003-10-02 17:37:21 +00:00
Hiroki Sato
d6341aee21 Use advisories.xml to generate a list of the advisories. The security
officer no longer needs to update both of security.sgml and advisories.xml
when an advisory is issued.

Reviewed by:	nectar
2003-09-29 16:46:32 +00:00
Jacques Vidrine
5e8d1477ad Add FreeBSD-SA-03:14.arp 2003-09-24 14:29:19 +00:00
Hiroki Sato
0316aaf085 Add FreeBSD-SA-03:13.sendmail. 2003-09-23 09:14:52 +00:00
Jacques Vidrine
eb345043fc Add FreeBSD-SA-03:12.openssh. 2003-09-16 18:19:36 +00:00
Jacques Vidrine
25f64ca6e9 Add FreeBSD-SA-03:11.sendmail. 2003-08-26 16:45:26 +00:00
Jacques Vidrine
57782667e0 Add FreeBSD-SA-03:09.signal and FreeBSD-SA-03:10.ibcs2. 2003-08-11 00:23:42 +00:00
Jacques Vidrine
7a88498fce Add FreeBSD-SA-03:08.realpath 2003-08-04 00:09:47 +00:00
Alexey Zelkin
262bfec46d Deja-vu...
Uncomment NO_SUBDIR to make my previous commit really working.
2003-06-24 10:24:59 +00:00