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 2 |
Release: %mkrel 2 |
8 |
Summary: Tools for configuring and using IPSEC |
Summary: Tools for configuring and using IPSEC |
9 |
License: BSD |
License: BSD |
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 |
|
Patch4: ipsec-tools-0.8.0-automake-1.13.patch |
|
21 |
# Fedora patches |
# Fedora patches |
22 |
Patch103: ipsec-tools-0.8.0-acquires.patch |
Patch103: ipsec-tools-0.8.0-acquires.patch |
23 |
Patch104: ipsec-tools-0.8.0-loopback.patch |
Patch104: ipsec-tools-0.8.0-loopback.patch |
24 |
Patch105: ipsec-tools-0.8.0-build.patch |
Patch105: ipsec-tools-0.8.0-build.patch |
25 |
# the following patches were also submitted upstream: |
# the following patches were also submitted upstream: |
26 |
Patch111: ipsec-tools-0.8.0-pie.patch |
Patch111: ipsec-tools-0.8.0-pie.patch |
27 |
BuildRequires: openssl-devel krb5-devel flex bison |
BuildRequires: openssl-devel |
28 |
|
BuildRequires: krb5-devel |
29 |
|
BuildRequires: flex |
30 |
|
BuildRequires: bison |
31 |
BuildRequires: libpam-devel |
BuildRequires: libpam-devel |
32 |
Requires: %{libname} = %{version} |
Requires: %{libname} = %{version} |
33 |
Requires(pre): rpm-helper |
Requires(pre): rpm-helper |
81 |
%patch0 -p1 -b .manfix |
%patch0 -p1 -b .manfix |
82 |
%patch1 -p1 -b .includes |
%patch1 -p1 -b .includes |
83 |
%patch3 -p1 -b .link |
%patch3 -p1 -b .link |
|
%patch4 -p1 -b .automake-1_13 |
|
84 |
%patch103 -p1 -b .acquires |
%patch103 -p1 -b .acquires |
85 |
%patch104 -p1 -b .loopback |
%patch104 -p1 -b .loopback |
86 |
%patch105 -p1 -b .build |
%patch105 -p1 -b .build |
113 |
make |
make |
114 |
|
|
115 |
%install |
%install |
|
rm -rf $RPM_BUILD_ROOT |
|
116 |
%makeinstall_std |
%makeinstall_std |
117 |
|
|
118 |
mkdir -p $RPM_BUILD_ROOT/etc/racoon/ |
mkdir -p $RPM_BUILD_ROOT/etc/racoon/ |
168 |
rm -f src/racoon/samples/*.in |
rm -f src/racoon/samples/*.in |
169 |
find src/racoon/samples -type f -exec chmod 0644 {} \; |
find src/racoon/samples -type f -exec chmod 0644 {} \; |
170 |
|
|
|
%clean |
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
|
171 |
%post |
%post |
172 |
%_post_service ipsec-setkey |
%_post_service ipsec-setkey |
173 |
%_post_service racoon |
%_post_service racoon |