/[packages]/updates/5/ipsec-tools/current/SPECS/ipsec-tools.spec
ViewVC logotype

Diff of /updates/5/ipsec-tools/current/SPECS/ipsec-tools.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

cauldron/ipsec-tools/current/SPECS/ipsec-tools.spec revision 220063 by tmb, Tue Mar 6 10:12:01 2012 UTC updates/5/ipsec-tools/current/SPECS/ipsec-tools.spec revision 1186893 by luigiwalser, Fri Dec 29 00:31:58 2017 UTC
# Line 3  Line 3 
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 1  %define subrel 1
8    Release: %mkrel 5
9  Summary: Tools for configuring and using IPSEC  Summary: Tools for configuring and using IPSEC
10  License: BSD  License: BSD
11  Group: Networking/Other  Group: Networking/Other
# Line 16  Source6: ipsec-setkey-initscript Line 17  Source6: ipsec-setkey-initscript
17  Source7: racoon-initscript  Source7: racoon-initscript
18  Source8: racoon.sysconfig  Source8: racoon.sysconfig
19  Patch0:  ipsec-tools-0.8.0-manfix.patch  Patch0:  ipsec-tools-0.8.0-manfix.patch
20  Patch1:  ipsec-tools-0.8.0-includes.patch  Patch1:  ipsec-tools-0.8.1-includes.patch
21  Patch3:  ipsec-tools-0.8.0-link.patch  Patch3:  ipsec-tools-0.8.0-link.patch
22    Patch4:  ipsec-tools-0.8.1-null-ptr-deref.patch
23  # Fedora patches  # Fedora patches
24  Patch103: ipsec-tools-0.8.0-acquires.patch  Patch103: ipsec-tools-0.8.0-acquires.patch
25  Patch104: ipsec-tools-0.8.0-loopback.patch  Patch104: ipsec-tools-0.8.0-loopback.patch
26    Patch105: ipsec-tools-0.8.0-build.patch
27  # the following patches were also submitted upstream:  # the following patches were also submitted upstream:
28  Patch111: ipsec-tools-0.8.0-pie.patch  Patch111: ipsec-tools-0.8.0-pie.patch
29  BuildRequires: openssl-devel krb5-devel flex bison  Patch112: ipsec-tools-0.8.2-CVE-2016-10396.patch
30    BuildRequires: openssl-devel
31    BuildRequires: krb5-devel
32    BuildRequires: flex
33    BuildRequires: bison
34  BuildRequires: libpam-devel  BuildRequires: libpam-devel
35  Requires: %{libname} = %{version}  Requires: %{libname} = %{version}
36  Requires(pre): rpm-helper  Requires(pre): rpm-helper
# Line 77  These are development headers for libips Line 84  These are development headers for libips
84  %patch0 -p1 -b .manfix  %patch0 -p1 -b .manfix
85  %patch1 -p1 -b .includes  %patch1 -p1 -b .includes
86  %patch3 -p1 -b .link  %patch3 -p1 -b .link
87    %patch4 -p1 -b .nullptr
88  %patch103 -p1 -b .acquires  %patch103 -p1 -b .acquires
89  %patch104 -p1 -b .loopback  %patch104 -p1 -b .loopback
90    %patch105 -p1 -b .build
91  %patch111 -p1 -b .pie  %patch111 -p1 -b .pie
92    %patch112 -p1 -b .CVE-2016-10396
93    
94  sed -i 's|-Werror||g' configure*  sed -i 's|-Werror||g' configure*
95    
# Line 108  sed -i 's|-Werror||g' configure* Line 118  sed -i 's|-Werror||g' configure*
118  make  make
119    
120  %install  %install
 rm -rf $RPM_BUILD_ROOT  
121  %makeinstall_std  %makeinstall_std
122    
123  mkdir -p $RPM_BUILD_ROOT/etc/racoon/  mkdir -p $RPM_BUILD_ROOT/etc/racoon/
# Line 164  EOF Line 173  EOF
173  rm -f src/racoon/samples/*.in  rm -f src/racoon/samples/*.in
174  find src/racoon/samples -type f -exec chmod 0644 {} \;  find src/racoon/samples -type f -exec chmod 0644 {} \;
175    
 %clean  
 rm -rf $RPM_BUILD_ROOT  
   
176  %post  %post
177  %_post_service ipsec-setkey  %_post_service ipsec-setkey
178  %_post_service racoon  %_post_service racoon

Legend:
Removed from v.220063  
changed lines
  Added in v.1186893

  ViewVC Help
Powered by ViewVC 1.1.30