Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/nettle: bump version
@ 2015-01-18 13:59 Yann E. MORIN
  2015-01-18 14:06 ` Baruch Siach
  2015-01-19 12:30 ` Gustavo Zacarias
  0 siblings, 2 replies; 5+ messages in thread
From: Yann E. MORIN @ 2015-01-18 13:59 UTC (permalink / raw)
  To: buildroot

The patch we had to fix shared-only builds is no longer needed.
The licensing has changed to a mix of GPLv2+, GPLv3+ and LGPLv3+.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 ...patch => 0001-disable-testsuite-examples.patch} |  0
 package/nettle/0001-fix-shared-only-build.patch    | 75 ----------------------
 package/nettle/nettle.hash                         |  2 +-
 package/nettle/nettle.mk                           |  6 +-
 4 files changed, 4 insertions(+), 79 deletions(-)
 rename package/nettle/{0002-disable-testsuite-examples.patch => 0001-disable-testsuite-examples.patch} (100%)
 delete mode 100644 package/nettle/0001-fix-shared-only-build.patch

diff --git a/package/nettle/0002-disable-testsuite-examples.patch b/package/nettle/0001-disable-testsuite-examples.patch
similarity index 100%
rename from package/nettle/0002-disable-testsuite-examples.patch
rename to package/nettle/0001-disable-testsuite-examples.patch
diff --git a/package/nettle/0001-fix-shared-only-build.patch b/package/nettle/0001-fix-shared-only-build.patch
deleted file mode 100644
index 3c9b186..0000000
--- a/package/nettle/0001-fix-shared-only-build.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-static/shared: use available libraries when linking our tools/examples/testsuite
-
-For a shared-only build, static libraries do not exist, so the build fails as
-soon as we try to link either of our tools, examples or testsuite utils.
-
-Use whatever libraries are available, with a preference toward using shared
-libraries.
-
-Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-
-diff -durN nettle-2.7.1.orig/config.make.in nettle-2.7.1/config.make.in
---- nettle-2.7.1.orig/config.make.in	2013-05-28 16:21:53.000000000 +0200
-+++ nettle-2.7.1/config.make.in	2014-12-12 19:56:07.031292752 +0100
-@@ -30,6 +30,8 @@
- PACKAGE_VERSION = @PACKAGE_VERSION@
- 
- SHLIBCFLAGS = @SHLIBCFLAGS@
-+ at IF_STATIC@LIBS_EXT = .a
-+ at IF_SHARED@LIBS_EXT = .so
- 
- LIBNETTLE_MAJOR = @LIBNETTLE_MAJOR@
- LIBNETTLE_MINOR = @LIBNETTLE_MINOR@
-diff -durN nettle-2.7.1.orig/tools/Makefile.in nettle-2.7.1/tools/Makefile.in
---- nettle-2.7.1.orig/tools/Makefile.in	2013-05-28 16:21:54.000000000 +0200
-+++ nettle-2.7.1/tools/Makefile.in	2014-12-12 19:57:12.499805574 +0100
-@@ -34,19 +34,19 @@
- DISTFILES = $(SOURCES) Makefile.in input.h misc.h output.h parse.h
- 
- sexp_conv_OBJS = $(sexp_conv_SOURCES:.c=.$(OBJEXT)) $(getopt_OBJS)
--sexp-conv$(EXEEXT): $(sexp_conv_OBJS) ../libnettle.a
-+sexp-conv$(EXEEXT): $(sexp_conv_OBJS) ../libnettle$(LIBS_EXT)
- 	$(LINK) $(sexp_conv_OBJS) -lnettle $(LIBS) -o $@
- 
--nettle-lfib-stream$(EXEEXT): nettle-lfib-stream.$(OBJEXT) ../libnettle.a
-+nettle-lfib-stream$(EXEEXT): nettle-lfib-stream.$(OBJEXT) ../libnettle$(LIBS_EXT)
- 	$(LINK) nettle-lfib-stream.$(OBJEXT) -lnettle $(LIBS) -o $@
- 
- pkcs1_conv_OBJS = $(pkcs1_conv_SOURCES:.c=.$(OBJEXT)) $(getopt_OBJS)
--pkcs1-conv$(EXEEXT): $(pkcs1_conv_OBJS) ../libnettle.a ../libhogweed.a
-+pkcs1-conv$(EXEEXT): $(pkcs1_conv_OBJS) ../libnettle$(LIBS_EXT) ../libhogweed$(LIBS_EXT)
- 	$(LINK) $(pkcs1_conv_OBJS) -lhogweed -lnettle $(LIBS) -o $@
- 
- # FIXME: Avoid linking with gmp
- nettle_hash_OBJS = $(nettle_hash_SOURCES:.c=.$(OBJEXT)) $(getopt_OBJS)
--nettle-hash$(EXEEXT): $(nettle_hash_OBJS) ../libnettle.a
-+nettle-hash$(EXEEXT): $(nettle_hash_OBJS) ../libnettle$(LIBS_EXT)
- 	$(LINK) $(nettle_hash_OBJS) -lnettle $(LIBS) -o $@
- 
- 
-diff -durN nettle-2.7.1.orig/examples/Makefile.in nettle-2.7.1/examples/Makefile.in
---- nettle-2.7.1.orig/examples/Makefile.in	2013-05-28 16:21:54.000000000 +0200
-+++ nettle-2.7.1/examples/Makefile.in	2014-12-12 21:54:48.286251022 +0100
-@@ -117,8 +117,8 @@
- 	-lhogweed -lnettle $(BENCH_LIBS) $(LIBS) $(OPENSSL_LIBFLAGS) \
- 	-o hogweed-benchmark$(EXEEXT)
- 
--$(TARGETS) : io.$(OBJEXT) ../libnettle.a
--$(HOGWEED_TARGETS): ../libhogweed.a
-+$(TARGETS) : io.$(OBJEXT) ../libnettle$(LIBS_EXT)
-+$(HOGWEED_TARGETS): ../libhogweed$(LIBS_EXT)
- 
- check: $(TS_ALL)
- 	LD_LIBRARY_PATH=../.lib PATH="../.lib:$$PATH" srcdir="$(srcdir)" \
-diff -durN nettle-2.7.1.orig/testsuite/Makefile.in nettle-2.7.1/testsuite/Makefile.in
---- nettle-2.7.1.orig/testsuite/Makefile.in	2013-05-28 16:21:54.000000000 +0200
-+++ nettle-2.7.1/testsuite/Makefile.in	2014-12-12 21:55:30.414814549 +0100
-@@ -96,7 +96,7 @@
- include $(srcdir)/.test-rules.make
- 
- $(TARGETS) $(EXTRA_TARGETS): testutils.$(OBJEXT) ../nettle-internal.$(OBJEXT) \
--	../libnettle.a @IF_HOGWEED@ ../libhogweed.a
-+	../libnettle$(LIBS_EXT) @IF_HOGWEED@ ../libhogweed$(LIBS_EXT)
- 
- # For use as, e.g.,
- #
diff --git a/package/nettle/nettle.hash b/package/nettle/nettle.hash
index 34c3862..696f8fe 100644
--- a/package/nettle/nettle.hash
+++ b/package/nettle/nettle.hash
@@ -1,2 +1,2 @@
 # Locally calculated after checking pgp signature
-sha256	bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40	nettle-2.7.1.tar.gz
+sha256 9651c0bd2326eb737d0ed9eb403444712407c01a25b0fe813432ef31bebcd913  nettle-3.0.tar.gz
diff --git a/package/nettle/nettle.mk b/package/nettle/nettle.mk
index a25bb24..a385ef7 100644
--- a/package/nettle/nettle.mk
+++ b/package/nettle/nettle.mk
@@ -4,12 +4,12 @@
 #
 ################################################################################
 
-NETTLE_VERSION = 2.7.1
+NETTLE_VERSION = 3.0
 NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
 NETTLE_DEPENDENCIES = gmp
 NETTLE_INSTALL_STAGING = YES
-NETTLE_LICENSE = LGPLv2.1+
-NETTLE_LICENSE_FILES = COPYING.LIB
+NETTLE_LICENSE = GPLv3+, LGPLv3+
+NETTLE_LICENSE_FILES = COPYINGv2 COPYINGv3 COPYING.LESSERv3
 # don't include openssl support for (unused) examples as it has problems
 # with static linking
 NETTLE_CONF_OPTS = --disable-openssl
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] package/nettle: bump version
  2015-01-18 13:59 [Buildroot] [PATCH] package/nettle: bump version Yann E. MORIN
@ 2015-01-18 14:06 ` Baruch Siach
  2015-01-18 14:35   ` Yann E. MORIN
  2015-01-19 12:30 ` Gustavo Zacarias
  1 sibling, 1 reply; 5+ messages in thread
From: Baruch Siach @ 2015-01-18 14:06 UTC (permalink / raw)
  To: buildroot

Hi Yann,

On Sun, Jan 18, 2015 at 02:59:27PM +0100, Yann E. MORIN wrote:
> The patch we had to fix shared-only builds is no longer needed.
> The licensing has changed to a mix of GPLv2+, GPLv3+ and LGPLv3+.

You mention GPLv2+ here ...

> -NETTLE_LICENSE = LGPLv2.1+
> -NETTLE_LICENSE_FILES = COPYING.LIB
> +NETTLE_LICENSE = GPLv3+, LGPLv3+

... but here GPLv2+ is missing.

> +NETTLE_LICENSE_FILES = COPYINGv2 COPYINGv3 COPYING.LESSERv3

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] package/nettle: bump version
  2015-01-18 14:06 ` Baruch Siach
