Lemonldap::NG integration on SME Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
4.3 KiB

13 years ago
# Authority: vip-ire
# Name: Daniel Berteaud
Summary: LemonLDAP NG is a web SSO solution
%define name smeserver-lemonldap-ng
Name: %{name}
%define version 0.2.0
%define release 1
Version: %{version}
Release: %{release}%{?dist}
License: GPL
Group: SME Server
Source: %{name}-%{version}.tar.gz
BuildArchitectures: noarch
BuildRequires: e-smith-devtools
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
Requires: e-smith-base >= 5.2.0-56
Requires: e-smith-ldap
Requires: smeserver-webapps-common >= 0.1-8
Requires: lemonldap-ng
%description
This package contains all the needed scripts and templates
to run LemonLDAP NG on your SME Server. It uses LDAP as authentication source
but can also use SSL auth (either optional with a fallback to LDAP, or SSL required)
%changelog
* Wed Jun 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme
- Import in GIT
* Mon Dec 19 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-22.sme
- Change SSL Auth to work with LocationMatch, so CAS proxy can work with
SSL Auth enabled
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-21.sme
- Disable password reset form
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-20.sme
- Fix uninitilized values in lemonldap conf templates
* Mon Jul 11 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-19.sme
- reserve /lm-reload
* Sun Jul 10 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-18.sme
- Fix notification check
* Sat Jul 09 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-17.sme
- Don't force notifications on
* Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-16.sme
- Enable and configure notifications
* Thu Jun 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-15.sme
- Manage some configuration from the DB
* Fri Mar 11 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-14.sme
- Make LemonLDAP compatible with ocsinventory-ng
* Mon Mar 7 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-13.sme
- Add support for SSL Auth on the portal
- Use a separated vhost for SOAP requests
* Tue Feb 1 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-12.sme
- Requires recent version of smeserver-webapps-common
- Switch to LDAP based auth to protect the manager
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-11.sme
- Fix a spacing issue in httpd templates
* Fri Jan 21 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-10.sme
- Add SSLEngine directives in https virtualhosts
* Fri Jan 21 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-9.sme
- Fix empty SoapPassword
* Thu Jan 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-8.sme
- Fix Soap ressources authentication
* Tue Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-7.sme
- Run the manager as a perl script (instead of CGI mode)
* Tue Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-6.sme
- Use https links for error pages
* Tue Dec 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-5.sme
- use only alphanumeric characters for soap password
- use htpasswd to hash the password
* Tue Dec 28 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-4.sme
- don't load mod_auth_external if not needed
- move cache dir in /var/cache
- Fix several hosts listed in SoapAllowFrom
* Fri Dec 24 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-3.sme
- Use htpasswd file to protect SOAP services
- Configure session storage in lemonldap-ng.ini
- Support additionnal server reload URL
* Fri Dec 17 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-2.sme
- Let the manager be self-protected if ManagerAuth eq self
* Wed Dec 16 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-1.sme
- initial public release
%prep
%setup -q -n %{name}-%{version}
%build
perl createlinks
%{__mkdir_p} root/var/cache/lemonldap-ng
%{__mkdir_p} root/var/lib/lemonldap-ng/notifications
%install
/bin/rm -rf $RPM_BUILD_ROOT
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
/bin/rm -f %{name}-%{version}-filelist
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
--dir /var/cache/lemonldap-ng 'attr(0770,root,www)' \
--dir /var/lib/lemonldap-ng/notifications 'attr(0770,root,www)' \
> %{name}-%{version}-filelist
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)
%clean
rm -rf $RPM_BUILD_ROOT
%post
%preun
true