Commit Graph

40 Commits

Author SHA1 Message Date
tb
cd7beb5c69 libnettle: Fix adr use in arm64 assembly - I accidentally committed an old
version of these patches. Sorry about that.
2023-01-19 12:23:58 +00:00
tb
89981e64fb libnettle: x-only fixes for m4-generated asm on aarch64 and amd64.
Fixes libnettle regress and is needed for fixing gnutls regress.
2023-01-19 10:32:12 +00:00
ajacoutot
4ff1bb94e5 Update to libnettle-3.8.1. 2022-07-28 05:48:39 +00:00
naddy
61e89e8ea8 security/libnettle: drop GNU m4 dependency, enable powerpc64 asm
Import upstream fixes that remove the need for GNU m4.

Stop disabling the assembly code on powerpc64.  The original problem
has been fixed in 3.8.  Alas, the optimized assembly code will not
be used at runtime since we lack an API to query instruction set
extensions on powerpc64.

ok ajacoutot@
2022-06-14 21:15:38 +00:00
naddy
fe3fe114f6 security/libnettle: enable aarch64 hardware crypto support
* Add support to fat-arm64.c to detect crypto instruction set
  extensions on OpenBSD.

* Require GNU m4 for the build since the aarch64 assembly is
  pre-processed by m4 macros that take 16 arguments and refer to
  arguments beyond $9 directly, e.g. $10 and so on, which is a GNU
  extension and incompatible with POSIX.

ok ajacoutot@
2022-06-12 13:25:53 +00:00
ajacoutot
3786c84575 --disable-assembler on arm & aarch64 until we figure out the breakage
(probably due to GNU m4 extension according to naddy)
2022-06-07 06:19:03 +00:00
ajacoutot
2a603db52d Update to libnettle-3.8. 2022-06-04 12:14:18 +00:00
naddy
8c0294c2fa drop RCS Ids 2022-03-11 19:53:16 +00:00
ajacoutot
11cb2faa18 Update to libnettle-3.7.3. 2021-06-07 11:03:31 +00:00
ajacoutot
cfca9e8e9e Update to libnettle-3.7.2. 2021-03-21 16:20:20 +00:00
ajacoutot
26f1ac41b8 Update to libnettle-3.7.1. 2021-02-18 09:28:08 +00:00
jasper
08c419b9ef apply fix from upstream to fix the build on powerpc*
ok aja@ (MAINTAINER)
2021-01-11 16:17:09 +00:00
jasper
56eb9ba035 unbreak libnettle on powerpc* by reverting a commit which incorrectly checked for
__GLIBC_PREREQ() being available.

furthermore, for powerpc64 we need to disable the generated assembler code for
it fails to assemble with llvm:

  error: unexpected token at start of statement: .0:

that is to be revisited but for now libnettle (and thus gnutls) can be built again.

ok aja@ (MAINTAINER)
2021-01-10 18:00:22 +00:00
ajacoutot
04189f02c6 Update to libnettle-3.7. 2021-01-09 10:29:44 +00:00
ajacoutot
c68126aca7 Update to libnettle-3.6. 2020-05-14 12:20:18 +00:00
sthen
4c39430a5d Use a link rather than compile test to for __builtin_bswap64 in libnettle;
fixes little-endian base-gcc (mips64el). From George Koehler, tested by
manphiz@gmail.com, ok aja@.
2019-12-04 10:36:34 +00:00
ajacoutot
0d63d42531 Update to libnettle-3.5.1. 2019-06-29 22:26:25 +00:00
jca
c459f7c54f Unbreak on gcc archs by rewriting C99 construct
Spotted on sparc64 by landry@ who had the same diff.
ok aja@ (maintainer) landry@
2018-12-11 10:46:06 +00:00
ajacoutot
ddc1b1a04a Update to libnettle-3.4.1. 2018-12-06 14:03:41 +00:00
naddy
84174f9106 bump for package path change devel/gmp -> devel/gmp,-main 2018-11-02 18:48:39 +00:00
ajacoutot
c4a1d30272 Update to libnettle-3.4. 2017-11-20 09:09:45 +00:00
jca
463832eaac Remove workaround for binutils-2.15 on arm.
ok ajacoutot@ (maintainer)
2016-12-29 15:51:29 +00:00
ajacoutot
eb91596e0c Update to libnettle-3.3. 2016-10-03 08:00:46 +00:00
naddy
c253f424ca garbage collect CONFIGURE_SHARED 2016-03-11 19:59:11 +00:00
ajacoutot
9159afdc55 Update to libnettle-3.2. 2016-01-30 09:16:41 +00:00
ajacoutot
124d5279a1 Major upgrade to libnettle-3.1.1. 2015-07-14 03:21:15 +00:00
ajacoutot
78329c96bc incompatible implicit declaration of built-in function 'alloca' 2015-05-01 16:03:35 +00:00
ajacoutot
a11f0e53eb Take MAINTAINER. 2014-09-18 06:15:07 +00:00
ajacoutot
bc195bd4b8 Better MASTER_SITES. 2014-08-20 07:18:25 +00:00
sthen
50e8f03e81 tweaks for libnettle, from Juan Francisco Cantero Hurtado:
- don't force -ggdb3

- don't use asm on arm, our toolchain can't handle it
(http://rhaalovely.net/build-failures/arm/20130730/security/libnettle.log)
2013-09-03 13:53:47 +00:00
ajacoutot
f366653484 Update to libnettle-2.7.1. 2013-06-09 14:25:12 +00:00
ajacoutot
2b792359b2 Update to libnettle-2.7. 2013-05-07 06:39:41 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
ajacoutot
ba8cb1bad6 Fix relocation errors on (at least) sparc64.
breakage reported by Markus Lude
2013-01-19 07:04:01 +00:00
ajacoutot
54820153df Update to libnettle-2.6. 2013-01-18 10:41:00 +00:00
ajacoutot
c4179b4b42 Update to libnettle-2.5.
tested in a bulk by landry@, thanks
2012-09-05 07:14:47 +00:00
rpointel
5372f5a6fd Update libnettle to 2.4.
reads good aja@ jasper@
2011-10-12 06:03:41 +00:00
ajacoutot
0b5fab133a Update to libnettle-2.2. 2011-08-25 09:20:27 +00:00
sebastia
b0d98745cf Fix build with gcc-2.95
OK jasper@
2011-06-08 08:39:02 +00:00
ajacoutot
fd064b31d7 Import libnettle-2.1.
Nettle is a cryptographic library that is designed to fit easily in more
or less any context: In crypto toolkits for object-oriented languages
(C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in
kernel space. In most contexts, you need more than the basic
cryptographic algorithms, you also need some way to keep track of
available algorithms, their properties and variants. You often have some
algorithm selection process, often dictated by a protocol you want to
implement.
<...>

ok jasper@ landry@
2011-04-15 16:08:01 +00:00