From 46af38b88b09a484d7f0359eb9bda667e6affbef Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Mon, 26 Oct 2020 20:26:31 +0100 Subject: libgcrypt: Version bump to 1.8.7 --- .../dev-libs/libgcrypt/libgcrypt-1.8.6.exheres-0 | 45 ---------------------- .../dev-libs/libgcrypt/libgcrypt-1.8.7.exheres-0 | 45 ++++++++++++++++++++++ 2 files changed, 45 insertions(+), 45 deletions(-) delete mode 100644 packages/dev-libs/libgcrypt/libgcrypt-1.8.6.exheres-0 create mode 100644 packages/dev-libs/libgcrypt/libgcrypt-1.8.7.exheres-0 diff --git a/packages/dev-libs/libgcrypt/libgcrypt-1.8.6.exheres-0 b/packages/dev-libs/libgcrypt/libgcrypt-1.8.6.exheres-0 deleted file mode 100644 index 6a8c20993..000000000 --- a/packages/dev-libs/libgcrypt/libgcrypt-1.8.6.exheres-0 +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2009, 2010 Ingmar Vanhassel -# Distributed under the terms of the GNU General Public License v2 -# Based in part upon 'libgcrypt-1.4.0-r1.ebuild' from Gentoo, which is: -# Copyright 1999-2008 Gentoo Foundation. - -require flag-o-matic - -SUMMARY="General purpose crypto library based on the code used in GnuPG" -HOMEPAGE="https://www.gnupg.org" -DOWNLOADS="mirror://gnupg/${PN}/${PNV}.tar.bz2" - -LICENCES=" - LGPL-2.1 [[ note = [ Applies to the library ] ]] - GPL-2 [[ note = [ Applies to the manual & tools ] ]] -" -SLOT="0" -PLATFORMS="~amd64 ~arm ~armv7 ~armv8 ~x86" -MYOPTIONS="caps" - -DEPENDENCIES=" - build+run: - dev-libs/libgpg-error[>=1.25] - caps? ( sys-libs/libcap ) -" - -src_configure() { - # FIXME(compnerd) using -Os on recent x86_64 CPUs (e.g. IvyBridge) results in a broken - # libgcrypt. Cursory inspection indicates either a mis-aligned SIMD access or an invalid memory - # reference. This is detected via test/basic which fails. - replace-flags -O* -O2 - - # --enable-static - cryptsetup wants static - # --disable-padlock-support - Suggested by upstream, also see Gentoo #201917 - # ac_cv_sys_symbol_underscore=no - NOTE(compnerd) ELF does not have a global symbol prefix unlike COFF - # (which is default on *BSD) this should be safe to unconditionally set until we support non-ELF targets - CC_FOR_BUILD=$(exhost --build)-cc \ - econf \ - --enable-static \ - --enable-jent-support \ - --disable-padlock-support \ - --with-gpg-error-prefix=/usr/$(exhost --target) \ - ac_cv_sys_symbol_underscore=no \ - $(option_with caps capabilities) -} - diff --git a/packages/dev-libs/libgcrypt/libgcrypt-1.8.7.exheres-0 b/packages/dev-libs/libgcrypt/libgcrypt-1.8.7.exheres-0 new file mode 100644 index 000000000..6a8c20993 --- /dev/null +++ b/packages/dev-libs/libgcrypt/libgcrypt-1.8.7.exheres-0 @@ -0,0 +1,45 @@ +# Copyright 2009, 2010 Ingmar Vanhassel +# Distributed under the terms of the GNU General Public License v2 +# Based in part upon 'libgcrypt-1.4.0-r1.ebuild' from Gentoo, which is: +# Copyright 1999-2008 Gentoo Foundation. + +require flag-o-matic + +SUMMARY="General purpose crypto library based on the code used in GnuPG" +HOMEPAGE="https://www.gnupg.org" +DOWNLOADS="mirror://gnupg/${PN}/${PNV}.tar.bz2" + +LICENCES=" + LGPL-2.1 [[ note = [ Applies to the library ] ]] + GPL-2 [[ note = [ Applies to the manual & tools ] ]] +" +SLOT="0" +PLATFORMS="~amd64 ~arm ~armv7 ~armv8 ~x86" +MYOPTIONS="caps" + +DEPENDENCIES=" + build+run: + dev-libs/libgpg-error[>=1.25] + caps? ( sys-libs/libcap ) +" + +src_configure() { + # FIXME(compnerd) using -Os on recent x86_64 CPUs (e.g. IvyBridge) results in a broken + # libgcrypt. Cursory inspection indicates either a mis-aligned SIMD access or an invalid memory + # reference. This is detected via test/basic which fails. + replace-flags -O* -O2 + + # --enable-static - cryptsetup wants static + # --disable-padlock-support - Suggested by upstream, also see Gentoo #201917 + # ac_cv_sys_symbol_underscore=no - NOTE(compnerd) ELF does not have a global symbol prefix unlike COFF + # (which is default on *BSD) this should be safe to unconditionally set until we support non-ELF targets + CC_FOR_BUILD=$(exhost --build)-cc \ + econf \ + --enable-static \ + --enable-jent-support \ + --disable-padlock-support \ + --with-gpg-error-prefix=/usr/$(exhost --target) \ + ac_cv_sys_symbol_underscore=no \ + $(option_with caps capabilities) +} + -- cgit v1.2.3