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 = 9855b6d802d7fe5b7bd5b196a2271655 104 name = zlib-1.3.1.tar.gz 105 URL1 = https://www.zlib.net/fossils/$(name) 106 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 107 108if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES) 109 MD5 = 2c9b0f83ed5890af02c0df1c1776f39b 110 name = commons-httpclient-3.1-src.tar.gz 111 URL1 = https://archive.apache.org/dist/httpcomponents/commons-httpclient/source/$(name) 112 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 113 114if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES) 115 MD5 = db87f7004cefc9d17f7ac841f86122bd 116 name = commons-codec-1.9-src.tar.gz 117 URL1 = https://archive.apache.org/dist/commons/codec/source/$(name) 118 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 119 120if ( true ) 121 MD5 = 2f6ecca935948f7db92d925d88d0d078 122 name = icu4c-4_0_1-src.tgz 123 URL1 = https://sourceforge.net/projects/icu/files/ICU4C/4.0.1/$(name) 124 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 125 126if ( true ) 127 SHA1 = f65fbbd72926c8e7cf0dbd4ada03b0d226f461fd 128 name = serf-1.2.1.tar.bz2 129 URL1 = https://archive.apache.org/dist/serf/serf-1.2.1.tar.bz2 130 URL2 = $(OOO_EXTRAS)$(SHA1)-$(name) 131 132if (SOLAR_JAVA==TRUE && (ENABLE_MEDIAWIKI==YES || ENABLE_REPORTBUILDER==YES)) 133 MD5 = e8e197d628436490886d17cffa108fe3 134 name = commons-logging-1.1.3-src.tar.gz 135 URL1 = https://archive.apache.org/dist/commons/logging/source/$(name) 136 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 137 138if (SYSTEM_JPEG != YES) 139 MD5 = 52654eb3b2e60c35731ea8fc87f1bd29 140 name = jpeg-8d.tar.gz 141 URL1 = https://www.ijg.org/files/jpegsrc.v8d.tar.gz 142 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 143 144if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES) 145 MD5 = 4c8c505cc3cba4c467c479e3e0f09ba4 146 name = commons-lang3-3.3-src.tar.gz 147 URL1 = https://archive.apache.org/dist/commons/lang/source/$(name) 148 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 149 150if (SYSTEM_OPENSSL!=YES && DISABLE_OPENSSL!=TRUE) 151 MD5 = cdc2638f789ecc2db2c91488265686c1 152 name = openssl-1.0.2u.tar.gz 153 URL1 = https://www.openssl.org/source/old/1.0.2/$(name) 154 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 155 156if ( true ) 157 MD5 = 98492e965963f852ab29f9e61b2ad700 158 name = apr-1.5.2.tar.gz 159 URL1 = https://archive.apache.org/dist/apr/$(name) 160 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 161 162if ( true ) 163 MD5 = 866825c04da827c6e5f53daff5569f42 164 name = apr-util-1.5.4.tar.gz 165 URL1 = https://archive.apache.org/dist/apr/$(name) 166 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 167 168if (SYSTEM_LIBXML != YES) 169 MD5 = 10942a1dc23137a8aa07f0639cbfece5 170 name = libxml2-2.9.10.tar.gz 171 URL1 = http://xmlsoft.org/sources/$(name) 172 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 173 174if (SYSTEM_LIBXSLT != YES) 175 MD5 = db8765c8d076f1b6caafd9f2542a304a 176 name = libxslt-1.1.34.tar.gz 177 URL1 = http://xmlsoft.org/sources/$(name) 178 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 179 180if (SOLAR_JAVA == TRUE) 181 MD5 = 63574e3ada44f473892a61a2da433a59 182 name = apache-tomcat-5.5.36-src.tar.gz 183 URL1 = https://archive.apache.org/dist/tomcat/tomcat-5/v5.5.36/src/apache-tomcat-5.5.36-src.tar.gz 184 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 185 186if (SOLAR_JAVA == TRUE) 187 MD5 = 980143f96b3f6ce45d2e4947da21a5e9 188 name = stax-src-1.2.0.zip 189 # The original domain does not work anymore 190 # URL1 = http://dist.codehaus.org/stax/distributions/stax-src-1.2.0.zip 191 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 192 193if (ENABLE_MEDIAWIKI == YES) 194 MD5 = a7983f859eafb2677d7ff386a023bc40 195 name = xsltml_2.1.2.zip 196 URL1 = https://sourceforge.net/projects/xsltml/files/xsltml/v.2.1.2/$(name) 197 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 198 199if (SYSTEM_PYTHON != YES) 200 MD5 = 38c84292658ed4456157195f1c9bcbe1 201 name = Python-2.7.18.tgz 202 URL1 = https://www.python.org/ftp/python/2.7.18/$(name) 203 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 204 205if (SYSTEM_BOOST != YES) 206 MD5 = d6eef4b4cacb2183f2bf265a5a03a354 207 name = boost_1_55_0.tar.bz2 208 URL1 = https://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2 209 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 210 211if (SYSTEM_VIGRA != YES) 212 MD5 = d62650a6f908e85643e557a236ea989c 213 name = vigra1.6.0.tar.gz 214 URL1 = https://src.fedoraproject.org/lookaside/extras/vigra/vigra1.6.0.tar.gz/d62650a6f908e85643e557a236ea989c/$(name) 215 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 216 217if (SYSTEM_EXPAT != YES) 218 MD5 = 5e9974d422dc4b157f300568ad28ebf6 219 name = expat-2.5.0.tar.bz2 220 URL1 = https://sourceforge.net/projects/expat/files/expat/2.5.0/$(name) 221 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 222 223if (SYSTEM_CURL != YES) 224 MD5 = 8cb2898a9adc106075ac3cdc2b965bf6 225 name = curl-7.66.0.tar.gz 226 URL1 = https://curl.haxx.se/download/$(name) 227 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 228 229if (WITH_CATA_FONTS == YES) 230 MD5 = d0efec10b9f110a32e9b8f796e21782c 231 name = dejavu-fonts-ttf-2.37.tar.bz2 232 URL1 = https://sourceforge.net/projects/dejavu/files/dejavu/2.37/$(name) 233 # URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 234 235if (WITH_CATA_FONTS==YES) 236 MD5 = 3c90ac73fd13bd79684d9dc073840328 237 name = croscorefonts-1.31.0.tar.bz2 238 URL1 = https://gsdview.appspot.com/chromeos-localmirror/distfiles/$(name) 239 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 240 241if (WITH_CATA_FONTS==YES) 242 MD5 = 368f114c078f94214a308a74c7e991bc 243 name = crosextrafonts-20130214.tar.gz 244 URL1 = https://gsdview.appspot.com/chromeos-localmirror/distfiles/$(name) 245 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 246 247if ( true ) 248 MD5 = fdb27bfe2dbe2e7b57ae194d9bf36bab 249 name = SampleICC-1.3.2.tar.gz 250 # This seems to be the original host, but the MD5 sum does not match. 251 # URL1 = https://sourceforge.net/projects/sampleicc/files/sampleicc/SampleICC%201.3.2/SampleICC-1.3.2.zip 252 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 253 254if (RAT_JAR_HOME==BUILD) 255 MD5 = 0f926196d42577addec7e1aa5b510605 256 name = apache-rat-0.10-bin.tar.bz2 257 URL1 = https://archive.apache.org/dist/creadur/apache-rat-0.10/$(name) 258 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 259 260if (SOLAR_JAVA==TRUE && SYSTEM_BSH!=YES) 261 MD5 = beeca87be45ec87d241ddd0e1bad80c1 262 name = bsh-2.0b6-src.zip 263 URL1 = https://github.com/beanshell/beanshell/releases/download/2.0b6/$(name) 264 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 265 266############################################################################### 267# Libraries with category B license 268# 269 270if (ENABLE_CATEGORY_B==YES && SYSTEM_COINMP!=YES) 271 MD5 = 1cce53bf4b40ae29790d2c5c9f8b1129 272 name = CoinMP-1.7.6.tgz 273 # URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 274 URL1 = https://www.coin-or.org/download/source/CoinMP/$(name) 275 276if (WITH_CATB_FONTS==YES) 277 MD5 = c74b7223abe75949b4af367942d96c7a 278 name = crosextrafonts-carlito-20130920.tar.gz 279 URL1 = https://gsdview.appspot.com/chromeos-localmirror/distfiles/$(name) 280 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 281 282if (WITH_CATB_FONTS == YES) 283 MD5 = 1725634df4bb3dcb1b2c91a6175f8789 284 name = GentiumBasic_1102.zip 285 URL1 = https://software.sil.org/downloads/r/gentium/GentiumBasic_1102.zip 286 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 287 288if (ENABLE_CATEGORY_B==YES && SYSTEM_HYPH!=YES) 289 MD5 = 48a9f787f43a09c0a9b7b00cd1fddbbf 290 name = hyphen-2.7.1.tar.gz 291 URL1 = https://sourceforge.net/projects/hunspell/files/Hyphen/2.7/$(name) 292 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 293 294if (ENABLE_CATEGORY_B==YES && SYSTEM_HUNSPELL!=YES) 295 MD5 = 4967da60b23413604c9e563beacc63b4 296 name = hunspell-1.3.3.tar.gz 297 URL1 = https://sourceforge.net/projects/hunspell/files/Hunspell/1.3.3/$(name) 298 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 299 300if (ENABLE_CATEGORY_B==YES && SOLAR_JAVA==TRUE && ENABLE_JAVASCRIPT==YES) 301 MD5 = 99d94103662a8d0b571e247a77432ac5 302 name = rhino1_7R3.zip 303 URL1 = https://ftp.mozilla.org/pub/js/$(name) 304 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 305 306if (ENABLE_CATEGORY_B==YES && ENABLE_NSS_MODULE==YES) 307 MD5 = 8ac77166663de5c33bba6cb3d0066929 308 name = nss-3.39-with-nspr-4.20.tar.gz 309 URL1 = https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_39_RTM/src/$(name) 310 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 311 312if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 313 MD5 = 24be19595acad0a2cae931af77a0148a 314 name = LICENSE_source-9.0.0.7-bj.html 315 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 316 317if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 318 MD5 = 48470d662650c3c074e1c3fabbc67bbd 319 name = README_source-9.0.0.7-bj.txt 320 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 321 322if (ENABLE_CATEGORY_B==YES && SYSTEM_SAXON!=YES && DISABLE_SAXON!=YES && SOLAR_JAVA==TRUE) 323 MD5 = ada24d37d8d638b3d8a9985e80bc2978 324 name = source-9.0.0.7-bj.zip 325 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 326 327if (ENABLE_CATEGORY_B==YES && SYSTEM_GRAPHITE!=YES && ENABLE_GRAPHITE==TRUE) 328 MD5 = 377a60170e5185eb63d3ed2fae98e621 329 name = README_silgraphite-2.3.1.txt 330 URL1 = $(OOO_EXTRAS)$(MD5)-$(name) 331 332if (ENABLE_CATEGORY_B==YES && SYSTEM_GRAPHITE!=YES && ENABLE_GRAPHITE==TRUE) 333 MD5 = d35724900f6a4105550293686688bbb3 334 name = silgraphite-2.3.1.tar.gz 335 URL1 = https://sourceforge.net/projects/silgraphite/files/silgraphite/2.3.1/$(name) 336 URL2 = $(OOO_EXTRAS)$(MD5)-$(name) 337