SPECS: ipsec-tools.spec - up to 0.7 rc1

arekm arekm at pld-linux.org
Sat Jul 21 13:43:01 CEST 2007


Author: arekm                        Date: Sat Jul 21 11:43:01 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.7 rc1

---- Files affected:
SPECS:
   ipsec-tools.spec (1.55 -> 1.56) 

---- Diffs:

================================================================
Index: SPECS/ipsec-tools.spec
diff -u SPECS/ipsec-tools.spec:1.55 SPECS/ipsec-tools.spec:1.56
--- SPECS/ipsec-tools.spec:1.55	Sun Apr  8 23:50:33 2007
+++ SPECS/ipsec-tools.spec	Sat Jul 21 13:42:55 2007
@@ -7,15 +7,16 @@
 %bcond_with	radius		# build with radius support
 %bcond_with	hip		# build with Host Identity Protocol support
 #
+%define	snap	rc1
 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.6.7
-Release:	1
+Version:	0.7
+Release:	0.%{snap}.1
 License:	BSD
 Group:		Networking/Admin
-Source0:	http://dl.sourceforge.net/ipsec-tools/%{name}-%{version}.tar.bz2
-# Source0-md5:	4fb764f282dc21cf9a656c58e13dacbb
+Source0:	http://dl.sourceforge.net/ipsec-tools/%{name}-%{version}-%{snap}.tar.bz2
+# Source0-md5:	511a740a4fd1f8b9d20906504567969a
 Source1:	%{name}-racoon.init
 Source2:	%{name}-racoon.sysconfig
 URL:		http://ipsec-tools.sourceforge.net/
@@ -28,8 +29,12 @@
 %{?with_kerberos5:BuildRequires:	krb5-devel}
 BuildRequires:	libtool
 BuildRequires:	linux-libc-headers >= 7:2.5.54
+BuildRequires:	openldap-devel
 BuildRequires:	openssl-devel >= 0.9.7d
-%{?with_radius:BuildRequires:	radius}
+BuildRequires:	pam-devel
+# http://portal-to-web.de/tacacs/libradius.php ?
+%{?with_radius:BuildRequires:	libradius-devel}
+BuildRequires:	readline-devel
 BuildRequires:	sed >= 4.0
 Requires(post,preun):	/sbin/chkconfig
 Requires:	libipsec = %{version}-%{release}
@@ -88,11 +93,12 @@
 Biblioteka statyczna PFKeyV2.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-%{snap}
 %{?with_hip:%patch0 -p1}
 
 %{__sed} -i 's!@INCLUDE_GLIBC@!!g' src/Makefile.am
 %{__sed} -i 's/-Werror//' configure.ac
+%{__sed} -i 's/-R$libradius_dir\/lib//' configure.ac
 
 %build
 %{__libtoolize}
@@ -102,21 +108,25 @@
 %{__automake}
 
 %configure \
+	--enable-adminport \
+	--enable-rc5 \
+	--enable-idea \
+	--enable-hybrid \
+	--enable-frag \
 	%{?with_kerberos5:--enable-gssapi} \
-	%{?with_radius:--with-libradius} \
-	--with-kernel-headers=%{_includedir} \
+	--enable-stats \
 	--enable-dpd \
-	--enable-frag \
-	--enable-hybrid \
-	--enable-idea \
-	--enable-ipv6 \
+	--enable-fastquit \
 	--enable-natt \
-	--enable-natt-versions \
-	--enable-rc5 \
-	--enable-adminport \
+	--enable-security-context \
+	--with-kernel-headers=%{_includedir} \
+	--with-readline \
+	%{?with_radius:--with-libradius} \
+	--with-libpam \
+	--with-libldap \
 	--enable-shared
 
-%{__make}
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -190,6 +200,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.56  2007/07/21 11:42:55  arekm
+- up to 0.7 rc1
+
 Revision 1.55  2007/04/08 21:50:33  zawadaa
 - up to 0.6.7
 - fixes a DoS in informationnal messages handling (CVE-2007-1841)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ipsec-tools.spec?r1=1.55&r2=1.56&f=u



More information about the pld-cvs-commit mailing list