SPECS: openvpn-plugin-auth-ldap.spec - updated to 1.0.3. this vers...

glen glen at pld-linux.org
Sat Jan 21 00:59:36 CET 2006


Author: glen                         Date: Fri Jan 20 23:59:36 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.0.3. this version has strlcpy.c in sources

---- Files affected:
SPECS:
   openvpn-plugin-auth-ldap.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/openvpn-plugin-auth-ldap.spec
diff -u SPECS/openvpn-plugin-auth-ldap.spec:1.4 SPECS/openvpn-plugin-auth-ldap.spec:1.5
--- SPECS/openvpn-plugin-auth-ldap.spec:1.4	Fri Oct  7 00:10:38 2005
+++ SPECS/openvpn-plugin-auth-ldap.spec	Sat Jan 21 00:59:29 2006
@@ -2,21 +2,21 @@
 Summary:	OpenVPN Auth-LDAP Plugin
 Summary(pl):	Wtyczka Auth-LDAP dla OpenVPN
 Name:		openvpn-plugin-auth-ldap
-Version:	1.0.1
-Release:	0.4
+Version:	1.0.3
+Release:	0.1
 License:	BSD
 Group:		Applications
-Source0:	http://www.opendarwin.org/~landonf/software/openvpn-auth-ldap/auth-ldap-1.0.1.tar.gz
-# Source0-md5:	3f94242db7d9b65d62657e97b799339a
+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/
+BuildRequires:	autoconf
 BuildRequires:	gcc-objc
-BuildRequires:	libstrlcpy-devel
 BuildRequires:	openldap-devel
 BuildRequires:	openvpn-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_plugindir	%{_libdir}/openvpn/plugins
+%define		_libdir		%{_prefix}/%{_lib}/openvpn/plugins
 %define		_sysconfdir	/etc/openvpn
 
 %description
@@ -32,14 +32,20 @@
 %patch0 -p1
 
 %build
-%{__make} \
-	OPTFLAGS="%{rpmcflags}" \
-	LDFLAGS="%{rpmldflags}"
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%configure \
+  --with-openldap=%{_prefix} \
+  --with-openvpn=%{_prefix}
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_plugindir}}
-install openvpn-auth-ldap.so $RPM_BUILD_ROOT%{_plugindir}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_libdir}}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 install auth-ldap.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
 %clean
@@ -47,9 +53,9 @@
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE README test.c
+%doc LICENSE README
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
-%attr(755,root,root) %{_plugindir}/*
+%attr(755,root,root) %{_libdir}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -57,6 +63,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2006/01/20 23:59:29  glen
+- updated to 1.0.3. this version has strlcpy.c in sources
+
 Revision 1.4  2005/10/06 22:10:38  glen
 - I was on right track, TODO removed :)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openvpn-plugin-auth-ldap.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list