thomas: server/php-smarty Makefile,1.7,1.8

cvs at kolab.org cvs at kolab.org
Tue Oct 21 19:04:00 CEST 2008


Author: thomas

Update of /kolabrepository/server/php-smarty
In directory doto:/tmp/cvs-serv9778

Modified Files:
	Makefile 
Log Message:
Fetch Smarty-2.6.19.tar.gz from rsync.kolab.org

www.smarty.net currently isn't reachable, and we had similar problems with
unreachable horde servers in the past, so we want to keep a local copy of
what we need.

Mirrors sync too slow if you want to fix CVS right now, so putting this
in the rsync accessible space.


Index: Makefile
===================================================================
RCS file: /kolabrepository/server/php-smarty/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile	11 Aug 2008 12:20:58 -0000	1.7
+++ Makefile	21 Oct 2008 17:03:57 -0000	1.8
@@ -17,7 +17,8 @@
   KOLABRPMTMP = $(HOME)/RPM/TMP
 endif
 
-SOURCE_0=http://www.smarty.net/distributions/$(NAME)-$(VERSION).tar.gz
+#SOURCE_0=http://www.smarty.net/distributions/$(NAME)-$(VERSION).tar.gz
+SOURCE_0=rsync://rsync.kolab.org/kolab/server/development-2.2/externals/$(NAME)-$(VERSION).tar.gz
 
 .PHONY: all
 all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
@@ -35,7 +36,7 @@
 
 $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm: Makefile $(PACKAGE).spec
 	test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)
-	cd $(KOLABRPMSRC)/$(PACKAGE) && wget -c "$(SOURCE_0)"
+	rsync -tvz "$(SOURCE_0)" $(KOLABRPMSRC)/$(PACKAGE)/
 
 	cp $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)
 	cd $(KOLABRPMSRC)/$(PACKAGE) && $(RPM) -ba $(PACKAGE).spec





More information about the commits mailing list