Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9ebcb5f

Browse files
committed
Changed some URLs for download sources
1 parent 158c915 commit 9ebcb5f

File tree

2 files changed

+25
-16
lines changed

2 files changed

+25
-16
lines changed

build/helpers/dependencies.cmd

+23-15
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ if "%PRODUCT_NAME%" == "PostgresPro" goto :SKIP_ZSTD
3030
TITLE "Building libzstd"
3131
IF "ZSTD_RELEASE" == "" set ZSTD_RELEASE=1.4.4
3232
CD /D %DOWNLOADS_DIR%
33-
wget -O zstd-%ZSTD_RELEASE%.zip --no-check-certificate -c https://github.com/facebook/zstd/archive/v%ZSTD_RELEASE%.zip
33+
rem wget -O zstd-%ZSTD_RELEASE%.zip --no-check-certificate -c https://github.com/facebook/zstd/archive/v%ZSTD_RELEASE%.zip
34+
35+
wget -O zstd-%ZSTD_RELEASE%.tar.gz --no-check-certificate -c http://repo.postgrespro.ru/depends/zstd-%ZSTD_RELEASE%.tar.gz
3436
rm -rf %DEPENDENCIES_SRC_DIR%/zstd-%ZSTD_RELEASE%
3537
MKDIR %DEPENDENCIES_SRC_DIR%\zstd-%ZSTD_RELEASE%
36-
CD /D %DEPENDENCIES_SRC_DIR%
37-
7z x %DOWNLOADS_DIR%\zstd-%ZSTD_RELEASE%.zip
38-
CD zstd-%ZSTD_RELEASE%
38+
rem 7z x %DOWNLOADS_DIR%\zstd-%ZSTD_RELEASE%.zip
39+
tar xf zstd-%ZSTD_RELEASE%.tar.gz -C %DEPENDENCIES_SRC_UDIR% || GOTO :ERROR
40+
CD %DEPENDENCIES_SRC_DIR%\zstd-%ZSTD_RELEASE%
3941

4042
CD build/VS2010
4143
msbuild zstd.sln /m /t:Clean,Build /p:Configuration=Release /p:Platform=%Platform% /p:PlatformToolset=%PlatformToolset% || GOTO :ERROR
@@ -59,7 +61,7 @@ REM TO-DO: overwrite to build rules
5961
:DOWNLOAD_MSYS_UTILS
6062
TITLE Download msys utils...
6163
CD /D %DOWNLOADS_DIR%
62-
wget --no-check-certificate -c http://repo.l.postgrespro.ru/depends/mingw_min/min_msys_X86.zip -O min_msys_%ARCH%.zip
64+
wget --no-check-certificate -c http://repo.postgrespro.ru/depends/mingw_min/min_msys_X86.zip -O min_msys_%ARCH%.zip
6365

