--- doc/loncapafiles/Attic/loncapafiles.html 2000/10/26 03:03:02 1.18 +++ doc/loncapafiles/Attic/loncapafiles.html 2000/11/10 17:45:47 1.25 @@ -7,16 +7,1194 @@

LON-CAPA Files and Directories


Scott Harrison, September 2000 +
Scott Harrison, October 2000 +
Scott Harrison, November 2000
Gerd Kortemeyer, Spring-Summer 2000

    -
  1. Software Package Information -
  2. File and Directory Table -
  3. Software Package Specification File -
  4. Makefile +
  5. Contents and Structure of loncapafiles.html +
  6. Software Package Information
+


-

1. Software Package Information

+

1. Contents and Structure of this loncapafiles.html

+

+This file contains specialized markup tags which encode information readable +by the LON-CAPA make/build process. This is meant to be "the master file" which +encodes all necessary configuration information to the associated make process. +The format of these tags is: +
<LONCAPA TYPE=type [otherparameters]> +

+

+Here are examples of all the different types of LONCAPA make/build tags. +
<LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/modules/TexConvert/tthperl/lontex.pm" TARGET="home/httpd/lib/perl/Apache/lontex.pm" CATEGORY="handler"> +
<LONCAPA TYPE=DIRECTORY DIST="redhat6.2" TARGET="home/httpd/lib/perl/Apache" CATEGORY="writeable by server"> +
<LONCAPA TYPE=OWNERSHIP DIST="redhat6.2" CATEGORY="setuid" CHMOD="6755" CHOWN="root:root"> +
<LONCAPA TYPE=RPM NAME="Vendor" VALUE="Laboratory for Instructional Technology Education, Division of Science and Mathematics Education, Michigan State University."> +

+

+The NAME tags associated with TYPE=RPM are: +

+

+

+Data can also be attached to any LON-CAPA tag. This is especially important for files. This is shown by these three examples: +
<METAGROUP> +
<LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/modules/TexConvert/tthperl/lontex.pm" TARGET="home/httpd/lib/perl/Apache/lontex.pm" CATEGORY="handler"> +
<DESCRIPTION> +
Handler for TeX files +
</DESCRIPTION> +
</METAGROUP> +
  +
<METAGROUP> +
<LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/modules/TexConvert/tthperl/tth.so" TARGET="usr/lib/perl5/site_perl/5.005/tth.so" CATEGORY="system file"> +
<DESCRIPTION> +
shared library file for dynamic loading and unloading of TeX-to-HTML functionality +
</DESCRIPTION> +
<BUILD> +
loncom/modules/TexConvert/tthperl/commands +
</BUILD> +
<DEPENDENCIES> +
../tthdynamic/tthfunc.c +
../ttmdynamic/ttmfunc.c +
</DEPENDENCIES> +
</METAGROUP> +
  +
<METAGROUP> +
<LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/access.conf" TARGET="etc/httpd/conf/access.conf" CATEGORY="conf"> +
<DESCRIPTION> +
define handlers, set parameters +
</DESCRIPTION> +
<NOTE> +
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=1> +
<TR><TD><TT>lonHostID</TT></TD><TD>LON-internal HostID of this machine</TD></TR> +
<TR><TD><TT>lonRole</TT></TD><TD>Role of this machine: library, access</TD></TR> +
<TR><TD><TT>lonAdmEMail</TT></TD><TD>Server Administration</TD></TR> +
<TR><TD><TT>lonDefDomain</TT></TD><TD>Default domain</TD></TR> +
<TR><TD><TT>lonLoadLim</TT></TD><TD>Load Limit ( 100% loadavg )</TD></TR> +
<TR><TD><TT>lonExpire</TT></TD><TD>Expiration for local copies in seconds</TD></TR> +
</TABLE> +
</NOTE> +
</METAGROUP> +

+

+The METAGROUP tags for files are anticipatively limited to: NOTE, BUILD, DEPENDENCIES and DESCRIPTION. +

+

+To allow for viewing the tag information in a tabular HTML format, the make process generates +doc/loncapafiles/latestinstallconfiguration.html which +has the latest HTML presentation of the current LONCAPA tag configuration settings. Alternatively, +you can just view the internal tags of this HTML file. +

+
+

2. Software Package Information

+

+This section contains the actual LONCAPA tag information. These tags are probably not viewable with your +browser and can only be seen be examining the HTML source. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +define handlers, set parameters + + +configure +
+ + + + + + + +
lonHostIDLON-internal HostID of this machine
lonRoleRole of this machine: library, access
lonAdmEMailServer Administration
lonDefDomainDefault domain
lonLoadLimLoad Limit ( 100% loadavg )
lonExpireExpiration for local copies in seconds
+
+
+ + + +main server configuration file + + + + + +name space configuration + + + + + +set paths to modules; invoked by access.conf + + + + + +Descriptive list of file extensions, and extension groupings + + + + + directory DIRECTORY -- /home/httpd/lonTabs + static + roles.tab + static conf + List of privileges associated with users of multiple types (for example: Teaching Assistant, Exam Proctor, Course Coordinator) +   + + + static + rolesplain.tab + static conf + Descriptive list of abbreviations used in roles.tab for user types and privileges available + in the network with function +   + + + configurable + hosts.tab + conf + List of all machines in the LON-CAPA network. Relates lonHostID to lonDefDomain and IP address +   + + + configurable + spare.tab + conf + Spare hosts to + offload session to if the LON-CAPA machine is overloaded + +configure
+ + + +
+list elements are separated by newlines +
+each list element consists of only one value; the value for lonHostID in access.conf +
+ + + + static + htpasswd + static conf + Basic auth + password to access /lon-status and /server-status +   + + + directory DIRECTORY -- /etc +   + + + configurable + krb.conf + conf + which Kerberos server to contact for which Kerberos domains + configure
+ + + +
+list elements are separated by newlines +
+each list element consists of only two subelements separated by a colon +
+
    +
  • Kerberos domain value +
  • Kerberos server IP address +
