--- doc/loncapafiles/Attic/loncapafiles.html 2000/09/24 01:08:06 1.2 +++ doc/loncapafiles/Attic/loncapafiles.html 2000/09/24 02:37:57 1.3 @@ -9,6 +9,39 @@
Scott Harrison, September 2000
Gerd Kortemeyer, Spring-Summer 2000

+

    +
  1. Software Package Information +
  2. File and Directory Table +
  3. .spec file +
  4. Makefile +
+
+

1. Software Package Information

+
Rolled in a RedHat 6.2 RPM, September 23, 2000 +

+ +
+
+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/.
+
+
+ +

Note: these files only refer to

- +
+

2. File and Directory Table

@@ -737,5 +780,218 @@ z.gif
Files & Directories 
+
+

3. Software Package Specification File

+
+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
+
+
+

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
+
+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
+