6466
:BUILD_LESS
6567
TITLE "Building less"
@@ -86,7 +88,8 @@ cp -va *.exe %DEPENDENCIES_BIN_DIR%\less
8688
TITLE Build winlibedit
8789
CD /D %DOWNLOADS_DIR%
8890
REM wget --no-check-certificate -c http://downloads.sourceforge.net/project/mingweditline/wineditline-%EDITLINE_VER%.zip
89-
wget --no-check-certificate -c http://repo.l.postgrespro.ru/depends/wineditline-%EDITLINE_VER%.zip
91+
rem wget --no-check-certificate -c http://repo.l.postgrespro.ru/depends/wineditline-%EDITLINE_VER%.zip
92+
wget --no-check-certificate -c http://repo.postgrespro.ru/depends/wineditline-%EDITLINE_VER%.zip
9093
CD /D %DEPENDENCIES_SRC_DIR%
9194
7z x %DOWNLOADS_DIR%\wineditline-%EDITLINE_VER%.zip
9295
CD /D wineditline-%EDITLINE_VER%\src
@@ -110,8 +113,8 @@ COPY editline\readline.h %DEPENDENCIES_BIN_DIR%\wineditline\include\editline
110113
:BUILD_ICONV
111114
TITLE Building iconv...
112115
CD /D %DOWNLOADS_DIR%
113-
wget --no-check-certificate -c http://ftp.gnu.org/gnu/libiconv/libiconv-%ICONV_VER%.tar.gz -O libiconv-%ICONV_VER%.tar.gz
114-
rem wget --no-check-certificate -c http://repo.l.postgrespro.ru/depends/libiconv-%ICONV_VER%.tar.gz -O libiconv-%ICONV_VER%.tar.gz
116+
rem wget --no-check-certificate -c http://ftp.gnu.org/gnu/libiconv/libiconv-%ICONV_VER%.tar.gz -O libiconv-%ICONV_VER%.tar.gz
117+
wget --no-check-certificate -c http://repo.postgrespro.ru/depends/libiconv-%ICONV_VER%.tar.gz -O libiconv-%ICONV_VER%.tar.gz
115118
rm -rf %DEPENDENCIES_BIN_DIR%\iconv %DEPENDENCIES_SRC_DIR%\libiconv-*
116119
MKDIR %DEPENDENCIES_BIN_DIR%\iconv
117120
tar xf libiconv-%ICONV_VER%.tar.gz -C %DEPENDENCIES_SRC_UDIR% || GOTO :ERROR
@@ -156,7 +159,8 @@ CD /D %DOWNLOADS_DIR%
156159
:BUILD_UUID
157160
TITLE Building uuid...
158161
CD /D %DOWNLOADS_DIR%
159-
wget -c http://netcologne.dl.sourceforge.net/project/osspuuidwin32/src/ossp_uuid_1.6.2_win32_source_120608.7z -O ossp_uuid_1.6.2_win32_source_120608.7z
162+
rem wget -c http://netcologne.dl.sourceforge.net/project/osspuuidwin32/src/ossp_uuid_1.6.2_win32_source_120608.7z -O ossp_uuid_1.6.2_win32_source_120608.7z
163+
wget -c http://repo.postgrespro.ru/depends/ossp_uuid_1.6.2_win32_source_120608.7z -O ossp_uuid_1.6.2_win32_source_120608.7z
160164
rm -rf %DEPENDENCIES_BIN_DIR%\uuid %DEPENDENCIES_SRC_DIR%\ossp_uuid
161165
MKDIR %DEPENDENCIES_BIN_DIR%\uuid
162166
7z x %DOWNLOADS_DIR%\ossp_uuid_1.6.2_win32_source_120608.7z -o%DEPENDENCIES_SRC_DIR%\ -y || GOTO :ERROR
@@ -232,7 +236,9 @@ CD /D %DOWNLOADS_DIR%
232236
:BUILD_OPENSSL
233237
TITLE Building OpenSSL...
234238
CD /D %DOWNLOADS_DIR%
235-
wget --no-check-certificate -c https://www.openssl.org/source/openssl-%OPENSSL_VER%.tar.gz -O openssl-%OPENSSL_VER%.tar.gz
239+
rem wget --no-check-certificate -c https://www.openssl.org/source/openssl-%OPENSSL_VER%.tar.gz -O openssl-%OPENSSL_VER%.tar.gz
240+
wget --no-check-certificate -c http://repo.postgrespro.ru/depends/openssl-%OPENSSL_VER%.tar.gz -O openssl-%OPENSSL_VER%.tar.gz
241+
236242
rm -rf %DEPENDENCIES_BIN_DIR%\openssl %DEPENDENCIES_SRC_DIR%\openssl-*
237243
MKDIR %DEPENDENCIES_BIN_DIR%\openssl
238244
tar zxf openssl-%OPENSSL_VER%.tar.gz -C %DEPENDENCIES_SRC_UDIR%
@@ -268,8 +274,8 @@ CD /D %DOWNLOADS_DIR%
268274
:BUILD_GETTEXT
269275
TITLE Building gettext...
270276
CD /D %DOWNLOADS_DIR%
271-
wget --no-check-certificate -c http://ftp.gnu.org/gnu/gettext/gettext-%GETTEXT_VER%.tar.gz -O gettext-%GETTEXT_VER%.tar.gz
272-
rem wget --no-check-certificate -c http://repo.l.postgrespro.ru/depends/gettext-%GETTEXT_VER%.tar.gz -O gettext-%GETTEXT_VER%.tar.gz
277+
rem wget --no-check-certificate -c http://ftp.gnu.org/gnu/gettext/gettext-%GETTEXT_VER%.tar.gz -O gettext-%GETTEXT_VER%.tar.gz
278+
wget --no-check-certificate -c http://repo.postgrespro.ru/depends/gettext-%GETTEXT_VER%.tar.gz -O gettext-%GETTEXT_VER%.tar.gz
273279
rm -rf %DEPENDENCIES_BIN_DIR%\libintl %DEPENDENCIES_SRC_DIR%\gettext-*
274280
MKDIR %DEPENDENCIES_BIN_DIR%\libintl
275281
tar xf gettext-%GETTEXT_VER%.tar.gz -C %DEPENDENCIES_SRC_UDIR% || GOTO :ERROR
@@ -286,7 +292,8 @@ MKDIR %DEPENDENCIES_BIN_DIR%\libintl\bin
286292
CD /D %DOWNLOADS_DIR%
287293
7z a -r %DOWNLOADS_DIR%\%DEPS_ZIP% %DEPENDENCIES_BIN_DIR%\libintl -y
288294

