head	1.18;
access;
symbols
	HRS_XML_CLEANUP:1.14
	HRS_XML_CLEANUP_PRE:1.14
	EMILYBOYD_REDESIGN:1.14
	PRE_REDESIGN:1.14
	XML_XSL_XP:1.7.0.2
	XML_XSL_XP_BP:1.7;
locks; strict;
comment	@# @;


1.18
date	2011.01.04.20.14.36;	author jkois;	state Exp;
branches;
next	1.17;

1.17
date	2008.06.20.20.03.28;	author danger;	state Exp;
branches;
next	1.16;

1.16
date	2008.03.01.01.55.27;	author simon;	state Exp;
branches;
next	1.15;

1.15
date	2008.01.10.04.23.39;	author murray;	state Exp;
branches;
next	1.14;

1.14
date	2005.09.18.04.33.46;	author hrs;	state Exp;
branches;
next	1.13;

1.13
date	2004.05.25.01.19.50;	author hrs;	state Exp;
branches;
next	1.12;

1.12
date	2004.04.13.17.27.43;	author trhodes;	state Exp;
branches;
next	1.11;

1.11
date	2004.01.17.18.58.07;	author hrs;	state Exp;
branches;
next	1.10;

1.10
date	2004.01.13.22.44.07;	author hrs;	state Exp;
branches;
next	1.9;

1.9
date	2003.11.24.18.26.33;	author hrs;	state Exp;
branches;
next	1.8;

1.8
date	2003.09.29.16.46.32;	author hrs;	state Exp;
branches;
next	1.7;

1.7
date	2000.11.07.04.05.36;	author kuriyama;	state Exp;
branches;
next	1.6;

1.6
date	99.09.06.07.02.58;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	99.05.31.01.39.29;	author billf;	state Exp;
branches;
next	1.4;

1.4
date	98.08.11.11.43.53;	author wosch;	state Exp;
branches;
next	1.3;

1.3
date	98.08.11.01.18.41;	author wosch;	state Exp;
branches;
next	1.2;

1.2
date	98.08.07.16.57.09;	author wosch;	state Exp;
branches;
next	1.1;

1.1
date	98.06.19.09.46.48;	author wosch;	state Exp;
branches;
next	;


desc
@@


1.18
log
@PR:     www/153524
PR:     www/142437

Patch the website so that "Errata Notices" are available the same way as "Security Advisories":
- RSS feed
- Link from the frontpage
- Own subpage
- Available via navigation menu

Initially suggested by: Jason Helfman (jhelfman ett e-e dott com)
Patch provided by:      John Baldwin (jhb@@)
@
text
@# $FreeBSD: www/en/security/Makefile,v 1.17 2008/06/20 20:03:28 danger Exp $

.if exists(../Makefile.conf)
.include "../Makefile.conf"
.endif
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif

DATA=	so_public_key.asc
DOCS=	charter.sgml
DOCS+=	security.sgml
DOCS+=	advisories.sgml
DOCS+=  notices.sgml

advisories.sgml: advisories.html.inc

notices.sgml: notices.html.inc

INDEXLINK=	security.html

DEPENDSET.DEFAULT=	advisories
DEPENDSET.errata-rss=	notices
DEPENDSET.notices=	notices
XML.DEFAULT=		${XML_ADVISORIES}

XMLDOCS=	advisories:mkindex.xsl::advisories.html.inc
PARAMS.advisories=	--param type "'advisory'"
NO_DATA.advisories=	yes
NO_TIDY.advisories=	yes

XMLDOCS+=	notices:mkindex.xsl::notices.html.inc
PARAMS.notices=		--param advisories.xml "'${XML_NOTICES}'"
PARAMS.notices+=	--param type "'notice'"
NO_DATA.notices=	yes
NO_TIDY.notices=	yes

XMLDOCS+=	advisories-rdf:security-rdf.xsl::advisories.rdf
XMLDOCS+=	advisories-rss:security-rss.xsl::rss.xml
XMLDOCS+=	errata-rss:errata-rss.xsl::errata.xml

.include "${WEB_PREFIX}/share/mk/web.site.mk"
@


1.17
log
@- add support for Errata Notices RSS Feed

Reviewed by: keramida, hrs
@
text
@d1 1
a1 1
# $FreeBSD: www/en/security/Makefile,v 1.16 2008/03/01 01:55:27 simon Exp $
d14 1
d18 2
a21 2
security.html: advisories.html.inc advisories.rdf

d24 1
d28 1
d32 6
@


1.16
log
@- Split advisories into separate page and make it a table.
- Add link to the new advisory page into the support sidebar.
- Do not include release info in advisory list as it's not that
  interesting in this context.
- Try to make it more clear where to report security issues to.
- Include public key directly on web site instead of referring to FTP
  site.
- Remove some stale information.
- Misc minor cleanup.

