head	1.36;
access;
symbols
	HRS_XML_CLEANUP:1.30
	HRS_XML_CLEANUP_PRE:1.30
	EMILYBOYD_REDESIGN:1.25
	PRE_REDESIGN:1.24
	XML_XSL_XP:1.17.0.2
	XML_XSL_XP_BP:1.17
	v1_0:1.1.1.1
	JFIEBER:1.1.1;
locks; strict;
comment	@# @;


1.36
date	2011.07.25.07.35.42;	author hrs;	state Exp;
branches;
next	1.35;

1.35
date	2011.07.20.23.52.12;	author shaun;	state Exp;
branches;
next	1.34;

1.34
date	2007.03.19.05.44.58;	author dougb;	state Exp;
branches;
next	1.33;

1.33
date	2007.01.11.00.17.29;	author trhodes;	state Exp;
branches;
next	1.32;

1.32
date	2006.10.07.14.08.11;	author ceri;	state Exp;
branches;
next	1.31;

1.31
date	2006.08.29.19.46.27;	author simon;	state Exp;
branches;
next	1.30;

1.30
date	2006.07.23.23.47.34;	author simon;	state Exp;
branches;
next	1.29;

1.29
date	2005.12.04.16.18.40;	author ceri;	state Exp;
branches;
next	1.28;

1.28
date	2005.12.04.12.50.17;	author ceri;	state Exp;
branches;
next	1.27;

1.27
date	2005.11.06.22.29.45;	author ceri;	state Exp;
branches;
next	1.26;

1.26
date	2005.11.06.20.28.56;	author ceri;	state Exp;
branches;
next	1.25;

1.25
date	2005.10.06.15.44.08;	author remko;	state Exp;
branches;
next	1.24;

1.24
date	2005.04.09.12.45.52;	author mlaier;	state Exp;
branches;
next	1.23;

1.23
date	2004.02.16.17.25.38;	author ceri;	state Exp;
branches;
next	1.22;

1.22
date	2004.02.16.16.57.10;	author ceri;	state Exp;
branches;
next	1.21;

1.21
date	2004.02.16.15.18.02;	author ceri;	state Exp;
branches;
next	1.20;

1.20
date	2003.12.14.17.28.13;	author ceri;	state Exp;
branches;
next	1.19;

1.19
date	2002.11.09.05.23.14;	author bmah;	state Exp;
branches;
next	1.18;

1.18
date	2001.10.29.10.14.31;	author murray;	state Exp;
branches;
next	1.17;

1.17
date	2000.11.07.04.05.09;	author kuriyama;	state Exp;
branches;
next	1.16;

1.16
date	2000.08.14.04.57.27;	author knu;	state Exp;
branches;
next	1.15;

1.15
date	99.09.06.07.02.39;	author peter;	state Exp;
branches;
next	1.14;

1.14
date	99.01.15.19.31.26;	author wosch;	state Exp;
branches;
next	1.13;

1.13
date	98.08.11.11.43.50;	author wosch;	state Exp;
branches;
next	1.12;

1.12
date	98.08.11.01.18.35;	author wosch;	state Exp;
branches;
next	1.11;

1.11
date	98.03.15.22.00.07;	author wosch;	state Exp;
branches;
next	1.10;

1.10
date	98.02.26.23.49.47;	author jfieber;	state Exp;
branches;
next	1.9;

1.9
date	97.10.11.15.58.11;	author wosch;	state Exp;
branches;
next	1.8;

1.8
date	97.09.27.21.27.17;	author wosch;	state Exp;
branches;
next	1.7;

1.7
date	97.09.19.20.45.48;	author wosch;	state Exp;
branches;
next	1.6;

1.6
date	97.09.09.17.51.04;	author wosch;	state Exp;
branches;
next	1.5;

1.5
date	97.07.01.05.38.10;	author max;	state Exp;
branches;
next	1.4;