289-
295+
rem LIBSSH2 not used for PostgresPro
296+
GOTO :BUILD_ICU
290297
:BUILD_LIBSSH2
291298
TITLE Building libssh2...
292299
CD /D %DOWNLOADS_DIR%
@@ -304,10 +311,11 @@ CD /D %DOWNLOADS_DIR%
304311
TITLE Building icu...
305312
CD /D %DOWNLOADS_DIR%
306313
rem wget --no-check-certificate -c http://download.icu-project.org/files/icu4c/56.1/icu4c-56_1-src.zip -O icu4c-56_1-src.zip
307-
wget --no-check-certificate -c https://github.com/unicode-org/icu/releases/download/release-56-2/icu4c-56_2-src.zip -O icu4c-56_2-src.zip
314+
rem wget --no-check-certificate -c https://github.com/unicode-org/icu/releases/download/release-56-2/icu4c-56_2-src.zip -O icu4c-56_2-src.zip
315+
wget --no-check-certificate -c http://repo.postgrespro.ru/depends/icu4c-%ICU_VER%-src.zip -O icu4c-%ICU_VER%-src.zip
308316
rm -rf %DEPENDENCIES_BIN_DIR%\icu %DEPENDENCIES_SRC_DIR%\icu
309317
MKDIR %DEPENDENCIES_BIN_DIR%\icu
310-
7z x icu4c-56_2-src.zip -o%DEPENDENCIES_SRC_DIR% -y
318+
7z x icu4c-%ICU_VER%-src.zip -o%DEPENDENCIES_SRC_DIR% -y
311319
CD /D %DEPENDENCIES_SRC_DIR%\icu
312320
msbuild source\allinone\allinone.sln /m /p:Configuration="Release" /p:Platform=%Platform% /p:PlatformToolset=%PlatformToolset% || GOTO :ERROR
313321
IF %ARCH% == X64 (

build/helpers/setvars.cmd

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
REM LIBRARY VERSIONS
22
SET ICONV_VER=1.16
3-
SET XSLT_VER=1.1.34
3+
SET XSLT_VER=1.1.32
44
SET ZLIB_VER=1.2.11
55
SET XML_VER=2.9.9
66
rem SET OPENSSL_VER=1.0.2n
@@ -10,6 +10,7 @@ SET LIBSSH2_VER=1.6.0
1010
SET WXWIDGETS_VER=3.0.2
1111
SET EDITLINE_VER=2.205
1212
SET ZSTD_RELEASE=1.4.4
13+
SET ICU_VER=56_2
1314

1415
REM Path vars
1516
SET PERL32_PATH=C:\Perl

0 commit comments

Comments
 (0)