1# Format of this file: 2# 3# Comments start with '#' and are ignored. Empty lines (only whitespace) are ignored. 4# 5# All other lines have one of two different formats: 6# 7# if (<logical-expression>) 8# starts a block that specifies the download site(s) of an external library. 9# 10# <name>=<value> 11# defines a variable. A definition after an "if" statement is only valid up to the next 12# "if" statement. Previous definitions are replaced. 13# <value> can contain references to other variables in the form $(<other-variable>) 14# 15# Some variables have special names: 16# MD5 defines the MD5 check-sum of a library 17# URL1 to URL9 define alternative download sites. The first one that provides the library 18# with matching MD5 wins. 19# name is the name under which the library tar-ball is stored. It overrides the name of the 20# downloaded file. 21 22# Wherever possible the external tar-balls are loaded from their original distribution sites. 23# Where that is not possible (version is not archived any longer, 24# project does not any longer, server is temporarily not available) a 25# fallback server is used. 26 27# The primary fallback site. 28# OOO_EXTRAS=http://ooo-extras.apache-extras.org.codespot.com/files/ 29 30OOO_EXTRAS=http://sourceforge.net/projects/oooextras.mirror/files/ 31 32# Must not fallback to svn 33# SVN_TRUNK=http://svn.apache.org/repos/asf/!svn/bc/1336449/incubator/ooo/trunk/ext_sources/ 34 35 36############################################################################### 37# Libraries with category A license 38# 39 40if ( true ) 41 MD5 = 0168229624cfac409e766913506961a8 42 name = ucpp-1.3.2.tar.gz 43 URL1 = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ucpp/ucpp-1.3.2.tar.gz 44 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 45 46if ( true ) 47 MD5 = 067201ea8b126597670b5eff72e1f66c 48 name = mythes-1.2.0.tar.gz 49 URL1 = http://sourceforge.net/projects/hunspell/files/MyThes/1.2.0/mythes-1.2.0.tar.gz/download 50 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 51 52if (SYSTEM_MDDS != YES) 53 MD5 = 0dd138efff4412c707e239290fb82d4f 54 name = mdds_0.3.1.tar.bz2 55 URL1 = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/multidimalgorithm/mdds_0.3.1.tar.bz2 56 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 57 58if (SYSTEM_LIBTEXTCAT != YES) 59 MD5 = 128cfc86ed5953e57fe0f5ae98b62c2e 60 name = libtextcat-2.2.tar.gz 61 URL1 = http://software.wise-guys.nl/download/libtextcat-2.2.tar.gz 62 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 63 64if (SOLAR_JAVA == TRUE) 65 MD5 = 17410483b5b5f267aa18b7e00b65e6e0 66 name = hsqldb_1_8_0.zip 67 URL1 = http://sourceforge.net/projects/hsqldb/files/hsqldb/hsqldb_1_8_0/hsqldb_1_8_0_10.zip/download 68 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 69 70if ( true ) 71 MD5 = 1756c4fa6c616ae15973c104cd8cb256 72 name = Adobe-Core35_AFMs-314.tar.gz 73 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 74 75if (SOLAR_JAVA==TRUE && SYSTEM_LUCENE!=YES) 76 MD5 = 17960f35b2239654ba608cf1f3e256b3 77 name = lucene-2.9.4-src.tar.gz 78 URL1 = http://archive.apache.org/dist/lucene/java/2.9.4/lucene-2.9.4-src.tar.gz 79 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 80 81if (ENABLE_NSS_MODULE!=NO && SYSTEM_NSS!=YES) 82 MD5 = 1f24ab1d39f4a51faf22244c94a6203f 83 name = xmlsec1-1.2.14.tar.gz 84 URL1 = http://xmlsoft.org/sources/xmlsec/releases/$(name) 85 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 86 87if (SYSTEM_REDLAND != YES) 88 MD5 = 284e768eeda0e2898b0d5bf7e26a016e 89 name = raptor-1.4.18.tar.gz 90 URL1 = http://download.librdf.org/source/raptor-1.4.18.tar.gz 91 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 92 93if (SYSTEM_REDLAND != YES) 94 MD5 = ca66e26082cab8bb817185a116db809b 95 name = redland-1.0.8.tar.gz 96 URL1 = http://download.librdf.org/source/redland-1.0.8.tar.gz 97 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 98 99if (SYSTEM_REDLAND != YES) 100 MD5 = fca8706f2c4619e2fa3f8f42f8fc1e9d 101 name = rasqal-0.9.16.tar.gz 102 URL1 = http://download.librdf.org/source/rasqal-0.9.16.tar.gz 103 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 104 105if (GUI!=UNX || SYSTEM_ZLIB!=YES) 106 MD5 = 2ab442d169156f34c379c968f3f482dd 107 name = zlib-1.2.7.tar.bz2 108 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 109 # Zlib keeps only a copy of the gzipped tar 110 # URL2 = http://zlib.net/fossils/zlib-1.2.7.tar.gz 111 112if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES) 113 MD5 = 2c9b0f83ed5890af02c0df1c1776f39b 114 name = commons-httpclient-3.1-src.tar.gz 115 URL1 = http://archive.apache.org/dist/httpcomponents/commons-httpclient/source/commons-httpclient-3.1-src.tar.gz 116 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 117 118if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES) 119 MD5 = 2e482c7567908d334785ce7d69ddfff7 120 name = commons-codec-1.6-src.tar.gz 121 URL1 = http://archive.apache.org/dist/commons/codec/source/commons-codec-1.6-src.tar.gz 122 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 123 124if ( true ) 125 MD5 = 2f6ecca935948f7db92d925d88d0d078 126 name = icu4c-4_0_1-src.tgz 127 URL1 = http://download.icu-project.org/files/icu4c/4.0.1/icu4c-4_0_1-src.tgz 128 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 129 130if ( true ) 131 SHA1 = f65fbbd72926c8e7cf0dbd4ada03b0d226f461fd 132 name = serf-1.2.1.tar.bz2 133 URL1 = http://archive.apache.org/dist/serf/serf-1.2.1.tar.bz2 134 URL2 = $(OOO_EXTRAS)$(SHA1)-$(name) 135 136if (SOLAR_JAVA==TRUE && (ENABLE_MEDIAWIKI==YES || ENABLE_REPORTBUILDER==YES)) 137 MD5 = 3c219630e4302863a9a83d0efde889db 138 name = commons-logging-1.1.1-src.tar.gz 139 # This seems to be the original host, but the MD5 sum does not match. 140 # URL1 = http://archive.apache.org/dist/commons/logging/source/commons-logging-1.1.1-src.tar.gz 141 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 142 143if (SYSTEM_JPEG != YES) 144 MD5 = 52654eb3b2e60c35731ea8fc87f1bd29 145 name = jpeg-8d.tar.gz 146 URL1 = http://www.ijg.org/files/jpegsrc.v8d.tar.gz 147 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 148 149if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES) 150 MD5 = 625ff5f2f968dd908bca43c9469d6e6b 151 name = commons-lang-2.4-src.tar.gz 152 URL1 = http://archive.apache.org/dist/commons/lang/source/commons-lang-2.4-src.tar.gz 153 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 154 155if (SYSTEM_OPENSSL!=YES && DISABLE_OPENSSL!=TRUE) 156 MD5 = cdc2638f789ecc2db2c91488265686c1 157 name = openssl-1.0.2u.tar.gz 158 URL1 = https://www.openssl.org/source/old/1.0.2/$(name) 159 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 160 161if ( true ) 162 MD5 = 97262fe54dddaf583eaaee3497a426e1 163 name = apr-1.4.5.tar.gz 164 URL1 = http://archive.apache.org/dist/apr/$(name) 165 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 166 167if ( true ) 168 MD5 = 666a5d56098a9debf998510e304c8095 169 name = apr-util-1.4.1.tar.gz 170 URL1 = http://archive.apache.org/dist/apr/$(name) 171 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 172 173if (SYSTEM_LIBXML != YES) 174 MD5 = b786e353e2aa1b872d70d5d1ca0c740d 175 name = libxml2-2.9.8.tar.gz 176 URL1 = http://xmlsoft.org/sources/$(name) 177 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 178 179if (SYSTEM_LIBXSLT != YES) 180 MD5 = 1fc72f98e98bf4443f1651165f3aa146 181 name = libxslt-1.1.32.tar.gz 182 URL1 = http://xmlsoft.org/sources/$(name) 183 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 184 185if (SOLAR_JAVA == TRUE) 186 MD5 = 63574e3ada44f473892a61a2da433a59 187 name = apache-tomcat-5.5.36-src.tar.gz 188 URL1 = http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.36/src/apache-tomcat-5.5.36-src.tar.gz 189 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 190 191if (SOLAR_JAVA == TRUE) 192 MD5 = 980143f96b3f6ce45d2e4947da21a5e9 193 name = stax-src-1.2.0.zip 194 # The original domain does not work anymore 195 # URL1 = http://dist.codehaus.org/stax/distributions/stax-src-1.2.0.zip 196 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 197 198if (ENABLE_MEDIAWIKI == YES) 199 MD5 = a7983f859eafb2677d7ff386a023bc40 200 name = xsltml_2.1.2.zip 201 URL1 = http://sourceforge.net/projects/xsltml/files/xsltml/v.2.1.2/xsltml_2.1.2.zip/download 202 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 203 204if (SYSTEM_PYTHON != YES) 205 MD5 = 1d8728eb0dfcac72a0fd99c17ec7f386 206 name = Python-2.7.6.tgz 207 URL1 = http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz 208 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 209 210if (SYSTEM_BOOST != YES) 211 MD5 = d6eef4b4cacb2183f2bf265a5a03a354 212 name = boost_1_55_0.tar.bz2 213 URL1 = http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2/download 214 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 215 216if (SYSTEM_VIGRA != YES) 217 MD5 = d62650a6f908e85643e557a236ea989c 218 name = vigra1.6.0.tar.gz 219 # Old URL1 is broken 220 # URL1 = http://hci.iwr.uni-heidelberg.de/vigra-old-versions/vigra1.6.0.tar.gz 221 # The MD5 hash from the github sources does not match 222 # https://github.com/ukoethe/vigra/releases/tag/Version-1-6-0 223 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 224 225if (SYSTEM_EXPAT != YES) 226 MD5 = 875a2c2ff3e8eb9e5a5cd62db2033ab5 227 name = expat-2.2.9.tar.bz2 228 URL1 = https://sourceforge.net/projects/expat/files/expat/2.2.9/expat-2.2.9.tar.bz2 229 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 230 231if (SYSTEM_CURL != YES) 232 MD5 = 8cb2898a9adc106075ac3cdc2b965bf6 233 name = curl-7.66.0.tar.gz 234 URL1 = https://curl.haxx.se/download/$(name) 235 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 236 237if (WITH_CATA_FONTS == YES) 238 MD5 = f872f4ac066433d8ff92f5e316b36ff9 239 name = dejavu-fonts-ttf-2.33.zip 240 URL1 = http://sourceforge.net/projects/dejavu/files/dejavu/2.33/dejavu-fonts-ttf-2.33.zip/download 241 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 242 243if ( true ) 244 MD5 = fdb27bfe2dbe2e7b57ae194d9bf36bab 245 name = SampleICC-1.3.2.tar.gz 246 # This seems to be the original host, but the MD5 sum does not match. 247 # URL1 = http://sourceforge.net/projects/sampleicc/files/sampleicc/SampleICC%201.3.2/SampleICC-1.3.2.zip/download 248 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 249 250if (RAT_JAR_HOME==BUILD) 251 MD5 = e4244e69eb3644e71c254aea5952a918 252 name = apache-rat-incubating-0.8-bin.tar.bz2 253 URL1 = http://archive.apache.org/dist/incubator/rat/binaries/$(name) 254 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 255 256############################################################################### 257# Libraries with category B license 258# 259 260if (ENABLE_CATEGORY_B==YES && SYSTEM_COINMP!=YES) 261 MD5 = 1cce53bf4b40ae29790d2c5c9f8b1129 262 name = CoinMP-1.7.6.tgz 263 # URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 264 URL1 = http://www.coin-or.org/download/source/CoinMP/$(name) 265 266if (WITH_CATB_FONTS == YES) 267 MD5 = 35efabc239af896dfb79be7ebdd6e6b9 268 name = gentiumbasic-fonts-1.10.zip 269 # This seems to be the original host, but the MD5 sum does not match. 270 # URL1 = http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=GentiumBasic_110&filename=GentiumBasic_110.zip 271 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 272 273if (ENABLE_CATEGORY_B==YES && SYSTEM_HYPH!=YES) 274 MD5 = 48a9f787f43a09c0a9b7b00cd1fddbbf 275 name = hyphen-2.7.1.tar.gz 276 URL1 = http://sourceforge.net/projects/hunspell/files/Hyphen/2.7/hyphen-2.7.1.tar.gz/download 277 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 278 279if (ENABLE_CATEGORY_B==YES && WITH_CATB_FONTS==YES) 280 MD5 = 61f59e4110781cbe66b46449eadac231 281 name = croscorefonts-1.21.0.tar.gz 282 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 283 284if (ENABLE_CATEGORY_B==YES && SYSTEM_HUNSPELL!=YES) 285 name = hunspell-1.3.2.tar.gz 286 MD5 = 3121aaf3e13e5d88dfff13fb4a5f1ab8 287 URL1 = http://sourceforge.net/projects/hunspell/files/Hunspell/1.3.2/hunspell-1.3.2.tar.gz/download 288 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 289 290if (ENABLE_CATEGORY_B==YES && SOLAR_JAVA==TRUE && ENABLE_JAVASCRIPT==YES) 291 MD5 = 99d94103662a8d0b571e247a77432ac5 292 name = rhino1_7R3.zip 293 URL1 = https://ftp.mozilla.org/pub/js/$(name) 294 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 295 296if (ENABLE_CATEGORY_B==YES && ENABLE_NSS_MODULE==YES) 297 MD5 = 067a04150b1d8b64f7da3019688a7547 298 name = nss-3.14.4-with-nspr-4.9.5.tar.gz 299 URL1 = https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_14_4_RTM/src/$(name) 300 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 301 302if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 303 MD5 = 24be19595acad0a2cae931af77a0148a 304 name = LICENSE_source-9.0.0.7-bj.html 305 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 306 307if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 308 MD5 = 48470d662650c3c074e1c3fabbc67bbd 309 name = README_source-9.0.0.7-bj.txt 310 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 311 312if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 313 MD5 = ada24d37d8d638b3d8a9985e80bc2978 314 name = source-9.0.0.7-bj.zip 315 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 316 317if (ENABLE_CATEGORY_B==YES && SYSTEM_GRAPHITE!=YES && ENABLE_GRAPHITE==TRUE) 318 MD5 = 377a60170e5185eb63d3ed2fae98e621 319 name = README_silgraphite-2.3.1.txt 320 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 321 322if (ENABLE_CATEGORY_B==YES && SYSTEM_GRAPHITE!=YES && ENABLE_GRAPHITE==TRUE) 323 MD5 = d35724900f6a4105550293686688bbb3 324 name = silgraphite-2.3.1.tar.gz 325 URL1 = http://sourceforge.net/projects/silgraphite/files/silgraphite/2.3.1/silgraphite-2.3.1.tar.gz/download 326 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 327 328if (ENABLE_CATEGORY_B==YES && SOLAR_JAVA==TRUE && SYSTEM_BSH!=YES) 329 MD5 = ea570af93c284aa9e5621cd563f54f4d 330 name = bsh-2.0b1-src.tar.gz 331 # This used to be the original host, but the link is broken. 332 # URL1 = http://www.beanshell.org/bsh-2.0b1-src.zip 333 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 334