1
0
forked from pool/strongswan

Accepting request 97737 from home:coolo:removeautoconf

- remove call to suse_update_config (very old work around)

OBS-URL: https://build.opensuse.org/request/show/97737
OBS-URL: https://build.opensuse.org/package/show/network:vpn/strongswan?expand=0&rev=36
This commit is contained in:
Andreas Jaeger 2011-12-22 13:01:09 +00:00 committed by Git OBS Bridge
parent 8caabd0c30
commit 7888e999a8
2 changed files with 17 additions and 29 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 21 10:31:49 UTC 2011 - coolo@suse.com
- remove call to suse_update_config (very old work around)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 12 09:26:51 UTC 2011 - coolo@suse.com Mon Sep 12 09:26:51 UTC 2011 - coolo@suse.com

View File

@ -15,12 +15,9 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: strongswan Name: strongswan
Version: 4.5.3 Version: 4.5.3
Release: 1 Release: 0
%define upstream_version %{version} %define upstream_version %{version}
%define strongswan_docdir %{_docdir}/%{name} %define strongswan_docdir %{_docdir}/%{name}
%define strongswan_libdir %{_libdir}/ipsec %define strongswan_libdir %{_libdir}/ipsec
@ -30,14 +27,13 @@ Release: 1
%define with_gcrypt 0%{suse_version} >= 1110 %define with_gcrypt 0%{suse_version} >= 1110
%define with_nm 0%{suse_version} >= 1110 %define with_nm 0%{suse_version} >= 1110
%define with_tests 0 %define with_tests 0
License: GPLv2+
Group: Productivity/Networking/Security
Summary: OpenSource IPsec-based VPN Solution Summary: OpenSource IPsec-based VPN Solution
License: GPL-2.0+
Group: Productivity/Networking/Security
Url: http://www.strongswan.org/ Url: http://www.strongswan.org/
Requires: strongswan-ikev1 = %{version} Requires: strongswan-ikev1 = %{version}
Requires: strongswan-ikev2 = %{version} Requires: strongswan-ikev2 = %{version}
Requires: strongswan-ipsec = %{version} Requires: strongswan-ipsec = %{version}
AutoReqProv: on
Source0: http://download.strongswan.org/strongswan-%{upstream_version}.tar.bz2 Source0: http://download.strongswan.org/strongswan-%{upstream_version}.tar.bz2
Source1: http://download.strongswan.org/strongswan-%{upstream_version}.tar.bz2.sig Source1: http://download.strongswan.org/strongswan-%{upstream_version}.tar.bz2.sig
Source2: %{name}.init.in Source2: %{name}.init.in
@ -46,11 +42,16 @@ Source4: README.SUSE
Patch1: %{name}_modprobe_syslog.patch Patch1: %{name}_modprobe_syslog.patch
Patch2: %{name}-%{version}-fmt-warnings.patch Patch2: %{name}-%{version}-fmt-warnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison flex gmp-devel gperf pkg-config BuildRequires: bison
BuildRequires: curl-devel
BuildRequires: flex
BuildRequires: gmp-devel
BuildRequires: gperf
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: openldap2-devel BuildRequires: openldap2-devel
BuildRequires: curl-devel pam-devel BuildRequires: pam-devel
BuildRequires: pkg-config
%if %with_mysql %if %with_mysql
BuildRequires: libmysqlclient-devel BuildRequires: libmysqlclient-devel
%endif %endif
@ -63,7 +64,8 @@ BuildRequires: libgcrypt-devel
%if %with_nm %if %with_nm
BuildRequires: NetworkManager-devel BuildRequires: NetworkManager-devel
%endif %endif
BuildRequires: iptables libnl >= 1.1 BuildRequires: iptables
BuildRequires: libnl >= 1.1
%description %description
StrongSwan is an OpenSource IPsec-based VPN Solution for Linux StrongSwan is an OpenSource IPsec-based VPN Solution for Linux
@ -103,9 +105,7 @@ Authors:
and others and others
%package doc %package doc
License: GPLv2+
Summary: OpenSource IPsec-based VPN Solution Summary: OpenSource IPsec-based VPN Solution
Group: Productivity/Networking/Security
%description doc %description doc
StrongSwan is an OpenSource IPsec-based VPN Solution for Linux StrongSwan is an OpenSource IPsec-based VPN Solution for Linux
@ -120,9 +120,7 @@ Authors:
and others and others
%package libs0 %package libs0
License: GPLv2+
Summary: OpenSource IPsec-based VPN Solution Summary: OpenSource IPsec-based VPN Solution
Group: Productivity/Networking/Security
Conflicts: strongswan < %{version} Conflicts: strongswan < %{version}
%description libs0 %description libs0
@ -131,9 +129,7 @@ StrongSwan is an OpenSource IPsec-based VPN Solution for Linux
This package provides the strongswan library and plugins. This package provides the strongswan library and plugins.
%package ikev1 %package ikev1
License: GPLv2+
Summary: OpenSource IPsec-based VPN Solution Summary: OpenSource IPsec-based VPN Solution
Group: Productivity/Networking/Security
Requires: iproute2 Requires: iproute2
Requires: strongswan-libs0 = %{version} Requires: strongswan-libs0 = %{version}
Requires: strongswan-ipsec = %{version} Requires: strongswan-ipsec = %{version}
@ -147,9 +143,7 @@ StrongSwan is an OpenSource IPsec-based VPN Solution for Linux
This package provides the pluto IKEv1 daemon. This package provides the pluto IKEv1 daemon.
%package ikev2 %package ikev2
License: GPLv2+
Summary: OpenSource IPsec-based VPN Solution Summary: OpenSource IPsec-based VPN Solution
Group: Productivity/Networking/Security
Requires: iproute2 Requires: iproute2
Requires: strongswan-libs0 = %{version} Requires: strongswan-libs0 = %{version}
Requires: strongswan-daemon-starter = %{version} Requires: strongswan-daemon-starter = %{version}
@ -162,9 +156,7 @@ StrongSwan is an OpenSource IPsec-based VPN Solution for Linux
This package provides the charon IKEv2 daemon. This package provides the charon IKEv2 daemon.
%package ipsec %package ipsec
License: GPLv2+
Summary: OpenSource IPsec-based VPN Solution Summary: OpenSource IPsec-based VPN Solution
Group: Productivity/Networking/Security
PreReq: grep %insserv_prereq %fillup_prereq PreReq: grep %insserv_prereq %fillup_prereq
Requires: strongswan-libs0 = %{version} Requires: strongswan-libs0 = %{version}
Requires: strongswan-daemon = %{version} Requires: strongswan-daemon = %{version}
@ -183,9 +175,7 @@ to maintain both, IKEv1 and IKEv2 daemons, using /etc/ipsec.conf and
%if %with_mysql %if %with_mysql
%package mysql %package mysql
License: GPLv2+
Summary: OpenSource IPsec-based VPN Solution Summary: OpenSource IPsec-based VPN Solution
Group: Productivity/Networking/Security
Requires: strongswan-libs0 = %{version} Requires: strongswan-libs0 = %{version}
%description mysql %description mysql
@ -198,9 +188,7 @@ This package provides the strongswan mysql plugin.
%if %with_sqlite %if %with_sqlite
%package sqlite %package sqlite
License: GPLv2+
Summary: OpenSource IPsec-based VPN Solution Summary: OpenSource IPsec-based VPN Solution
Group: Productivity/Networking/Security
Requires: strongswan-libs0 = %{version} Requires: strongswan-libs0 = %{version}
%description sqlite %description sqlite
@ -213,9 +201,7 @@ This package provides the strongswan sqlite plugin.
%if %with_nm %if %with_nm
%package nm %package nm
License: GPLv2+
Summary: OpenSource IPsec-based VPN Solution Summary: OpenSource IPsec-based VPN Solution
Group: Productivity/Networking/Security
Requires: strongswan-libs0 = %{version} Requires: strongswan-libs0 = %{version}
Requires: strongswan-ikev2 = %{version} Requires: strongswan-ikev2 = %{version}
Provides: strongswan-daemon-starter = %{version} Provides: strongswan-daemon-starter = %{version}
@ -233,9 +219,7 @@ NetworkManager-strongswan graphical user interface.
%package tests %package tests
License: GPLv2+
Summary: OpenSource IPsec-based VPN Solution Summary: OpenSource IPsec-based VPN Solution
Group: Productivity/Networking/Security
Requires: strongswan-libs0 = %{version} Requires: strongswan-libs0 = %{version}
%description tests %description tests
@ -258,7 +242,6 @@ sed -e 's|@libexecdir@|%_libexecdir|g' \
CFLAGS="$RPM_OPT_FLAGS -W -Wall -Wno-pointer-sign -Wno-strict-aliasing" CFLAGS="$RPM_OPT_FLAGS -W -Wall -Wno-pointer-sign -Wno-strict-aliasing"
export RPM_OPT_FLAGS CFLAGS export RPM_OPT_FLAGS CFLAGS
#libtoolize --force #libtoolize --force
%{?suse_update_config:%{suse_update_config -f}}
#autoreconf #autoreconf
%configure \ %configure \
--enable-integrity-test \ --enable-integrity-test \