Commit Graph

56 Commits

Author SHA1 Message Date
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 89f10e44f8 packages curl fftw fltk freetds gnutls libidn libssh2: enable/fix shared build 2014-02-17 16:01:50 +11:00
Tony Theodore 57fa8e075e package qt4 and dependencies: enable shared builds 2014-02-09 23:29:51 +11: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 3653eb6ec1 use --libdir to avoid <prefix>/<target>/lib64 confusion (more)
follow-up to commit 593ab5a706
2013-06-02 12:27:10 +02:00
Jeremy Stephens 34dcba37ae Update freedts url
The ibiblio mirror of freetds seems to have gone away (or changed locations)
2012-08-02 18:49:44 -05:00
Tony Theodore 4ed13a9f30 all packages: use $(WGET) portability variable 2012-05-16 17:49:40 +10: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
Volker Grabsch 148931b4ae replaced $(BUILD) with a more direct and less brittle construct
For discussion, see the following email and its follow-ups:
http://lists.nongnu.org/archive/html/mingw-cross-env-list/2011-11/msg00112.html
2011-11-28 09:51:56 +01:00
Mark Brand 3cce3e9b58 many packages: use --build instead of wine cross_compiling hack 2011-11-26 16:30:36 +01:00
Mark Brand 7612533ed2 update package freetds 2011-08-18 10:54:26 +02:00
Mark Brand 66627e8fc1 update package freetds 2011-08-15 08:10:28 +02:00
Mark Brand 7dae449e7b update package freetds 2011-07-17 23:37:28 +02:00
Mark Brand e1c08e6bb1 update package freetds 2011-07-13 09:08:31 +02:00
Mark Brand d71b69ad08 update package freetds 2011-07-08 11:01:33 +02:00
Mark Brand 39f2281a06 update package freetds 2011-06-30 11:30:20 +02:00
Mark Brand adb62af928 update package freetds 2011-06-29 14:09:35 +02:00
Mark Brand 45d7189e85 update package freetds 2011-06-10 20:51:59 +02:00
Mark Brand 21fa1a6679 update package freetds 2011-06-08 09:19:17 +02:00
Mark Brand c5a30eb8be update package freetds 2011-06-03 12:29:12 +02:00
Mark Brand 0bc718f013 update package freetds 2011-05-27 13:51:25 +02:00
Volker Grabsch f80467e51c fix download URL of package freetds 2011-05-25 12:46:57 +02:00
Mark Brand e05ed2c718 update package freetds 2011-05-22 14:56:51 +02:00
Volker Grabsch 9028089f95 improved wording in warning messages 2011-05-18 14:03:44 +02:00
Volker Grabsch 746f470015 disable update for package freetds, until their release candidate gets stable reference 2011-05-17 14:08:14 +02:00
Mark Brand 6df3b650df update package freetds 2011-05-15 21:00:02 +02:00
Mark Brand edcb848d91 update package freetds 2011-05-12 13:48:20 +02:00
Mark Brand e91a6aee62 package freetds: update and use hosted known version 2011-05-10 13:27:32 +02:00
Mark Brand e105dfc0b3 update package freetds 2011-05-08 18:45:06 +02:00
Mark Brand a6283c5a8a update package freetds 2011-04-29 14:00:00 +02:00
Mark Brand b74c8a76be update package freetds 2011-04-27 09:14:46 +02:00
Volker Grabsch 227eeb844c fixed typo 2011-04-22 16:13:22 +02:00
Volker Grabsch 6e1765e2cc improved download URLs for packages: freetds gd 2011-04-22 13:44:58 +02:00
Mark Brand 88deadce37 update package freetds 2011-04-21 12:19:45 +02:00
Mark Brand cf7c850820 upgrade package freetds 2011-04-10 01:51:46 +02:00
Volker Grabsch 8ff1c670fa merge 2011-04-05 02:07:56 +02:00
Volker Grabsch 750508b7e7 improved download URLs for package freetds 2011-04-05 01:30:57 +02:00
Volker Grabsch 76431cf627 fix broken gnutls detection in package freetds 2011-03-25 19:33:10 +01:00
Mark Brand 21d9b2aee4 package freetds: adjusted configuration 2011-03-22 10:10:37 +01:00
Volker Grabsch fb1689fa9c another bugfix for package freetds (by Tony Theodore) 2010-09-12 12:44:12 +02:00
Mark Brand 8298004925 fixes for building package freetds (by Tony Theodore)
Stop configure running twice (the first is called by autogen.sh).

Use the $(LIBTOOLIZE) replacement.
2010-09-11 15:55:36 +02:00
Mark Brand 6846c3f1e1 upgrade package freetds to cvs 2010-09-01 15:11:19 +02:00
Mark Brand 5aed20324c upgrade package freetds to cvs 2010-08-17 20:55:16 +02:00
Volker Grabsch 9ff1828308 disable the use of the buggy Pthreads-w32 library in packages freetds, guile, libmikmod, libshout, libxml2, sqlite, tiff, vorbis and xerces 2010-05-02 17:58:37 +02:00
Volker Grabsch e1ab4466ff changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand) 2010-02-16 04:12:53 +01:00
Volker Grabsch 71f83a7e0d point consequently to "doc/index.html" instead of "doc/index.html or doc/README" 2010-02-08 00:58:06 +01:00