summaryrefslogtreecommitdiff
path: root/security/nettle/patches/patch-Makefile.in
diff options
context:
space:
mode:
authoradam <adam>2013-04-29 16:42:24 +0000
committeradam <adam>2013-04-29 16:42:24 +0000
commitc0fb65f2d8e8158459ccb815403173170a3cdf2e (patch)
treea680a9b794ee86e8fc550945ee4128d6a29ced4a /security/nettle/patches/patch-Makefile.in
parent76b2520722ac5841dfd1cfaa5eecbfa074edfa0e (diff)
downloadpkgsrc-c0fb65f2d8e8158459ccb815403173170a3cdf2e.tar.gz
NEWS for the 2.7 release
This release includes an implementation of elliptic curve cryptography (ECC) and optimizations for the ARM architecture. This work was done at the offices of South Pole AB, and generously funded by the .SE Internet Fund. Bug fixes: * Fixed a bug in the buffer handling for incremental SHA3 hashing, with a possible buffer overflow. Patch by Edgar E. Iglesias. New features: * Support for ECDSA signatures. Elliptic curve operations over the following curves: secp192r1, secp224r1, secp256r1, secp384r1 and secp521r1, including x86_64 and ARM assembly for the most important primitives. * Support for UMAC, including x86_64 and ARM assembly. * Support for 12-round salsa20, "salsa20r12", as specified by eSTREAM. Contributed by Nikos Mavrogiannopoulos. Optimizations: * ARM assembly code for several additional algorithms, including AES, Salsa20, and the SHA family of hash functions. * x86_64 assembly for SHA256, SHA512, and SHA3. (SHA3 assembly was included in the 2.6 release, but disabled due to poor performance on some AMD processors. Hopefully, that performance problem is fixed now). The ARM code was tested and benchmarked on Cortex-A9. Some of the functions use "neon" instructions. The configure script decides if neon instructions can be used, and the command line options --enable-arm-neon and --disable-arm-neon can be used to override its choice. Feedback appreciated. The libraries are intended to be binary compatible with nettle-2.2 and later. The shared library names are libnettle.so.4.6 and libhogweed.so.2.4, with sonames still libnettle.so.4 and libhogweed.so.2.
Diffstat (limited to 'security/nettle/patches/patch-Makefile.in')
-rw-r--r--security/nettle/patches/patch-Makefile.in32
1 files changed, 16 insertions, 16 deletions
diff --git a/security/nettle/patches/patch-Makefile.in b/security/nettle/patches/patch-Makefile.in
index 050e3824cce..781a7eb4aaf 100644
--- a/security/nettle/patches/patch-Makefile.in
+++ b/security/nettle/patches/patch-Makefile.in
@@ -1,12 +1,12 @@
-$NetBSD: patch-Makefile.in,v 1.4 2013/03/15 18:22:03 drochner Exp $
+$NetBSD: patch-Makefile.in,v 1.5 2013/04/29 16:42:25 adam Exp $
Use LIBTOOL.
---- Makefile.in.orig 2013-01-14 21:44:12.000000000 +0000
+--- Makefile.in.orig 2013-04-24 13:26:53.000000000 +0000
+++ Makefile.in
-@@ -14,13 +14,13 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_STRIP_PROGRAM = $(INSTALL_PROGRAM) -s
- MKDIR_P = @MKDIR_P@
+@@ -16,13 +16,13 @@ MKDIR_P = @MKDIR_P@
+
+ OPT_ASM_SOURCES = @OPT_ASM_SOURCES@
-SUBDIRS = tools testsuite examples
+SUBDIRS = tools testsuite
@@ -20,8 +20,8 @@ Use LIBTOOL.
SHLIBTARGETS = @IF_SHARED@ $(LIBNETTLE_FORLINK) @IF_HOGWEED@ $(LIBHOGWEED_FORLINK)
getopt_SOURCES = getopt.c getopt1.c
-@@ -169,18 +169,18 @@ nettle_PURE_OBJS = $(nettle_OBJS:.$(OBJE
- hogweed_OBJS = $(hogweed_SOURCES:.c=.$(OBJEXT))
+@@ -186,18 +186,18 @@ nettle_PURE_OBJS = $(nettle_OBJS:.$(OBJE
+ hogweed_OBJS = $(hogweed_SOURCES:.c=.$(OBJEXT)) $(OPT_ASM_SOURCES:.asm=.$(OBJEXT))
hogweed_PURE_OBJS = $(hogweed_OBJS:.$(OBJEXT)=.p$(OBJEXT))
-libnettle.a: $(nettle_OBJS)
@@ -49,16 +49,16 @@ Use LIBTOOL.
&& $(DEP_PROCESS)
# Rules building shared libraries.
-@@ -244,7 +244,7 @@ des.$(OBJEXT): des.c des.h $(des_headers
- .asm.$(OBJEXT):
- $(M4) $(srcdir)/asm.m4 machine.m4 config.m4 \
- $< >$*.s
-- $(COMPILE) $(CCPIC_MAYBE) -c $*.s
-+ ${LIBTOOL} --mode=compile --tag=CC $(COMPILE) $(CCPIC_MAYBE) -c $*.s
- echo "$@ : $< $(srcdir)/asm.m4 machine.m4 config.m4" >$@.d
+@@ -329,7 +329,7 @@ ecc-521.p$(OBJEXT): ecc-521.h
+ && test -s $@T && mv -f $@T $@
+
+ .s.$(OBJEXT):
+- $(COMPILE) $(CCPIC_MAYBE) -c $<
++ ${LIBTOOL} --mode=compile $(COMPILE) $(CCPIC_MAYBE) -c $<
- .asm.p$(OBJEXT):
-@@ -317,7 +317,7 @@ install-here: install-doc install-header
+ .s.p$(OBJEXT):
+ $(COMPILE) $(SHLIBCFLAGS) -c $< -o $@
+@@ -398,7 +398,7 @@ install-here: install-doc install-header
install-static: $(LIBTARGETS)
$(MKDIR_P) $(DESTDIR)$(libdir)
for f in $(LIBTARGETS); do \