* [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 6d4fc0eb5f3a88461b2e30f85d1f3f96e8e84a4e
@ 2014-11-05 22:16 git
0 siblings, 0 replies; only message in thread
From: git @ 2014-11-05 22:16 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 3388 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 6d4fc0eb5f3a88461b2e30f85d1f3f96e8e84a4e (commit)
from 2161fb217c23b63bd91838f97d9eb95e0c2065b8 (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 6d4fc0eb5f3a88461b2e30f85d1f3f96e8e84a4e
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Wed Nov 5 23:16:36 2014 +0100
polarssl: Update to 1.3.9
Addresses various CVEs
-----------------------------------------------------------------------
Summary of changes:
polarssl/polarssl.nm | 57 ++++++++++++----------------------------------------
1 file changed, 13 insertions(+), 44 deletions(-)
Difference in files:
diff --git a/polarssl/polarssl.nm b/polarssl/polarssl.nm
index e95dfb1..d78c6fe 100644
--- a/polarssl/polarssl.nm
+++ b/polarssl/polarssl.nm
@@ -4,8 +4,8 @@
###############################################################################
name = polarssl
-version = 1.2.5
-release = 2
+version = 1.3.9
+release = 1
groups = System/Libraries
url = http://polarssl.org/
@@ -25,56 +25,25 @@ source_dl = http://polarssl.org/code/releases/
build
requires
- perl
- end
-
- if "%{DISTRO_ARCH}" == "armv7hl"
- prepare_cmds
- sed -e "s/define POLARSSL_HAVE_ASM/undef POLARSSL_HAVE_ASM/" \
- -i include/polarssl/config.h
- end
+ cmake
end
build
- # Compile library
- make SHARED=1 -C library %{PARALLELISMFLAGS}
- ln -svf libpolarssl.so library/libpolarssl.so.0
+ %{cmake} \
+ -D CMAKE_BUILD_TYPE:String="Release" \
+ -D USE_SHARED_POLARSSL_LIBRARY:BOOL=1 \
+ .
- # Compile programs
- make -C programs %{PARALLELISMFLAGS}
+ make %{PARALLELISMFLAGS}
end
test
- pushd programs
- make test/selftest
- LD_LIBRARY_PATH="../library" ./test/selftest
- popd
-
- # Don't run the regular test suite because it cannot
- # be built on ARM.
- #LD_LIBRARY_PATH="../library" make check
+ LD_LIBRARY_PATH=$(pwd)/library ctest --output-on-failure -V
end
- install
- # Install headers
- mkdir -pv %{BUILDROOT}%{includedir}/polarssl
- install -v -m 644 include/polarssl/*.h \
- %{BUILDROOT}%{includedir}/polarssl
-
- # Install library
- mkdir -pv %{BUILDROOT}%{libdir}
- install -v -m 755 library/libpolarssl.so \
- %{BUILDROOT}%{libdir}/libpolarssl.so.0
- ln -svf libpolarssl.so.0 %{BUILDROOT}%{libdir}/libpolarssl.so
-
- # Install programs
- mkdir -pv %{BUILDROOT}%{bindir}
- for p in programs/*/*; do
- if [ -x "${p}" -a ! -d "${p}" ]; then
- f="polarssl_$(basename ${p})"
- install -m 755 ${p} %{BUILDROOT}%{bindir}/${f} || exit 1
- fi
- done
+ install_cmds
+ mkdir -pv %{BUILDROOT}%{libexecdir}
+ mv -v %{BUILDROOT}%{bindir} %{BUILDROOT}%{libexecdir}/%{name}
end
end
@@ -86,7 +55,7 @@ packages
description = %{summary}
files
- %{bindir}
+ %{libexecdir}/%{name}
end
end
hooks/post-receive
--
IPFire 3.x development tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-05 22:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-05 22:16 [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 6d4fc0eb5f3a88461b2e30f85d1f3f96e8e84a4e git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox