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.
46 lines
840 B
Makefile
46 lines
840 B
Makefile
# $FreeBSD: www/en/cgi/Makefile,v 1.28 2005/12/04 12:50:17 ceri Exp $
|
|
|
|
.if exists(../Makefile.conf)
|
|
.include "../Makefile.conf"
|
|
.endif
|
|
.if exists(../Makefile.inc)
|
|
.include "../Makefile.inc"
|
|
.endif
|
|
|
|
DATA=
|
|
DATA+= Gnats.pm
|
|
DATA+= cgi-lib.pl
|
|
DATA+= cgi-style.pl
|
|
DATA+= cvsweb.conf
|
|
DATA+= cvsweb.conf-freebsd
|
|
DATA+= cvsweb.conf-netbsd
|
|
DATA+= cvsweb.conf-openbsd
|
|
DATA+= ftp.mirrors
|
|
DATA+= html.pl
|
|
|
|
CGI=
|
|
CGI+= confirm-code.cgi
|
|
CGI+= cvsweb.cgi
|
|
CGI+= dosendpr.cgi
|
|
CGI+= ftp.cgi
|
|
CGI+= gallery.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
|
|
|
|
.SUFFIXES: .C .cgi
|
|
|
|
.C.cgi:
|
|
${CXX} ${CFLAGS} -o ${.TARGET} ${.IMPSRC}
|
|
|
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|