[packages/ipsec-tools] - Up to 0.8.2. Not tested.
matkor
matkor at pld-linux.org
Fri May 29 11:18:30 CEST 2015
commit 8a61d208a01efec633551a9c8b4e5fccfbeaeae2
Author: Mateusz Korniak <matkor at pld-linux.org>
Date: Fri May 29 11:18:22 2015 +0200
- Up to 0.8.2. Not tested.
ipsec-tools-support-glibc-2.20.patch | 10 ++++++++++
ipsec-tools.spec | 18 +++++++++++++++---
2 files changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/ipsec-tools.spec b/ipsec-tools.spec
index ca6783f..666e95f 100644
--- a/ipsec-tools.spec
+++ b/ipsec-tools.spec
@@ -1,6 +1,16 @@
# TODO
# - make --with-libradius compile
#
+# - Fix missing symbols from libipsec like:
+# Searching for shared objects with unresolved symbols...
+# Unresolved symbols found in: /home/users/matkor/tmp/ipsec-tools-0.8.2-root-matkor/usr/lib64/libracoon.so.0.0.0
+# ipsec_get_policylen
+# adminsock_path
+# ipsec_set_policy
+# ipsec_strerror
+# ?
+
+
# Conditional build:
%bcond_without kerberos5 # build with GSSAPI support
%bcond_without ldap # build with LDAP support
@@ -10,12 +20,12 @@
Summary: User-space IPsec tools for the Linux IPsec implementation
Summary(pl.UTF-8): Narzędzia przestrzeni użytkownika dla linuksowej implementacji IPsec
Name: ipsec-tools
-Version: 0.8.0
-Release: 3
+Version: 0.8.2
+Release: 0.1
License: BSD
Group: Networking/Admin
Source0: http://downloads.sourceforge.net/ipsec-tools/%{name}-%{version}.tar.bz2
-# Source0-md5: b79aae3055a51f8de5c0f1b8ca6cf619
+# Source0-md5: d53ec14a0a3ece64e09e5e34b3350b41
Source1: %{name}-racoon.init
Source2: %{name}-racoon.sysconfig
Source3: %{name}.tmpfiles
@@ -23,6 +33,7 @@ URL: http://ipsec-tools.sourceforge.net/
# http://downloads.sourceforge.net/openhip/ipsec-tools-0.6.6-hip.patch
Patch0: %{name}-hip.patch
Patch1: %{name}-gssapi.patch
+Patch2: %{name}-support-glibc-2.20.patch
BuildRequires: autoconf >= 2.52
BuildRequires: automake
BuildRequires: bison
@@ -100,6 +111,7 @@ Biblioteki statyczne libipsec i libracoon.
%setup -q
%{?with_hip:%patch0 -p1}
%patch1 -p1
+%patch2 -p1
%{__sed} -i 's!@INCLUDE_GLIBC@!!g' src/Makefile.am
%{__sed} -i 's/-Werror//' configure.ac
diff --git a/ipsec-tools-support-glibc-2.20.patch b/ipsec-tools-support-glibc-2.20.patch
new file mode 100644
index 0000000..7806103
--- /dev/null
+++ b/ipsec-tools-support-glibc-2.20.patch
@@ -0,0 +1,10 @@
+--- ipsec-tools-0.8.2.org/src/include-glibc/glibc-bugs.h
++++ ipsec-tools-0.8.2/src/include-glibc/glibc-bugs.h
+@@ -4,6 +4,7 @@
+
+ #define _XOPEN_SOURCE 500
+ #define _BSD_SOURCE
++#define _DEFAULT_SOURCE
+
+ #include <features.h>
+ #include <sys/types.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ipsec-tools.git/commitdiff/8a61d208a01efec633551a9c8b4e5fccfbeaeae2
More information about the pld-cvs-commit
mailing list