@ 2015-01-18 14:35   ` Yann E. MORIN
  0 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2015-01-18 14:35 UTC (permalink / raw)
  To: buildroot

Baruch, All,

On 2015-01-18 16:06 +0200, Baruch Siach spake thusly:
> On Sun, Jan 18, 2015 at 02:59:27PM +0100, Yann E. MORIN wrote:
> > The patch we had to fix shared-only builds is no longer needed.
> > The licensing has changed to a mix of GPLv2+, GPLv3+ and LGPLv3+.
> 
> You mention GPLv2+ here ...
> 
> > -NETTLE_LICENSE = LGPLv2.1+
> > -NETTLE_LICENSE_FILES = COPYING.LIB
> > +NETTLE_LICENSE = GPLv3+, LGPLv3+
> 
> ... but here GPLv2+ is missing.

Ah, damn, you're right. Thanks! :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] package/nettle: bump version
  2015-01-18 13:59 [Buildroot] [PATCH] package/nettle: bump version Yann E. MORIN
  2015-01-18 14:06 ` Baruch Siach
@ 2015-01-19 12:30 ` Gustavo Zacarias
  2015-01-19 20:44   ` Yann E. MORIN
  1 sibling, 1 reply; 5+ messages in thread
From: Gustavo Zacarias @ 2015-01-19 12:30 UTC (permalink / raw)
  To: buildroot

On 01/18/2015 10:59 AM, Yann E. MORIN wrote:

> -NETTLE_VERSION = 2.7.1
> +NETTLE_VERSION = 3.0

Hi.
Careful there, nettle 3 breaks API a bit and gnutls doesn't like it as is.
Regards.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] package/nettle: bump version
  2015-01-19 12:30 ` Gustavo Zacarias
@ 2015-01-19 20:44   ` Yann E. MORIN
  0 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2015-01-19 20:44 UTC (permalink / raw)
  To: buildroot

Gustavo, All,

On 2015-01-19 09:30 -0300, Gustavo Zacarias spake thusly:
> On 01/18/2015 10:59 AM, Yann E. MORIN wrote:
> 
> > -NETTLE_VERSION = 2.7.1
> > +NETTLE_VERSION = 3.0
> 
> Careful there, nettle 3 breaks API a bit and gnutls doesn't like it as is.

OK, I'll withdraw that patch, then. Thanks! :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-19 20:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-18 13:59 [Buildroot] [PATCH] package/nettle: bump version Yann E. MORIN
2015-01-18 14:06 ` Baruch Siach
2015-01-18 14:35   ` Yann E. MORIN
2015-01-19 12:30 ` Gustavo Zacarias
2015-01-19 20:44   ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox