Commit Graph

40 Commits

Author SHA1 Message Date
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Viktor Szakats 45d34aaac7 more URL updates 2017-03-10 13:59:00 +00:00
Boris Nagaev 74163f1794 add _WEBSITE and _DESCR fields to core packages
See https://github.com/mxe/mxe/issues/1422

Automation (Python 2 code): https://gist.github.com/9f5c315e5d0cf113d41dc454b7a0eb41
2016-12-22 22:25:48 +01:00
Mark Brand 2820ed9bdd update gmp, libgcrypt, qtxlsxwriter 2016-12-18 00:22:08 +01:00
Boris Nagaev 6adb5ade12 Copyright headers: point to LICENSE.md and shorten
The following script was applied:

    sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE')

    sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \
        $(git grep -l 'part of MXE.*See index.html')

    before='This file is part of MXE. See index.html for further information.'
    after='This file is part of MXE. See LICENSE.md for licensing information.'
    sed "s/$before/$after/" -i $(git grep -l 'part of MXE')

Then git grep 'index.html for further information' revealed two other files.
One of them was patched manually (patch.mk). Makefile has text
"See index.html for further information" unrelated to licensing.

See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
2016-08-27 12:31:29 +03:00
Mark Brand c6a18793ba update: expat freetds gmp 2016-06-25 21:57:03 +02:00
Mark Brand b3496f2ff8 gmp: update 2015-11-05 16:56:09 +01:00
Tony Theodore 3185b292b0 gcc and deps: use native builds and consolidate rules 2015-10-25 12:23:27 +11:00
Tony Theodore 97553b65c2 gmp guile icu4c ncurses xmlrpc: use BUILD_CC/CXX portability variable 2015-09-30 14:21:10 +10:00
Tony Theodore fc0ed34fb9 all packages: really use sha256 checksums 2015-09-23 18:32:58 +10:00
Tony Theodore a228c0488f all packages: switch to sha256 checksums
closes #871
2015-09-23 17:27:16 +10:00
Boris Nagaev 3a4964c4b7 add http mirrors to packages hosted at FTP
see http://lists.nongnu.org/archive/html/mingw-cross-env-list/2014-07/msg00002.html

Many FTP servers block connections from Tor and some
VPN servers. HTTP servers don't do this normally.

