annotate src/gnutls.mk @ 5529:f55351ed06fe

Update gnutls to v3.6.16 * src/gnutls.mk: update version/checksum * src/gnutls-1-fixes.patch: update patch
author John Donoghue <john.donoghue@ieee.org>
date Mon, 07 Sep 2020 13:05:49 -0400
parents 8bede4ae3bc6
children 50e9c3a14375
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2285
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 393
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
4 PKG := gnutls
5529
f55351ed06fe Update gnutls to v3.6.16
John Donoghue <john.donoghue@ieee.org>
parents: 5450
diff changeset
5 $(PKG)_VERSION := 3.6.15
f55351ed06fe Update gnutls to v3.6.16
John Donoghue <john.donoghue@ieee.org>
parents: 5450
diff changeset
6 $(PKG)_CHECKSUM := 00ef7d93347df586c3d1a00f13c326706c0c59ba
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 277
diff changeset
7 $(PKG)_SUBDIR := gnutls-$($(PKG)_VERSION)
2057
8ad4a821fc50 upgrade package gnutls
Mark Brand <mabrand@mabrand.nl>
parents: 2025
diff changeset
8 $(PKG)_FILE := gnutls-$($(PKG)_VERSION).tar.xz
4989
0cf6aa8f90de update libidn2 to v2.1.1a, gnutls to v3.6.6, nettle v3.4.1
John Donoghue
parents: 4384
diff changeset
9 $(PKG)_URL := ftp://ftp.gnutls.org/gcrypt/gnutls/v3.6/$($(PKG)_FILE)
5360
aeda3ca4f416 * src/gnutls.mk: require vista+ for windows build
John Donoghue <john.donoghue@ieee.org>
parents: 5356
diff changeset
10 $(PKG)_URL_2 := https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnutls/v3.6/$($(PKG)_FILE)
5450
8bede4ae3bc6 Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents: 5360
diff changeset
11 $(PKG)_DEPS := gettext gmp libidn2 libtasn1 libunistring nettle zlib
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
4989
0cf6aa8f90de update libidn2 to v2.1.1a, gnutls to v3.6.6, nettle v3.4.1
John Donoghue
parents: 4384
diff changeset
14 $(WGET) -q -O- https://gnupg.org/ftp/gcrypt/gnutls/v3.6/ | \
4384
d5a5b8e659de update PKG_UPDATE rules
John D
parents: 4315
diff changeset
15 $(SED) -n 's,.*gnutls-\([1-9]\+\.[0-9]\+.[0-9]\+\)\..*,\1,p' | \
d5a5b8e659de update PKG_UPDATE rules
John D
parents: 4315
diff changeset
16 $(SORT) -V | \
d5a5b8e659de update PKG_UPDATE rules
John D
parents: 4315
diff changeset
17 tail -1
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19
3415
a70e260220fc gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
20 $(PKG)_WINDOWS_CONFIGURE_OPTIONS := \
5450
8bede4ae3bc6 Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents: 5360
diff changeset
21 CPPFLAGS='-D_WIN32_WINNT=0x0600' --disable-rpath
3415
a70e260220fc gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
22
a70e260220fc gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
23 ifeq ($(MXE_SYSTEM),mingw)
a70e260220fc gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
24 $(PKG)_CONFIGURE_OPTIONS := $($(PKG)_WINDOWS_CONFIGURE_OPTIONS)
a70e260220fc gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
25 endif
a70e260220fc gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
26 ifeq ($(MXE_SYSTEM),msvc)
a70e260220fc gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
27 $(PKG)_CONFIGURE_OPTIONS := $($(PKG)_WINDOWS_CONFIGURE_OPTIONS)
a70e260220fc gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
28 endif
a70e260220fc gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
29
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 define $(PKG)_BUILD
5450
8bede4ae3bc6 Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents: 5360
diff changeset
31 mkdir '$(1)/.build'
8bede4ae3bc6 Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents: 5360
diff changeset
32 cd '$(1)' && autoreconf -fi
8bede4ae3bc6 Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents: 5360
diff changeset
33 cd '$(1)/.build' && ../configure \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2909
diff changeset
34 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
35 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2906
0dd648719028 fix shared lib build for gnutls
John W. Eaton <jwe@octave.org>
parents: 2877
diff changeset
36 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
37 --prefix='$(HOST_PREFIX)' \
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 --disable-nls \
1768
d3d08843c62b improved ./configure arguments for package gnutls
Volker Grabsch <vog@notjusthosting.com>
parents: 1743
diff changeset
39 --disable-guile \
3267
cce4bedf4c3d new version of gnutls
John W. Eaton <jwe@octave.org>
parents: 3080
diff changeset
40 --disable-doc \
4989
0cf6aa8f90de update libidn2 to v2.1.1a, gnutls to v3.6.6, nettle v3.4.1
John Donoghue
parents: 4384
diff changeset
41 --disable-tests \
3602
c2e1f9b89e6a gnutls: update to 3.2.15
Stefan Mahr <dac922@gmx.de>
parents: 3595
diff changeset
42 --enable-local-libopts \
1957
56a51a5b74fd fixed a small typo introduced by changeset e5969b622179
Volker Grabsch <vog@notjusthosting.com>
parents: 1956
diff changeset
43 --without-p11-kit \
3267
cce4bedf4c3d new version of gnutls
John W. Eaton <jwe@octave.org>
parents: 3080
diff changeset
44 --disable-silent-rules \
3415
a70e260220fc gnutls.mk: Limit Windows-specific configure options to Windows builds.
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
45 $($(PKG)_CONFIGURE_OPTIONS) \
5450
8bede4ae3bc6 Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents: 5360
diff changeset
46 && $(CONFIGURE_POST_HOOK)
1977
3a54f0ccdd00 package gnutls: add test program
Tony Theodore <tonyt@logyst.com>
parents: 1975
diff changeset
47
5450
8bede4ae3bc6 Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents: 5360
diff changeset
48 $(MAKE) -C '$(1)/.build' -j '$(JOBS)'
8bede4ae3bc6 Update gnutls to v3.6.14
John Donoghue <john.donoghue@ieee.org>
parents: 5360
diff changeset
49 $(MAKE) -C '$(1)/.build' -j 1 install DESTDIR='$(3)'
140
cc9bce2a4451 translated package: gnutls
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
50 endef