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, project does not exist any 24# longer, server is temporarily not available) a fallback server is used. 25 26# The primary fallback site. 27OOO_EXTRAS=https://sourceforge.net/projects/oooextras.mirror/files/ 28 29# Must not fallback to svn 30# SVN_TRUNK=http://svn.apache.org/repos/asf/!svn/bc/1336449/incubator/ooo/trunk/ext_sources/ 31 32 33############################################################################### 34# Libraries with category A license 35# 36 37if ( true ) 38 MD5 = 0168229624cfac409e766913506961a8 39 name = ucpp-1.3.2.tar.gz 40 URL1 = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ucpp/ucpp-1.3.2.tar.gz 41 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 42 43if ( true ) 44 MD5 = 067201ea8b126597670b5eff72e1f66c 45 name = mythes-1.2.0.tar.gz 46 URL1 = https://sourceforge.net/projects/hunspell/files/MyThes/1.2.0/mythes-1.2.0.tar.gz 47 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 48 49if (SYSTEM_MDDS != YES) 50 MD5 = 0dd138efff4412c707e239290fb82d4f 51 name = mdds_0.3.1.tar.bz2 52 URL1 = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/multidimalgorithm/mdds_0.3.1.tar.bz2 53 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 54 55if (SYSTEM_LIBTEXTCAT != YES) 56 MD5 = 128cfc86ed5953e57fe0f5ae98b62c2e 57 name = libtextcat-2.2.tar.gz 58 URL1 = https://software.wise-guys.nl/download/libtextcat-2.2.tar.gz 59 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 60 61if (SOLAR_JAVA == TRUE) 62 MD5 = 17410483b5b5f267aa18b7e00b65e6e0 63 name = hsqldb_1_8_0.zip 64 URL1 = https://sourceforge.net/projects/hsqldb/files/hsqldb/hsqldb_1_8_0/hsqldb_1_8_0_10.zip 65 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 66 67if ( true ) 68 MD5 = 1756c4fa6c616ae15973c104cd8cb256 69 name = Adobe-Core35_AFMs-314.tar.gz 70 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 71 72if (SOLAR_JAVA==TRUE && SYSTEM_LUCENE!=YES) 73 MD5 = 17960f35b2239654ba608cf1f3e256b3 74 name = lucene-2.9.4-src.tar.gz 75 URL1 = https://archive.apache.org/dist/lucene/java/2.9.4/lucene-2.9.4-src.tar.gz 76 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 77 78if (ENABLE_NSS_MODULE!=NO && SYSTEM_NSS!=YES) 79 MD5 = 1f24ab1d39f4a51faf22244c94a6203f 80 name = xmlsec1-1.2.14.tar.gz 81 URL1 = http://xmlsoft.org/sources/xmlsec/releases/$(name) 82 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 83 84if (SYSTEM_REDLAND != YES) 85 MD5 = a39f6c07ddb20d7dd2ff1f95fa21e2cd 86 name = raptor2-2.0.15.tar.gz 87 URL1 = http://download.librdf.org/source/raptor2-2.0.15.tar.gz 88 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 89 90if (SYSTEM_REDLAND != YES) 91 MD5 = e5be03eda13ef68aabab6e42aa67715e 92 name = redland-1.0.17.tar.gz 93 URL1 = http://download.librdf.org/source/redland-1.0.17.tar.gz 94 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 95 96if (SYSTEM_REDLAND != YES) 97 MD5 = 1f5def51ca0026cd192958ef07228b52 98 name = rasqal-0.9.33.tar.gz 99 URL1 = http://download.librdf.org/source/rasqal-0.9.33.tar.gz 100 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 101 102if (GUI!=UNX || SYSTEM_ZLIB!=YES) 103 MD5 = 2ab442d169156f34c379c968f3f482dd 104 name = zlib-1.2.7.tar.bz2 105 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 106 # Zlib keeps only a copy of the gzipped tar 107 # URL2 = http://zlib.net/fossils/zlib-1.2.7.tar.gz 108 109if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES) 110 MD5 = 2c9b0f83ed5890af02c0df1c1776f39b 111 name = commons-httpclient-3.1-src.tar.gz 112 URL1 = https://archive.apache.org/dist/httpcomponents/commons-httpclient/source/$(name) 113 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 114 115if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES) 116 MD5 = db87f7004cefc9d17f7ac841f86122bd 117 name = commons-codec-1.9-src.tar.gz 118 URL1 = https://archive.apache.org/dist/commons/codec/source/$(name) 119 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 120 121if ( true ) 122 MD5 = 2f6ecca935948f7db92d925d88d0d078 123 name = icu4c-4_0_1-src.tgz 124 URL1 = https://sourceforge.net/projects/icu/files/ICU4C/4.0.1/$(name) 125 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 126 127if ( true ) 128 SHA1 = f65fbbd72926c8e7cf0dbd4ada03b0d226f461fd 129 name = serf-1.2.1.tar.bz2 130 URL1 = https://archive.apache.org/dist/serf/serf-1.2.1.tar.bz2 131 URL2 = $(OOO_EXTRAS)$(SHA1)-$(name) 132 133if (SOLAR_JAVA==TRUE && (ENABLE_MEDIAWIKI==YES || ENABLE_REPORTBUILDER==YES)) 134 MD5 = e8e197d628436490886d17cffa108fe3 135 name = commons-logging-1.1.3-src.tar.gz 136 URL1 = https://archive.apache.org/dist/commons/logging/source/$(name) 137 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 138 139if (SYSTEM_JPEG != YES) 140 MD5 = 52654eb3b2e60c35731ea8fc87f1bd29 141 name = jpeg-8d.tar.gz 142 URL1 = https://www.ijg.org/files/jpegsrc.v8d.tar.gz 143 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 144 145if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES) 146 MD5 = 4c8c505cc3cba4c467c479e3e0f09ba4 147 name = commons-lang3-3.3-src.tar.gz 148 URL1 = https://archive.apache.org/dist/commons/lang/source/$(name) 149 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 150 151if (SYSTEM_OPENSSL!=YES && DISABLE_OPENSSL!=TRUE) 152 MD5 = cdc2638f789ecc2db2c91488265686c1 153 name = openssl-1.0.2u.tar.gz 154 URL1 = https://www.openssl.org/source/old/1.0.2/$(name) 155 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 156 157if ( true ) 158 MD5 = 98492e965963f852ab29f9e61b2ad700 159 name = apr-1.5.2.tar.gz 160 URL1 = https://archive.apache.org/dist/apr/$(name) 161 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 162 163if ( true ) 164 MD5 = 866825c04da827c6e5f53daff5569f42 165 name = apr-util-1.5.4.tar.gz 166 URL1 = https://archive.apache.org/dist/apr/$(name) 167 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 168 169if (SYSTEM_LIBXML != YES) 170 MD5 = 10942a1dc23137a8aa07f0639cbfece5 171 name = libxml2-2.9.10.tar.gz 172 URL1 = http://xmlsoft.org/sources/$(name) 173 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 174 175if (SYSTEM_LIBXSLT != YES) 176 MD5 = db8765c8d076f1b6caafd9f2542a304a 177 name = libxslt-1.1.34.tar.gz 178 URL1 = http://xmlsoft.org/sources/$(name) 179 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 180 181if (SOLAR_JAVA == TRUE) 182 MD5 = 63574e3ada44f473892a61a2da433a59 183 name = apache-tomcat-5.5.36-src.tar.gz 184 URL1 = https://archive.apache.org/dist/tomcat/tomcat-5/v5.5.36/src/apache-tomcat-5.5.36-src.tar.gz 185 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 186 187if (SOLAR_JAVA == TRUE) 188 MD5 = 980143f96b3f6ce45d2e4947da21a5e9 189 name = stax-src-1.2.0.zip 190 # The original domain does not work anymore 191 # URL1 = http://dist.codehaus.org/stax/distributions/stax-src-1.2.0.zip 192 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 193 194if (ENABLE_MEDIAWIKI == YES) 195 MD5 = a7983f859eafb2677d7ff386a023bc40 196 name = xsltml_2.1.2.zip 197 URL1 = https://sourceforge.net/projects/xsltml/files/xsltml/v.2.1.2/$(name) 198 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 199 200if (SYSTEM_PYTHON != YES) 201 MD5 = 38c84292658ed4456157195f1c9bcbe1 202 name = Python-2.7.18.tgz 203 URL1 = https://www.python.org/ftp/python/2.7.18/$(name) 204 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 205 206if (SYSTEM_BOOST != YES) 207 MD5 = d6eef4b4cacb2183f2bf265a5a03a354 208 name = boost_1_55_0.tar.bz2 209 URL1 = https://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2 210 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 211 212if (SYSTEM_VIGRA != YES) 213 MD5 = d62650a6f908e85643e557a236ea989c 214 name = vigra1.6.0.tar.gz 215 URL1 = https://src.fedoraproject.org/lookaside/extras/vigra/vigra1.6.0.tar.gz/d62650a6f908e85643e557a236ea989c/$(name) 216 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 217 218if (SYSTEM_EXPAT != YES) 219 MD5 = 9d60de01cc0126dfd11121b04838e154 220 name = expat-2.2.10.tar.bz2 221 URL1 = https://sourceforge.net/projects/expat/files/expat/2.2.10/$(name) 222 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 223 224if (SYSTEM_CURL != YES) 225 MD5 = 8cb2898a9adc106075ac3cdc2b965bf6 226 name = curl-7.66.0.tar.gz 227 URL1 = https://curl.haxx.se/download/$(name) 228 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 229 230if (WITH_CATA_FONTS == YES) 231 MD5 = d0efec10b9f110a32e9b8f796e21782c 232 name = dejavu-fonts-ttf-2.37.tar.bz2 233 URL1 = https://sourceforge.net/projects/dejavu/files/dejavu/2.37/$(name) 234 # URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 235 236if (WITH_CATA_FONTS==YES) 237 MD5 = 3c90ac73fd13bd79684d9dc073840328 238 name = croscorefonts-1.31.0.tar.bz2 239 URL1 = https://gsdview.appspot.com/chromeos-localmirror/distfiles/$(name) 240 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 241 242if (WITH_CATA_FONTS==YES) 243 MD5 = 368f114c078f94214a308a74c7e991bc 244 name = crosextrafonts-20130214.tar.gz 245 URL1 = https://gsdview.appspot.com/chromeos-localmirror/distfiles/$(name) 246 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 247 248if ( true ) 249 MD5 = fdb27bfe2dbe2e7b57ae194d9bf36bab 250 name = SampleICC-1.3.2.tar.gz 251 # This seems to be the original host, but the MD5 sum does not match. 252 # URL1 = https://sourceforge.net/projects/sampleicc/files/sampleicc/SampleICC%201.3.2/SampleICC-1.3.2.zip 253 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 254 255if (RAT_JAR_HOME==BUILD) 256 MD5 = 0f926196d42577addec7e1aa5b510605 257 name = apache-rat-0.10-bin.tar.bz2 258 URL1 = https://archive.apache.org/dist/creadur/apache-rat-0.10/$(name) 259 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 260 261if (SOLAR_JAVA==TRUE && SYSTEM_BSH!=YES) 262 MD5 = beeca87be45ec87d241ddd0e1bad80c1 263 name = bsh-2.0b6-src.zip 264 URL1 = https://bintray.com/artifact/download/beanshell/Beanshell/org/apache-extras/beanshell/bsh/2.0b6/$(name) 265 URL2 = http://central.maven.org/maven2/org/apache-extras/beanshell/bsh/2.0b6/$(name) 266 267############################################################################### 268# Libraries with category B license 269# 270 271if (ENABLE_CATEGORY_B==YES && SYSTEM_COINMP!=YES) 272 MD5 = 1cce53bf4b40ae29790d2c5c9f8b1129 273 name = CoinMP-1.7.6.tgz 274 # URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 275 URL1 = https://www.coin-or.org/download/source/CoinMP/$(name) 276 277if (WITH_CATB_FONTS==YES) 278 MD5 = c74b7223abe75949b4af367942d96c7a 279 name = crosextrafonts-carlito-20130920.tar.gz 280 URL1 = https://gsdview.appspot.com/chromeos-localmirror/distfiles/$(name) 281 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 282 283if (WITH_CATB_FONTS == YES) 284 MD5 = 1725634df4bb3dcb1b2c91a6175f8789 285 name = GentiumBasic_1102.zip 286 URL1 = https://software.sil.org/downloads/r/gentium/GentiumBasic_1102.zip 287 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 288 289if (ENABLE_CATEGORY_B==YES && SYSTEM_HYPH!=YES) 290 MD5 = 48a9f787f43a09c0a9b7b00cd1fddbbf 291 name = hyphen-2.7.1.tar.gz 292 URL1 = https://sourceforge.net/projects/hunspell/files/Hyphen/2.7/$(name) 293 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 294 295if (ENABLE_CATEGORY_B==YES && SYSTEM_HUNSPELL!=YES) 296 MD5 = 4967da60b23413604c9e563beacc63b4 297 name = hunspell-1.3.3.tar.gz 298 URL1 = https://sourceforge.net/projects/hunspell/files/Hunspell/1.3.3/$(name) 299 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 300 301if (ENABLE_CATEGORY_B==YES && SOLAR_JAVA==TRUE && ENABLE_JAVASCRIPT==YES) 302 MD5 = 99d94103662a8d0b571e247a77432ac5 303 name = rhino1_7R3.zip 304 URL1 = https://ftp.mozilla.org/pub/js/$(name) 305 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 306 307if (ENABLE_CATEGORY_B==YES && ENABLE_NSS_MODULE==YES) 308 MD5 = 4ec9a36c0f7c9360b149491c013b8d50 309 name = nss-3.25-with-nspr-4.12.tar.gz 310 URL1 = http://ftp.mozilla.org/pub/security/nss/releases/NSS_3_25_RTM/src/$(name) 311 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 312 313if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 314 MD5 = 24be19595acad0a2cae931af77a0148a 315 name = LICENSE_source-9.0.0.7-bj.html 316 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 317 318if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 319 MD5 = 48470d662650c3c074e1c3fabbc67bbd 320 name = README_source-9.0.0.7-bj.txt 321 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 322 323if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 324 MD5 = ada24d37d8d638b3d8a9985e80bc2978 325 name = source-9.0.0.7-bj.zip 326 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 327 328if (ENABLE_CATEGORY_B==YES && SYSTEM_GRAPHITE!=YES && ENABLE_GRAPHITE==TRUE) 329 MD5 = 377a60170e5185eb63d3ed2fae98e621 330 name = README_silgraphite-2.3.1.txt 331 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 332 333if (ENABLE_CATEGORY_B==YES && SYSTEM_GRAPHITE!=YES && ENABLE_GRAPHITE==TRUE) 334 MD5 = d35724900f6a4105550293686688bbb3 335 name = silgraphite-2.3.1.tar.gz 336 URL1 = https://sourceforge.net/projects/silgraphite/files/silgraphite/2.3.1/$(name) 337 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 338