Skip to contentSkip to conversation

conga/luci cluster/Makefile homebase/Makefile ...

Cluster-devel [email protected] 1 participant 1 message Oct 5, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-10-05 15:01:40

Modified files:

	luci/cluster   : Makefile 
	luci/homebase  : Makefile 
	luci/init.d    : luci 

luci/plone-custom: Makefile
luci/storage : Makefile

Log message:
luci Data.fs import/export scripts:
- skip Makefile*
- define LUCI_HOST

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/init.d/luci.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/Makefile.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6

luci/cluster/Makefile +4 -3
@@ -1,7 +1,8 @@
+LUCI_HOST=luci
 LUCI_USER=admin
 LUCI_PASS=changeme
-LUCI_FTP=luci:8021
-LUCI_HTTP=http://luci:8080/luci
+LUCI_FTP=$(LUCI_HOST):8021
+LUCI_HTTP=http://$(LUCI_HOST):8080/luci
 
 all:
 	@true
@@ -11,7 +12,7 @@
 	@if test "$(FILES)"; then \
 		../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/cluster/ $(FILES) ; \
 	else \
-		find . -follow -maxdepth 1 -type f -not -name Makefile -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/cluster/ ; \
+		find . -follow -maxdepth 1 -type f -not -name "Makefile*" -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/cluster/ ; \
 	fi
 
 export:
luci/homebase/Makefile +4 -3
@@ -1,7 +1,8 @@
+LUCI_HOST=luci
 LUCI_USER=admin
 LUCI_PASS=changeme
-LUCI_FTP=luci:8021
-LUCI_HTTP=http://luci:8080/luci
+LUCI_FTP=$(LUCI_HOST):8021
+LUCI_HTTP=http://$(LUCI_HOST):8080/luci
 
 all:
 	@true
@@ -11,7 +12,7 @@
 	@if test "$(FILES)"; then \
 		../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/homebase/ $(FILES) ; \
 	else \
-		find . -follow -maxdepth 1 -type f -not -name Makefile -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/homebase/ ; \
+		find . -follow -maxdepth 1 -type f -not -name "Makefile*" -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/homebase/ ; \
 	fi
 
 export:
luci/init.d/luci +1 -1
@@ -32,7 +32,7 @@
 LUCI_USER="luci"
 LUCI_GROUP="luci"
 
-LUCI_URL="https://$HOSTNAME:$LUCI_HTTPS_PORT"
+LUCI_URL="https://`/bin/hostname`:$LUCI_HTTPS_PORT"
 
 HTTPS_PUBKEY="/var/lib/luci/var/certs/https.pem"
 HTTPS_PRIVKEY="/var/lib/luci/var/certs/https.key.pem"
luci/plone-custom/Makefile +4 -3
@@ -1,7 +1,8 @@
+LUCI_HOST=luci
 LUCI_USER=admin
 LUCI_PASS=changeme
-LUCI_FTP=luci:8021
-LUCI_HTTP=http://luci:8080/luci
+LUCI_FTP=$(LUCI_HOST):8021
+LUCI_HTTP=http://$(LUCI_HOST):8080/luci
 
 all:
 	@true
@@ -11,7 +12,7 @@
 	@if test "$(FILES)"; then \
 		../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/portal_skins/custom/ $(FILES) ; \
 	else \
-		find . -follow -maxdepth 1 -type f -not -name Makefile -not -name ".*" -not -name custom.xml -not -name README -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/portal_skins/custom/ ; \
+		find . -follow -maxdepth 1 -type f -not -name "Makefile*" -not -name ".*" -not -name custom.xml -not -name README -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/portal_skins/custom/ ; \
 	fi
 
 export:
luci/storage/Makefile +4 -3
@@ -1,7 +1,8 @@
+LUCI_HOST=luci
 LUCI_USER=admin
 LUCI_PASS=changeme
-LUCI_FTP=luci:8021
-LUCI_HTTP=http://luci:8080/luci
+LUCI_FTP=$(LUCI_HOST):8021
+LUCI_HTTP=http://$(LUCI_HOST):8080/luci
 
 all:
 	@true
@@ -11,7 +12,7 @@
 	@if test "$(FILES)"; then \
 		../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/storage/ $(FILES) ; \
 	else \
-		find . -follow -maxdepth 1 -type f -not -name Makefile -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/storage/ ; \
+		find . -follow -maxdepth 1 -type f -not -name "Makefile*" -not -name ".*" -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/storage/ ; \
 	fi
 
 export: