• Mac Newbold's avatar
    Massive reworking of our structure for defs files. · 09eb5852
    Mac Newbold authored
    Before:
    The main defs file (ie for configure) had an entry for WWWDEFS that
    pointed to a <@WWWDEFS@>-defs.php3 file in the www/ directory. The www
    defs file loaded some values about web pages, URLs, and some web
    configuration parameters.
    
    Problem:
    Anything that was only in the www defs file was not accessible in the rest
    of the universe (ie perl, C, and any other non-web-page scripts). For
    instance, you couldn't have a perl script send an email to a user with a
    link to the web site.
    
    Solution:
    Nuke all the www-defs files, move any important values into the main
    configure, and change the web defs infrastructure to respect that. This
    also meant adding about 3 lines each to all of the configure defs files.
    (There really are about 10 new values you can change in your defs file,
    but in almost all cases, the default values are the right thing.)
    
    Upgrading:
    External sites will need to move a few variables from their www-defs file
    into their configure defs file. The example file should make it pretty
    obvious. They may also want to customize some of the other vars that are
    mentioned in configure.in and www/defs.php3.in .
    09eb5852
Name
Last commit
Last update
account Loading commit data...
apache Loading commit data...
assign Loading commit data...
autoconf Loading commit data...
capture Loading commit data...
cdrom Loading commit data...
db Loading commit data...
dhcpd Loading commit data...
discvr Loading commit data...
doc Loading commit data...
event Loading commit data...
hw_config Loading commit data...
install Loading commit data...
ipod Loading commit data...
lib Loading commit data...
os Loading commit data...
patches Loading commit data...
pxe Loading commit data...
rc.d Loading commit data...
rpms Loading commit data...
security Loading commit data...
sensors Loading commit data...
sql Loading commit data...
ssl Loading commit data...
sysadmin Loading commit data...
tbsetup Loading commit data...
testsuite Loading commit data...
tip Loading commit data...
tmcd Loading commit data...
tools Loading commit data...
utils Loading commit data...
vis Loading commit data...
www Loading commit data...
xmlrpc Loading commit data...
BUGS Loading commit data...
GNUmakefile.in Loading commit data...
GNUmakerules Loading commit data...
Makeconf.in Loading commit data...
PROJECTS Loading commit data...
README Loading commit data...
RESTRICTED-RIGHTS Loading commit data...
TODO Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
defs-barb-emulab Loading commit data...
defs-barb-mini Loading commit data...
defs-calfeld-emulab Loading commit data...
defs-default Loading commit data...
defs-example Loading commit data...
defs-kwebb-emulab Loading commit data...
defs-mini Loading commit data...
defs-newbold-emulab Loading commit data...
defs-newbold-macdb Loading commit data...
defs-newbold-mini Loading commit data...
defs-rchriste-emulab Loading commit data...
defs-ricci-emulab Loading commit data...
defs-ricci-mini Loading commit data...
defs-shash-emulab Loading commit data...
defs-shash-mini Loading commit data...
defs-stoller-emulab Loading commit data...
defs-stoller-home Loading commit data...
defs-stoller-mini Loading commit data...
defs-wide Loading commit data...