1.4
date	97.06.10.04.48.09;	author meganm;	state Exp;
branches;
next	1.3;

1.3
date	97.01.05.20.06.23;	author mbarkah;	state Exp;
branches;
next	1.2;

1.2
date	96.09.28.23.31.04;	author jfieber;	state Exp;
branches;
next	1.1;

1.1
date	96.09.24.17.45.57;	author jfieber;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.09.24.17.45.57;	author jfieber;	state Exp;
branches;
next	;


desc
@@


1.36
log
@Use bsd.subdir.mk for sub-directory handling.

Discussed with:	shaun
@
text
@# $FreeBSD: www/en/cgi/Makefile,v 1.35 2011/07/20 23:52:12 shaun Exp $

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

DATA=
DATA+=	Gnats.pm
DATA+=	GnatsPR.pm
DATA+=	cgi-lib.pl
DATA+=	cgi-style.pl
DATA+=	cvsweb.conf
DATA+=	cvsweb.conf-freebsd
DATA+=	query-pr-lib.pl

CGI=
CGI+=	confirm-code.cgi
CGI+=	cvsweb.cgi
CGI+=	dosendpr.cgi
CGI+=	getmsg.cgi
CGI+=	mailindex.cgi
CGI+=	man.cgi
CGI+=	mid.cgi
CGI+=	mirror.cgi
CGI+=	missing_handler.cgi
CGI+=	monthly.cgi
CGI+=	pds.cgi
CGI+=	ports.cgi
CGI+=	query-pr.cgi
CGI+=	query-pr-summary.cgi
CGI+=	search.cgi
CGI+=	url.cgi

SUBDIR=	GnatsPR

.SUFFIXES:	.C .cgi

.C.cgi:
	${CXX} ${CFLAGS} -o ${.TARGET} ${.IMPSRC}

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


1.35
log
@Hook up files (Perl modules) for the new query-pr.cgi script. A bit of
extra code to handle the fact that the files are in subdirectories was
required.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.34 2007/03/19 05:44:58 dougb Exp $
a18 12
CGI_SUBDIRS=	GnatsPR GnatsPR/Section

CGI_SUBFILES+=	GnatsPR/MIMEIterator.pm
CGI_SUBFILES+=	GnatsPR/Section.pm
CGI_SUBFILES+=	GnatsPR/Section/Email.pm
CGI_SUBFILES+=	GnatsPR/Section/FieldStart.pm
CGI_SUBFILES+=	GnatsPR/Section/MIME.pm
CGI_SUBFILES+=	GnatsPR/Section/Patch.pm
CGI_SUBFILES+=	GnatsPR/Section/StateChange.pm
CGI_SUBFILES+=	GnatsPR/Section/Text.pm
CGI_SUBFILES+=	GnatsPR/SectionIterator.pm

d37 2
@


1.34
log
@Unhook removed cvsweb.conf-{net|open}bsd files to unbreak
the www build.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.33 2007/01/11 00:17:29 trhodes Exp $
d12 1
d19 12
@


1.33
log
@Commit a fix provided by danger to fix issues with the query-pr cgi scripts.

Submitted by:	danger
Reviewed by:	keramida, trhodes
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.32 2006/10/07 14:08:11 ceri Exp $
a15 2
DATA+=	cvsweb.conf-netbsd
DATA+=	cvsweb.conf-openbsd
@


1.32
log
@There are no more consumers of html.pl, so kill it.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.31 2006/08/29 19:46:27 simon Exp $
d18 1
@


1.31
log
@Retire the ftp.cgi script.  It's redundant due to the the mirror list in
the Handbook, and I can't find any references to it from anywhere.

I strongly suspect that nobody actually knows ftp.cgi exist, at least I
didn't :-).
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.30 2006/07/23 23:47:34 simon Exp $
a17 1
DATA+=	html.pl
@


