Commit Graph

39 Commits

Author SHA1 Message Date
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Tony Theodore 0f896e79a1 winpcap: add test and fix posix build
Can't figure out how to get the line endings in original patch to
apply correctly with git-formatted patch.

fixes #2007
2017-12-22 15:17:17 +11:00
Charlemagne Lasse 2a66d05464 winpcap: Add missing object files to libpacket.a
The original winpcap libpacket.a is build using the files Packet32.o,
AdInfo.o and NpfImExt.o. The mxe winpcap build must therefore do the same.

Fixes #1389
2017-12-11 11:22:26 +01:00
Charlemagne Lasse e9064fcb0a winpcap: Fix installation of header files
Not all files mentioned in create_include.bat were installed. This caused
build errors in basically all programs which were using winpcap.

Fixes #1389
Fixes #2004
2017-12-11 11:07:25 +01: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
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
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
Tony Theodore 43a4544a29 winpcap: enable *-w64-* targets 2014-10-03 00:55:33 +10:00
Timothy Gu 34b7c9a22b winpcap: remove duplicated lines 2014-09-03 20:50:19 -07:00
Tony Theodore 8de0584a23 many packages: explicitly disable shared builds
closes #369
2014-04-06 23:18:24 +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
Tony Theodore 5390e5203e various packages: enable/disable mingw-w64 builds 2013-06-01 22:28:04 +10:00
Niels Kristian Bech Jensen 0cbc11154a update package winpcap 2013-05-24 13:13:54 +10: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
Luis Saavedra 60b0da738c simplication of winpcap build rules 2012-03-20 17:13:33 -03:00
Mark Brand 983b08c101 don't remove the "-mno-cygwin" flag, but provide clean bugfixes instead for package winpcap 2011-03-28 01:07:36 +02:00
Mark Brand f07042a6cb package winpcap: workaround for gcc 4.6 2011-03-26 01:11:33 +01:00
Volker Grabsch 7a2c1cb301 upgrade package winpcap 2010-09-23 03:21:35 +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
Volker Grabsch 8a3233b044 simplified file markers 2010-01-16 23:02:02 +01:00
Volker Grabsch c62a4db55c bugfixes for libdnet/winpcap 2009-11-10 13:22:42 +01:00
Volker Grabsch db83c90666 update version of package winpcap 2009-11-09 23:55:56 +01:00
Volker Grabsch f162381b1a improved version recognition, enable the notation of ignored (bad) package versions 2009-09-20 14:36:46 +02:00
Volker Grabsch 163b118424 replace the contact email address with hints to the project mailing list 2009-09-01 16:35:59 +02:00
Volker Grabsch 3c5ab4e280 add a copyright notice and license to each source file 2009-08-21 06:58:11 +02:00
Volker Grabsch 6a2cab9dbb validate downloads using SHA-1 checksums 2009-04-05 14:00:17 +02:00
Volker Grabsch fe9811173c portability fix for Open Solaris: when "ginstall" exists, use that instead of "install" 2009-03-07 08:52:50 +01:00
Volker Grabsch b05d179c96 put all package's project websites into Make variables $($(PKG)_WEBSITE) 2009-03-01 16:35:21 +01:00
Volker Grabsch 2afe70d49d correction of the compatibility fix of package winpcap 2008-11-28 13:37:13 +01:00
Volker Grabsch 5f60395709 compatibility fix on package "winpcap" to run on OS X 2008-11-28 04:34:10 +01:00
Volker Grabsch 47ea8c36f0 disable parallel builds for packages pthreads, winpcap and gdal 2008-11-10 05:25:49 +01:00
Volker Grabsch acf98417a7 translated package: winpcap 2008-11-08 19:41:12 +01:00