Example of failed FTP download attempt of binutils-2.24.tar.bz:
$ torsocks wget ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.24.tar.bz2
   --2014-07-20 13:26:48-- ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.24.tar.bz2
   => `binutils-2.24.tar.bz2'
   Resolving ftp.gnu.org (ftp.gnu.org)... 208.118.235.20
   Connecting to ftp.gnu.org (ftp.gnu.org)|208.118.235.20|:21... connected.
   Logging in as anonymous ... Logged in!
   ==> SYST ... done.    ==> PWD ... done.
   ==> TYPE I ... done.  ==> CWD (1) /pub/gnu/binutils ... done.
   ==> SIZE binutils-2.24.tar.bz2 ... 22716802
   ==> PASV ... done.    ==> RETR binutils-2.24.tar.bz2 ...
   Error in server response, closing control connection.
   Retrying.

Same package was downloaded via HTTP successfully:
$ torsocks wget http://ftp.gnu.org/pub/gnu/binutils/binutils-2.24.tar.bz2
    --2014-07-20 13:32:37-- http://ftp.gnu.org/pub/gnu/binutils/binutils-2.24.tar.bz2
    Resolving ftp.gnu.org (ftp.gnu.org)... 208.118.235.20
    Connecting to ftp.gnu.org (ftp.gnu.org)|208.118.235.20|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 22716802 (22M) [application/x-bzip2]
    Saving to: `binutils-2.24.tar.bz2'

    100%[=================>] 22,716,802   721K/s   in 24s

    2014-07-20 13:33:03 (915 KB/s) - `binutils-2.24.tar.bz2' saved [22716802/22716802]

Trying download from Tor Browser, I get error message:
425 Security: Bad IP connecting.

HTTP URLs were added to FTP URLs-only packages.
In many cases, ftp://ftp.gnu.org can be accessed
from http://ftp.gnu.org
If both URLs of a package are FTP, then one of them
was replaced with HTTP.

Command to check that those packages can be build successfully
if behind Tor:
$ torsocks make autoconf automake binutils bison cloog coreutils file freetds gcc gdb gettext gmp gnutls gperf isl libbluray libffi libgcrypt libgpg_error libidn libmicrohttpd libpng libxml2 libxslt m4 pthreads-w32 sed dcmtk mpfr

I've run the test above successfully.
2014-07-20 13:21:48 +04:00
Tony Theodore a1a4249bcf packages gettext gmp libiconv: enable native requirement builds 2014-04-08 02:49:15 +10:00
Mark Brand b2896a198d update package gmp 2014-03-26 09:10:31 +01:00
Mark Brand 214903e562 update package gmp 2014-03-25 11:02:22 +01:00
Tony Theodore 6cf952d7a8 packages gmp mpfr mpc: enable shared builds and runtime tests 2014-02-09 22:44:38 +11:00
Mark Brand 6fc75757c6 update packages gmp gcc-gmp 2013-10-01 09:16:32 +02:00
Tony Theodore e49defeb2a packages gmp mpc mpfr: build runtime tests to verify toolchain components 2013-07-30 18:01:44 +10:00
Volker Grabsch e412eb642d Move package versions from index.html back into the src/*.mk files
Most of the automatic conversion was done using the following Python script:

import os
import re
pkgs = sorted(mkfile[:-len('.mk')] for mkfile in os.listdir('src') if mkfile.endswith('.mk'))
with open('index.html', 'rb') as f:
    index = f.read()
pkgs_index = re.findall('<td class="package">([^<]*)</td>', index)
assert pkgs_index == pkgs
versions = dict(re.findall('<td id="([^"]*)-version">([^<]*)</td>', index))
assert sorted(versions.keys()) == pkgs
for pkg in pkgs:
    version = versions[pkg]
    with open('src/' + pkg + '.mk', 'rb') as f:
        mk = f.read()
    checksumpos = mk.index('\n$(PKG)_CHECKSUM ')
    versionline = '\n$(PKG)_VERSION  := %(version)s' % {'version': version}
    newmk = mk[:checksumpos] + versionline + mk[checksumpos:]
    with open('src/' + pkg + '.mk', 'wb') as f:
        f.write(newmk)
2013-07-22 01:41:31 +02:00
Mark Brand b2892f1012 remove explicit configure option --libdir
Unsetting CONFIG_SITE was the right way to solve the problem that
--libdir was working around.

This reverts commit 0b3240f9d8.
This reverts commit 3653eb6ec1.
This reverts commit 593ab5a706.
2013-06-02 19:40:12 +02:00
Mark Brand 593ab5a706 use --libdir to avoid <prefix>/<target>/lib64 confusion 2013-06-02 01:43:53 +02:00
Tony Theodore 6188de2ed3 various packages: remove grep workarounds for version sorting 2013-05-22 19:33:04 +10:00
Mark Brand eb6cef39a2 update packages gmp gcc-gmp 2013-05-21 09:39:20 +02:00
Mark Brand a65c60af57 update package gmp 2013-02-12 09:57:48 +01:00
Mark Brand f7540ab39a update package gmp 2012-12-18 22:47:44 +01:00
Tony Theodore 4ed13a9f30 all packages: use $(WGET) portability variable 2012-05-16 17:49:40 +10:00
Mark Brand af7c35be83 update package gmp 2012-05-06 21:49:04 +02:00
Volker Grabsch 00f4690d3f Move full package names from src/*.mk into package list (index.html) 2012-03-29 21:41:44 +02:00
Volker Grabsch 7badad85c9 Move doc/index.html -> index.html 2012-03-29 12:14:15 +02:00
Volker Grabsch 7e6723adb5 Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html 2012-03-29 11:07:07 +02:00
Volker Grabsch defdff28f0 Rebrand to new project name MXE 2012-03-28 15:46:58 +02:00
Mark Brand 63cb9002cc update package gmp 2012-02-10 12:03:22 +01:00
Mark Brand 4c8ec77eb8 update package gmp 2012-01-27 22:05:17 +01:00
Brad Pitcher c67f06058f enable gmpxx in package gmp 2011-05-27 22:57:29 +02:00
Mark Brand 8b686e3aa5 update packages gmp fltk imagemagick 2011-05-09 10:21:54 +02:00
Tony Theodore 55d40a86e7 package gmp: wine confuses the native build so set CC_FOR_BUILD 2011-03-16 23:47:46 +11:00
Mark Brand 0d20234f54 remove $($PKG)_SUBDIR) from FILE and URL defintions
For now this means a bit of duplication, but if the remaining
references to SUBDIR can be dealt with, we should be able
to get rid of the SUBDIR defintion altogether.
2010-12-12 01:16:13 +01:00
Volker Grabsch a0b971abe8 improved version recognition of packages: boost gmp plotutils vmime 2010-10-27 15:19:28 +02:00
Volker Grabsch fda8c74b37 add alternative download URL for package gmp 2010-10-05 11:44:20 +02:00
Volker Grabsch 26ac64f318 new package: gmp 2010-04-10 08:16:56 +02:00