public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 70e4c145a108ac84e46c75dcf9950ab81344655d
Date: Sat, 11 Apr 2015 14:23:28 +0200	[thread overview]
Message-ID: <20150411122329.154F421AD0@argus.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 3977 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 3.x development tree".

The branch, master has been updated
       via  70e4c145a108ac84e46c75dcf9950ab81344655d (commit)
      from  3e1e53dcee807856590c044adad1be2500650005 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 70e4c145a108ac84e46c75dcf9950ab81344655d
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Sat Apr 11 14:20:44 2015 +0200

    nettle: Update to version 3.1
    
    This build enables FAT binaries for ARM and adds a compat package
    for programs that are linked against older versions of nettle.
    
    Fixes #10794

-----------------------------------------------------------------------

Summary of changes:
 nettle/nettle.nm => compat-nettle/compat-nettle.nm | 26 ++++++++++++++--------
 nettle/nettle.nm                                   | 18 ++++++++++++++-
 2 files changed, 34 insertions(+), 10 deletions(-)
 copy nettle/nettle.nm => compat-nettle/compat-nettle.nm (67%)

Difference in files:
diff --git a/compat-nettle/compat-nettle.nm b/compat-nettle/compat-nettle.nm
new file mode 100644
index 0000000..5e17e3d
--- /dev/null
+++ b/compat-nettle/compat-nettle.nm
@@ -0,0 +1,64 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info(a)ipfire.org>                   #
+###############################################################################
+
+name       = compat-nettle
+version    = 2.7.1
+release    = 1
+thisapp    = nettle-%{version}
+
+groups     = System/Libraries
+url        = http://www.lysator.liu.se/~nisse/nettle/
+license    = LGPL
+summary    = A low-level cryptographic library.
+
+description
+	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.
+end
+
+source_dl  = http://www.lysator.liu.se/~nisse/archive/
+
+build
+	requires
+		gmp-devel
+		m4
+	end
+
+	configure_options += \
+		--enable-shared
+
+	test
+		make check
+	end
+
+	install
+		# Install just the library and no headers.
+		mkdir -pv %{BUILDROOT}%{libdir}
+
+		install -m 755 libhogweed.so %{BUILDROOT}%{libdir}/libhogweed.so.2.5
+		ln -svf libhogweed.so.2.5 %{BUILDROOT}%{libdir}/libhogweed.so.2
+
+		install -m 755 libnettle.so %{BUILDROOT}%{libdir}/libnettle.so.4.7
+		ln -svf libnettle.so.4.7 %{BUILDROOT}%{libdir}/libnettle.so.4
+	end
+end
+
+packages
+	package %{name}
+		provides
+			nettle = %{thisver}
+		end
+
+		obsoletes
+			nettle <= %{thisver}
+		end
+	end
+
+	package %{name}-debuginfo
+		template DEBUGINFO
+	end
+end
diff --git a/nettle/nettle.nm b/nettle/nettle.nm
index 75becbe..efbffe2 100644
--- a/nettle/nettle.nm
+++ b/nettle/nettle.nm
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = nettle
-version    = 2.7.1
+version    = 3.1
 release    = 1
 
 groups     = System/Libraries
@@ -30,6 +30,22 @@ build
 	configure_options += \
 		--enable-shared
 
+	enable_fat = 0
+
+	# Does not work. Binaries are immediately crashing
+	#if "%{DISTRO_ARCH}" == "x86_64"
+	#	enable_fat = 1
+	#end
+
+	if "%{DISTRO_PLATFORM}" == "arm"
+		enable_fat = 1
+	end
+
+	if "%{enable_fat}" == "1"
+		configure_options += \
+			--enable-fat
+	end
+
 	test
 		make check
 	end


hooks/post-receive
--
IPFire 3.x development tree

                 reply	other threads:[~2015-04-11 12:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150411122329.154F421AD0@argus.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox