3 |
%define libnamedev %mklibname -d ipsec |
%define libnamedev %mklibname -d ipsec |
4 |
|
|
5 |
Name: ipsec-tools |
Name: ipsec-tools |
6 |
Version: 0.8.0 |
Version: 0.8.1 |
7 |
Release: %mkrel 3 |
Release: %mkrel 5 |
8 |
Summary: Tools for configuring and using IPSEC |
Summary: Tools for configuring and using IPSEC |
9 |
License: BSD |
License: BSD |
10 |
Group: Networking/Other |
Group: Networking/Other |
16 |
Source7: racoon-initscript |
Source7: racoon-initscript |
17 |
Source8: racoon.sysconfig |
Source8: racoon.sysconfig |
18 |
Patch0: ipsec-tools-0.8.0-manfix.patch |
Patch0: ipsec-tools-0.8.0-manfix.patch |
19 |
Patch1: ipsec-tools-0.8.0-includes.patch |
Patch1: ipsec-tools-0.8.1-includes.patch |
20 |
Patch3: ipsec-tools-0.8.0-link.patch |
Patch3: ipsec-tools-0.8.0-link.patch |
21 |
Patch4: ipsec-tools-0.8.0-automake-1.13.patch |
Patch4: ipsec-tools-0.8.1-null-ptr-deref.patch |
22 |
# Fedora patches |
# Fedora patches |
23 |
Patch103: ipsec-tools-0.8.0-acquires.patch |
Patch103: ipsec-tools-0.8.0-acquires.patch |
24 |
Patch104: ipsec-tools-0.8.0-loopback.patch |
Patch104: ipsec-tools-0.8.0-loopback.patch |
25 |
Patch105: ipsec-tools-0.8.0-build.patch |
Patch105: ipsec-tools-0.8.0-build.patch |
26 |
# the following patches were also submitted upstream: |
# the following patches were also submitted upstream: |
27 |
Patch111: ipsec-tools-0.8.0-pie.patch |
Patch111: ipsec-tools-0.8.0-pie.patch |
28 |
BuildRequires: openssl-devel krb5-devel flex bison |
BuildRequires: openssl-devel |
29 |
|
BuildRequires: krb5-devel |
30 |
|
BuildRequires: flex |
31 |
|
BuildRequires: bison |
32 |
BuildRequires: libpam-devel |
BuildRequires: libpam-devel |
33 |
Requires: %{libname} = %{version} |
Requires: %{libname} = %{version} |
34 |
Requires(pre): rpm-helper |
Requires(pre): rpm-helper |
82 |
%patch0 -p1 -b .manfix |
%patch0 -p1 -b .manfix |
83 |
%patch1 -p1 -b .includes |
%patch1 -p1 -b .includes |
84 |
%patch3 -p1 -b .link |
%patch3 -p1 -b .link |
85 |
%patch4 -p1 -b .automake-1_13 |
%patch4 -p1 -b .nullptr |
86 |
%patch103 -p1 -b .acquires |
%patch103 -p1 -b .acquires |
87 |
%patch104 -p1 -b .loopback |
%patch104 -p1 -b .loopback |
88 |
%patch105 -p1 -b .build |
%patch105 -p1 -b .build |
115 |
make |
make |
116 |
|
|
117 |
%install |
%install |
|
rm -rf $RPM_BUILD_ROOT |
|
118 |
%makeinstall_std |
%makeinstall_std |
119 |
|
|
120 |
mkdir -p $RPM_BUILD_ROOT/etc/racoon/ |
mkdir -p $RPM_BUILD_ROOT/etc/racoon/ |
170 |
rm -f src/racoon/samples/*.in |
rm -f src/racoon/samples/*.in |
171 |
find src/racoon/samples -type f -exec chmod 0644 {} \; |
find src/racoon/samples -type f -exec chmod 0644 {} \; |
172 |
|
|
|
%clean |
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
|
173 |
%post |
%post |
174 |
%_post_service ipsec-setkey |
%_post_service ipsec-setkey |
175 |
%_post_service racoon |
%_post_service racoon |