mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-17 18:31:13 +02:00
bump(net-libs/gnutls): sync with upstream
This commit is contained in:
parent
8b52c34f24
commit
919a433d5a
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=configure install prepare setup test
|
||||
DEPEND=>=dev-libs/libgcrypt-1.4.0 >=dev-libs/libtasn1-0.3.4 nls? ( virtual/libintl ) guile? ( >=dev-scheme/guile-1.8[networking] ) zlib? ( >=sys-libs/zlib-1.2.3.1 ) !bindist? ( lzo? ( >=dev-libs/lzo-2 ) ) sys-devel/libtool doc? ( dev-util/gtk-doc ) nls? ( sys-devel/gettext ) test? ( app-misc/datefudge ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A TLS 1.2 and SSL 3.0 implementation for the GNU project
|
||||
EAPI=3
|
||||
HOMEPAGE=http://www.gnutls.org/
|
||||
IUSE=bindist +cxx doc examples guile lzo nls test zlib
|
||||
KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd
|
||||
LICENSE=LGPL-2.1 GPL-3
|
||||
RDEPEND=>=dev-libs/libgcrypt-1.4.0 >=dev-libs/libtasn1-0.3.4 nls? ( virtual/libintl ) guile? ( >=dev-scheme/guile-1.8[networking] ) zlib? ( >=sys-libs/zlib-1.2.3.1 ) !bindist? ( lzo? ( >=dev-libs/lzo-2 ) )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gnu/gnutls/gnutls-2.10.5.tar.bz2
|
||||
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
|
||||
_md5_=e178d6431d861b933c9ad098f1ebb913
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/gnutls-2.12.23-r6
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/gnutls-2.12.23-r6
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install prepare setup test
|
||||
DEPEND=>=dev-libs/libtasn1-0.3.4 guile? ( >=dev-scheme/guile-1.8[networking] ) nettle? ( >=dev-libs/nettle-2.1[gmp] ) !nettle? ( >=dev-libs/libgcrypt-1.4.0:0 ) nls? ( virtual/libintl ) pkcs11? ( >=app-crypt/p11-kit-0.11 ) zlib? ( >=sys-libs/zlib-1.2.3.1 ) !bindist? ( lzo? ( >=dev-libs/lzo-2 ) ) virtual/pkgconfig sys-devel/libtool doc? ( dev-util/gtk-doc ) nls? ( sys-devel/gettext ) test? ( app-misc/datefudge ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A TLS 1.2 and SSL 3.0 implementation for the GNU project
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.gnutls.org/
|
||||
IUSE=bindist +cxx doc examples guile lzo +nettle nls pkcs11 static-libs test zlib
|
||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||
LICENSE=GPL-3 LGPL-2.1
|
||||
RDEPEND=>=dev-libs/libtasn1-0.3.4 guile? ( >=dev-scheme/guile-1.8[networking] ) nettle? ( >=dev-libs/nettle-2.1[gmp] ) !nettle? ( >=dev-libs/libgcrypt-1.4.0:0 ) nls? ( virtual/libintl ) pkcs11? ( >=app-crypt/p11-kit-0.11 ) zlib? ( >=sys-libs/zlib-1.2.3.1 ) !bindist? ( lzo? ( >=dev-libs/lzo-2 ) )
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.gnutls.org/gcrypt/gnutls/v2.12/gnutls-2.12.23.tar.bz2
|
||||
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=c2d323855ae56c64dba4906a21ddfbec
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/gnutls-3.3.15
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/gnutls-3.3.15
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=>=dev-libs/libtasn1-3.9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/nettle-2.7[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] <dev-libs/nettle-3[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-devel/autogen crywrap? ( net-dns/libidn ) dane? ( >=net-dns/unbound-1.4.20[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) guile? ( >=dev-scheme/guile-1.8:*[networking] ) nls? ( >=virtual/libintl-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkcs11? ( >=app-crypt/p11-kit-0.20.7[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) >=sys-devel/automake-1.11.6 >=virtual/pkgconfig-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] doc? ( dev-util/gtk-doc ) nls? ( sys-devel/gettext ) test? ( app-misc/datefudge ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A TLS 1.2 and SSL 3.0 implementation for the GNU project
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.gnutls.org/
|
||||
IUSE=+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test zlib linguas_en linguas_cs linguas_de linguas_fi linguas_fr linguas_it linguas_ms linguas_nl linguas_pl linguas_sv linguas_uk linguas_vi linguas_zh_CN abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||
LICENSE=GPL-3 LGPL-3
|
||||
RDEPEND=>=dev-libs/libtasn1-3.9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/nettle-2.7[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] <dev-libs/nettle-3[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-devel/autogen crywrap? ( net-dns/libidn ) dane? ( >=net-dns/unbound-1.4.20[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) guile? ( >=dev-scheme/guile-1.8:*[networking] ) nls? ( >=virtual/libintl-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkcs11? ( >=app-crypt/p11-kit-0.20.7[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gnupg/gnutls/v3.3/gnutls-3.3.15.tar.xz
|
||||
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 toolchain-funcs c961250d50160cd37d6b7fd9e8429c92 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=d88f4885da0f6e7d0b10a6b0c276e145
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/gnutls-3.3.15-r1
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/gnutls-3.3.15-r1
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=>=dev-libs/libtasn1-3.9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/nettle-2.7[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] <dev-libs/nettle-3[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-devel/autogen crywrap? ( net-dns/libidn ) dane? ( >=net-dns/unbound-1.4.20[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) guile? ( >=dev-scheme/guile-1.8:*[networking] ) nls? ( >=virtual/libintl-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkcs11? ( >=app-crypt/p11-kit-0.20.7[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) >=sys-devel/automake-1.11.6 >=virtual/pkgconfig-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] doc? ( dev-util/gtk-doc ) nls? ( sys-devel/gettext ) test? ( app-misc/datefudge ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A TLS 1.2 and SSL 3.0 implementation for the GNU project
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.gnutls.org/
|
||||
IUSE=+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test zlib linguas_en linguas_cs linguas_de linguas_fi linguas_fr linguas_it linguas_ms linguas_nl linguas_pl linguas_sv linguas_uk linguas_vi linguas_zh_CN abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||
LICENSE=GPL-3 LGPL-3
|
||||
RDEPEND=>=dev-libs/libtasn1-3.9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/nettle-2.7[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] <dev-libs/nettle-3[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-devel/autogen crywrap? ( net-dns/libidn ) dane? ( >=net-dns/unbound-1.4.20[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) guile? ( >=dev-scheme/guile-1.8:*[networking] ) nls? ( >=virtual/libintl-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkcs11? ( >=app-crypt/p11-kit-0.20.7[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gnupg/gnutls/v3.3/gnutls-3.3.15.tar.xz
|
||||
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 toolchain-funcs c961250d50160cd37d6b7fd9e8429c92 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=ccbe4d01edf1b0bc652ff6d165947a7f
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/gnutls-3.4.1
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/gnutls-3.4.1
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=>=dev-libs/libtasn1-3.9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/nettle-3.1[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] tools? ( sys-devel/autogen ) crywrap? ( net-dns/libidn ) dane? ( >=net-dns/unbound-1.4.20[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) guile? ( >=dev-scheme/guile-1.8:*[networking] ) nls? ( >=virtual/libintl-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkcs11? ( >=app-crypt/p11-kit-0.23.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) >=sys-devel/automake-1.11.6 >=virtual/pkgconfig-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] doc? ( dev-util/gtk-doc ) nls? ( sys-devel/gettext ) test? ( app-misc/datefudge ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A TLS 1.2 and SSL 3.0 implementation for the GNU project
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.gnutls.org/
|
||||
IUSE=+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test +tools zlib linguas_en linguas_cs linguas_de linguas_fi linguas_fr linguas_it linguas_ms linguas_nl linguas_pl linguas_sv linguas_uk linguas_vi linguas_zh_CN abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||
LICENSE=GPL-3 LGPL-3
|
||||
RDEPEND=>=dev-libs/libtasn1-3.9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/nettle-3.1[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] tools? ( sys-devel/autogen ) crywrap? ( net-dns/libidn ) dane? ( >=net-dns/unbound-1.4.20[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) guile? ( >=dev-scheme/guile-1.8:*[networking] ) nls? ( >=virtual/libintl-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkcs11? ( >=app-crypt/p11-kit-0.23.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
SLOT=0/30
|
||||
SRC_URI=mirror://gnupg/gnutls/v3.4/gnutls-3.4.1.tar.xz
|
||||
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 toolchain-funcs c961250d50160cd37d6b7fd9e8429c92 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=0b7cb0d7621f9146e64fcd30535b512a
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/gnutls-3.4.2-r1
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/gnutls-3.4.2-r1
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=>=dev-libs/libtasn1-3.9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/nettle-3.1[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] tools? ( sys-devel/autogen ) crywrap? ( net-dns/libidn ) dane? ( >=net-dns/unbound-1.4.20[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) guile? ( >=dev-scheme/guile-1.8:*[networking] ) nls? ( >=virtual/libintl-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkcs11? ( >=app-crypt/p11-kit-0.23.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) >=sys-devel/automake-1.11.6 >=virtual/pkgconfig-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] doc? ( dev-util/gtk-doc ) nls? ( sys-devel/gettext ) test? ( app-misc/datefudge ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A TLS 1.2 and SSL 3.0 implementation for the GNU project
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.gnutls.org/
|
||||
IUSE=+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test +tools zlib linguas_en linguas_cs linguas_de linguas_fi linguas_fr linguas_it linguas_ms linguas_nl linguas_pl linguas_sv linguas_uk linguas_vi linguas_zh_CN abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||
LICENSE=GPL-3 LGPL-3
|
||||
RDEPEND=>=dev-libs/libtasn1-3.9[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/nettle-3.1[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] tools? ( sys-devel/autogen ) crywrap? ( net-dns/libidn ) dane? ( >=net-dns/unbound-1.4.20[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) guile? ( >=dev-scheme/guile-1.8:*[networking] ) nls? ( >=virtual/libintl-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkcs11? ( >=app-crypt/p11-kit-0.23.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
SLOT=0/30
|
||||
SRC_URI=mirror://gnupg/gnutls/v3.4/gnutls-3.4.2.tar.xz
|
||||
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 toolchain-funcs c961250d50160cd37d6b7fd9e8429c92 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=ab8d0c82ec8b162ebe69454ed5aa21ab
|
2383
sdk_container/src/third_party/portage-stable/net-libs/gnutls/ChangeLog
vendored
Normal file
2383
sdk_container/src/third_party/portage-stable/net-libs/gnutls/ChangeLog
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -1 +1,36 @@
|
||||
DIST gnutls-2.10.5.tar.bz2 7287913 RMD160 4bc886ced90742a488e00c1884e6124b37047382 SHA1 4530657082a0e754356de89a5529d1ad7a18e777 SHA256 c086d5426ef04427038db6af1a4dc62ff32694e91e759ebf9bb3380243ebd9c9
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX gnutls-2.12.20-AF_UNIX.patch 1041 SHA256 bd56d19bd1713ef3ddfca7768c2528aacb0c7425cd21f87d69b3d674504562a1 SHA512 a1564ace509fed3b0608ae66859979a364b173006fd43d77678dccb70577bbfd54953aa8c706aca77540ec28c3426a332e86c40722bbc7b4a23f9f50bee0478b WHIRLPOOL 9e27f8e7e82fdd53a11f1f7dfd10790f4d2c67d74bc68d9ce55718a57ef80d391f8fadab93f6186597c52ecedcef2d3f1ff16a77778aedd50545e5829e626baf
|
||||
AUX gnutls-2.12.20-guile-parallelmake.patch 349 SHA256 f6c81df63b3dce52df7754cffe9dfae0b94fcb1bedd68cf99d5546b4f00a8c37 SHA512 2c92817e1ac43e301f0c39edca0991e832a875204e9232106f660157f1db91ce942569ef16193f6b1e80038f3a000836f4ac2bb3d728d4bbb602e09f46ba5efd WHIRLPOOL d578f81a0d645c7430301aa35fb15cc4fde3acc044758f28d6046742053965c0b27c0a2d738794bfb6ce27164331b11387402413b40abac8d95192741f1d710c
|
||||
AUX gnutls-2.12.20-libadd.patch 988 SHA256 b1f73ec17feb72817f39f109ec2e4dc69ea8d6b6d62ef243491e85164ff513ac SHA512 a0552276b356fd63e802a886e1243ef6341c6b8d1857814a0b2a686fd605d7c03316965cdfcdb70162547033efe9f2d1c17e442a30925d97ef691c2d573eba68 WHIRLPOOL 4ed528cb20705d91db05f0c533cbfd0356fa3292393eba75b45a22457cb23da80639ef739d889af4f64038a97553f3f990cc08f5e31608b1dc83c74b0e1c46d3
|
||||
AUX gnutls-2.12.23-CVE-2013-2116.patch 855 SHA256 473663119e3c0c91677becc2982f6bddcbe44000f9530515ad2051982c8a7e57 SHA512 463add69c9db348e1e7b93ba2e7bff3ce62abc96731485955e36e6855e3e2a1fb53f082238cada537487285e15d94296cf3fd3d408a013c307ff195685896fc5 WHIRLPOOL 10576ef2591f8bf47148a37bc5690abca474691edab802cf46967b8695c838d1e477a5731f677c8951b0652981ba338c42e14479e33e8dfccfa7952ab56f04a9
|
||||
AUX gnutls-2.12.23-CVE-2014-0092.patch 2480 SHA256 c57b3a64541236028de71be567db27346c4fb0933f4fd71c8dc139ec88a96db5 SHA512 064abde218509e79ce4df03de1db1dbd4a1fd93fae0cf7c9efaa62cc6ca2dce4cb8576fcfcbc55b1e1712e4167a02567659a122b443b824e896e49237032e9b7 WHIRLPOOL 758a3378c0b53164e7d60416661f0530e33fc3344e77339f58d51e39dc721fa411a5bd80dbfe95be22f4389cf0779d75a27b9be5c4da577036c5f10702b874ed
|
||||
AUX gnutls-2.12.23-CVE-2014-1959.patch 584 SHA256 f1e6290cb19e517ba460ef359914c83afcbf5f884dd9556d0be52a6dde96f465 SHA512 827dd50c54a79e78c6d6f28856f548d9d7c766577a0613eadf95b0c8b5fc44545335f1dde5adfba7d019b842d16c2131bb780dc0228dd5b25ba45774b06f3188 WHIRLPOOL 86269f8d4e5dd5d7de3ad60cefe7df2227c6c49e474217f8e6d487e893db93d5447bef9261b74e388d461ff23d79068cdf512aa441f0aff19a256e2b6fbf9d4a
|
||||
AUX gnutls-2.12.23-CVE-2014-3466.patch 8508 SHA256 4ab0199e09ea9f4c8ab832a741a8015056beb9613eed51aba24118ab1dba253c SHA512 22cf2f302aabf3668b7b7df290b58b20a3e5ec33a72e49a1b5285297cb8ad7aae8706cdabcdea0f0a168944bbaecd1ce7a4bc6763dc670db8b18b6c4e68e9e09 WHIRLPOOL 41345df93de568a284abdb38df7128cf14ba7adad4efc6265d5e17977ceba7e7e3dffb8a9629b202bcd21ba96e02e42985dab1e07b7a808c614c76fb06a0c132
|
||||
AUX gnutls-2.12.23-CVE-2014-3467.patch 1479 SHA256 bff11a3580df0a20e4ec4a4793f629664c27a30f76db3e31a42f7dc51c9dab7c SHA512 366c8065fbb383e85e169e4c58d3053d95d4e90183e95150a746e50c9abcfc62c51141473dd2b2941abf49aec69fc1242ad7d0aef470fb52ad3d5a37870c5244 WHIRLPOOL a864389561e1bb2270734aa5014e4a7b5f9f27876d15ad55821be44807167e20252485adf13bd8c5ab2addd382fc83d0594081808a346187a47f9f5f59a23ea0
|
||||
AUX gnutls-2.12.23-CVE-2014-3468.patch 1252 SHA256 33d7d2037322a6d8e38eaaa45b844794455a0f3bb98f14d0138402d2355615a9 SHA512 16f94c430ff6e5b538ed5b88c732807de1cd11abd749cbaea16037cb8e6b0627c08507a13c758d96a609eec8bee6c01fdddd2366ed95348bbb35c4e23d89f5aa WHIRLPOOL 6963ad0bd48c3cb78f40f50fd38428e63718a89bb810387844686c539f70c22c426ffcd8ede37b6a8c9ab9aa85616a0f6cf0832dc326842dd703109dba05d40a
|
||||
AUX gnutls-2.12.23-CVE-2014-3469.patch 3461 SHA256 cc055dafc2bdfd1e0d0a6026fc0bfe32412a6fb2b5ddaba125f7688bebddba9a SHA512 8ff13f6b029f4a00428e993507924a0331e77f7f964cb96807193ac9a1064f785c79e881216e73b3a23c134298820f892f59177bed56aad29dfee7ac1fda84a8 WHIRLPOOL 8a3b1238d9633527f50775c6b254d3b3e5be984f043b6888db732d00000e095f61d3739e343481fada3d67b9cb6e7b8bccc7a900b890f2505408beaa2c7b0607
|
||||
AUX gnutls-2.12.23-cross-compile.patch 2141 SHA256 a16a8e2e7a8cbe0e92203523b76edfd26cf5f7c2bad0a9f64985481dcfeefee3 SHA512 8e36868eeb792d241f9770cca42baaa0dd591a2c9bd59e161b17d92875c397a132261f8eef31710501162490549caf5971322df6533a8d3d6047914029af1c54 WHIRLPOOL 61e9c80f2151024f0cfa04c177f9376d86d0bc94408905690e126f8fa49273e2dbd344384ac719c6cc592027bb6598a68bebfcd6a70eb84333acd486cf09e052
|
||||
AUX gnutls-2.12.23-gdoc-perl-5.18.patch 4878 SHA256 a55a56b8faead4e7c369945d356190b59f16e57429fa20221f201b88e92dbef6 SHA512 2480cb3e9625eb6518958c8f4caa208957fc5a9e7c3ef84fa6345640ca7e65cba2f8043f8b6a05aceb80750748502e66dd6f5c55ebcbc750c54955baaad4d31b WHIRLPOOL 5ff3a01efb80fc8dee9ed77436afa70aa39e33fcecb8a9742fa431047e66055cffc4a07657a28485d3e2c75a5ea9bd7ebd1f72b9bed1ad7caaa468997c600d54
|
||||
AUX gnutls-2.12.23-gl-tests-getaddrinfo-skip-if-no-network.patch 1146 SHA256 0644a00f75987f8a8906ec536b4b29967c24ae22ece8dfee074af3f85be566b5 SHA512 ea3062f90ace33a6229fe10f9a1fb492e84905dce0231309d2c105386c45a151d99c140c66158435ebe4781defc5a536775f4d68b3552208885636e5ed4b7223 WHIRLPOOL ee131aa7709e717cf5e893d5073dbc7eeec569e2a6e48094534dcf8f0d3d17b8a4f75da0a2c91ed2d70e37ef4429d7759dffce4948fd508dcbc0e081a8d98aa0
|
||||
AUX gnutls-2.12.23-hppa.patch 1165 SHA256 68958ca9d05f6ffe89064488847d5e2ca615344abf7c9060f73f525a593716f0 SHA512 040507b973788dc2ca4aab19d69f45011e6509354e38ec875ab6fdec3f1c3be40272ea99cd53a5adfc8b52b30e29d86af80891d57b50068a4b3f2cc20246ac70 WHIRLPOOL c4d17452c22e81fdcbd6e14aaaf8294a90a67438ebcadcaab096a6d2f115643c2ce36cc503d186d2d2483366b890add3e9101c26998878817f7baed8589a8514
|
||||
AUX gnutls-3.4.2-build.patch 4598 SHA256 6ebcbf24784390614588050cea543415d97ae4fd9c9db8299102c53d9f1775ae SHA512 6d8752fb5d37b17f33bec867d10dc41e45d25abbe6682afa9f9f13e8fa8de7939fc98aca60845606f534e2f9f2b15809a17219ce0b7aadbb0ad32cfedf57edbb WHIRLPOOL 94a851730120f167d5fc8ac37449da663b959e365c829b32f5a458855409c2c6fe2e683a355ea02241ecc4cc0df7547c6402fa66f666764548d0113d40c63c3a
|
||||
DIST gnutls-2.12.23.tar.bz2 7279415 SHA256 dfa67a7e40727eb0913e75f3c44911d5d8cd58d1ead5acfe73dd933fc0d17ed2 SHA512 7780e9ca7b592350ce9b11e53a63d3212320402d8ad2462bfbc0e69aec4a48bb372a1925627abb7996535c87c90e3d79537ea118c8bb36d26aae8e19eaae3a06 WHIRLPOOL 8cab909c961760c72b478d5cbe75633ce0d26190fdece018e9f33b171879753ed38348c33c00fda7b5f3a6b596a5439fb62f1c82a891e9e62fee5bb784cf7e11
|
||||
DIST gnutls-3.3.15.tar.xz 6286288 SHA256 8961227852911a1974e15bc017ddbcd4779876c867226d199f06648d8b27ba4b SHA512 0d112f20fd1a010c278ecc5c0e9e22a040c5a765073ea722329e9d5d7b4c661c6bd2fc6749903ea562fe44caf9a1643c6d95e2e193bb8c444e2e6418f73d5445 WHIRLPOOL 4a7b28952bcbe837d4f9e9b62b9254a43510363634daa1c9dc61bf07c7734699011bf5963d4556d3f53c45f63cdf6d2447f7b101e026d0d21c94d827bff9c6dc
|
||||
DIST gnutls-3.4.1.tar.xz 6469756 SHA256 e9b5f58becf34756464216056cd5abbf04315eda80a374d02699dee83f80b12e SHA512 8fd386b66c9bc42f2beaec93b503f83dad9736ba25673aac34a2cc7adc1b5467ae21b859406743df9d698fcf06237bb61404a1f33a8d8ec0da536cc088bf98e0 WHIRLPOOL ae39c0a3397519b78c2c7f07a22cb912e79871c97b3b1729ef17c0bb4fad12a001644bfed9528cfc1bc98bae267bd0aa62c6c9c25e55104061281ba574e76a9f
|
||||
DIST gnutls-3.4.2.tar.xz 6520688 SHA256 72424d056ad01ed30f0fd6cd447de179c44cfd015d6c9df29bfb95580a27560e SHA512 4c8c122ee3f189b5bbdb90f0a6b849a332e23c4cb87ba3b51d0672578b6b8e13aeaeacf69f8910a7380bb130dcdfd8d505d88d8358bd6b339e97a187990dbbd4 WHIRLPOOL c272c2a7e484fcedb092cdc6d506913ee88f399e6ce84d15fdaa752668cb789bdc6d18bcb353b02806d95fccac567e3a440ccf65027e3ffadaaa2409eb00af58
|
||||
EBUILD gnutls-2.12.23-r6.ebuild 3722 SHA256 543e9e04375cbe220d9fbf4aa55eb1683f6c21413fa894a14f27d88b73c37de2 SHA512 78eb464911b37d79ad6e330bcc5b6008b902d88e7716e9fd50930f2be59e51f5ef4d17b9f23b1c26da33525dc6ede7043e4ebf22eb1764019a53f4cda827d88d WHIRLPOOL 7e95ff0c7b5fdb15b227c83f381b8be4b8c77e26f7766b7ffa6ee3b13832f67594b0489121fd977bbe893cd550a371cb4664469d6e41f36392a0a8574f1f9676
|
||||
EBUILD gnutls-3.3.15-r1.ebuild 4950 SHA256 7f370fbe3b1e7ccb0914cbe5999f7179ea7769523a7d66bc6eab785bb447720d SHA512 efea1c678450dad6c2e6c522334599957e2e85005b9a564cf69172a8c80d32c6affff6e7d285e3412acd0e5f48af81758b6d8da3b466947452503844ceb7c6f3 WHIRLPOOL 6add5ec3e8bb6f4a03bc24adf4130a1de83c12cbd39c868ebfee769e22528c5c31fad9e0f98cc9ce0395f9048df2f332c681f93ba4010e430ac5313db8861389
|
||||
EBUILD gnutls-3.3.15.ebuild 5009 SHA256 0fd0d2f50ace49540bbf0ba70ccf6915016ad986e3de2aa9b14e6b19764ee6ba SHA512 c0fd4f5472166007863464a1f02b1f677a029394464e9ebdb5338f13d57465ce64169b25a83acd814563dfd473ff7b7869223c3f8b306ca39dfd99aa4dd8fdcd WHIRLPOOL b0cd8033f9ec73b2c2760a87e9d9a136c877d9fbc5919c5c8dd0709ac1c4595ca7d21c5ae1f3a12650527b6f8ad0dd65ff7a447a203d160569093210c3933260
|
||||
EBUILD gnutls-3.4.1.ebuild 4204 SHA256 5a49f3814e0176a15ad3da7c60d5b2fb61e0b0b8ff84edd733b363ac9b6e0a60 SHA512 15cdb71cc56af4ccaa67ff842408b3095bb0f8e8f7b8a7b32171b9b6c4dc3161ecf5068f25d91536b72309821b5f6cb53a6aafcd00241c67353316cec741cca2 WHIRLPOOL d2380a6e59d15b87814adda7c09a5cb97d510d7ee6fda395ae1f2e740bc541b3a37b2aa164dfb20b30ee6657dfa1c9edfba9f141b8fe55e4d68c7a6faf644f63
|
||||
EBUILD gnutls-3.4.2-r1.ebuild 4174 SHA256 1c63ba9745872137c22a5faeb40e8a26c213f9d3759e306d3c970c4875e807e6 SHA512 8422fdac61e1e35e8970f340b2e1e67f0d0a65cea543980df3135a9ba7554412c932a2f9828d637dd592dadabd10b1b05d99e48e7426d758c5ebebe02d3bcfde WHIRLPOOL a2edeba5b5b8ac608669fe0776413cba3e2400a210963836ff7a925082abeab942be0b28c05dee7d1c429f3ea84176c142cd32828b2c2c48c1b5bf2312427404
|
||||
MISC ChangeLog 82039 SHA256 d0139d1a37fe0f26bf5233b6b22d9a35f2ed25a2588280091ad5e57fdd130cef SHA512 3f4f5fb702588c0d20b6bb1e7655636f5189b44e00fa3831467d2195f03e37ed00a97aad7aff90d5c553337a157a134947a4541c2bd00f3a2c0e029e4ca591d2 WHIRLPOOL f114e60ca7ec62e746a910ab953ca5d1ab55402b06721b915d273c6070b11fc15da00d4f608899f8d5e47d3ae546dde32d7c0863b15cd527410b6cbf314da891
|
||||
MISC metadata.xml 1015 SHA256 e3a234ef8cbc938ec33d80cc1dbdaaeae67beb83cd4f6fdc2a4bd0a3db37d7fb SHA512 a96893cf5d5cce516ff082ae1f8dbf6fbf6bc0bbb2a40d824f8086724c827589369f43dc66be34c9b05dff0af029c1aae9b7d96c891fddc495108433bc5e3fb7 WHIRLPOOL fa8d80766ffada287ab122ddda6afa33ee12f48a2c83245fd56700c3fd38c9b4694d1de2bdad6851a2347f3b0e68339373223533930a102a2e7bd6df82e3d893
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iF4EAREIAAYFAlWGXDcACgkQXYk9GL8g3FFpqQD8DeTMQVErUwNepGQdk0PuUSru
|
||||
L1cJ4wnzN6l3UtnXi1ABAI1Qxq6czt1fpVgC35PoalgT/00Cgj6HRhn+wBjyzLFF
|
||||
=AAql
|
||||
-----END PGP SIGNATURE-----
|
||||
|
37
sdk_container/src/third_party/portage-stable/net-libs/gnutls/files/gnutls-2.12.20-AF_UNIX.patch
vendored
Normal file
37
sdk_container/src/third_party/portage-stable/net-libs/gnutls/files/gnutls-2.12.20-AF_UNIX.patch
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
Backport of commit 60a13b98e9f410c3b1019252f271d3c0f20b2e61 for 2.12.20
|
||||
|
||||
From 60a13b98e9f410c3b1019252f271d3c0f20b2e61 Mon Sep 17 00:00:00 2001
|
||||
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
|
||||
Date: Fri, 23 Sep 2011 14:39:29 +0000
|
||||
Subject: a hack to allow compilation on systems without AF_LOCAL.
|
||||
|
||||
--- lib/nettle/egd.c
|
||||
+++ lib/nettle/egd.c
|
||||
@@ -33,6 +33,12 @@
|
||||
|
||||
#include <gnutls_errors.h>
|
||||
|
||||
+#ifdef AF_UNIX
|
||||
+# define LOCAL_SOCKET_TYPE AF_UNIX
|
||||
+#else
|
||||
+# define LOCAL_SOCKET_TYPE AF_LOCAL
|
||||
+#endif
|
||||
+
|
||||
#ifndef offsetof
|
||||
#define offsetof(type, member) ((size_t) &((type *)0)->member)
|
||||
#endif
|
||||
@@ -141,12 +147,12 @@
|
||||
}
|
||||
|
||||
memset (&addr, 0, sizeof addr);
|
||||
- addr.sun_family = AF_LOCAL;
|
||||
+ addr.sun_family = LOCAL_SOCKET_TYPE;
|
||||
strcpy (addr.sun_path, name);
|
||||
addr_len = (offsetof (struct sockaddr_un, sun_path)
|
||||
+ strlen (addr.sun_path));
|
||||
|
||||
- fd = socket (AF_LOCAL, SOCK_STREAM, 0);
|
||||
+ fd = socket (LOCAL_SOCKET_TYPE, SOCK_STREAM, 0);
|
||||
if (fd == -1)
|
||||
{
|
||||
_gnutls_debug_log ("can't create unix domain socket: %s\n",
|
@ -0,0 +1,9 @@
|
||||
--- a/guile/src/Makefile.am
|
||||
+++ b/guile/src/Makefile.am
|
||||
@@ -124,4 +124,7 @@
|
||||
|
||||
.c.x: $(BUILT_SOURCES)
|
||||
$(guile_snarf) -o $@ $< $(snarfcppopts)
|
||||
+core.x: core.c enums.h enum-map.i.c priorities.i.c smobs.h smob-types.i.c
|
||||
+errors.x: errors.c enums.h
|
||||
+extra.x: extra.c enums.h extra-enums.h extra-enum-map.i.c extra-smobs.h extra-smob-types.i.c smobs.h
|
36
sdk_container/src/third_party/portage-stable/net-libs/gnutls/files/gnutls-2.12.20-libadd.patch
vendored
Normal file
36
sdk_container/src/third_party/portage-stable/net-libs/gnutls/files/gnutls-2.12.20-libadd.patch
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
--- gnutls-2.12.20/libextra/Makefile.am
|
||||
+++ gnutls-2.12.20/libextra/Makefile.am
|
||||
@@ -69,7 +69,7 @@
|
||||
if ENABLE_MINITASN1
|
||||
libgnutls_openssl_la_LIBADD += ../lib/minitasn1/libminitasn1.la
|
||||
else
|
||||
-libgnutls_openssl_la_LDFLAGS += $(LTLIBTASN1)
|
||||
+libgnutls_openssl_la_LIBADD += $(LTLIBTASN1)
|
||||
endif
|
||||
|
||||
if HAVE_LD_OUTPUT_DEF
|
||||
@@ -89,8 +89,9 @@
|
||||
libgnutls_extra_la_SOURCES += \
|
||||
ext_inner_application.h ext_inner_application.c gnutls_ia.c
|
||||
|
||||
+cryptolib_ldadd =
|
||||
if !ENABLE_NETTLE
|
||||
-libgnutls_extra_la_LIBADD += $(LTLIBGCRYPT)
|
||||
+cryptolib_ldadd = $(LTLIBGCRYPT)
|
||||
endif
|
||||
|
||||
# Rest
|
||||
@@ -104,11 +105,10 @@
|
||||
DISTCLEANFILES += $(defexec_DATA)
|
||||
|
||||
libgnutls_extra_la_LDFLAGS += \
|
||||
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
||||
- $(LZO_LIBS)
|
||||
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
|
||||
libgnutls_extra_la_LIBADD += ../lib/gl/liblgnu.la gl/libxgnu.la \
|
||||
- ../lib/libgnutls.la
|
||||
+ ../lib/libgnutls.la $(cryptolib_ldadd) $(LZO_LIBS)
|
||||
|
||||
if HAVE_LD_VERSION_SCRIPT
|
||||
libgnutls_extra_la_LDFLAGS += \
|
@ -0,0 +1,25 @@
|
||||
From 5164d5a1d57cd0372a5dd074382ca960ca18b27d Mon Sep 17 00:00:00 2001
|
||||
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
|
||||
Date: Thu, 23 May 2013 09:54:37 +0200
|
||||
Subject: [PATCH] re-applied sanity check patch
|
||||
|
||||
---
|
||||
lib/gnutls_cipher.c | 2 ++
|
||||
1 files changed, 2 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/lib/gnutls_cipher.c b/lib/gnutls_cipher.c
|
||||
index 2835121..71f5a98 100644
|
||||
--- a/lib/gnutls_cipher.c
|
||||
+++ b/lib/gnutls_cipher.c
|
||||
@@ -561,6 +561,8 @@ _gnutls_ciphertext2compressed (gnutls_session_t session,
|
||||
return GNUTLS_E_DECRYPTION_FAILED;
|
||||
}
|
||||
pad = ciphertext.data[ciphertext.size - 1]; /* pad */
|
||||
+ if (pad+1 > ciphertext.size-hash_size)
|
||||
+ pad_failed = GNUTLS_E_DECRYPTION_FAILED;
|
||||
|
||||
/* Check the pading bytes (TLS 1.x).
|
||||
* Note that we access all 256 bytes of ciphertext for padding check
|
||||
--
|
||||
1.7.1
|
||||
|
@ -0,0 +1,102 @@
|
||||
From 6aa26f78150ccbdf0aec1878a41c17c41d358a3b Mon Sep 17 00:00:00 2001
|
||||
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
|
||||
Date: Thu, 27 Feb 2014 19:42:26 +0100
|
||||
Subject: [PATCH] corrected return codes
|
||||
|
||||
---
|
||||
lib/x509/verify.c | 16 ++++++++++------
|
||||
1 files changed, 10 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/lib/x509/verify.c b/lib/x509/verify.c
|
||||
index c9a6b0d..eef85a8 100644
|
||||
--- a/lib/x509/verify.c
|
||||
+++ b/lib/x509/verify.c
|
||||
@@ -141,7 +141,7 @@ check_if_ca (gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer,
|
||||
if (result < 0)
|
||||
{
|
||||
gnutls_assert ();
|
||||
- goto cleanup;
|
||||
+ goto fail;
|
||||
}
|
||||
|
||||
result =
|
||||
@@ -150,7 +150,7 @@ check_if_ca (gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer,
|
||||
if (result < 0)
|
||||
{
|
||||
gnutls_assert ();
|
||||
- goto cleanup;
|
||||
+ goto fail;
|
||||
}
|
||||
|
||||
result =
|
||||
@@ -158,7 +158,7 @@ check_if_ca (gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer,
|
||||
if (result < 0)
|
||||
{
|
||||
gnutls_assert ();
|
||||
- goto cleanup;
|
||||
+ goto fail;
|
||||
}
|
||||
|
||||
result =
|
||||
@@ -166,7 +166,7 @@ check_if_ca (gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer,
|
||||
if (result < 0)
|
||||
{
|
||||
gnutls_assert ();
|
||||
- goto cleanup;
|
||||
+ goto fail;
|
||||
}
|
||||
|
||||
/* If the subject certificate is the same as the issuer
|
||||
@@ -206,6 +206,7 @@ check_if_ca (gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer,
|
||||
else
|
||||
gnutls_assert ();
|
||||
|
||||
+fail:
|
||||
result = 0;
|
||||
|
||||
cleanup:
|
||||
@@ -330,7 +331,7 @@ _gnutls_verify_certificate2 (gnutls_x509_crt_t cert,
|
||||
gnutls_datum_t cert_signed_data = { NULL, 0 };
|
||||
gnutls_datum_t cert_signature = { NULL, 0 };
|
||||
gnutls_x509_crt_t issuer = NULL;
|
||||
- int issuer_version, result;
|
||||
+ int issuer_version, result = 0;
|
||||
|
||||
if (output)
|
||||
*output = 0;
|
||||
@@ -363,7 +364,7 @@ _gnutls_verify_certificate2 (gnutls_x509_crt_t cert,
|
||||
if (issuer_version < 0)
|
||||
{
|
||||
gnutls_assert ();
|
||||
- return issuer_version;
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
if (!(flags & GNUTLS_VERIFY_DISABLE_CA_SIGN) &&
|
||||
@@ -385,6 +386,7 @@ _gnutls_verify_certificate2 (gnutls_x509_crt_t cert,
|
||||
if (result < 0)
|
||||
{
|
||||
gnutls_assert ();
|
||||
+ result = 0;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
@@ -393,6 +395,7 @@ _gnutls_verify_certificate2 (gnutls_x509_crt_t cert,
|
||||
if (result < 0)
|
||||
{
|
||||
gnutls_assert ();
|
||||
+ result = 0;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
@@ -410,6 +413,7 @@ _gnutls_verify_certificate2 (gnutls_x509_crt_t cert,
|
||||
else if (result < 0)
|
||||
{
|
||||
gnutls_assert();
|
||||
+ result = 0;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
--
|
||||
1.7.1
|
||||
|
@ -0,0 +1,14 @@
|
||||
--- a/lib/x509/verify.c
|
||||
+++ b/lib/x509/verify.c
|
||||
@@ -692,8 +693,10 @@
|
||||
/* note that here we disable this V1 CA flag. So that no version 1
|
||||
* certificates can exist in a supplied chain.
|
||||
*/
|
||||
- if (!(flags & GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT))
|
||||
+ if (!(flags & GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT)) {
|
||||
flags &= ~(GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT);
|
||||
+ flags |= GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT;
|
||||
+ }
|
||||
if ((ret =
|
||||
_gnutls_verify_certificate2(certificate_list[i - 1],
|
||||
&certificate_list[i], 1,
|
@ -0,0 +1,311 @@
|
||||
From e47d30e272a0b3977db8dae09327acad45b931d8 Mon Sep 17 00:00:00 2001
|
||||
From: mancha <mancha1@zoho.com>
|
||||
Date: Sun, 1 Jun 2014
|
||||
Subject: CVE-2014-3466
|
||||
|
||||
This is a backport adaptation for use with GnuTLS 2.12.23.
|
||||
|
||||
Relevant upstream commit(s):
|
||||
-------------------------
|
||||
https://gitorious.org/gnutls/gnutls/commit/688ea6428a432c
|
||||
https://gitorious.org/gnutls/gnutls/commit/a7be326f0e33cf
|
||||
|
||||
---
|
||||
lib/gnutls_handshake.c | 2
|
||||
tests/Makefile.am | 2
|
||||
tests/long-session-id.c | 268 ++++++++++++++++++++++++++++++++++++++++
|
||||
3 files changed, 270 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/lib/gnutls_handshake.c
|
||||
+++ b/lib/gnutls_handshake.c
|
||||
@@ -1797,7 +1797,7 @@ _gnutls_read_server_hello (gnutls_sessio
|
||||
DECR_LEN (len, 1);
|
||||
session_id_len = data[pos++];
|
||||
|
||||
- if (len < session_id_len)
|
||||
+ if (len < session_id_len || session_id_len > TLS_MAX_SESSION_ID_SIZE)
|
||||
{
|
||||
gnutls_assert ();
|
||||
return GNUTLS_E_UNSUPPORTED_VERSION_PACKET;
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -64,7 +64,7 @@ ctests = simple gc set_pkcs12_cred certd
|
||||
crq_key_id x509sign-verify cve-2009-1415 cve-2009-1416 \
|
||||
crq_apis init_roundtrip pkcs12_s2k_pem dn2 mini-eagain \
|
||||
nul-in-x509-names x509_altname pkcs12_encode mini-x509 \
|
||||
- mini-x509-rehandshake rng-fork x509cert gendh
|
||||
+ mini-x509-rehandshake rng-fork x509cert gendh long-session-id
|
||||
|
||||
if ENABLE_OPENSSL
|
||||
ctests += openssl
|
||||
--- /dev/null
|
||||
+++ b/tests/long-session-id.c
|
||||
@@ -0,0 +1,268 @@
|
||||
+/*
|
||||
+ * Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
+ *
|
||||
+ * Author: Nikos Mavrogiannopoulos
|
||||
+ *
|
||||
+ * This file is part of GnuTLS.
|
||||
+ *
|
||||
+ * GnuTLS is free software; you can redistribute it and/or modify it
|
||||
+ * under the terms of the GNU General Public License as published by
|
||||
+ * the Free Software Foundation; either version 3 of the License, or
|
||||
+ * (at your option) any later version.
|
||||
+ *
|
||||
+ * GnuTLS is distributed in the hope that it will be useful, but
|
||||
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ * General Public License for more details.
|
||||
+ *
|
||||
+ * You should have received a copy of the GNU General Public License
|
||||
+ * along with GnuTLS; if not, write to the Free Software Foundation,
|
||||
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
+ */
|
||||
+
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+#include <config.h>
|
||||
+#endif
|
||||
+
|
||||
+#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
+
|
||||
+#if defined(_WIN32)
|
||||
+
|
||||
+int main()
|
||||
+{
|
||||
+ exit(77);
|
||||
+}
|
||||
+
|
||||
+#else
|
||||
+
|
||||
+#include <string.h>
|
||||
+#include <sys/types.h>
|
||||
+#include <netinet/in.h>
|
||||
+#include <sys/socket.h>
|
||||
+#include <sys/wait.h>
|
||||
+#include <arpa/inet.h>
|
||||
+#include <unistd.h>
|
||||
+#include <gnutls/gnutls.h>
|
||||
+#include <signal.h>
|
||||
+
|
||||
+static int debug = 0;
|
||||
+static void terminate(int);
|
||||
+
|
||||
+/* This program tests the robustness of record
|
||||
+ * decoding.
|
||||
+ */
|
||||
+
|
||||
+static void client_log_func(int level, const char *str)
|
||||
+{
|
||||
+ fprintf(stderr, "client|<%d>| %s", level, str);
|
||||
+}
|
||||
+
|
||||
+static unsigned char server_cert_pem[] =
|
||||
+ "-----BEGIN CERTIFICATE-----\n"
|
||||
+ "MIICVjCCAcGgAwIBAgIERiYdMTALBgkqhkiG9w0BAQUwGTEXMBUGA1UEAxMOR251\n"
|
||||
+ "VExTIHRlc3QgQ0EwHhcNMDcwNDE4MTMyOTIxWhcNMDgwNDE3MTMyOTIxWjA3MRsw\n"
|
||||
+ "GQYDVQQKExJHbnVUTFMgdGVzdCBzZXJ2ZXIxGDAWBgNVBAMTD3Rlc3QuZ251dGxz\n"
|
||||
+ "Lm9yZzCBnDALBgkqhkiG9w0BAQEDgYwAMIGIAoGA17pcr6MM8C6pJ1aqU46o63+B\n"
|
||||
+ "dUxrmL5K6rce+EvDasTaDQC46kwTHzYWk95y78akXrJutsoKiFV1kJbtple8DDt2\n"
|
||||
+ "DZcevensf9Op7PuFZKBroEjOd35znDET/z3IrqVgbtm2jFqab7a+n2q9p/CgMyf1\n"
|
||||
+ "tx2S5Zacc1LWn9bIjrECAwEAAaOBkzCBkDAMBgNVHRMBAf8EAjAAMBoGA1UdEQQT\n"
|
||||
+ "MBGCD3Rlc3QuZ251dGxzLm9yZzATBgNVHSUEDDAKBggrBgEFBQcDATAPBgNVHQ8B\n"
|
||||
+ "Af8EBQMDB6AAMB0GA1UdDgQWBBTrx0Vu5fglyoyNgw106YbU3VW0dTAfBgNVHSME\n"
|
||||
+ "GDAWgBTpPBz7rZJu5gakViyi4cBTJ8jylTALBgkqhkiG9w0BAQUDgYEAaFEPTt+7\n"
|
||||
+ "bzvBuOf7+QmeQcn29kT6Bsyh1RHJXf8KTk5QRfwp6ogbp94JQWcNQ/S7YDFHglD1\n"
|
||||
+ "AwUNBRXwd3riUsMnsxgeSDxYBfJYbDLeohNBsqaPDJb7XailWbMQKfAbFQ8cnOxg\n"
|
||||
+ "rOKLUQRWJ0K3HyXRMhbqjdLIaQiCvQLuizo=\n" "-----END CERTIFICATE-----\n";
|
||||
+
|
||||
+const gnutls_datum_t server_cert = { server_cert_pem,
|
||||
+ sizeof(server_cert_pem)
|
||||
+};
|
||||
+
|
||||
+static unsigned char server_key_pem[] =
|
||||
+ "-----BEGIN RSA PRIVATE KEY-----\n"
|
||||
+ "MIICXAIBAAKBgQDXulyvowzwLqknVqpTjqjrf4F1TGuYvkrqtx74S8NqxNoNALjq\n"
|
||||
+ "TBMfNhaT3nLvxqResm62ygqIVXWQlu2mV7wMO3YNlx696ex/06ns+4VkoGugSM53\n"
|
||||
+ "fnOcMRP/PciupWBu2baMWppvtr6far2n8KAzJ/W3HZLllpxzUtaf1siOsQIDAQAB\n"
|
||||
+ "AoGAYAFyKkAYC/PYF8e7+X+tsVCHXppp8AoP8TEZuUqOZz/AArVlle/ROrypg5kl\n"
|
||||
+ "8YunrvUdzH9R/KZ7saNZlAPLjZyFG9beL/am6Ai7q7Ma5HMqjGU8kTEGwD7K+lbG\n"
|
||||
+ "iomokKMOl+kkbY/2sI5Czmbm+/PqLXOjtVc5RAsdbgvtmvkCQQDdV5QuU8jap8Hs\n"
|
||||
+ "Eodv/tLJ2z4+SKCV2k/7FXSKWe0vlrq0cl2qZfoTUYRnKRBcWxc9o92DxK44wgPi\n"
|
||||
+ "oMQS+O7fAkEA+YG+K9e60sj1K4NYbMPAbYILbZxORDecvP8lcphvwkOVUqbmxOGh\n"
|
||||
+ "XRmTZUuhBrJhJKKf6u7gf3KWlPl6ShKEbwJASC118cF6nurTjuLf7YKARDjNTEws\n"
|
||||
+ "qZEeQbdWYINAmCMj0RH2P0mvybrsXSOD5UoDAyO7aWuqkHGcCLv6FGG+qwJAOVqq\n"
|
||||
+ "tXdUucl6GjOKKw5geIvRRrQMhb/m5scb+5iw8A4LEEHPgGiBaF5NtJZLALgWfo5n\n"
|
||||
+ "hmC8+G8F0F78znQtPwJBANexu+Tg5KfOnzSILJMo3oXiXhf5PqXIDmbN0BKyCKAQ\n"
|
||||
+ "LfkcEcUbVfmDaHpvzwY9VEaoMOKVLitETXdNSxVpvWM=\n"
|
||||
+ "-----END RSA PRIVATE KEY-----\n";
|
||||
+
|
||||
+const gnutls_datum_t server_key = { server_key_pem,
|
||||
+ sizeof(server_key_pem)
|
||||
+};
|
||||
+
|
||||
+
|
||||
+/* A very basic TLS client, with anonymous authentication.
|
||||
+ */
|
||||
+
|
||||
+static void client(int fd, const char *prio)
|
||||
+{
|
||||
+ int ret;
|
||||
+ gnutls_anon_client_credentials_t anoncred;
|
||||
+ gnutls_certificate_credentials_t x509_cred;
|
||||
+ gnutls_session_t session;
|
||||
+ /* Need to enable anonymous KX specifically. */
|
||||
+
|
||||
+ gnutls_global_init();
|
||||
+
|
||||
+ if (debug) {
|
||||
+ gnutls_global_set_log_function(client_log_func);
|
||||
+ gnutls_global_set_log_level(7);
|
||||
+ }
|
||||
+
|
||||
+ gnutls_anon_allocate_client_credentials(&anoncred);
|
||||
+ gnutls_certificate_allocate_credentials(&x509_cred);
|
||||
+
|
||||
+ /* Initialize TLS session
|
||||
+ */
|
||||
+ gnutls_init(&session, GNUTLS_CLIENT);
|
||||
+
|
||||
+ /* Use default priorities */
|
||||
+ gnutls_priority_set_direct(session, prio, NULL);
|
||||
+
|
||||
+ /* put the anonymous credentials to the current session
|
||||
+ */
|
||||
+ gnutls_credentials_set(session, GNUTLS_CRD_ANON, anoncred);
|
||||
+ gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, x509_cred);
|
||||
+
|
||||
+ gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) fd);
|
||||
+
|
||||
+ /* Perform the TLS handshake
|
||||
+ */
|
||||
+ do {
|
||||
+ ret = gnutls_handshake(session);
|
||||
+ }
|
||||
+ while (ret < 0 && gnutls_error_is_fatal(ret) == 0);
|
||||
+
|
||||
+ if (ret < 0) {
|
||||
+ fprintf(stderr, "client: Handshake failed (expected)\n");
|
||||
+ gnutls_perror(ret);
|
||||
+ exit(0);
|
||||
+ } else {
|
||||
+ if (debug)
|
||||
+ fprintf(stderr, "client: Handshake was completed\n");
|
||||
+ }
|
||||
+
|
||||
+ close(fd);
|
||||
+
|
||||
+ gnutls_deinit(session);
|
||||
+
|
||||
+ gnutls_anon_free_client_credentials(anoncred);
|
||||
+ gnutls_certificate_free_credentials(x509_cred);
|
||||
+
|
||||
+ gnutls_global_deinit();
|
||||
+}
|
||||
+
|
||||
+
|
||||
+/* These are global */
|
||||
+pid_t child;
|
||||
+
|
||||
+static void terminate(int ret)
|
||||
+{
|
||||
+ kill(child, SIGTERM);
|
||||
+ exit(ret);
|
||||
+}
|
||||
+
|
||||
+static void server(int fd, const char *prio)
|
||||
+{
|
||||
+ int ret;
|
||||
+ uint8_t id[255];
|
||||
+ uint8_t buffer[] = "\x16\x03\x00\x01\x25"
|
||||
+ "\x02\x00\x01\x21"
|
||||
+ "\x03\x00"/*Server Version */
|
||||
+ /*Random*/"\x00\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x00"
|
||||
+ /*SessionID*/"\xfe";
|
||||
+
|
||||
+ ret = read(fd, id, sizeof(id));
|
||||
+ if (ret < 0) {
|
||||
+ abort();
|
||||
+ }
|
||||
+
|
||||
+ ret = write(fd, buffer, sizeof(buffer));
|
||||
+ if (ret < 0) {
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ memset(id, 0xff, sizeof(id));
|
||||
+ ret = write(fd, id, sizeof(id));
|
||||
+ if (ret < 0) {
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ memset(id, 0xff, sizeof(id));
|
||||
+ ret = write(fd, id, sizeof(id));
|
||||
+ if (ret < 0) {
|
||||
+ return;
|
||||
+ }
|
||||
+ sleep(3);
|
||||
+
|
||||
+ return;
|
||||
+}
|
||||
+
|
||||
+static void start(const char *prio)
|
||||
+{
|
||||
+ int fd[2];
|
||||
+ int ret;
|
||||
+
|
||||
+ ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fd);
|
||||
+ if (ret < 0) {
|
||||
+ perror("socketpair");
|
||||
+ exit(1);
|
||||
+ }
|
||||
+
|
||||
+ child = fork();
|
||||
+ if (child < 0) {
|
||||
+ perror("fork");
|
||||
+ exit(1);
|
||||
+ }
|
||||
+
|
||||
+ if (child) {
|
||||
+ /* parent */
|
||||
+ close(fd[1]);
|
||||
+ server(fd[0], prio);
|
||||
+ kill(child, SIGTERM);
|
||||
+ } else {
|
||||
+ close(fd[0]);
|
||||
+ client(fd[1], prio);
|
||||
+ exit(0);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+static void ch_handler(int sig)
|
||||
+{
|
||||
+ int status, ret = 0;
|
||||
+ wait(&status);
|
||||
+ if (WEXITSTATUS(status) != 0 ||
|
||||
+ (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV)) {
|
||||
+ if (WIFSIGNALED(status)) {
|
||||
+ fprintf(stderr, "Child died with sigsegv\n");
|
||||
+ ret = 1;
|
||||
+ } else {
|
||||
+ fprintf(stderr, "Child died with status %d\n",
|
||||
+ WEXITSTATUS(status));
|
||||
+ }
|
||||
+ terminate(ret);
|
||||
+ }
|
||||
+ return;
|
||||
+}
|
||||
+
|
||||
+int main(int argc, char **argv)
|
||||
+{
|
||||
+ signal(SIGCHLD, ch_handler);
|
||||
+
|
||||
+ if (argc > 1)
|
||||
+ debug = 1;
|
||||
+
|
||||
+ start("NORMAL");
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+#endif /* _WIN32 */
|
@ -0,0 +1,45 @@
|
||||
From d4ff19de527cd3eb444c560639324cda35bc838e Mon Sep 17 00:00:00 2001
|
||||
From: mancha <mancha1@zoho.com>
|
||||
Date: Sun, 1 Jun 2014
|
||||
Subject: CVE-2014-3467
|
||||
|
||||
This is a backport adaptation for use with GnuTLS 2.12.23.
|
||||
|
||||
Relevant upstream commit(s):
|
||||
-------------------------
|
||||
http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=ff3b5c68cc32e3
|
||||
http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=51612fca32dda4
|
||||
|
||||
---
|
||||
lib/minitasn1/decoding.c | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
--- a/lib/minitasn1/decoding.c
|
||||
+++ b/lib/minitasn1/decoding.c
|
||||
@@ -149,7 +149,7 @@ asn1_get_tag_der (const unsigned char *d
|
||||
/* Long form */
|
||||
punt = 1;
|
||||
ris = 0;
|
||||
- while (punt <= der_len && der[punt] & 128)
|
||||
+ while (punt < der_len && der[punt] & 128)
|
||||
{
|
||||
last = ris;
|
||||
|
||||
@@ -259,7 +259,7 @@ _asn1_get_time_der (const unsigned char
|
||||
if (der_len <= 0 || str == NULL)
|
||||
return ASN1_DER_ERROR;
|
||||
str_len = asn1_get_length_der (der, der_len, &len_len);
|
||||
- if (str_len < 0 || str_size < str_len)
|
||||
+ if (str_len <= 0 || str_size < str_len)
|
||||
return ASN1_DER_ERROR;
|
||||
memcpy (str, der + len_len, str_len);
|
||||
str[str_len] = 0;
|
||||
@@ -285,7 +285,7 @@ _asn1_get_objectid_der (const unsigned c
|
||||
return ASN1_GENERIC_ERROR;
|
||||
len = asn1_get_length_der (der, der_len, &len_len);
|
||||
|
||||
- if (len < 0 || len > der_len || len_len > der_len)
|
||||
+ if (len <= 0 || len > der_len || len_len > der_len)
|
||||
return ASN1_DER_ERROR;
|
||||
|
||||
val1 = der[len_len] / 40;
|
@ -0,0 +1,45 @@
|
||||
From 24ed1d41707f873f3b7a22159e4bb3942f319fac Mon Sep 17 00:00:00 2001
|
||||
From: mancha <mancha1@zoho.com>
|
||||
Date: Sun, 1 Jun 2014
|
||||
Subject: CVE-2014-3468
|
||||
|
||||
This is a backport adaptation for use with GnuTLS 2.12.23.
|
||||
|
||||
Relevant upstream commit(s):
|
||||
-------------------------
|
||||
http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=1c3ccb3e040bf1
|
||||
|
||||
---
|
||||
lib/minitasn1/decoding.c | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/lib/minitasn1/decoding.c
|
||||
+++ b/lib/minitasn1/decoding.c
|
||||
@@ -226,7 +226,7 @@ asn1_get_octet_der (const unsigned char
|
||||
int *ret_len, unsigned char *str, int str_size,
|
||||
int *str_len)
|
||||
{
|
||||
- int len_len;
|
||||
+ int len_len = 0;
|
||||
|
||||
if (der_len <= 0)
|
||||
return ASN1_GENERIC_ERROR;
|
||||
@@ -347,7 +347,7 @@ asn1_get_bit_der (const unsigned char *d
|
||||
int *ret_len, unsigned char *str, int str_size,
|
||||
int *bit_len)
|
||||
{
|
||||
- int len_len, len_byte;
|
||||
+ int len_len = 0, len_byte;
|
||||
|
||||
if (der_len <= 0)
|
||||
return ASN1_GENERIC_ERROR;
|
||||
@@ -358,6 +358,9 @@ asn1_get_bit_der (const unsigned char *d
|
||||
*ret_len = len_byte + len_len + 1;
|
||||
*bit_len = len_byte * 8 - der[len_len];
|
||||
|
||||
+ if (*bit_len <= 0)
|
||||
+ return ASN1_DER_ERROR;
|
||||
+
|
||||
if (str_size >= len_byte)
|
||||
memcpy (str, der + len_len + 1, len_byte);
|
||||
else
|
@ -0,0 +1,122 @@
|
||||
From 7f5a6256231e278aa7d00b6851c22fb457537262 Mon Sep 17 00:00:00 2001
|
||||
From: mancha <mancha1@zoho.com>
|
||||
Date: Sun, 1 Jun 2014
|
||||
Subject: CVE-2014-3469
|
||||
|
||||
This is a backport adaptation for use with GnuTLS 2.12.23.
|
||||
|
||||
Relevant upstream commit(s):
|
||||
-------------------------
|
||||
http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=a8b3e14f84174e
|
||||
http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=3d6a02f19ff15a
|
||||
http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=53958290ab731c
|
||||
|
||||
---
|
||||
lib/minitasn1/decoding.c | 11 ++++++++---
|
||||
lib/minitasn1/element.c | 27 ++++++++++++++++++---------
|
||||
2 files changed, 26 insertions(+), 12 deletions(-)
|
||||
|
||||
--- a/lib/minitasn1/decoding.c
|
||||
+++ b/lib/minitasn1/decoding.c
|
||||
@@ -231,7 +231,6 @@ asn1_get_octet_der (const unsigned char
|
||||
if (der_len <= 0)
|
||||
return ASN1_GENERIC_ERROR;
|
||||
|
||||
- /* if(str==NULL) return ASN1_SUCCESS; */
|
||||
*str_len = asn1_get_length_der (der, der_len, &len_len);
|
||||
|
||||
if (*str_len < 0)
|
||||
@@ -239,7 +238,10 @@ asn1_get_octet_der (const unsigned char
|
||||
|
||||
*ret_len = *str_len + len_len;
|
||||
if (str_size >= *str_len)
|
||||
- memcpy (str, der + len_len, *str_len);
|
||||
+ {
|
||||
+ if (*str_len > 0 && str != NULL)
|
||||
+ memcpy (str, der + len_len, *str_len);
|
||||
+ }
|
||||
else
|
||||
{
|
||||
return ASN1_MEM_ERROR;
|
||||
@@ -362,7 +364,10 @@ asn1_get_bit_der (const unsigned char *d
|
||||
return ASN1_DER_ERROR;
|
||||
|
||||
if (str_size >= len_byte)
|
||||
- memcpy (str, der + len_len + 1, len_byte);
|
||||
+ {
|
||||
+ if (len_byte > 0 && str)
|
||||
+ memcpy (str, der + len_len + 1, len_byte);
|
||||
+ }
|
||||
else
|
||||
{
|
||||
return ASN1_MEM_ERROR;
|
||||
--- a/lib/minitasn1/element.c
|
||||
+++ b/lib/minitasn1/element.c
|
||||
@@ -112,8 +112,11 @@ _asn1_convert_integer (const unsigned ch
|
||||
/* VALUE_OUT is too short to contain the value conversion */
|
||||
return ASN1_MEM_ERROR;
|
||||
|
||||
- for (k2 = k; k2 < SIZEOF_UNSIGNED_LONG_INT; k2++)
|
||||
- value_out[k2 - k] = val[k2];
|
||||
+ if (value_out != NULL)
|
||||
+ {
|
||||
+ for (k2 = k; k2 < SIZEOF_UNSIGNED_LONG_INT; k2++)
|
||||
+ value_out[k2 - k] = val[k2];
|
||||
+ }
|
||||
|
||||
#if 0
|
||||
printf ("_asn1_convert_integer: valueIn=%s, lenOut=%d", value, *len);
|
||||
@@ -611,7 +614,8 @@ asn1_write_value (asn1_node node_root, c
|
||||
if (ptr_size < data_size) { \
|
||||
return ASN1_MEM_ERROR; \
|
||||
} else { \
|
||||
- memcpy( ptr, data, data_size); \
|
||||
+ if (ptr && data_size > 0) \
|
||||
+ memcpy( ptr, data, data_size); \
|
||||
}
|
||||
|
||||
#define PUT_STR_VALUE( ptr, ptr_size, data) \
|
||||
@@ -620,16 +624,19 @@ asn1_write_value (asn1_node node_root, c
|
||||
return ASN1_MEM_ERROR; \
|
||||
} else { \
|
||||
/* this strcpy is checked */ \
|
||||
- _asn1_strcpy(ptr, data); \
|
||||
+ if (ptr) { \
|
||||
+ _asn1_strcpy(ptr, data); \
|
||||
+ } \
|
||||
}
|
||||
|
||||
#define ADD_STR_VALUE( ptr, ptr_size, data) \
|
||||
- *len = (int) _asn1_strlen(data) + 1; \
|
||||
- if (ptr_size < (int) _asn1_strlen(ptr)+(*len)) { \
|
||||
+ *len += _asn1_strlen(data); \
|
||||
+ if (ptr_size < (int) *len) { \
|
||||
+ (*len)++; \
|
||||
return ASN1_MEM_ERROR; \
|
||||
} else { \
|
||||
/* this strcat is checked */ \
|
||||
- _asn1_strcat(ptr, data); \
|
||||
+ if (ptr) _asn1_strcat (ptr, data); \
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -786,7 +793,9 @@ asn1_read_value (asn1_node root, const c
|
||||
case TYPE_OBJECT_ID:
|
||||
if (node->type & CONST_ASSIGN)
|
||||
{
|
||||
- value[0] = 0;
|
||||
+ *len = 0;
|
||||
+ if (value)
|
||||
+ value[0] = 0;
|
||||
p = node->down;
|
||||
while (p)
|
||||
{
|
||||
@@ -800,7 +809,7 @@ asn1_read_value (asn1_node root, const c
|
||||
}
|
||||
p = p->right;
|
||||
}
|
||||
- *len = _asn1_strlen (value) + 1;
|
||||
+ (*len)++;
|
||||
}
|
||||
else if ((node->type & CONST_DEFAULT) && (node->value == NULL))
|
||||
{
|
@ -0,0 +1,69 @@
|
||||
use pkg-config to locate zlib rather than hardcoding system -L/-I paths
|
||||
|
||||
for pthreads, just hardcode it enabled
|
||||
|
||||
for gnutls, don't hardcode -L/-I all the time to the host paths
|
||||
|
||||
--- a/lib/configure.ac
|
||||
+++ b/lib/configure.ac
|
||||
@@ -70,26 +70,23 @@ AC_ARG_WITH(zlib, AS_HELP_STRING([--without-zlib],
|
||||
AC_MSG_CHECKING([whether to include zlib compression support])
|
||||
if test x$ac_zlib != xno; then
|
||||
AC_MSG_RESULT(yes)
|
||||
- AC_LIB_HAVE_LINKFLAGS(z,, [#include <zlib.h>], [compress (0, 0, 0, 0);])
|
||||
- if test "$ac_cv_libz" != yes; then
|
||||
- AC_MSG_WARN(
|
||||
-***
|
||||
-*** ZLIB was not found. You will not be able to use ZLIB compression.)
|
||||
- fi
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
-PKG_CHECK_EXISTS(zlib, ZLIB_HAS_PKGCONFIG=y, ZLIB_HAS_PKGCONFIG=n)
|
||||
-
|
||||
if test x$ac_zlib != xno; then
|
||||
+ PKG_CHECK_MODULES(ZLIB, zlib, ZLIB_HAS_PKGCONFIG=y, ZLIB_HAS_PKGCONFIG=n)
|
||||
if test "$ZLIB_HAS_PKGCONFIG" = "y" ; then
|
||||
+ LTLIBZ=$ZLIB_LIBS
|
||||
+ AC_DEFINE([HAVE_LIBZ], [1], [zlib is enabled])
|
||||
+ AC_SUBST(LTLIBZ)
|
||||
if test "x$GNUTLS_REQUIRES_PRIVATE" = "x"; then
|
||||
GNUTLS_REQUIRES_PRIVATE="Requires.private: zlib"
|
||||
else
|
||||
GNUTLS_REQUIRES_PRIVATE="$GNUTLS_REQUIRES_PRIVATE , zlib"
|
||||
fi
|
||||
else
|
||||
+ AC_LIB_HAVE_LINKFLAGS(z,, [#include <zlib.h>], [compress (0, 0, 0, 0);])
|
||||
GNUTLS_ZLIB_LIBS_PRIVATE="$LTLIBZ"
|
||||
fi
|
||||
fi
|
||||
@@ -124,10 +121,12 @@ fi
|
||||
lgl_INIT
|
||||
|
||||
AC_CHECK_FUNCS(getrusage,,)
|
||||
-AC_LIB_HAVE_LINKFLAGS(pthread,, [#include <pthread.h>], [pthread_mutex_lock (0);])
|
||||
+LTLIBPTHREAD='-pthread'
|
||||
+AC_DEFINE([HAVE_LIBPTHREAD], [1], [pthread enabled])
|
||||
+AC_SUBST(LTLIBPTHREAD)
|
||||
|
||||
-LIBGNUTLS_LIBS="-L${libdir} -lgnutls $LIBS"
|
||||
-LIBGNUTLS_CFLAGS="-I${includedir}"
|
||||
+LIBGNUTLS_LIBS="-lgnutls $LIBS"
|
||||
+LIBGNUTLS_CFLAGS=""
|
||||
AC_SUBST(LIBGNUTLS_LIBS)
|
||||
AC_SUBST(LIBGNUTLS_CFLAGS)
|
||||
|
||||
--- a/libextra/configure.ac
|
||||
+++ b/libextra/configure.ac
|
||||
@@ -41,8 +41,8 @@ LIBGNUTLS_EXTRA_HOOKS
|
||||
|
||||
xgl_INIT
|
||||
|
||||
-LIBGNUTLS_EXTRA_LIBS="-L${libdir} -lgnutls-extra $LZO_LIBS $LIBGNUTLS_LIBS"
|
||||
-LIBGNUTLS_EXTRA_CFLAGS="-I${includedir}"
|
||||
+LIBGNUTLS_EXTRA_LIBS="-lgnutls-extra $LZO_LIBS $LIBGNUTLS_LIBS"
|
||||
+LIBGNUTLS_EXTRA_CFLAGS=""
|
||||
AC_SUBST(LIBGNUTLS_EXTRA_LIBS)
|
||||
AC_SUBST(LIBGNUTLS_EXTRA_CFLAGS)
|
||||
|
@ -0,0 +1,137 @@
|
||||
--- gnutls-2.12.23.orig/doc/scripts/gdoc 2011-04-08 02:30:44.000000000 +0200
|
||||
+++ gnutls-2.12.23/doc/scripts/gdoc 2014-03-10 01:53:28.899566076 +0200
|
||||
@@ -7,6 +7,8 @@
|
||||
## Copyright (c) 2001, 2002 Nikos Mavrogiannopoulos
|
||||
## added -tex
|
||||
## Copyright (c) 1998 Michael Zucchi
|
||||
+## Copyright (c) 2013 Adam Sampson
|
||||
+## made highlighting not depend on hash order, for Perl 5.18
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -143,44 +145,44 @@
|
||||
# One for each output format
|
||||
|
||||
# these work fairly well
|
||||
-%highlights_html = ( $type_constant, "<i>\$2</i>",
|
||||
- $type_func, "<b>\$1</b>",
|
||||
- $type_struct, "<i>\$1</i>",
|
||||
- $type_param, "<tt><b>\$1</b></tt>" );
|
||||
+@highlights_html = ( [$type_constant, "<i>\$2</i>"],
|
||||
+ [$type_func, "<b>\$1</b>"],
|
||||
+ [$type_struct, "<i>\$1</i>"],
|
||||
+ [$type_param, "<tt><b>\$1</b></tt>"] );
|
||||
$blankline_html = "<p>";
|
||||
|
||||
-%highlights_texinfo = ( $type_constant, "\\\@code{\$2}",
|
||||
- $type_func, "\\\@code{\$1}",
|
||||
- $type_struct, "\\\@code{\$1}",
|
||||
- $type_param, "\\\@code{\$1}" );
|
||||
+@highlights_texinfo = ( [$type_constant, "\\\@code{\$2}"],
|
||||
+ [$type_func, "\\\@code{\$1}"],
|
||||
+ [$type_struct, "\\\@code{\$1}"],
|
||||
+ [$type_param, "\\\@code{\$1}"] );
|
||||
$blankline_texinfo = "";
|
||||
|
||||
-%highlights_tex = ( $type_constant, "{\\\\it \$2}",
|
||||
- $type_func, "{\\\\bf \$1}",
|
||||
- $type_struct, "{\\\\it \$1}",
|
||||
- $type_param, "{\\\\bf \$1}" );
|
||||
+@highlights_tex = ( [$type_constant, "{\\\\it \$2}"],
|
||||
+ [$type_func, "{\\\\bf \$1}"],
|
||||
+ [$type_struct, "{\\\\it \$1}"],
|
||||
+ [$type_param, "{\\\\bf \$1}"] );
|
||||
$blankline_tex = "\\\\";
|
||||
|
||||
# sgml, docbook format
|
||||
-%highlights_sgml = ( $type_constant, "<replaceable class=\"option\">\$2</replaceable>",
|
||||
- $type_func, "<function>\$1</function>",
|
||||
- $type_struct, "<structname>\$1</structname>",
|
||||
- $type_env, "<envar>\$1</envar>",
|
||||
- $type_param, "<parameter>\$1</parameter>" );
|
||||
+@highlights_sgml = ( [$type_constant, "<replaceable class=\"option\">\$2</replaceable>"],
|
||||
+ [$type_func, "<function>\$1</function>"],
|
||||
+ [$type_struct, "<structname>\$1</structname>"],
|
||||
+ [$type_env, "<envar>\$1</envar>"],
|
||||
+ [$type_param, "<parameter>\$1</parameter>"] );
|
||||
$blankline_sgml = "</para><para>\n";
|
||||
|
||||
# these are pretty rough
|
||||
-%highlights_man = ( $type_constant, "\\\\fB\$2\\\\fP",
|
||||
- $type_func, "\\\\fB\$1\\\\fP",
|
||||
- $type_struct, "\\\\fB\$1\\\\fP",
|
||||
- $type_param, "\\\\fI\$1\\\\fP" );
|
||||
+@highlights_man = ( [$type_constant, "\\\\fB\$2\\\\fP"],
|
||||
+ [$type_func, "\\\\fB\$1\\\\fP"],
|
||||
+ [$type_struct, "\\\\fB\$1\\\\fP"],
|
||||
+ [$type_param, "\\\\fI\$1\\\\fP"] );
|
||||
$blankline_man = "";
|
||||
|
||||
# text-mode
|
||||
-%highlights_text = ( $type_constant, "\$2",
|
||||
- $type_func, "\$1",
|
||||
- $type_struct, "\$1",
|
||||
- $type_param, "\$1" );
|
||||
+@highlights_text = ( [$type_constant, "\$2"],
|
||||
+ [$type_func, "\$1"],
|
||||
+ [$type_struct, "\$1"],
|
||||
+ [$type_param, "\$1"] );
|
||||
$blankline_text = "";
|
||||
|
||||
|
||||
@@ -201,7 +203,7 @@
|
||||
|
||||
$verbose = 0;
|
||||
$output_mode = "man";
|
||||
-%highlights = %highlights_man;
|
||||
+@highlights = @highlights_man;
|
||||
$blankline = $blankline_man;
|
||||
$modulename = "API Documentation";
|
||||
$sourceversion = strftime "%Y-%m-%d", localtime;
|
||||
@@ -210,27 +212,27 @@
|
||||
$cmd = shift @ARGV;
|
||||
if ($cmd eq "-html") {
|
||||
$output_mode = "html";
|
||||
- %highlights = %highlights_html;
|
||||
+ @highlights = @highlights_html;
|
||||
$blankline = $blankline_html;
|
||||
} elsif ($cmd eq "-man") {
|
||||
$output_mode = "man";
|
||||
- %highlights = %highlights_man;
|
||||
+ @highlights = @highlights_man;
|
||||
$blankline = $blankline_man;
|
||||
} elsif ($cmd eq "-tex") {
|
||||
$output_mode = "tex";
|
||||
- %highlights = %highlights_tex;
|
||||
+ @highlights = @highlights_tex;
|
||||
$blankline = $blankline_tex;
|
||||
} elsif ($cmd eq "-texinfo") {
|
||||
$output_mode = "texinfo";
|
||||
%highlights = %highlights_texinfo;
|
||||
- $blankline = $blankline_texinfo;
|
||||
+ @blankline = @blankline_texinfo;
|
||||
} elsif ($cmd eq "-text") {
|
||||
$output_mode = "text";
|
||||
%highlights = %highlights_text;
|
||||
- $blankline = $blankline_text;
|
||||
+ @blankline = @blankline_text;
|
||||
} elsif ($cmd eq "-docbook") {
|
||||
$output_mode = "sgml";
|
||||
- %highlights = %highlights_sgml;
|
||||
+ @highlights = @highlights_sgml;
|
||||
$blankline = $blankline_sgml;
|
||||
} elsif ($cmd eq "-listfunc") {
|
||||
$output_mode = "listfunc";
|
||||
@@ -322,9 +324,10 @@
|
||||
my $line;
|
||||
my $ret = "";
|
||||
|
||||
- foreach $pattern (keys %highlights) {
|
||||
+ foreach $highlight (@highlights) {
|
||||
+ my ($pattern, $replace) = @$highlight;
|
||||
# print "scanning pattern $pattern ($highlights{$pattern})\n";
|
||||
- $contents =~ s:$pattern:repstr($pattern, $highlights{$pattern}, $1, $2, $3, $4):gse;
|
||||
+ $contents =~ s:$pattern:repstr($pattern, $replace, $1, $2, $3, $4):gse;
|
||||
}
|
||||
foreach $line (split "\n", $contents) {
|
||||
if ($line eq ""){
|
@ -0,0 +1,30 @@
|
||||
From 4b3252d59ef2d73118e2de6743ba58e2cbafa008 Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Sat, 8 Mar 2014 22:13:51 +0200
|
||||
Subject: [PATCH] tests: getaddrinfo: skip if no network
|
||||
|
||||
When running tests under network sandbox, there is no connectivity to
|
||||
the DNS, in this case function returns system error and ECONNREFUSED
|
||||
this should result in skipping test.
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
tests/test-getaddrinfo.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gl/tests/test-getaddrinfo.c b/gl/tests/test-getaddrinfo.c
|
||||
index acf9cd6..b155410 100644
|
||||
--- a/gl/tests/test-getaddrinfo.c
|
||||
+++ b/gl/tests/test-getaddrinfo.c
|
||||
@@ -85,7 +85,7 @@ simple (char const *host, char const *service)
|
||||
/* EAI_AGAIN is returned if no network is available. Don't fail
|
||||
the test merely because someone is down the country on their
|
||||
in-law's farm. */
|
||||
- if (res == EAI_AGAIN)
|
||||
+ if (res == EAI_AGAIN || (res == EAI_SYSTEM && err == ECONNREFUSED))
|
||||
{
|
||||
skip++;
|
||||
fprintf (stderr, "skipping getaddrinfo test: no network?\n");
|
||||
--
|
||||
1.8.3.2
|
||||
|
44
sdk_container/src/third_party/portage-stable/net-libs/gnutls/files/gnutls-2.12.23-hppa.patch
vendored
Normal file
44
sdk_container/src/third_party/portage-stable/net-libs/gnutls/files/gnutls-2.12.23-hppa.patch
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
From 043fe2c28a5f6b3ec6202090faaf7933b247e40c Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Mon, 17 Jun 2013 13:27:55 +0300
|
||||
Subject: [PATCH] build: fix hppa compile
|
||||
|
||||
gentoo#471914
|
||||
|
||||
O_SYNC : 262144
|
||||
O_DSYNC: 262144
|
||||
O_RSYNC: 524288
|
||||
---
|
||||
gl/tests/test-fcntl-h.c | 2 +-
|
||||
lib/gl/tests/test-fcntl-h.c | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/gl/tests/test-fcntl-h.c b/gl/tests/test-fcntl-h.c
|
||||
index a6c9621..9e13491 100644
|
||||
--- a/gl/tests/test-fcntl-h.c
|
||||
+++ b/gl/tests/test-fcntl-h.c
|
||||
@@ -111,7 +111,7 @@ main (void)
|
||||
#if O_RSYNC && O_RSYNC != O_DSYNC
|
||||
case O_RSYNC:
|
||||
#endif
|
||||
-#if O_SYNC && O_SYNC != O_RSYNC
|
||||
+#if O_SYNC && O_SYNC != O_RSYNC && O_SYNC != O_DSYNC
|
||||
case O_SYNC:
|
||||
#endif
|
||||
#if O_TTY_INIT
|
||||
diff --git a/lib/gl/tests/test-fcntl-h.c b/lib/gl/tests/test-fcntl-h.c
|
||||
index a6c9621..9e13491 100644
|
||||
--- a/lib/gl/tests/test-fcntl-h.c
|
||||
+++ b/lib/gl/tests/test-fcntl-h.c
|
||||
@@ -111,7 +111,7 @@ main (void)
|
||||
#if O_RSYNC && O_RSYNC != O_DSYNC
|
||||
case O_RSYNC:
|
||||
#endif
|
||||
-#if O_SYNC && O_SYNC != O_RSYNC
|
||||
+#if O_SYNC && O_SYNC != O_RSYNC && O_SYNC != O_DSYNC
|
||||
case O_SYNC:
|
||||
#endif
|
||||
#if O_TTY_INIT
|
||||
--
|
||||
1.8.1.5
|
||||
|
104
sdk_container/src/third_party/portage-stable/net-libs/gnutls/files/gnutls-3.4.2-build.patch
vendored
Normal file
104
sdk_container/src/third_party/portage-stable/net-libs/gnutls/files/gnutls-3.4.2-build.patch
vendored
Normal file
@ -0,0 +1,104 @@
|
||||
From 1997ac0f475488849d3f55fecd3dcad6d10193ef Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Tue, 16 Jun 2015 23:47:41 +0300
|
||||
Subject: [PATCH] tests: cert-tests: pkcs7: support separate builddir
|
||||
|
||||
please consider to always check package using separate builddir before
|
||||
release.
|
||||
|
||||
please consider adding quotes all over in shell scripts, to support
|
||||
spaces and other special characters within base path.
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
tests/cert-tests/pkcs7 | 18 +++++++++---------
|
||||
1 file changed, 9 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/tests/cert-tests/pkcs7 b/tests/cert-tests/pkcs7
|
||||
index 04e4058..7d28c84 100755
|
||||
--- a/tests/cert-tests/pkcs7
|
||||
+++ b/tests/cert-tests/pkcs7
|
||||
@@ -39,7 +39,7 @@ if test "$rc" != "0"; then
|
||||
exit $rc
|
||||
fi
|
||||
|
||||
-$DIFF $OUTFILE $FILE.out >/dev/null
|
||||
+$DIFF $OUTFILE $srcdir/$FILE.out >/dev/null
|
||||
if test "$?" != "0"; then
|
||||
echo "$FILE: PKCS7 decoding didn't produce the correct file"
|
||||
exit 1
|
||||
@@ -86,7 +86,7 @@ if test "$rc" = "0"; then
|
||||
exit 2
|
||||
fi
|
||||
|
||||
-$VALGRIND $CERTTOOL --inder --p7-verify --load-data pkcs7-detached.txt --load-ca-certificate $srcdir/../../doc/credentials/x509/ca.pem --infile $srcdir/$FILE
|
||||
+$VALGRIND $CERTTOOL --inder --p7-verify --load-data $srcdir/pkcs7-detached.txt --load-ca-certificate $srcdir/../../doc/credentials/x509/ca.pem --infile $srcdir/$FILE
|
||||
rc=$?
|
||||
|
||||
if test "$rc" != "0"; then
|
||||
@@ -106,7 +106,7 @@ if test "$rc" != "0"; then
|
||||
exit $rc
|
||||
fi
|
||||
|
||||
-$DIFF $OUTFILE p7-combined.out >/dev/null
|
||||
+$DIFF $OUTFILE $srcdir/p7-combined.out >/dev/null
|
||||
if test "$?" != "0"; then
|
||||
echo "$FILE: PKCS7 generation didn't produce the correct file"
|
||||
exit 1
|
||||
@@ -114,7 +114,7 @@ fi
|
||||
|
||||
# Test signing
|
||||
FILE=signing
|
||||
-$VALGRIND $CERTTOOL --p7-sign --load-privkey $srcdir/../../doc/credentials/x509/key-rsa.pem --load-certificate $srcdir/../../doc/credentials/x509/cert-rsa.pem --infile pkcs7-detached.txt >$OUTFILE
|
||||
+$VALGRIND $CERTTOOL --p7-sign --load-privkey $srcdir/../../doc/credentials/x509/key-rsa.pem --load-certificate $srcdir/../../doc/credentials/x509/cert-rsa.pem --infile $srcdir/pkcs7-detached.txt >$OUTFILE
|
||||
rc=$?
|
||||
|
||||
if test "$rc" != "0"; then
|
||||
@@ -133,7 +133,7 @@ fi
|
||||
|
||||
|
||||
FILE=signing-detached
|
||||
-$VALGRIND $CERTTOOL --p7-detached-sign --load-privkey $srcdir/../../doc/credentials/x509/key-rsa.pem --load-certificate $srcdir/../../doc/credentials/x509/cert-rsa.pem --infile pkcs7-detached.txt >$OUTFILE
|
||||
+$VALGRIND $CERTTOOL --p7-detached-sign --load-privkey $srcdir/../../doc/credentials/x509/key-rsa.pem --load-certificate $srcdir/../../doc/credentials/x509/cert-rsa.pem --infile $srcdir/pkcs7-detached.txt >$OUTFILE
|
||||
rc=$?
|
||||
|
||||
if test "$rc" != "0"; then
|
||||
@@ -142,7 +142,7 @@ if test "$rc" != "0"; then
|
||||
fi
|
||||
|
||||
FILE=signing-detached-verify
|
||||
-$VALGRIND $CERTTOOL --p7-verify --load-certificate $srcdir/../../doc/credentials/x509/cert-rsa.pem --load-data pkcs7-detached.txt <$OUTFILE
|
||||
+$VALGRIND $CERTTOOL --p7-verify --load-certificate $srcdir/../../doc/credentials/x509/cert-rsa.pem --load-data $srcdir/pkcs7-detached.txt <$OUTFILE
|
||||
rc=$?
|
||||
|
||||
if test "$rc" != "0"; then
|
||||
@@ -152,7 +152,7 @@ fi
|
||||
|
||||
# Test signing with broken algorithms
|
||||
FILE=signing-broken
|
||||
-$VALGRIND $CERTTOOL --hash md5 --p7-sign --load-privkey $srcdir/../../doc/credentials/x509/key-rsa.pem --load-certificate $srcdir/../../doc/credentials/x509/cert-rsa.pem --infile pkcs7-detached.txt >$OUTFILE
|
||||
+$VALGRIND $CERTTOOL --hash md5 --p7-sign --load-privkey $srcdir/../../doc/credentials/x509/key-rsa.pem --load-certificate $srcdir/../../doc/credentials/x509/cert-rsa.pem --infile $srcdir/pkcs7-detached.txt >$OUTFILE
|
||||
rc=$?
|
||||
|
||||
if test "$rc" != "0"; then
|
||||
@@ -170,7 +170,7 @@ if test "$rc" = "0"; then
|
||||
fi
|
||||
|
||||
FILE=signing-time
|
||||
-$VALGRIND $CERTTOOL --p7-detached-sign --p7-time --load-privkey $srcdir/../../doc/credentials/x509/key-rsa.pem --load-certificate $srcdir/../../doc/credentials/x509/cert-rsa.pem --infile pkcs7-detached.txt >$OUTFILE
|
||||
+$VALGRIND $CERTTOOL --p7-detached-sign --p7-time --load-privkey $srcdir/../../doc/credentials/x509/key-rsa.pem --load-certificate $srcdir/../../doc/credentials/x509/cert-rsa.pem --infile $srcdir/pkcs7-detached.txt >$OUTFILE
|
||||
rc=$?
|
||||
|
||||
if test "$rc" != "0"; then
|
||||
@@ -185,7 +185,7 @@ if test "$rc" != "0"; then
|
||||
fi
|
||||
|
||||
FILE=signing-time-verify
|
||||
-$VALGRIND $CERTTOOL --p7-verify --load-certificate $srcdir/../../doc/credentials/x509/cert-rsa.pem --load-data pkcs7-detached.txt <$OUTFILE
|
||||
+$VALGRIND $CERTTOOL --p7-verify --load-certificate $srcdir/../../doc/credentials/x509/cert-rsa.pem --load-data $srcdir/pkcs7-detached.txt <$OUTFILE
|
||||
rc=$?
|
||||
|
||||
if test "$rc" != "0"; then
|
||||
--
|
||||
2.3.6
|
||||
|
@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-2.10.5.ebuild,v 1.9 2011/07/11 00:09:02 halcy0n Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit autotools libtool
|
||||
|
||||
DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
|
||||
HOMEPAGE="http://www.gnutls.org/"
|
||||
|
||||
if [[ "${PV}" == *pre* ]]; then
|
||||
SRC_URI="http://daily.josefsson.org/${P%.*}/${P%.*}-${PV#*pre}.tar.gz"
|
||||
else
|
||||
MINOR_VERSION="${PV#*.}"
|
||||
MINOR_VERSION="${MINOR_VERSION%.*}"
|
||||
if [[ $((MINOR_VERSION % 2)) == 0 ]]; then
|
||||
#SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
|
||||
else
|
||||
SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.bz2"
|
||||
fi
|
||||
unset MINOR_VERSION
|
||||
fi
|
||||
|
||||
# GPL-3 for the gnutls-extras library and LGPL for the gnutls library.
|
||||
LICENSE="LGPL-2.1 GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="bindist +cxx doc examples guile lzo nls test zlib"
|
||||
|
||||
RDEPEND=">=dev-libs/libgcrypt-1.4.0
|
||||
>=dev-libs/libtasn1-0.3.4
|
||||
nls? ( virtual/libintl )
|
||||
guile? ( >=dev-scheme/guile-1.8[networking] )
|
||||
zlib? ( >=sys-libs/zlib-1.2.3.1 )
|
||||
!bindist? ( lzo? ( >=dev-libs/lzo-2 ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool
|
||||
doc? ( dev-util/gtk-doc )
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-misc/datefudge )"
|
||||
|
||||
S="${WORKDIR}/${P%_pre*}"
|
||||
|
||||
pkg_setup() {
|
||||
if use lzo && use bindist; then
|
||||
ewarn "lzo support is disabled for binary distribution of GnuTLS due to licensing issues."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' -i doc/Makefile.am
|
||||
|
||||
local dir
|
||||
for dir in m4 lib/m4 libextra/m4; do
|
||||
rm -f "${dir}/lt"* "${dir}/libtool.m4"
|
||||
done
|
||||
find . -name ltmain.sh -exec rm {} \;
|
||||
for dir in . lib libextra; do
|
||||
pushd "${dir}" > /dev/null
|
||||
eautoreconf
|
||||
popd > /dev/null
|
||||
done
|
||||
|
||||
# Use sane .so versioning on FreeBSD.
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use bindist && myconf="--without-lzo" || myconf="$(use_with lzo)"
|
||||
[[ "${VALGRIND_TESTS}" != "1" ]] && myconf+=" --disable-valgrind-tests"
|
||||
|
||||
econf --htmldir=/usr/share/doc/${P}/html \
|
||||
$(use_enable cxx) \
|
||||
$(use_enable doc gtk-doc) \
|
||||
$(use_enable guile) \
|
||||
$(use_enable nls) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if has_version dev-util/valgrind && [[ "${VALGRIND_TESTS}" != "1" ]]; then
|
||||
elog
|
||||
elog "You can set VALGRIND_TESTS=\"1\" to enable Valgrind tests."
|
||||
elog
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS doc/TODO || die "dodoc failed"
|
||||
|
||||
if use doc; then
|
||||
dodoc doc/gnutls.{pdf,ps} || die "dodoc failed"
|
||||
dohtml doc/gnutls.html || die "dohtml failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc doc/examples/*.c || die "dodoc failed"
|
||||
fi
|
||||
}
|
126
sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-2.12.23-r6.ebuild
vendored
Normal file
126
sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-2.12.23-r6.ebuild
vendored
Normal file
@ -0,0 +1,126 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-2.12.23-r6.ebuild,v 1.14 2015/05/16 08:52:41 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools libtool eutils versionator
|
||||
|
||||
DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
|
||||
HOMEPAGE="http://www.gnutls.org/"
|
||||
SRC_URI="ftp://ftp.gnutls.org/gcrypt/gnutls/v$(get_version_component_range 1-2)/${P}.tar.bz2"
|
||||
|
||||
# LGPL-2.1 for libgnutls library and GPL-3 for libgnutls-extra library.
|
||||
LICENSE="GPL-3 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="bindist +cxx doc examples guile lzo +nettle nls pkcs11 static-libs test zlib"
|
||||
|
||||
RDEPEND=">=dev-libs/libtasn1-0.3.4
|
||||
guile? ( >=dev-scheme/guile-1.8[networking] )
|
||||
nettle? ( >=dev-libs/nettle-2.1[gmp] )
|
||||
!nettle? ( >=dev-libs/libgcrypt-1.4.0:0 )
|
||||
nls? ( virtual/libintl )
|
||||
pkcs11? ( >=app-crypt/p11-kit-0.11 )
|
||||
zlib? ( >=sys-libs/zlib-1.2.3.1 )
|
||||
!bindist? ( lzo? ( >=dev-libs/lzo-2 ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/libtool
|
||||
doc? ( dev-util/gtk-doc )
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-misc/datefudge )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
|
||||
|
||||
pkg_setup() {
|
||||
if use lzo && use bindist; then
|
||||
ewarn "lzo support is disabled for binary distribution of GnuTLS due to licensing issues."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# tests/suite directory is not distributed
|
||||
sed -i -e 's|AC_CONFIG_FILES(\[tests/suite/Makefile\])|:|' \
|
||||
configure.ac || die
|
||||
|
||||
sed -i -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
|
||||
doc/Makefile.am || die
|
||||
|
||||
for dir in . lib libextra; do
|
||||
sed -i -e '/^AM_INIT_AUTOMAKE/s/-Werror//' "${dir}/configure.ac" || die
|
||||
done
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.12.20-AF_UNIX.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.12.20-libadd.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.12.20-guile-parallelmake.patch
|
||||
epatch "${FILESDIR}"/${P}-hppa.patch
|
||||
epatch "${FILESDIR}"/${P}-gl-tests-getaddrinfo-skip-if-no-network.patch
|
||||
epatch "${FILESDIR}"/${P}-gdoc-perl-5.18.patch
|
||||
epatch "${FILESDIR}"/${P}-CVE-2013-2116.patch
|
||||
epatch "${FILESDIR}"/${P}-CVE-2014-0092.patch
|
||||
epatch "${FILESDIR}"/${P}-CVE-2014-1959.patch
|
||||
epatch "${FILESDIR}"/${P}-CVE-2014-3466.patch
|
||||
epatch "${FILESDIR}"/${P}-CVE-2014-3467.patch
|
||||
epatch "${FILESDIR}"/${P}-CVE-2014-3468.patch
|
||||
epatch "${FILESDIR}"/${P}-CVE-2014-3469.patch
|
||||
epatch "${FILESDIR}"/${P}-cross-compile.patch
|
||||
|
||||
# support user patches
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Use sane .so versioning on FreeBSD.
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use bindist && myconf="--without-lzo" || myconf="$(use_with lzo)"
|
||||
[[ "${VALGRIND_TESTS}" != "1" ]] && myconf+=" --disable-valgrind-tests"
|
||||
|
||||
econf \
|
||||
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
--without-libgcrypt-prefix \
|
||||
--without-libnettle-prefix \
|
||||
--without-libpth-prefix \
|
||||
--without-libreadline-prefix \
|
||||
$(use_enable cxx) \
|
||||
$(use_enable doc gtk-doc) \
|
||||
$(use_enable doc gtk-doc-pdf) \
|
||||
$(use_enable guile) \
|
||||
$(use_with !nettle libgcrypt) \
|
||||
$(use_enable nls) \
|
||||
$(use_with pkcs11 p11-kit) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if has_version dev-util/valgrind && [[ ${VALGRIND_TESTS} != 1 ]]; then
|
||||
elog
|
||||
elog "You can set VALGRIND_TESTS=\"1\" to enable Valgrind tests."
|
||||
elog
|
||||
fi
|
||||
|
||||
# parallel testing often fails
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
if use doc; then
|
||||
dodoc doc/gnutls.{pdf,ps}
|
||||
dohtml doc/gnutls.html
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc doc/examples/*.c
|
||||
fi
|
||||
}
|
173
sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.3.15-r1.ebuild
vendored
Normal file
173
sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.3.15-r1.ebuild
vendored
Normal file
@ -0,0 +1,173 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.3.15-r1.ebuild,v 1.1 2015/06/17 18:42:05 alonbl Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools libtool eutils multilib-minimal versionator
|
||||
|
||||
DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
|
||||
HOMEPAGE="http://www.gnutls.org/"
|
||||
SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
|
||||
|
||||
# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
|
||||
# soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled.
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
|
||||
IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test zlib ${IUSE_LINGUAS// / linguas_}"
|
||||
# heartbeat support is not disabled until re-licensing happens fullyf
|
||||
|
||||
# NOTICE: sys-devel/autogen is required at runtime as we
|
||||
# use system libopts
|
||||
RDEPEND=">=dev-libs/libtasn1-3.9[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/nettle-2.7[gmp,${MULTILIB_USEDEP}]
|
||||
<dev-libs/nettle-3[gmp,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
|
||||
sys-devel/autogen
|
||||
crywrap? ( net-dns/libidn )
|
||||
dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
|
||||
guile? ( >=dev-scheme/guile-1.8:*[networking] )
|
||||
nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
||||
pkcs11? ( >=app-crypt/p11-kit-0.20.7[${MULTILIB_USEDEP}] )
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/automake-1.11.6
|
||||
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||
doc? ( dev-util/gtk-doc )
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-misc/datefudge )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
|
||||
|
||||
S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
|
||||
|
||||
pkg_setup() {
|
||||
# bug#520818
|
||||
export TZ=UTC
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
|
||||
doc/Makefile.am || die
|
||||
|
||||
# force regeneration of autogen-ed files
|
||||
local file
|
||||
for file in $(grep -l AutoGen-ed src/*.c) ; do
|
||||
rm src/$(basename ${file} .c).{c,h} || die
|
||||
done
|
||||
|
||||
# force regeneration of makeinfo files
|
||||
# have no idea why on some system these files are not
|
||||
# accepted as-is, see bug#520818
|
||||
for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
|
||||
rm "${file}" || die
|
||||
done
|
||||
|
||||
# support user patches
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Use sane .so versioning on FreeBSD.
|
||||
elibtoolize
|
||||
|
||||
# bug 497472
|
||||
use cxx || epunt_cxx
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
|
||||
|
||||
# TPM needs to be tested before being enabled
|
||||
# hardware-accell is disabled on OSX because the asm files force
|
||||
# GNU-stack (as doesn't support that) and when that's removed ld
|
||||
# complains about duplicate symbols
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
--disable-valgrind-tests \
|
||||
--without-included-libtasn1 \
|
||||
--enable-heartbeat-support \
|
||||
$(use_enable cxx) \
|
||||
$(use_enable dane libdane) \
|
||||
$(multilib_native_use_enable doc gtk-doc) \
|
||||
$(multilib_native_use_enable guile) \
|
||||
$(multilib_native_use_enable crywrap) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable openssl openssl-compatibility) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with pkcs11 p11-kit) \
|
||||
$(use_with zlib) \
|
||||
--without-tpm \
|
||||
--with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
|
||||
$([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
ln -s "${S}"/doc/reference/html doc/reference/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
if multilib_is_native_abi; then
|
||||
default
|
||||
|
||||
# symlink certtool for use in other ABIs
|
||||
if use test; then
|
||||
ln -s "${BUILD_DIR}"/src "${T}"/native-tools || die
|
||||
fi
|
||||
else
|
||||
emake -C gl
|
||||
emake -C lib
|
||||
emake -C extra
|
||||
use dane && emake -C libdane
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if multilib_is_native_abi; then
|
||||
# parallel testing often fails
|
||||
emake -j1 check
|
||||
else
|
||||
# use native ABI tools
|
||||
ln -s "${T}"/native-tools/{certtool,gnutls-{serv,cli}} \
|
||||
"${BUILD_DIR}"/src/ || die
|
||||
|
||||
emake -C gl -j1 check
|
||||
emake -C tests -j1 check
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
emake DESTDIR="${D}" install
|
||||
else
|
||||
emake -C lib DESTDIR="${D}" install
|
||||
emake -C extra DESTDIR="${D}" install
|
||||
use dane && emake -C libdane DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
dodoc doc/certtool.cfg
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/gnutls.html
|
||||
else
|
||||
rm -fr "${ED}/usr/share/doc/${PF}/html"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc doc/examples/*.c
|
||||
fi
|
||||
}
|
175
sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.3.15.ebuild
vendored
Normal file
175
sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.3.15.ebuild
vendored
Normal file
@ -0,0 +1,175 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.3.15.ebuild,v 1.10 2015/06/17 08:50:37 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools libtool eutils multilib-minimal versionator
|
||||
|
||||
DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
|
||||
HOMEPAGE="http://www.gnutls.org/"
|
||||
SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
|
||||
|
||||
# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
|
||||
# soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled.
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
|
||||
IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test zlib ${IUSE_LINGUAS// / linguas_}"
|
||||
# heartbeat support is not disabled until re-licensing happens fullyf
|
||||
|
||||
# NOTICE: sys-devel/autogen is required at runtime as we
|
||||
# use system libopts
|
||||
RDEPEND=">=dev-libs/libtasn1-3.9[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/nettle-2.7[gmp,${MULTILIB_USEDEP}]
|
||||
<dev-libs/nettle-3[gmp,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
|
||||
sys-devel/autogen
|
||||
crywrap? ( net-dns/libidn )
|
||||
dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
|
||||
guile? ( >=dev-scheme/guile-1.8:*[networking] )
|
||||
nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
||||
pkcs11? ( >=app-crypt/p11-kit-0.20.7[${MULTILIB_USEDEP}] )
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/automake-1.11.6
|
||||
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||
doc? ( dev-util/gtk-doc )
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-misc/datefudge )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
|
||||
|
||||
S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
|
||||
|
||||
pkg_setup() {
|
||||
# bug#520818
|
||||
export TZ=UTC
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
|
||||
doc/Makefile.am || die
|
||||
|
||||
# force regeneration of autogen-ed files
|
||||
local file
|
||||
for file in $(grep -l AutoGen-ed src/*.c) ; do
|
||||
rm src/$(basename ${file} .c).{c,h} || die
|
||||
done
|
||||
|
||||
# force regeneration of makeinfo files
|
||||
# have no idea why on some system these files are not
|
||||
# accepted as-is, see bug#520818
|
||||
for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
|
||||
rm "${file}" || die
|
||||
done
|
||||
|
||||
# support user patches
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Use sane .so versioning on FreeBSD.
|
||||
elibtoolize
|
||||
|
||||
# bug 497472
|
||||
use cxx || epunt_cxx
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
|
||||
|
||||
# TPM needs to be tested before being enabled
|
||||
# hardware-accell is disabled on OSX because the asm files force
|
||||
# GNU-stack (as doesn't support that) and when that's removed ld
|
||||
# complains about duplicate symbols
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
--disable-valgrind-tests \
|
||||
--without-included-libtasn1 \
|
||||
--enable-heartbeat-support \
|
||||
$(use_enable cxx) \
|
||||
$(use_enable dane libdane) \
|
||||
$(multilib_native_use_enable doc gtk-doc) \
|
||||
$(multilib_native_use_enable doc gtk-doc-pdf) \
|
||||
$(multilib_native_use_enable guile) \
|
||||
$(multilib_native_use_enable crywrap) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable openssl openssl-compatibility) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with pkcs11 p11-kit) \
|
||||
$(use_with zlib) \
|
||||
--without-tpm \
|
||||
--with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
|
||||
$([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
ln -s "${S}"/doc/reference/html doc/reference/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
if multilib_is_native_abi; then
|
||||
default
|
||||
|
||||
# symlink certtool for use in other ABIs
|
||||
if use test; then
|
||||
ln -s "${BUILD_DIR}"/src "${T}"/native-tools || die
|
||||
fi
|
||||
else
|
||||
emake -C gl
|
||||
emake -C lib
|
||||
emake -C extra
|
||||
use dane && emake -C libdane
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if multilib_is_native_abi; then
|
||||
# parallel testing often fails
|
||||
emake -j1 check
|
||||
else
|
||||
# use native ABI tools
|
||||
ln -s "${T}"/native-tools/{certtool,gnutls-{serv,cli}} \
|
||||
"${BUILD_DIR}"/src/ || die
|
||||
|
||||
emake -C gl -j1 check
|
||||
emake -C tests -j1 check
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
emake DESTDIR="${D}" install
|
||||
else
|
||||
emake -C lib DESTDIR="${D}" install
|
||||
emake -C extra DESTDIR="${D}" install
|
||||
use dane && emake -C libdane DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
dodoc doc/certtool.cfg
|
||||
|
||||
if use doc; then
|
||||
dodoc doc/gnutls.pdf
|
||||
dohtml doc/gnutls.html
|
||||
else
|
||||
rm -fr "${ED}/usr/share/doc/${PF}/html"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc doc/examples/*.c
|
||||
fi
|
||||
}
|
132
sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.4.1.ebuild
vendored
Normal file
132
sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.4.1.ebuild
vendored
Normal file
@ -0,0 +1,132 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.4.1.ebuild,v 1.1 2015/05/03 19:08:41 alonbl Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools libtool eutils multilib-minimal versionator
|
||||
|
||||
DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
|
||||
HOMEPAGE="http://www.gnutls.org/"
|
||||
SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
|
||||
|
||||
# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
|
||||
# soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled.
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="0/30" # libgnutls.so number
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
|
||||
IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test +tools zlib ${IUSE_LINGUAS// / linguas_}"
|
||||
# heartbeat support is not disabled until re-licensing happens fullyf
|
||||
|
||||
# NOTICE: sys-devel/autogen is required at runtime as we
|
||||
# use system libopts
|
||||
RDEPEND=">=dev-libs/libtasn1-3.9[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/nettle-3.1[gmp,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
|
||||
tools? ( sys-devel/autogen )
|
||||
crywrap? ( net-dns/libidn )
|
||||
dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
|
||||
guile? ( >=dev-scheme/guile-1.8:*[networking] )
|
||||
nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
||||
pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/automake-1.11.6
|
||||
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||
doc? ( dev-util/gtk-doc )
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-misc/datefudge )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
|
||||
|
||||
S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
|
||||
|
||||
pkg_setup() {
|
||||
# bug#520818
|
||||
export TZ=UTC
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
|
||||
doc/Makefile.am || die
|
||||
|
||||
# force regeneration of autogen-ed files
|
||||
local file
|
||||
for file in $(grep -l AutoGen-ed src/*.c) ; do
|
||||
rm src/$(basename ${file} .c).{c,h} || die
|
||||
done
|
||||
|
||||
# force regeneration of makeinfo files
|
||||
# have no idea why on some system these files are not
|
||||
# accepted as-is, see bug#520818
|
||||
for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
|
||||
rm "${file}" || die
|
||||
done
|
||||
|
||||
# support user patches
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Use sane .so versioning on FreeBSD.
|
||||
elibtoolize
|
||||
|
||||
# bug 497472
|
||||
use cxx || epunt_cxx
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
|
||||
|
||||
# TPM needs to be tested before being enabled
|
||||
# hardware-accell is disabled on OSX because the asm files force
|
||||
# GNU-stack (as doesn't support that) and when that's removed ld
|
||||
# complains about duplicate symbols
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
--disable-valgrind-tests \
|
||||
--without-included-libtasn1 \
|
||||
--enable-heartbeat-support \
|
||||
$(use_enable cxx) \
|
||||
$(use_enable dane libdane) \
|
||||
$(multilib_native_use_enable tools) \
|
||||
$(multilib_native_use_enable doc gtk-doc) \
|
||||
$(multilib_native_use_enable doc gtk-doc-pdf) \
|
||||
$(multilib_native_use_enable guile) \
|
||||
$(multilib_native_use_enable crywrap) \
|
||||
$(multilib_native_use_enable test tests) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable openssl openssl-compatibility) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with pkcs11 p11-kit) \
|
||||
$(use_with zlib) \
|
||||
--without-tpm \
|
||||
--with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
|
||||
$([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
dodoc doc/certtool.cfg
|
||||
|
||||
if use doc; then
|
||||
dodoc doc/gnutls.pdf
|
||||
dohtml doc/gnutls.html
|
||||
else
|
||||
rm -fr "${ED}/usr/share/doc/${PF}/html"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc doc/examples/*.c
|
||||
fi
|
||||
}
|
132
sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.4.2-r1.ebuild
vendored
Normal file
132
sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.4.2-r1.ebuild
vendored
Normal file
@ -0,0 +1,132 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.4.2-r1.ebuild,v 1.1 2015/06/17 18:42:05 alonbl Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools libtool eutils multilib-minimal versionator
|
||||
|
||||
DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
|
||||
HOMEPAGE="http://www.gnutls.org/"
|
||||
SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
|
||||
|
||||
# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
|
||||
# soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled.
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="0/30" # libgnutls.so number
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
|
||||
IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test +tools zlib ${IUSE_LINGUAS// / linguas_}"
|
||||
# heartbeat support is not disabled until re-licensing happens fullyf
|
||||
|
||||
# NOTICE: sys-devel/autogen is required at runtime as we
|
||||
# use system libopts
|
||||
RDEPEND=">=dev-libs/libtasn1-3.9[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/nettle-3.1[gmp,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
|
||||
tools? ( sys-devel/autogen )
|
||||
crywrap? ( net-dns/libidn )
|
||||
dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
|
||||
guile? ( >=dev-scheme/guile-1.8:*[networking] )
|
||||
nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
||||
pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/automake-1.11.6
|
||||
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||
doc? ( dev-util/gtk-doc )
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-misc/datefudge )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
|
||||
|
||||
S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
|
||||
|
||||
pkg_setup() {
|
||||
# bug#520818
|
||||
export TZ=UTC
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
|
||||
doc/Makefile.am || die
|
||||
|
||||
# force regeneration of autogen-ed files
|
||||
local file
|
||||
for file in $(grep -l AutoGen-ed src/*.c) ; do
|
||||
rm src/$(basename ${file} .c).{c,h} || die
|
||||
done
|
||||
|
||||
# force regeneration of makeinfo files
|
||||
# have no idea why on some system these files are not
|
||||
# accepted as-is, see bug#520818
|
||||
for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
|
||||
rm "${file}" || die
|
||||
done
|
||||
|
||||
epatch "${FILESDIR}/${P}-build.patch"
|
||||
|
||||
# support user patches
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Use sane .so versioning on FreeBSD.
|
||||
elibtoolize
|
||||
|
||||
# bug 497472
|
||||
use cxx || epunt_cxx
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
|
||||
|
||||
# TPM needs to be tested before being enabled
|
||||
# hardware-accell is disabled on OSX because the asm files force
|
||||
# GNU-stack (as doesn't support that) and when that's removed ld
|
||||
# complains about duplicate symbols
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
--disable-valgrind-tests \
|
||||
--without-included-libtasn1 \
|
||||
--enable-heartbeat-support \
|
||||
$(use_enable cxx) \
|
||||
$(use_enable dane libdane) \
|
||||
$(multilib_native_use_enable tools) \
|
||||
$(multilib_native_use_enable doc gtk-doc) \
|
||||
$(multilib_native_use_enable guile) \
|
||||
$(multilib_native_use_enable crywrap) \
|
||||
$(multilib_native_use_enable test tests) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable openssl openssl-compatibility) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with pkcs11 p11-kit) \
|
||||
$(use_with zlib) \
|
||||
--without-tpm \
|
||||
--with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
|
||||
$([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
dodoc doc/certtool.cfg
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/gnutls.html
|
||||
else
|
||||
rm -fr "${ED}/usr/share/doc/${PF}/html"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc doc/examples/*.c
|
||||
fi
|
||||
}
|
30
sdk_container/src/third_party/portage-stable/net-libs/gnutls/metadata.xml
vendored
Normal file
30
sdk_container/src/third_party/portage-stable/net-libs/gnutls/metadata.xml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>crypto</herd>
|
||||
<use>
|
||||
<flag name="bindist">
|
||||
Disallow building LZO support, because of a license
|
||||
incompatibility with <pkg>dev-libs/lzo</pkg>
|
||||
</flag>
|
||||
<flag name="crywrap" restrict=">=net-libs/gnutls-3.2.10">
|
||||
Build the crywrap TLS proxy service
|
||||
</flag>
|
||||
<flag name="dane" restrict=">=net-libs/gnutls-3.1.3">
|
||||
Build libgnutls-dane, implementing DNS-based Authentication of
|
||||
Named Entities. Requires <pkg>net-dns/unbound</pkg>
|
||||
</flag>
|
||||
<flag name="nettle" restrict="<net-libs/gnutls-3">
|
||||
Use <pkg>dev-libs/nettle</pkg> as crypto backend
|
||||
</flag>
|
||||
<flag name="openssl">
|
||||
Build openssl compatibility libraries
|
||||
</flag>
|
||||
<flag name="pkcs11">
|
||||
Add support for PKCS#11 through <pkg>app-crypt/p11-kit</pkg>
|
||||
</flag>
|
||||
<flag name="tools">
|
||||
Build extra tools
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user