+
+ + + + configurable + smb.conf + conf + configuration file to make LON-CAPA server file space accessible to network neighborhood + configure
+ + + configurable + ntp.conf + conf + which NTP server to contact for information (XNTP3 standard) + configure
+ + + +
+only one line needs to be changed to specify a server ip address +
+Example:
server ntp.msu.edu +
+ + + + directory DIRECTORY -- /home/httpd/perl + Communication + + + script + lonc + script + proxy server +   + + + script + lond + script + remote command + interpreter +   + + + script + loncron + script + housekeeping +   + + + script + lonsql + script + maintain secondary database of metadata +   + + + setuid + lcpasswd + setuid script + coordinates the system services and files in order to allow lond to change user passwords +   + + + setuid + lcuseradd + setuid script + coordinates the system services and files in order to allow lond to add a new user +   + + + setuid + lcpasswd + setuid script + coordinates the system services and files in order to allow lond to add a new user +   + + + setuid + lcnfson + setuid script + coordinates the system services and files in order to allow lond to enable NFS for a user +   + + + setuid + lcnfsoff + setuid script + coordinates the system services and files in order to allow lond to enable NFS for a user +   + + + empty directory EMPTY DIRECTORY -- /home/httpd/perl/logs + logs and pids of lonc, lond and lonnet.pm + + + empty directory EMPTY DIRECTORY -- /home/httpd/perl/tmp + logs and pids of lonc, lond and lonnet.pm + + + directory DIRECTORY -- /home/httpd/lib/perl/Apache + handlers + + + handler.gif + lonmenu.pm + handler + Has routines which control the remote control. +   + + + handler.gif + lonpageflip.pm + handler + Deals with forward, backward, and other page flips. +   + + + handler.gif + lonratedt.pm + handler + Builds up frame set and loads in the right thing. +   + + + handler.gif + admannotations.pm + handler + This will take annotations and then plug them into a page +   + + + handler.gif + admbookmarks.pm + handler + This will take bookmarks and get/write/display them for the LON-CAPA user interface +   + + + handler.gif + lonratsrv.pm + handler + Handler tat takes output from RAT and stores it on disk. Handles the upper hidden frame of the added window that comes up in RAT. (3 frames come up in RAT server, code, and output. This module handles server connection.) +   + + + handler.gif + lonpage.pm + handler + bundles pages into one page +   + + + handler.gif + lonuserstate.pm + handler + compile course into binary data structure (in loncom/rat) +   + + + handler.gif + lontex.pm + handler + Handler for tex files (somewhere in loncom/modules) +   + + + handler.gif + lontexconvert.pm + handler + Access to tth/ttm +   + + + handler.gif + lonxml.pm + handler + XML Parsing Module +   + + + handler.gif + style.pm + handler + Style Parsing Module +   + + + handler.gif + londefdef.pm + handler + Tags Default Definition Module +   + + + handler.gif + run.pm + handler + used to prevent poorly written problems from causing lingering after effects +   + + + handler.gif + scripttag.pm + handler + implements <script>, <scriptlib>, <parserlib>, and <import> +   + + + handler.gif + lonhomework.pm + handler + handles requests for output, evaluation, and alteration of homework resource +   + + + handler.gif + inputtags.pm + handler + produces HTML input tags (<INPUT>) for rendering homework resources +   + + + handler.gif + structuretags.pm + handler + produces HTML tags necessary for structuring the presentation of homework resourcese +   + + + handler.gif + response.pm + handler + defines different types of responses given to student as well as syntax for producing response values +   + + + handler.gif + caparesponse.pm + handler + handles request to the CAPA homework processing engine +   + + + handler.gif + lonacc.pm + handler + access to for a LON-CAPA user session +   + + + handler.gif + lonracc.pm + handler + access handler for file transfers +   + + + handler.gif + loncacc.pm + handler + access to construction area +   + + + handler.gif + lonauth.pm + handler + authenticate, set up session environment +   + + + handler.gif + lonlogin.pm + handler + login screen +   + + + handler.gif + lonlogout.pm + handler + logout +   + + + handler.gif + lonrep.pm + handler + replication +   + + + handler.gif + lonroles.pm + handler + roles picking +   + + + handler.gif + lonindexer.pm + handler + cross server + filesystem browser +   + + + handler.gif + lonnet.pm + handler + interface + to lonc +   + + + empty directory EMPTY DIRECTORY -- /home/httpd/lonIDs + cookie jar + + + empty directoryEMPTY DIRECTORY -- /home/httpd/sockets + lonc's sockets + + + empty directoryEMPTY DIRECTORY -- /home/httpd/sockets/delayed + lonc's sockets + + + directory DIRECTORY -- /home/httpd/html +    + + + interface file + index.html + interface file + bumps to login +   + + + link + raw + symbolic link + symbolic link to /home/httpd/html/res +   + + + emptydirectory EMPTY DIRECTORY -- /home/httpd/html/res + root of resource tree + + + directory DIRECTORY -- /home/httpd/html/adm + unauthenticated resources + + + interface file + notfound.html + interface file + static html page that is shown when an attempt is made to access a document not present on the web server +   + + + interface file + unauthorized.html + interface file + static html page that is shown when an attempt is made to access a document which is restricted based on +file or server configurations +   + + + directory DIRECTORY -- /home/httpd/html/adm/rat + home of the rat + + + interface file + rat.html + interface file + frameset +   + + + interface file + code.html + interface file + javascript +   + + + interface file + map.html + interface file + bumper +   + + + graphic file + *.gif + graphic files + images for + rat + listing
+ +1.1.dt.gif +1.1.empty.gif +1.1.ld.gif +1.1.lr.gif +1.1.rd.gif +1.1.rl.gif +1.1.td.gif +1.1.tdrl.gif +1.1.tl.gif +1.1.tr.gif +1.1.utd.gif +1.2.ctd.gif +1.2.dt.gif +1.2.empty.gif +1.2.ld.gif +1.2.lr.gif +1.2.lrd.gif +1.2.lrtd.gif +1.2.rd.gif +1.2.rl.gif +1.2.rld.gif +1.2.rltd.gif +1.2.rtd.gif +1.2.rtdl.gif +1.2.rtl.gif +1.2.td.gif +1.2.tdl.gif +1.2.tdrl.gif +1.2.tl.gif +1.2.tr.gif +1.2.utd.gif +2.1.dt.gif +2.1.empty.gif +2.1.ld.gif +2.1.lr.gif +2.1.rd.gif +2.1.rl.gif +2.1.td.gif +2.1.tdrl.gif +2.1.tl.gif +2.1.tr.gif +2.2.dt.gif +2.2.empty.gif +2.2.ld.gif +2.2.lr.gif +2.2.lrd.gif +2.2.lrt.gif +2.2.rd.gif +2.2.rl.gif +2.2.rld.gif +2.2.rlt.gif +2.2.td.gif +2.2.tdl.gif +2.2.tdr.gif +2.2.tdrl.gif +2.2.tl.gif +2.2.tr.gif +2.2.url.gif +2.2.utd.gif +arrow.gif +bdt.gif +bempty.gif +bld.gif +blr.gif +blrd.gif +blrt.gif +brd.gif +brl.gif +brld.gif +brlt.gif +btd.gif +btdl.gif +btdr.gif +btdrl.gif +btl.gif +btr.gif +burl.gif +butd.gif +condition.gif +edit.gif +finish.gif +info.gif +inscol.gif +inscond.gif +insres.gif +insrow.gif +resource.gif +sctd.gif +sdt.gif +sempty.gif +sld.gif +slr.gif +slrd.gif +slrtd.gif +srd.gif +srl.gif +srld.gif +srltd.gif +srtd.gif +srtdl.gif +srtl.gif +start.gif +std.gif +stdl.gif +sutd.gif + + + + + directory DIRECTORY -- /home/httpd/html/adm/lonIcons +   + + + graphic file + *.gif + graphic files + logos + +listing
+ +liteani.gif +logo.gif +logos.gif + + + + empty directory EMPTY DIRECTORY -- /home/httpd/lonUsers + home dirs of local users + + + emptydirectory EMPTY DIRECTORY -- /home/httpd/html/lon-status + status reports + + + directory DIRECTORY -- /usr/lib/perl5/site_perl/5.005 +   + + + system file + tth.pm + system file + perl module for invoking functions specific to Tex-to-HTML conversion +   + + + system file + tth.so + system file + shared library file for dynamic loading and unloading +   + + + system file + capa.pm + system file + perl module for invoking functions specific to CAPA +   + + + system file + capa.bs + system file + bootstrap file associated with dynamic loading of this module on multiple architectures +   + + + system file + capa.so + system file + shared library file for dynamic loading and unloading +   + + + directory DIRECTORY -- /home/httpd/html/adm/MathML +   + + + system file + *.ent + static conf + entity files + +listing
+ +isoamsa.ent +isoamsb.ent +isoamsc.ent +isoamsn.ent +isoamso.ent +isoamsr.ent +isobox.ent +isocyr1.ent +isocyr2.ent +isodia.ent +isogrk1.ent +isogrk2.ent +isogrk3.ent +isogrk4.ent +isolat1.ent +isolat2.ent +isomfrk.ent +isomopf.ent +isomscr.ent +isonum.ent +isopub.ent +isotech.ent +mathml.dtd +mmlalias.ent +mmlextra.ent + + + + + system file + mathml.css + static conf + cascading style sheet +   + + + system file + mathml.dtd + static conf + document type definition +   + + + directory DIRECTORY -- /home/httpd/html/res/adm/includes +   + + + interface file + londes.js + interface file + Encryption Routines according to Data Encryption Standard DES, written in javascript +   + + + handler + default_homework.lcpm + handler + used by lonxml::xmlparse() as input variable $safeinit to Apache::run::run() +   + + + directory DIRECTORY -- /home/httpd/html/res/adm/pages +   + + + graphic file + *.gif + graphic files + icons used for the entire LON-CAPA user interface + +listing
+ +a.gif +b.gif +c.gif +chat.gif +d.gif +e.gif +endmenu.gif +f.gif +feedback.gif +fnkmenu.gif +g.gif +group.gif +h.gif +help.gif +hyphen.gif +i.gif +info.gif +j.gif +k.gif +l.gif +ledblink.gif +ledoff.gif +ledon.gif +ledsend.gif +m.gif +n.gif +navmenu.gif +next.gif +o.gif +p.gif +prev.gif +q.gif +r.gif +reload.gif +remotebg.gif +s.gif +space.gif +spacer.gif +t.gif +title.gif +u.gif +v.gif +w.gif +x.gif +y.gif +z.gif + + + + interface file + imgmaps.html + interface file + image maps for the LON-CAPA remote control +   + + + interface file + index.html + interface file + welcoming page to the LON-CAPA system upon login +   + + + interface file + menu.html + interface file + renders the HTML (including image maps) for the LON-CAPA remote control +   + + + directory DIRECTORY -- /home/httpd/html/res/adm/pages/bookmarkmenu +   + + + graphic file + *.gif + graphic files + icons used for the bookmark portion of the LON-CAPA user interface + +listing
+ +button_close.gif +button_edit.gif +button_preview.gif +folder_closed.gif +folder_closed_pressed.gif +folder_new.gif +folder_opened.gif +folder_opened_pressed.gif +folder_pointer_closed.gif +folder_pointer_opened.gif +folder_spacer.gif +folder_trash.gif +left_bar.gif +line_l_shape.gif +line_side_T.gif +line_vertical.gif +link.gif +link_pressed.gif +ll_corner.gif +lower_bar.gif +lr_corner.gif +right_bar.gif +toolbar_bg.gif +ul_corner.gif +upper_bar.gif +ur_corner.gif + + + + interface file + *.html + interface file + associated with the frameset scheme of displaying bookmarks + +aaloader.html +annotator_bb.html +annotator_left.html +annotator_ll.html +annotator_lr.html +annotator_right.html +annotator_toolbar.html +annotator_ul.html +annotator_ur.html +annotator_uu.html +bookmarkpal.html +bookmarkpal_old.html +bookmarkpal_v2.html +bookmarkpal_v2_backup.html +index.html +loading_bookmarks.html + + + + interface file + bookmarklib.js + interface file + javascript for handling client-side interactions with bookmark interface +   + + + empty directory EMPTY DIRECTORY -- /home/httpd/html/res/adm/pages/annotations +   + + + directory DIRECTORY -- /usr/sbin +   + + + script file + loncapaverifypackages + script + checks the system RPMs against what install.lon-capa.org specifies +   + + + script file + loncapaverifybasepackage + script + checks the important base LON-CAPA files against what install.lon-capa.org specifies +   + + + script file + loncaparestoreconfigurations + script + restores .rpmsave files after a LON-CAPA-base upgrade +   + + + script file + loncapaautoupgrade + script + does all the things to coordinate updating of LON-CAPA base files. Should be used with caution so that you do not lose work. +   + + + script file + loncapaverify + script + makes verification report using loncapaverifypackages and loncapaverifybasepackage +   + + + directory DIRECTORY -- /etc/cron.d +   + + + static + loncapa + static conf + file that specifies periodic processes to run for the LON-CAPA machine +   + + + directory DIRECTORY -- /etc/ntp +   + + + configurable + step-tickers + conf + file that stimulates running of ntpdate upon init.d/xntpd initiation + configure + + +
just one line with the ip address of the server
+ + + + directory DIRECTORY -- /etc/rc.d/init.d +   + + + root script + loncontrol + root script + system init and control handling for the LON-CAPA network + +multiple targets
+ +
+/etc/rc.d/rc0.d/K05loncontrol
+/etc/rc.d/rc1.d/K05loncontrol
+/etc/rc.d/rc2.d/K05loncontrol
+/etc/rc.d/rc3.d/S95loncontrol
+/etc/rc.d/rc4.d/S95loncontrol
+/etc/rc.d/rc5.d/S95loncontrol
+/etc/rc.d/rc6.d/K05loncontrol
+
+
+ + + directory DIRECTORY -- /etc/atalk +   + + + configurable + config + conf + configuration file to make LON-CAPA server file space accessible to Appleshares access (Macintosh) + configure
+ +
Rolled in a RedHat 6.2 RPM, September 27, 2000

