From 9b7f14d6e16badcd6665e0941601988754f999ff Mon Sep 17 00:00:00 2001
From: Jondy Zhao <jondy.zhao@gmail.com>
Date: Tue, 16 Jul 2013 01:46:47 +0800
Subject: [PATCH] Change download url for cygwin package.

---
 component/apache-php/buildout.cfg   | 7 +++----
 component/freetype/buildout.cfg     | 2 +-
 component/libjpeg/buildout.cfg      | 2 +-
 component/libpng/buildout.cfg       | 2 +-
 component/rdiff-backup/buildout.cfg | 2 +-
 component/stunnel/buildout.cfg      | 2 +-
 6 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/component/apache-php/buildout.cfg b/component/apache-php/buildout.cfg
index e8baf1801..cae74a0b9 100644
--- a/component/apache-php/buildout.cfg
+++ b/component/apache-php/buildout.cfg
@@ -120,13 +120,12 @@ url = http://downloads.sourceforge.net/project/phpxmlrpc/phpxmlrpc/2.2.2/xmlrpc-
 md5sum = 59a644c636c6d98267d0c99b406ae9e8
 
 [apache-php:cygwin]
-url = ftp://sourceware.org/pub/cygwinports/release-2/php/php-5.4.16-2-src.tar.bz2
+url = ftp://mirrors.kernel.org/sources.redhat.com/cygwinports/release-2/php/php-5.4.16-2-src.tar.bz2
 md5sum = 53e1c17c929322433788cbcb7ced6c8e
 configure-command = cygport
 configure-options =
-  libevent.cygport
+  php.cygport
   download
   prep
   compile
-  install
-make-binary = true
+make-options = -C php-5.4.16-2/build
diff --git a/component/freetype/buildout.cfg b/component/freetype/buildout.cfg
index 546ad01ff..8d547f8d1 100644
--- a/component/freetype/buildout.cfg
+++ b/component/freetype/buildout.cfg
@@ -24,7 +24,7 @@ environment =
   PATH=${libpng:location}/bin:%(PATH)s
 
 [freetype:cygwin]
-url = http://cygwin.mirrorcatalogs.com/release/X11/freetype2/freetype2-2.4.12-1-src.tar.bz2
+url = ftp://lug.mtu.edu/cygwin/release/X11/freetype2/freetype2-2.4.12-1-src.tar.bz2
 md5sum = 9fabeee8347eff093966543331e066aa
 configure-command = cygport
 configure-options =
diff --git a/component/libjpeg/buildout.cfg b/component/libjpeg/buildout.cfg
index 05406f155..617e1ba1d 100644
--- a/component/libjpeg/buildout.cfg
+++ b/component/libjpeg/buildout.cfg
@@ -10,7 +10,7 @@ configure-options =
   --disable-static
 
 [libjpeg:cygwin]
-url = http://cygwin.mirrorcatalogs.com/release/jpeg/jpeg-8b-1-src.tar.bz2
+url = ftp://lug.mtu.edu/cygwin/release/jpeg/jpeg-8b-1-src.tar.bz2
 md5sum = 93fe46997353a81b021d436625e29a5a
 configure-command = cygport
 configure-options =
diff --git a/component/libpng/buildout.cfg b/component/libpng/buildout.cfg
index 84f06f742..5294e8b6a 100644
--- a/component/libpng/buildout.cfg
+++ b/component/libpng/buildout.cfg
@@ -33,7 +33,7 @@ md5sum = 9d838f6fca9948a9f360a0cc1b516d5f
 so_version = 16
 
 [libpng:cygwin]
-url = http://cygwin.mirrorcatalogs.com/release/libpng/libpng-1.5.12-1-src.tar.bz2
+url = ftp://lug.mtu.edu/cygwin/release/libpng/libpng-1.5.12-1-src.tar.bz2
 md5sum = 032c14e3b305779014232c2dd1415321
 configure-command = cygport
 configure-options =
diff --git a/component/rdiff-backup/buildout.cfg b/component/rdiff-backup/buildout.cfg
index 1bbf5d609..e194aba90 100644
--- a/component/rdiff-backup/buildout.cfg
+++ b/component/rdiff-backup/buildout.cfg
@@ -26,7 +26,7 @@ entry-points =
 arguments = sys.argv[1:]
 
 [rdiff-backup:cygwin]
-url = http://cygwin.mirrorcatalogs.com/release/rdiff-backup/rdiff-backup-1.2.8-5-src.tar.bz2
+url = ftp://lug.mtu.edu/cygwin/release/rdiff-backup/rdiff-backup-1.2.8-5-src.tar.bz2
 md5sum = 5d28908e739c453d45c40f50f4c01593
 configure-command = cygport
 configure-options =
diff --git a/component/stunnel/buildout.cfg b/component/stunnel/buildout.cfg
index 831afade5..2da3860a8 100644
--- a/component/stunnel/buildout.cfg
+++ b/component/stunnel/buildout.cfg
@@ -30,7 +30,7 @@ environment =
   LDFLAGS=-Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
 
 [stunnel:cygwin]
-url = http://cygwin.mirrorcatalogs.com/release/stunnel/stunnel-4.56-1-src.tar.bz2
+url = ftp://lug.mtu.edu/cygwin/release/stunnel/stunnel-4.56-1-src.tar.bz2
 md5sum = 056323d58b84db350087485b5c8dc301
 configure-command = cygport
 configure-options =
-- 
2.30.9