SPECS: openvpn-plugin-auth-ldap.spec (NEW) - new

glen glen at pld-linux.org
Mon Oct 3 18:06:10 CEST 2005


Author: glen                         Date: Mon Oct  3 16:06:10 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   openvpn-plugin-auth-ldap.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/openvpn-plugin-auth-ldap.spec
diff -u /dev/null SPECS/openvpn-plugin-auth-ldap.spec:1.1
--- /dev/null	Mon Oct  3 18:06:10 2005
+++ SPECS/openvpn-plugin-auth-ldap.spec	Mon Oct  3 18:06:05 2005
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+Summary:	OpenVPN Auth-LDAP Plugin
+Name:		openvpn-plugin-auth-ldap
+Version:	1.0.1
+Release:	0.3
+License:	BSD
+Group:		Applications
+Source0:	http://www.opendarwin.org/~landonf/software/openvpn-auth-ldap/auth-ldap-1.0.1.tar.gz
+# Source0-md5:	3f94242db7d9b65d62657e97b799339a
+Patch0:		%{name}-make.patch
+URL:		http://www.opendarwin.org/~landonf/software/openvpn-auth-ldap/
+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		_sysconfdir	/etc/openvpn
+
+%description
+The openvpn-auth-ldap plugin implements username/password
+authentication via LDAP.
+
+%prep
+%setup -q -n auth-ldap-%{version}
+%patch0 -p1
+
+%build
+%{__make} \
+	OPTFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_plugindir}}
+install openvpn-auth-ldap.so $RPM_BUILD_ROOT%{_plugindir}
+install auth-ldap.conf $RPM_BUILD_ROOT%{_sysconfdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README test.c
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+%attr(755,root,root) %{_plugindir}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/10/03 16:06:05  glen
+- new
+
================================================================



More information about the pld-cvs-commit mailing list