@@ -68,7 +1246,7 @@ with different sets of permissions based
  • unless otherwise specified, lists are separated by newlines (and subelements are separated with colons ':')
    -

    2. File and Directory Table

    +

    2. File and Directory Table

  • @@ -184,8 +1362,7 @@ each list element consists of only one v - +
    Files & Directoriesconfigurable krb.conf confwhich Kerberos - server to contact for which Kerberos domainswhich Kerberos server to contact for which Kerberos domains configure
    + + + + + + @@ -251,6 +1435,41 @@ Example:
    server ntp.msu.edu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1002,7 +2221,7 @@ loading_bookmarks.html - + @@ -1016,11 +2235,15 @@ loading_bookmarks.html - + - + @@ -1030,302 +2253,32 @@ loading_bookmarks.html - + + + + + + + + + + +
    @@ -204,6 +1381,13 @@ each list element consists of only two s
    configurablesmb.confconfconfiguration file to make LON-CAPA server file space accessible to network neighborhoodconfigure
    +
    configurable ntp.conf conf which NTP server to contact for information (XNTP3 standard)maintain secondary database of metadata  
    setuidlcpasswdsetuid scriptcoordinates the system services and files in order to allow lond to change user passwords 
    setuidlcuseraddsetuid scriptcoordinates the system services and files in order to allow lond to add a new user 
    setuidlcpasswdsetuid scriptcoordinates the system services and files in order to allow lond to add a new user 
    setuidlcnfsonsetuid scriptcoordinates the system services and files in order to allow lond to enable NFS for a user 
    setuidlcnfsoffsetuid scriptcoordinates the system services and files in order to allow lond to enable NFS for a user 
    empty directory EMPTY DIRECTORY -- /home/httpd/perl/logs logs and pids of lonc, lond and lonnet.pm
    directory DIRECTORY -- /etc/cron.dunauthenticated resources 
    static 
    interface fileconfigurable step-tickers conf file that stimulates running of ntpdate upon init.d/xntpd initiation configure + + +
    just one line with the ip address of the server
    +
    directory DIRECTORY -- /etc/rc.d/init.droot script loncontrol root scripticons used for the entire LON-CAPA user interfacesystem init and control handling for the LON-CAPA network multiple targets
    - -a.gif -b.gif -c.gif -chat.gif -d.gif -e.gif -endmenu.gif -f.gif -feedback.gif -fnkmenu.gif -g.gif -group.gif -h.gif -help.gif -hyphen.gif -i.gif -info.gif -j.gif -k.gif -l.gif -ledblink.gif -ledoff.gif -ledon.gif -ledsend.gif -m.gif -n.gif -navmenu.gif -next.gif -o.gif -p.gif -prev.gif -q.gif -r.gif -reload.gif -remotebg.gif -s.gif -space.gif -spacer.gif -t.gif -title.gif -u.gif -v.gif -w.gif -x.gif -y.gif -z.gif + +
    +/etc/rc.d/rc0.d/K05loncontrol
    +/etc/rc.d/rc1.d/K05loncontrol
    +/etc/rc.d/rc2.d/K05loncontrol
    +/etc/rc.d/rc3.d/S95loncontrol
    +/etc/rc.d/rc4.d/S95loncontrol
    +/etc/rc.d/rc5.d/S95loncontrol
    +/etc/rc.d/rc6.d/K05loncontrol
    +
    directory DIRECTORY -- /etc/atalk 
    configurableconfigconfconfiguration file to make LON-CAPA server file space accessible to Appleshares access (Macintosh)configure
    +
    -
    -

    3. Software Package Specification File

    -
    -Summary: Basic files for running a LON-CAPA server.
    -Name: LON-CAPA-base
    -Version: 3.1
    -Release: 1
    -Vendor: Laboratory for Instructional Technology Education, Division of Science and Mathematics Education, Michigan State University.
    -BuildRoot: /home/harris41/LON-CAPA-BuildRoot
    -Copyright: GNU General Public License. Version 2, June 1991.  Michigan State University patents may apply.
    -Group: Utilities/System
    -Source: LON-CAPA-base-3.1.tar.gz
    -AutoReqProv: no
    -# requires: filesystem
    -%description
    -This package facilitates a base installation of LON-CAPA files in their directories.
    -The files in this package are only those directly associated with the network communication
    -layer established through direct server-to-server communications (via lond and lonc); plus
    -those which configure (but otherwise not constitute) external software packages like Apache
    -and Athena-Kerberos.  For more on the LON-CAPA project, visit http://www.lon-capa.org/.
    -
    -%prep
    -%setup
    -
    -%build
    -rm -Rf "/home/harris41/LON-CAPA-BuildRoot"
    -
    -%install
    -# ROOT="$RPM_BUILD_ROOT"
    -# SOURCE="/home/harris41/LON-CAPA-topdir_for_build/SOURCES/LON-CAPA-base-3.1/LON-CAPA/SourceRoot"
    -make ROOT="$RPM_BUILD_ROOT" SOURCE="/home/harris41/LON-CAPA-topdir_for_build/SOURCES/LON-CAPA-base-3.1/SourceRoot" directories
    -make ROOT="$RPM_BUILD_ROOT" SOURCE="/home/harris41/LON-CAPA-topdir_for_build/SOURCES/LON-CAPA-base-3.1/SourceRoot" files
    -
    -%pre
    -echo "***********************************************************************"
    -echo "LON-CAPA  LearningOnline with CAPA"
    -echo "http://www.lon-capa.org/"
    -echo "Gerd Kortemeyer, et al"
    -echo "Laboratory for Instructional Technology Education"
    -echo "Michigan State University"
    -echo "General Public License, Version 2, June 1991"
    -echo "** Michigan State University patents may apply **"
    -echo " "
    -echo "This installation assumes an installation of Redhat 6.2"
    -echo " "
    -echo "The server computer should be currently connected to the ethernet"
    -echo " "
    -echo "The files in this package are only those directly associated with the network communication"
    -echo "layer established through direct server-to-server communications (via lond and lonc); plus"
    -echo "those which configure (but otherwise not constitute) external software packages like Apache"
    -echo "and Athena-Kerberos."
    -echo "***********************************************************************"
    -
    -%post
    -%postun
    -
    -%files
    -%doc README COPYING ChangeLog LICENSE
    -%dir %attr(700,www,users) /etc/httpd/conf
    -%config %attr(600,www,users) /etc/httpd/conf/access.conf
    -%attr(400,www,users) /etc/httpd/conf/httpd.conf
    -%attr(400,www,users) /etc/httpd/conf/srm.conf
    -%attr(400,www,users) /etc/httpd/conf/startup.pl
    -%dir %attr(700,www,users) /home/httpd/lonTabs
    -%attr(400,www,users) /home/httpd/lonTabs/filetypes.tab
    -%attr(400,www,users) /home/httpd/lonTabs/roles.tab
    -%attr(400,www,users) /home/httpd/lonTabs/rolesplain.tab
    -%attr(400,www,users) /home/httpd/lonTabs/hosts.tab
    -%config %attr(600,www,users) /home/httpd/lonTabs/spare.tab
    -%attr(400,www,users) /home/httpd/lonTabs/htpasswd
    -%config %attr(600,www,users) /etc/krb.conf
    -%attr(500,www,users) /home/httpd/perl/lonc
    -%attr(500,www,users) /home/httpd/perl/lond
    -%attr(500,www,users) /home/httpd/perl/loncron
    -%attr(500,www,users) /home/httpd/perl/lonsql
    -%dir %attr(700,www,users) /home/httpd/perl/logs
    -%dir %attr(700,www,users) /home/httpd/perl/tmp
    -%dir %attr(500,www,users) /home/httpd/lib/perl/Apache
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonratedt.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonratsrv.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonpage.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonuserstate.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lontex.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lontexconvert.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonxml.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/style.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/londefdef.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/run.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/scripttag.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonhomework.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/inputtags.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/structuretags.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/response.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/caparesponse.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonacc.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonracc.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/loncacc.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonauth.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonlogin.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonlogout.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonrep.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonroles.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonindexer.pm
    -%attr(400,www,users) /home/httpd/lib/perl/Apache/lonnet.pm
    -%dir %attr(700,www,users) /home/httpd/lonIDs
    -%dir %attr(700,www,users) /home/httpd/sockets
    -%dir %attr(700,www,users) /home/httpd/sockets/delayed
    -%dir %attr(700,www,users) /home/httpd/html
    -%attr(400,www,users) /home/httpd/html/index.html
    -%dir %attr(700,www,users) /home/httpd/html/res
    -%attr(-,www,users) /home/httpd/html/raw
    -%dir %attr(500,www,users) /home/httpd/html/adm
    -%attr(400,www,users) /home/httpd/html/adm/notfound.html
    -%attr(400,www,users) /home/httpd/html/adm/unauthorized.html
    -%dir %attr(500,www,users) /home/httpd/html/adm/rat
    -%attr(400,www,users) /home/httpd/html/adm/rat/rat.html
    -%attr(400,www,users) /home/httpd/html/adm/rat/code.html
    -%attr(400,www,users) /home/httpd/html/adm/rat/map.html
    -%attr(400,www,users) /home/httpd/html/adm/rat/*.gif
    -%dir %attr (500,www,users) /home/httpd/html/adm/lonIcons
    -%attr (400,www,users) /home/httpd/html/adm/lonIcons/*.gif
    -%dir %attr (700,www,users) /home/httpd/lonUsers
    -%dir %attr (700,www,users) /home/httpd/lon-status
    -%attr (400,www,users) /usr/lib/perl5/site_perl/5.005/tth.bs
    -%attr (400,www,users) /usr/lib/perl5/site_perl/5.005/tth.pm
    -%attr (500,www,users) /usr/lib/perl5/site_perl/5.005/tth.so
    -%attr (400,www,users) /usr/lib/perl5/site_perl/5.005/capa.pm
    -%attr (400,www,users) /usr/lib/perl5/site_perl/5.005/capa.bs
    -%attr (500,www,users) /usr/lib/perl5/site_perl/5.005/capa.so
    -%dir %attr (500,www,users) /home/httpd/html/adm/MathML
    -%attr (400,www,users) /home/httpd/html/adm/MathML/*.ent
    -%attr (400,www,users) /home/httpd/html/adm/MathML/mathml.css
    -%attr (400,www,users) /home/httpd/html/adm/MathML/mathml.dtd
    -%dir %attr (500,www,users) /home/httpd/html/res/adm/includes
    -%attr (400,www,users) /home/httpd/html/res/adm/includes/londes.js
    -%attr (400,www,users) /home/httpd/html/res/adm/includes/default_homework.lcpm
    -%dir %attr (500,www,users) /home/httpd/html/res/adm/pages
    -%dir %attr (500,www,users) /home/httpd/html/res/adm/pages/bookmarkmenu
    -%dir %attr (500,www,users) /home/httpd/html/res/adm/pages/annotations
    -%attr (400,www,users) /home/httpd/html/res/adm/pages/*.gif
    -%attr (400,www,users) /home/httpd/html/res/adm/pages/imgmaps.html
    -%attr (400,www,users) /home/httpd/html/res/adm/pages/index.html
    -%attr (400,www,users) /home/httpd/html/res/adm/pages/menu.html
    -%attr (400,www,users) /home/httpd/html/res/adm/pages/bookmarkmenu/*.gif
    -%attr (400,www,users) /home/httpd/html/res/adm/pages/bookmarkmenu/bookmarklib.js
    -%attr (400,www,users) /home/httpd/html/res/adm/pages/bookmarkmenu/*.html
    -
    -
    -

    4. Makefile

    -
    -directories:
    -	install -m 0700 -d $(SOURCE)/etc/httpd/conf $(ROOT)/etc/httpd/conf
    -	install -m 0700 -d $(SOURCE)/home/httpd/lonTabs $(ROOT)/home/httpd/lonTabs
    -	install -m 0700 -d $(SOURCE)/home/httpd/perl $(ROOT)/home/httpd/perl
    -	install -m 0700 -d $(SOURCE)/home/httpd/perl/logs $(ROOT)/home/httpd/perl/logs
    -	install -m 0700 -d $(SOURCE)/home/httpd/perl/tmp $(ROOT)/home/httpd/perl/tmp
    -	install -m 0500 -d $(SOURCE)/home/httpd/lib/perl/Apache $(ROOT)/home/httpd/lib/perl/Apache
    -	install -m 0700 -d $(SOURCE)/home/httpd/lonIDs $(ROOT)/home/httpd/lonIDs
    -	install -m 0700 -d $(SOURCE)/home/httpd/sockets $(ROOT)/home/httpd/sockets
    -	install -m 0700 -d $(SOURCE)/home/httpd/sockets/delayed $(ROOT)/home/httpd/sockets/delayed
    -	install -m 0700 -d $(SOURCE)/home/httpd/html $(ROOT)/home/httpd/html
    -	install -m 0700 -d $(SOURCE)/home/httpd/html/res $(ROOT)/home/httpd/html/res
    -	install -m 0500 -d $(SOURCE)/home/httpd/html/adm $(ROOT)/home/httpd/html/adm
    -	install -m 0500 -d $(SOURCE)/home/httpd/html/adm/rat $(ROOT)/home/httpd/html/adm/rat
    -	install -m 0500 -d $(SOURCE)/home/httpd/html/adm/lonIcons $(ROOT)/home/httpd/html/adm/lonIcons
    -	install -m 0700 -d $(SOURCE)/home/httpd/lonUsers $(ROOT)/home/httpd/lonUsers
    -	install -m 0700 -d $(SOURCE)/home/httpd/lon-status $(ROOT)/home/httpd/lon-status
    -	install -m 0500 -d $(SOURCE)/home/httpd/html/adm/MathML $(ROOT)/home/httpd/html/adm/MathML
    -	install -m 0500 -d $(SOURCE)/home/httpd/html/res/adm/includes $(ROOT)/home/httpd/html/res/adm/includes
    -	install -m 0500 -d $(SOURCE)/home/httpd/html/res/adm/pages $(ROOT)/home/httpd/html/res/adm/pages
    -	install -m 0500 -d $(SOURCE)/home/httpd/html/res/adm/pages $(ROOT)/home/httpd/html/res/adm/pages/bookmarkmenu
    -	install -m 0500 -d $(SOURCE)/home/httpd/html/res/adm/pages $(ROOT)/home/httpd/html/res/adm/pages/annotations
    -	install -m 0500 -d $(SOURCE)/usr/lib/perl5/site_perl/5.005 $(ROOT)/usr/lib/perl5/site_perl/5.005
    -
    -files:
    -	install -m 0600 $(SOURCE)/etc/httpd/conf/access.conf $(ROOT)/etc/httpd/conf/access.conf
    -	install -m 0400 $(SOURCE)/etc/httpd/conf/httpd.conf $(ROOT)/etc/httpd/conf/httpd.conf
    -	install -m 0400 $(SOURCE)/etc/httpd/conf/srm.conf $(ROOT)/etc/httpd/conf/srm.conf
    -	install -m 0400 $(SOURCE)/etc/httpd/conf/startup.pl $(ROOT)/etc/httpd/conf/startup.pl
    -	install -m 0400 $(SOURCE)/home/httpd/lonTabs/filetypes.tab $(ROOT)/home/httpd/lonTabs/filetypes.tab
    -	install -m 0400 $(SOURCE)/home/httpd/lonTabs/roles.tab $(ROOT)/home/httpd/lonTabs/roles.tab
    -	install -m 0400 $(SOURCE)/home/httpd/lonTabs/rolesplain.tab $(ROOT)/home/httpd/lonTabs/rolesplain.tab
    -	install -m 0400 $(SOURCE)/home/httpd/lonTabs/hosts.tab $(ROOT)/home/httpd/lonTabs/hosts.tab
    -	install -m 0600 $(SOURCE)/home/httpd/lonTabs/spare.tab $(ROOT)/home/httpd/lonTabs/spare.tab
    -	install -m 0400 $(SOURCE)/home/httpd/lonTabs/htpasswd $(ROOT)/home/httpd/lonTabs/htpasswd
    -	install -m 0600 $(SOURCE)/etc/krb.conf $(ROOT)/etc/krb.conf
    -	install -m 0500 $(SOURCE)/home/httpd/perl/lonc $(ROOT)/home/httpd/perl/lonc
    -	install -m 0500 $(SOURCE)/home/httpd/perl/lond $(ROOT)/home/httpd/perl/lond
    -	install -m 0500 $(SOURCE)/home/httpd/perl/loncron $(ROOT)/home/httpd/perl/loncron
    -	install -m 0500 $(SOURCE)/home/httpd/perl/lonsql $(ROOT)/home/httpd/perl/lonsql
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonratedt.pm $(ROOT)/home/httpd/lib/perl/Apache/lonratedt.pm 
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonratsrv.pm $(ROOT)/home/httpd/lib/perl/Apache/lonratsrv.pm 
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonpage.pm $(ROOT)/home/httpd/lib/perl/Apache/lonpage.pm 
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonuserstate.pm $(ROOT)/home/httpd/lib/perl/Apache/lonuserstate.pm 
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lontex.pm $(ROOT)/home/httpd/lib/perl/Apache/lontex.pm 
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lontexconvert.pm $(ROOT)/home/httpd/lib/perl/Apache/lontexconvert.pm 
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonxml.pm $(ROOT)/home/httpd/lib/perl/Apache/lonxml.pm 
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/style.pm $(ROOT)/home/httpd/lib/perl/Apache/style.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/londefdef.pm $(ROOT)/home/httpd/lib/perl/Apache/londefdef.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/run.pm $(ROOT)/home/httpd/lib/perl/Apache/run.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/scripttag.pm $(ROOT)/home/httpd/lib/perl/Apache/scripttag.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonhomework.pm $(ROOT)/home/httpd/lib/perl/Apache/lonhomework.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/inputtags.pm $(ROOT)/home/httpd/lib/perl/Apache/inputtags.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/structuretags.pm $(ROOT)/home/httpd/lib/perl/Apache/structuretags.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/response.pm $(ROOT)/home/httpd/lib/perl/Apache/response.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/caparesponse.pm $(ROOT)/home/httpd/lib/perl/Apache/caparesponse.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonacc.pm $(ROOT)/home/httpd/lib/perl/Apache/lonacc.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonracc.pm $(ROOT)/home/httpd/lib/perl/Apache/lonracc.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/loncacc.pm $(ROOT)/home/httpd/lib/perl/Apache/loncacc.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonauth.pm $(ROOT)/home/httpd/lib/perl/Apache/lonauth.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonlogin.pm $(ROOT)/home/httpd/lib/perl/Apache/lonlogin.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonlogout.pm $(ROOT)/home/httpd/lib/perl/Apache/lonlogout.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonrep.pm $(ROOT)/home/httpd/lib/perl/Apache/lonrep.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonroles.pm $(ROOT)/home/httpd/lib/perl/Apache/lonroles.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonindexer.pm $(ROOT)/home/httpd/lib/perl/Apache/lonindexer.pm
    -	install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonnet.pm $(ROOT)/home/httpd/lib/perl/Apache/lonnet.pm
    -	install -m 0400 $(SOURCE)/home/httpd/html/index.html $(ROOT)/home/httpd/html/index.html
    -	ln -s /home/httpd/html/res $(ROOT)/home/httpd/html/raw
    -	install -m 0400 $(SOURCE)/home/httpd/html/adm/notfound.html $(ROOT)/home/httpd/html/adm/notfound.html
    -	install -m 0400 $(SOURCE)/home/httpd/html/adm/unauthorized.html $(ROOT)/home/httpd/html/adm/unauthorized.html
    -	install -m 0400 $(SOURCE)/home/httpd/html/adm/rat/rat.html $(ROOT)/home/httpd/html/adm/rat/rat.html
    -	install -m 0400 $(SOURCE)/home/httpd/html/adm/rat/code.html $(ROOT)/home/httpd/html/adm/rat/code.html
    -	install -m 0400 $(SOURCE)/home/httpd/html/adm/rat/map.html $(ROOT)/home/httpd/html/adm/rat/map.html
    -	install -m 0400 $(SOURCE)/home/httpd/html/adm/rat/*.gif $(ROOT)/home/httpd/html/adm/rat/.
    -	install -m 0400 $(SOURCE)/home/httpd/html/adm/lonIcons/*.gif $(ROOT)/home/httpd/html/adm/lonIcons/.
    -	install -m 0400 $(SOURCE)/usr/lib/perl5/site_perl/5.005/tth.pm $(ROOT)/usr/lib/perl5/site_perl/5.005/tth.pm
    -	install -m 0400 $(SOURCE)/usr/lib/perl5/site_perl/5.005/tth.bs $(ROOT)/usr/lib/perl5/site_perl/5.005/tth.bs
    -	install -m 0500 $(SOURCE)/usr/lib/perl5/site_perl/5.005/tth.so $(ROOT)/usr/lib/perl5/site_perl/5.005/tth.so
    -	install -m 0400 $(SOURCE)/usr/lib/perl5/site_perl/5.005/capa.pm $(ROOT)/usr/lib/perl5/site_perl/5.005/capa.pm
    -	install -m 0400 $(SOURCE)/usr/lib/perl5/site_perl/5.005/capa.bs $(ROOT)/usr/lib/perl5/site_perl/5.005/capa.bs
    -	install -m 0500 $(SOURCE)/usr/lib/perl5/site_perl/5.005/capa.so $(ROOT)/usr/lib/perl5/site_perl/5.005/capa.so
    -	install -m 0400 $(SOURCE)/home/httpd/html/adm/MathML/*.ent $(ROOT)/home/httpd/html/adm/MathML/.
    -	install -m 0400 $(SOURCE)/home/httpd/html/adm/MathML/mathml.css $(ROOT)/home/httpd/html/adm/MathML/mathml.css
    -	install -m 0400 $(SOURCE)/home/httpd/html/adm/MathML/mathml.dtd $(ROOT)/home/httpd/html/adm/MathML/mathml.dtd
    -	install -m 0400 $(SOURCE)/home/httpd/html/res/adm/includes/londes.js $(ROOT)/home/httpd/html/res/adm/includes/londes.js
    -	install -m 0400 $(SOURCE)/home/httpd/html/res/adm/pages/*.gif $(ROOT)/home/httpd/html/res/adm/pages/.
    -	install -m 0400 $(SOURCE)/home/httpd/html/res/adm/pages/imgmaps.html $(ROOT)/home/httpd/html/res/adm/pages/imgmaps.html
    -	install -m 0400 $(SOURCE)/home/httpd/html/res/adm/pages/index.html $(ROOT)/home/httpd/html/res/adm/pages/index.html
    -	install -m 0400 $(SOURCE)/home/httpd/html/res/adm/pages/menu.html $(ROOT)/home/httpd/html/res/adm/pages/menu.html
    -	install -m 0400 $(SOURCE)/home/httpd/html/res/adm/pages/bookmarkmenu/*.gif $(ROOT)/home/httpd/html/res/adm/pages/bookmarkmenu/.
    -	install -m 0400 $(SOURCE)/home/httpd/html/res/adm/pages/bookmarkmenu/*.html $(ROOT)/home/httpd/html/res/adm/pages/bookmarkmenu/.
    -	install -m 0400 $(SOURCE)/home/httpd/html/res/adm/pages/bookmarkmenu/bookmarklib.js $(ROOT)/home/httpd/html/res/adm/pages/bookmarkmenu/bookmarklib.js
    -
    -