SPECS: openvpn-plugin-auth-ldap.spec - update to 2.0.3

glen glen at pld-linux.org
Tue Dec 2 14:14:03 CET 2008


Author: glen                         Date: Tue Dec  2 13:14:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 2.0.3

---- Files affected:
SPECS:
   openvpn-plugin-auth-ldap.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/openvpn-plugin-auth-ldap.spec
diff -u SPECS/openvpn-plugin-auth-ldap.spec:1.9 SPECS/openvpn-plugin-auth-ldap.spec:1.10
--- SPECS/openvpn-plugin-auth-ldap.spec:1.9	Sat Nov  3 03:10:03 2007
+++ SPECS/openvpn-plugin-auth-ldap.spec	Tue Dec  2 14:13:57 2008
@@ -1,20 +1,25 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_with	tests		# build without tests
+#
 Summary:	OpenVPN Auth-LDAP Plugin
 Summary(pl.UTF-8):	Wtyczka Auth-LDAP dla OpenVPN
 Name:		openvpn-plugin-auth-ldap
-Version:	1.0.3
-Release:	0.1
+Version:	2.0.3
+Release:	1
 License:	BSD
 Group:		Applications
-Source0:	http://www.opendarwin.org/~landonf/software/openvpn-auth-ldap/auth-ldap-%{version}.tar.gz
-# Source0-md5:	955f8f06962acb08e4da62f77fc41131
-Patch0:		%{name}-make.patch
-URL:		http://www.opendarwin.org/~landonf/software/openvpn-auth-ldap/
+Source0:	http://openvpn-auth-ldap.googlecode.com/files/auth-ldap-%{version}.tar.gz
+# Source0-md5:	03dedc57efc8d4fc2ffe2c014121299d
+URL:		http://code.google.com/p/openvpn-auth-ldap/
+Patch0:	%{name}-make.patch
 BuildRequires:	autoconf
 BuildRequires:	automake
+%{?with_tests:BuildRequires:	check}
 BuildRequires:	gcc-objc
-BuildRequires:	openldap-devel >= 2.4.6
+BuildRequires:	openldap-devel
 BuildRequires:	openvpn-devel
+BuildRequires:	re2c
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_libdir		%{_prefix}/%{_lib}/openvpn/plugins
@@ -36,9 +41,11 @@
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
+cp -f /usr/share/automake/config.sub .
 %configure \
-	--with-openldap=%{_prefix} \
-	--with-openvpn=%{_prefix}
+	--with-check=%{!?with_check:/proc}%{?with_check:/usr} \
+	--with-openldap=/usr \
+	--with-openvpn=/usr
 
 %{__make}
 
@@ -48,7 +55,7 @@
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
-install auth-ldap.conf $RPM_BUILD_ROOT%{_sysconfdir}
+cp -a auth-ldap.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -65,6 +72,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2008/12/02 13:13:57  glen
+- update to 2.0.3
+
 Revision 1.9  2007/11/03 02:10:03  baggins
 - updated openldap BR/R to 2.4.6
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/openvpn-plugin-auth-ldap.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list