Reviewed by:	cperciva, remko, bz (various versions)
@
text
@d1 1
a1 1
# $FreeBSD: www/en/security/Makefile,v 1.15 2008/01/10 04:23:39 murray Exp $
d22 1
d31 1
@


1.15
log
@Add support for generating an RSS 2.0 feed for the security advisories
in addition to the current RDF/RSS 0.9 feed.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/security/Makefile,v 1.14 2005/09/18 04:33:46 hrs Exp $
d10 1
d13 3
@


1.14
log
@Introduce doc.xml.mk and XMLDOC variable to simplify build
of XML docs.  Note that XML catalog support is still incomplete.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/security/Makefile,v 1.13 2004/05/25 01:19:50 hrs Exp $
d25 1
@


1.13
log
@Add rss feed support for the FreeBSD security advisories.

Reviewed by:	simon
@
text
@d1 1
a1 1
# $FreeBSD: www/en/security/Makefile,v 1.12 2004/04/13 17:27:43 trhodes Exp $
a13 2
DATA+=		advisories.rdf
CLEANFILES+=	advisories.html.inc advisories.rdf
d15 8
a22 1
.include "${WEB_PREFIX}/share/mk/web.site.mk"
d24 1
a24 1
security.html: advisories.html.inc advisories.rdf
d26 1
a26 8
advisories.html.inc: mkindex.xsl ${XML_ADVISORIES} ${XML_INCLUDES}
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
		--param "advisories.xml" "'${XML_ADVISORIES}'" \
		${.CURDIR}/mkindex.xsl ${XML_ADVISORIES}
advisories.rdf: security-rdf.xsl ${XML_ADVISORIES} ${XML_INCLUDES}
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
		--param "advisories.xml" "'${XML_ADVISORIES}'" \
		${.CURDIR}/security-rdf.xsl ${XML_ADVISORIES}
@


1.12
log
@Add the Security Officer charter to the site and link it from the main page.

Approved by:	nectar
@
text
@d1 1
a1 1
# $FreeBSD: www/en/security/Makefile,v 1.11 2004/01/17 18:58:07 hrs Exp $
d13 3
a15 1
INDEXLINK= security.html
d19 1
a19 3
CLEANFILES+= advisories.html.inc

security.html: advisories.html.inc
d25 4
@


1.11
log
@Move templates in mkindex.xsl into includes.misc.xsl.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/security/Makefile,v 1.10 2004/01/13 22:44:07 hrs Exp $
d10 1
a10 1
DOCS=  
@


1.10
log
@Eliminate <ul></ul> generated when there is a <release> element
without <advisory>.

Pointed out by:	nectar
@
text
@d1 1
a1 1
# $FreeBSD: www/en/security/Makefile,v 1.9 2003/11/24 18:26:33 hrs Exp $
d23 1
a23 2
		--param "ftpbase" "'ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/'" \
		--param "ftpbaseold" "'ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/old/'" \
@


1.9
log
@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>
@
text
@d1 1
a1 1
# $FreeBSD: www/en/security/Makefile,v 1.8 2003/09/29 16:46:32 hrs Exp $
d21 1
a21 1
advisories.html.inc: mkindex.xsl ${XML_ADVISORIES}
d23 2
@


1.8
log
@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
@
text
@d1 1
a1 1
# $FreeBSD: www/en/security/Makefile,v 1.7 2000/11/07 04:05:36 kuriyama Exp $
d21 1
a21 1
advisories.html.inc: mkindex.xsl advisories.xml
d23 1
a23 1
		${.CURDIR}/mkindex.xsl ${.CURDIR}/advisories.xml
@


1.7
log
@Switch web.mk to share/mk/web.site.mk in English version.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/security/Makefile,v 1.6 1999/09/06 07:02:58 peter Exp $
d17 7
@


1.6
log
@$Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
@
text
@d1 1
a1 1
# $FreeBSD$
d6 3
d15 2
a16 1
.include "../web.mk"
@


1.5
log
@Remove files that have been incorporated into www/en/security/security.sgml
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.4 1998/08/11 11:43:53 wosch Exp $
@


1.4
log
@Remove the quotes from exists("filename"). Make(1) considered the
quotes as part of the filename.

Submitted by: volf@@oasis.IAEhv.nl
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1998/08/11 01:18:41 wosch Exp $
a7 1
DOCS+=	programmers.sgml
a8 1
DOCS+=  secure.sgml
@


1.3
log
@Include ../Makefile.conf if exists
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 1998/08/07 16:57:09 wosch Exp $
d3 1
a3 1
.if exists("../Makefile.conf")
@


1.2
log
@Define default index page.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1998/06/19 09:46:48 wosch Exp $
d3 2
a4 2
.if exists(Makefile.conf)
.include "Makefile.conf"
@


1.1
log
@The new FreeBSD Security homepage.
Submitted by: guido
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 1998/06/17 18:14:52 wosch Exp $
d11 2
@