1.30
log
@Remove gallery.cgi.  It was scheduled for removal over two years ago.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.29 2005/12/04 16:18:40 ceri Exp $
a17 1
DATA+=	ftp.mirrors
a23 1
CGI+=	ftp.cgi
@


1.29
log
@Refactor the "confirmation code" stuff into a general purpose script.

confirm-code.cgi contains a preconfigured list of databases and their
parameters.  When a request comes in, the database in the request's 'db'
parameter is checked for validity, and a code is generated, stored in
the appropriate database and returned.

Use this new script in send-pr.sgml and remove sendpr-code.cgi which is
now superceded.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.28 2005/12/04 12:50:17 ceri Exp $
a25 1
CGI+=	gallery.cgi
@


1.28
log
@Back out the highly unpopular email address blocking.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.27 2005/11/06 22:29:45 ceri Exp $
d22 1
a38 1
CGI+=	sendpr-code.cgi
@


1.27
log
@Don't show the email address of the Originator by default.
There is a link provided whereby users can enter a code to
see the email addresses.

Kind-of requested by:	core
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.26 2005/11/06 20:28:56 ceri Exp $
a36 1
CGI+=	querypr-code.cgi
@


1.26
log
@Split CGI and DATA into multiple lines and sort.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.25 2005/10/06 15:44:08 remko Exp $
d37 1
@


1.25
log
@Remove the old register script. It is no longer used within our website
and all the translations caught up. Except for es/support.sgml and
es/publish.sgml, but they are old. This also fixes a cleanup for
ceri which he started long time ago.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.24 2005/04/09 12:45:52 mlaier Exp $
d10 21
a30 5
DATA=	ftp.mirrors html.pl cgi-lib.pl cgi-style.pl Gnats.pm
DATA+=	cvsweb.conf cvsweb.conf-freebsd cvsweb.conf-netbsd cvsweb.conf-openbsd
CGI=	ftp.cgi gallery.cgi mirror.cgi
CGI+=	search.cgi cvsweb.cgi query-pr.cgi query-pr-summary.cgi
CGI+=	dosendpr.cgi sendpr-code.cgi
d32 8
a39 2
CGI+=	ports.cgi pds.cgi man.cgi url.cgi getmsg.cgi mid.cgi
CGI+=	mailindex.cgi monthly.cgi
@


1.24
log
@monthly.cgi - webform to help with formatting status reports.

Submitted by:	julian (with changes)
Reviewed by:	www
Approved by:	trhodes
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.23 2004/02/16 17:25:38 ceri Exp $
d15 1
a15 1
CGI+=	reg.cgi missing_handler.cgi
@


1.23
log
@Now that my test build/grep has finished, freebsd.def can go.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.22 2004/02/16 16:57:10 ceri Exp $
d17 1
a17 1
CGI+=	mailindex.cgi
@


1.22
log
@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.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.21 2004/02/16 15:18:02 ceri Exp $
d10 1
a10 1
DATA=	ftp.mirrors freebsd.def html.pl cgi-lib.pl cgi-style.pl Gnats.pm
@


1.21
log
@Move files that are only require()d from CGI to DATA, as they do not
need the executable bit to be set.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.20 2003/12/14 17:28:13 ceri Exp $
d10 1
a10 1
DATA=	ftp.mirrors freebsd.def html.pl cgi-lib.pl cgi-style.pl
@


1.20
log
@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.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.19 2002/11/09 05:23:14 bmah Exp $
d10 1
a10 1
DATA=	ftp.mirrors
d12 1
a12 1
CGI=	ftp.cgi gallery.cgi mirror.cgi cgi-lib.pl cgi-style.pl
d15 1
a15 1
CGI+=	freebsd.def html.pl reg.cgi missing_handler.cgi
@


1.19
log
@Don't try to install dosendpr.cgi (at least until some resolution
is made regarding the web PR submission interface).
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.18 2001/10/29 10:14:31 murray Exp $
d14 1
a14 1
# CGI+=	dosendpr.cgi
@


