[LON-CAPA-cvs] cvs: loncom(version_2_0_X) /build Makefile

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 14 Jul 2005 06:02:41 -0000


albertel		Thu Jul 14 02:02:41 2005 EDT

  Modified files:              (Branch: version_2_0_X)
    /loncom/build	Makefile 
  Log:
  - backport 1.174 -> 1.177
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.173.2.2 loncom/build/Makefile:1.173.2.3
--- loncom/build/Makefile:1.173.2.2	Fri Jul  1 17:22:08 2005
+++ loncom/build/Makefile	Thu Jul 14 02:02:40 2005
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 
-# $Id: Makefile,v 1.173.2.2 2005/07/01 21:22:08 albertel Exp $
+# $Id: Makefile,v 1.173.2.3 2005/07/14 06:02:40 albertel Exp $
 
 # TYPICAL USAGE of this Makefile is primarily for two targets:
 # "make build" and "make install".
@@ -119,6 +119,7 @@
 	@echo "         system"
 	@echo "sanitycheck: probe for common errors and recommend fixes to"
 	@echo "             the user"
+	@echo "logcleanup: clean spurious logfile entries"
 	@echo "clean_file_permissions: Remove erroneous keys from the  "
 	@echo "    file_permissions.db"
 	@echo "accesscount_seed: Migrate the access counting mechanism from "
@@ -130,6 +131,7 @@
 	@echo "cron_lpmlcheck: remove cron file /etc/cron.d/loncapa.lpml."
 	@echo "chkconfig: test runlevels of httpd and loncontrol."
 	@echo "rpmcheck: test to see if rpms known to confict are installed."
+	@echo "wrap_setuid: put a C wrapper around setuid scripts."
 	@echo "updatequery: solicit the user for machine configuration"
 	@echo "             information; to be incorporated during an update"
 	@echo "             procedure (via the UPDATE command)"
@@ -424,6 +426,11 @@
 	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
 	tee -a WARNINGS
 
+logcleanup:
+	cat $(SOURCE)/doc/loncapafiles/logcleanup.piml | \
+	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
+	tee -a WARNINGS
+
 updatequery:
 	cat $(SOURCE)/doc/loncapafiles/updatequery.piml | \
 	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(QUERYLAUNCH)
@@ -467,6 +474,11 @@
 	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
 	tee -a WARNINGS
 
+wrap_setuid:
+	cat $(SOURCE)/doc/loncapafiles/wrap_setuid.piml | \
+	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
+	tee -a WARNINGS
+
 postinstall:
 	make webserverconf
 	make reseval_fixup
@@ -480,8 +492,10 @@
 	make html_parser_check
 	make cron_lpmlcheck
 	make sanitycheck
+	make logcleanup
 	make sendmail_fix
 	make ownership_fix
+	make wrap_setuid
 
 VERSION:
 	install -d $(TARGET)/etc