Diff for /doc/loncapafiles/Attic/loncapafiles.html between versions 1.2 and 1.3

version 1.2, 2000/09/24 01:08:06 version 1.3, 2000/09/24 02:37:57
Line 9 Line 9
 <BR>Scott Harrison, September 2000  <BR>Scott Harrison, September 2000
 <BR>Gerd Kortemeyer, Spring-Summer 2000  <BR>Gerd Kortemeyer, Spring-Summer 2000
 <P>  <P>
   <OL>
   <LI><A HREF="#sect1">Software Package Information</A>
   <LI><A HREF="#sect2">File and Directory Table</A>
   <LI><A HREF="#sect3">.spec file</A>
   <LI><A HREF="#sect4">Makefile</A>
   </OL>
   <HR>
   <A NAME="sect1"><H3>1. Software Package Information</H3>
   <FONT SIZE=+2><A HREF="LON-CAPA-base-3.1-1.i386.rpm">Rolled in a RedHat 6.2 RPM, September 23, 2000</A></FONT>
   <P>
   <TABLE BGCOLOR=#FFFFFF BORDER=0 CELLPADDING=10 CELLSPACING=0>
   <TR><TD>
   <PRE>
   Name        : LON-CAPA-base                Relocations: (not relocateable)
   Version     : 3.1                               Vendor: Laboratory for Instructional Technology Education,
                                                           Division of Science and Mathematics Education,
    Michigan State University.
   Release     : 1                             Build Date: Sat Sep 23 21:08:01 2000
   Install date: Sat Sep 23 21:08:13 2000      Build Host: spock.lite.msu.edu
   Group       : Utilities/System              Source RPM: LON-CAPA-base-3.1-1.src.rpm
   Size        : 817259                           License: GNU General Public License. Version 2, June 1991.
                                                           Michigan State University patents may apply.
   Summary     : Basic system files for running a LON-CAPA server.
   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/.
   </PRE>
   </TABLE>
   
   <P>
 Note: these files only refer to   Note: these files only refer to 
 <UL>  <UL>
 <LI>those directly associated  <LI>those directly associated
Line 22  and, these files Line 55  and, these files
 <LI>are all owned by user=www, group=users  <LI>are all owned by user=www, group=users
 <LI>all represent their install-time configurations  <LI>all represent their install-time configurations
 (for instance, some directories start out as empty)  (for instance, some directories start out as empty)
 <LI>are all ONLY under the read-write (and sometimes execute) privileges of user=www (-rwx------)  <LI>are all ONLY under the read-write-execute privileges of user=www,
   with different sets of permissions based on file type
   <UL>
   <LI><B>chmod 400</B>
   <BR><B>-r--------</B>: static conf, handler, interface file, graphic files, system file
   <LI><B>chmod 600</B>
   <BR><B>-rw-------</B>: conf
   <LI><B>chmod 500</B>
   <BR><B>-r-x------</B>: script
   </UL>
 <LI>unless otherwise specified, lists are separated by newlines (and subelements are separated with colons ':')  <LI>unless otherwise specified, lists are separated by newlines (and subelements are separated with colons ':')
 </UL>  </UL>
   <HR>
   <A NAME="sect2"><H3>2. File and Directory Table</H3>
 <TABLE BORDER="1" CELLPADDING=5 WIDTH=60%>  <TABLE BORDER="1" CELLPADDING=5 WIDTH=60%>
   <TR>    <TR>
     <TD WIDTH="39%" COLSPAN=2><B><FONT SIZE="+1">Files & Directories</FONT></B></TD>      <TD WIDTH="39%" COLSPAN=2><B><FONT SIZE="+1">Files & Directories</FONT></B></TD>
Line 737  z.gif Line 780  z.gif
     <TD WIDTH="26%">&nbsp;</TD>      <TD WIDTH="26%">&nbsp;</TD>
   </TR>    </TR>
 </TABLE>  </TABLE>
   <HR>
   <A NAME="sect3"><H3>3. Software Package Specification File</H3>
   <PRE>
   Summary: Basic system 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(700,www,users) /etc/httpd/conf/access.conf
   %attr(500,www,users) /etc/httpd/conf/httpd.conf
   %attr(500,www,users) /etc/httpd/conf/srm.conf
   %attr(500,www,users) /etc/httpd/conf/startup.pl
   %dir %attr(700,www,users) /home/httpd/lonTabs
   %attr(500,www,users) /home/httpd/lonTabs/filetypes.tab
   %attr(500,www,users) /home/httpd/lonTabs/roles.tab
   %attr(500,www,users) /home/httpd/lonTabs/rolesplain.tab
   %attr(500,www,users) /home/httpd/lonTabs/hosts.tab
   %config %attr(700,www,users) /home/httpd/lonTabs/spare.tab
   %attr(500,www,users) /home/httpd/lonTabs/htpasswd
   %config %attr(700,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(500,www,users) /home/httpd/lib/perl/Apache/lonxml.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/style.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/londefdef.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/run.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/scripttag.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/lonhomework.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/inputtags.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/structuretags.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/response.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/caparesponse.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/lonacc.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/lonracc.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/loncacc.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/lonauth.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/lonlogin.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/lonrep.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/lonproblem.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/lonroles.pm
   %attr(500,www,users) /home/httpd/lib/perl/Apache/lonindexer.pm
   %attr(500,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(500,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(500,www,users) /home/httpd/html/adm/notfound.html
   %attr(500,www,users) /home/httpd/html/adm/unauthorized.html
   %dir %attr(500,www,users) /home/httpd/html/adm/rat
   %attr(500,www,users) /home/httpd/html/adm/rat/rat.html
   %attr(500,www,users) /home/httpd/html/adm/rat/code.html
   %attr(500,www,users) /home/httpd/html/adm/rat/map.html
   %attr(500,www,users) /home/httpd/html/adm/rat/*.gif
   %dir %attr (500,www,users) /home/httpd/html/adm/lonIcons
   %attr (500,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 (500,www,users) /usr/lib/perl5/site_perl/5.005/capa.pm
   # %attr (500,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 (500,www,users) /home/httpd/html/adm/MathML/*.ent
   %attr (500,www,users) /home/httpd/html/adm/MathML/mathml.css
   %attr (500,www,users) /home/httpd/html/adm/MathML/mathml.dtd
   %dir %attr (500,www,users) /home/httpd/html/res/adm/includes
   %attr (500,www,users) /home/httpd/html/res/adm/includes/londes.js
   %dir %attr (500,www,users) /home/httpd/html/res/adm/pages
   %attr (500,www,users) /home/httpd/html/res/adm/pages/*.gif
   %attr (500,www,users) /home/httpd/html/res/adm/pages/imgmaps.html
   %attr (500,www,users) /home/httpd/html/res/adm/pages/index.html
   %attr (500,www,users) /home/httpd/html/res/adm/pages/menu.html
   </PRE>
   <HR>
   <A NAME="sect2"><H3>4. Makefile</H3>
   <PRE>
   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
   
   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/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/lonrep.pm $(ROOT)/home/httpd/lib/perl/Apache/lonrep.pm
    install -m 0400 $(SOURCE)/home/httpd/lib/perl/Apache/lonproblem.pm $(ROOT)/home/httpd/lib/perl/Apache/lonproblem.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/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 0400 $(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
   </PRE>
 </BODY>  </BODY>
 </HTML>  </HTML>

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>