1.18
log
@* 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>
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.17 2000/11/07 04:05:09 kuriyama Exp $
d14 2
a15 1
CGI+=	dosendpr.cgi freebsd.def html.pl reg.cgi missing_handler.cgi
@


1.17
log
@Switch web.mk to share/mk/web.site.mk in English version.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.16 2000/08/14 04:57:27 knu Exp $
d14 1
a14 1
CGI+= dosendpr.cgi freebsd.def html.pl reg.cgi missing_handler.cgi
@


1.16
log
@Add cvsweb.conf* files to DATA.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/cgi/Makefile,v 1.15 1999/09/06 07:02:39 peter Exp $
d6 3
d23 1
a23 2
.include "../web.mk"

@


1.15
log
@$Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
@
text
@d1 1
a1 1
# $FreeBSD$
d8 1
@


1.14
log
@A CGI front end to the mailindex program.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.13 1998/08/11 11:43:50 wosch Exp $
@


1.13
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.12 1998/08/11 01:18:35 wosch Exp $
d12 1
@


1.12
log
@Include ../Makefile.conf if exists
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.11 1998/03/15 22:00:07 wosch Exp $
d3 1
a3 1
.if exists("../Makefile.conf")
@


1.11
log
@Search and present a mail by Message-ID or In-Reply-To field
@
text
@d1 5
a5 1
# $Id: Makefile,v 1.10 1998/02/26 23:49:47 jfieber Exp $
@


1.10
log
@Some change how messages are retrieved after a search is done.

1. Retrievals should be much faster and put much less load on hub,
   particularly for complex searches.

2. URLs for messages are no longer query dependent, so when a message
   you have already looked at pops up in a different search, you your
   browser history mechanism can recognize it and color the link
   appropriately.

3. Messages are potentially cachable; I may have to tweak the
   HTTP header to make it really work though.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.9 1997/10/11 15:58:11 wosch Exp $
d7 1
a7 1
CGI+=	ports.cgi pds.cgi man.cgi url.cgi getmsg.cgi
@


1.9
log
@url.cgi - make plain text URLs clickable
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.8 1997/09/27 21:27:17 wosch Exp $
d7 1
a7 1
CGI+=	ports.cgi pds.cgi man.cgi url.cgi
@


1.8
log
@Redirect FreeBSD man script.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.7 1997/09/19 20:45:48 wosch Exp $
d7 1
a7 1
CGI+=	ports.cgi pds.cgi man.cgi
@


1.7
log
@Install ports.cgi pds.cgi
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.6 1997/09/09 17:51:04 wosch Exp $
d7 1
a7 1
CGI+=	ports.cgi pds.cgi
@


1.6
log
@Install missing_handler.cgi
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.5 1997/07/01 05:38:10 max Exp $
d7 1
@


1.5
log
@Add $Id$.
@
text
@d1 1
a1 1
# $Id$
d6 1
a6 1
CGI+= dosendpr.cgi freebsd.def html.pl reg.cgi
@


1.4
log
@Shiny new logo for FreeBSD web pages. New index.html made from defunct welcome.html.
Navigaton bars on index.html and second level pages. Registration page added.
@
text
@d1 2
@


1.3
log
@Added dosendpr.cgi, freebsd.def, html.pl into the build process.
@
text
@d4 1
a4 1
CGI+= dosendpr.cgi freebsd.def html.pl
@


1.2
log
@Sweep some more web stuff into cvs.
@
text
@d4 1
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
CGI+=	search.cgi
@


1.1.1.1
log
@Web pages, may I introduce you to CVS.  CVS, these are the web pages.

Yes, this is supposed to be a new top level in the repository.

For the moment any changes to this area must be cleared by myself
or Jordan.  Once the kinks are worked out, the policy will probably
be relaxed.
@
text
@@
