1 |
jpp |
1.1 |
# Authority: vip-ire |
2 |
|
|
# Name: Daniel Berteaud |
3 |
|
|
|
4 |
|
|
Summary: LemonLDAP NG is a web SSO solution |
5 |
|
|
%define name smeserver-lemonldap-ng |
6 |
|
|
Name: %{name} |
7 |
|
|
%define version 0.2.19 |
8 |
|
|
%define release 1 |
9 |
|
|
Version: 0.2.20 |
10 |
|
|
Release: 1%{?dist} |
11 |
|
|
License: GPL |
12 |
|
|
Group: SME Server |
13 |
|
|
Source: %{name}-%{version}.tar.gz |
14 |
|
|
|
15 |
|
|
BuildArchitectures: noarch |
16 |
|
|
|
17 |
|
|
BuildRequires: e-smith-devtools |
18 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
|
|
|
20 |
|
|
Requires: e-smith-base >= 5.2.0-56 |
21 |
|
|
Requires: e-smith-ldap |
22 |
|
|
Requires: smeserver-webapps-common >= 0.1-8 |
23 |
|
|
Requires: lemonldap-ng >= 1.4.1 |
24 |
|
|
Requires: lemonldap-ng-fr-doc |
25 |
|
|
Requires: perl(Authen::Captcha) |
26 |
|
|
|
27 |
|
|
%description |
28 |
|
|
This package contains all the needed scripts and templates |
29 |
|
|
to run LemonLDAP NG on your SME Server. It uses LDAP as authentication source |
30 |
|
|
but can also use SSL auth (either optional with a fallback to LDAP, or SSL required) |
31 |
|
|
|
32 |
|
|
%changelog |
33 |
|
|
* Tue Sep 03 2019 Daniel Berteaud <daniel@firewall-services.com> 0.2.20-1 |
34 |
|
|
- Bump version |
35 |
|
|
|
36 |
|
|
* Tue Sep 03 2019 Daniel Berteaud <daniel@firewall-services.com> 0.2.19-1 |
37 |
|
|
- new package built with tito |
38 |
|
|
|
39 |
|
|
* Wed Feb 15 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.19-1.sme |
40 |
|
|
- Set Access-Control-Allow-Origin on CAS endpoint, need for ticket renew in SOGo |
41 |
|
|
|
42 |
|
|
* Mon Jan 9 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.18-1.sme |
43 |
|
|
- Update httpd template to read the Authentication prop of domain to load |
44 |
|
|
Lemonldap::NG handler |
45 |
|
|
|
46 |
|
|
* Wed Dec 7 2016 Daniel Berteaud <daniel@firewall-services.com> 0.2.17-1.sme |
47 |
|
|
- Replace My::Package with Lemonldap::NG::Handler in default vhost templates |
48 |
|
|
|
49 |
|
|
* Sat Jan 23 2016 Daniel Berteaud <daniel@firewall-services.com> 0.2.16-1.sme |
50 |
|
|
- Don't redirect to https for acme challenges |
51 |
|
|
|
52 |
|
|
* Wed Oct 14 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2.15-1.sme |
53 |
|
|
- Fix DL icon size |
54 |
|
|
|
55 |
|
|
* Fri Sep 5 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.14-1.sme |
56 |
|
|
- Define localSessionStorage to prevent clashes between handlers |
57 |
|
|
|
58 |
|
|
* Wed Jul 30 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.13-1.sme |
59 |
|
|
- Add icons for mailman and phplist |
60 |
|
|
|
61 |
|
|
* Tue Jul 1 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.12-1.sme |
62 |
|
|
- Adapt for LL::NG 1.4.1 (1.4.0 was too buggy) |
63 |
|
|
|
64 |
|
|
* Wed Dec 11 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.11-1.sme |
65 |
|
|
- Add an icon for DL |
66 |
|
|
|
67 |
|
|
* Wed Nov 20 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.10-1.sme |
68 |
|
|
- Add an icon for pydio |
69 |
|
|
|
70 |
|
|
* Mon Nov 18 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.9-1.sme |
71 |
|
|
- Add two new icons (rdv.png and survey.png) |
72 |
|
|
|
73 |
|
|
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.8-1.sme |
74 |
|
|
- compatibility with SME9 (perl lib path) |
75 |
|
|
|
76 |
|
|
* Mon Nov 4 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.7-1.sme |
77 |
|
|
- Requires perl(Authen::Captcha) for LL::NG 1.3.0 |
78 |
|
|
|
79 |
|
|
* Tue Sep 17 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.6-1.sme |
80 |
|
|
- Small modifications to support SOGo CAS auth |
81 |
|
|
- Enable CAS auth |
82 |
|
|
|
83 |
|
|
* Wed Aug 21 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.5-1.sme |
84 |
|
|
- Move custom icons to the correct directory |
85 |
|
|
|
86 |
|
|
* Wed Aug 21 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.4-1.sme |
87 |
|
|
- Add custom icons for the portal |
88 |
|
|
|
89 |
|
|
* Tue Sep 4 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.3-1.sme |
90 |
|
|
- Use Authentication prop instead of LemonLDAP |
91 |
|
|
|
92 |
|
|
* Wed Jun 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.2-1.sme |
93 |
|
|
- Redirect to HTTPS on port 443 |
94 |
|
|
|
95 |
|
|
* Wed Jun 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1.sme |
96 |
|
|
- Add optional floating menu per vhost |
97 |
|
|
|
98 |
|
|
* Wed Jun 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme |
99 |
|
|
- Import in GIT |
100 |
|
|
- Remove the grantSessionRule param |
101 |
|
|
- Log via syslog (auth) |
102 |
|
|
|
103 |
|
|
* Mon Dec 19 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-22.sme |
104 |
|
|
- Change SSL Auth to work with LocationMatch, so CAS proxy can work with |
105 |
|
|
SSL Auth enabled |
106 |
|
|
|
107 |
|
|
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-21.sme |
108 |
|
|
- Disable password reset form |
109 |
|
|
|
110 |
|
|
* Wed Jul 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-20.sme |
111 |
|
|
- Fix uninitilized values in lemonldap conf templates |
112 |
|
|
|
113 |
|
|
* Mon Jul 11 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-19.sme |
114 |
|
|
- reserve /lm-reload |
115 |
|
|
|
116 |
|
|
* Sun Jul 10 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-18.sme |
117 |
|
|
- Fix notification check |
118 |
|
|
|
119 |
|
|
* Sat Jul 09 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-17.sme |
120 |
|
|
- Don't force notifications on |
121 |
|
|
|
122 |
|
|
* Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-16.sme |
123 |
|
|
- Enable and configure notifications |
124 |
|
|
|
125 |
|
|
* Thu Jun 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-15.sme |
126 |
|
|
- Manage some configuration from the DB |
127 |
|
|
|
128 |
|
|
* Fri Mar 11 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-14.sme |
129 |
|
|
- Make LemonLDAP compatible with ocsinventory-ng |
130 |
|
|
|
131 |
|
|
* Mon Mar 7 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-13.sme |
132 |
|
|
- Add support for SSL Auth on the portal |
133 |
|
|
- Use a separated vhost for SOAP requests |
134 |
|
|
|
135 |
|
|
* Tue Feb 1 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-12.sme |
136 |
|
|
- Requires recent version of smeserver-webapps-common |
137 |
|
|
- Switch to LDAP based auth to protect the manager |
138 |
|
|
|
139 |
|
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-11.sme |
140 |
|
|
- Fix a spacing issue in httpd templates |
141 |
|
|
|
142 |
|
|
* Fri Jan 21 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-10.sme |
143 |
|
|
- Add SSLEngine directives in https virtualhosts |
144 |
|
|
|
145 |
|
|
* Fri Jan 21 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-9.sme |
146 |
|
|
- Fix empty SoapPassword |
147 |
|
|
|
148 |
|
|
* Thu Jan 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-8.sme |
149 |
|
|
- Fix Soap ressources authentication |
150 |
|
|
|
151 |
|
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-7.sme |
152 |
|
|
- Run the manager as a perl script (instead of CGI mode) |
153 |
|
|
|
154 |
|
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-6.sme |
155 |
|
|
- Use https links for error pages |
156 |
|
|
|
157 |
|
|
* Thu Dec 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-5.sme |
158 |
|
|
- use only alphanumeric characters for soap password |
159 |
|
|
- use htpasswd to hash the password |
160 |
|
|
|
161 |
|
|
* Tue Dec 28 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-4.sme |
162 |
|
|
- don't load mod_auth_external if not needed |
163 |
|
|
- move cache dir in /var/cache |
164 |
|
|
- Fix several hosts listed in SoapAllowFrom |
165 |
|
|
|
166 |
|
|
* Fri Dec 24 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-3.sme |
167 |
|
|
- Use htpasswd file to protect SOAP services |
168 |
|
|
- Configure session storage in lemonldap-ng.ini |
169 |
|
|
- Support additionnal server reload URL |
170 |
|
|
|
171 |
|
|
* Fri Dec 17 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-2.sme |
172 |
|
|
- Let the manager be self-protected if ManagerAuth eq self |
173 |
|
|
|
174 |
|
|
* Thu Dec 16 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-1.sme |
175 |
|
|
- initial public release |
176 |
|
|
|
177 |
|
|
%prep |
178 |
|
|
%setup -q -n %{name}-%{version} |
179 |
|
|
|
180 |
|
|
%build |
181 |
|
|
perl createlinks |
182 |
|
|
%{__mkdir_p} root/var/cache/lemonldap-ng |
183 |
|
|
%{__mkdir_p} root/var/lib/lemonldap-ng/notifications |
184 |
|
|
|
185 |
|
|
%install |
186 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
187 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
188 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
189 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
190 |
|
|
--dir /var/cache/lemonldap-ng 'attr(0770,root,www)' \ |
191 |
|
|
--dir /var/lib/lemonldap-ng/notifications 'attr(0770,root,www)' \ |
192 |
|
|
> %{name}-%{version}-filelist |
193 |
|
|
|
194 |
|
|
%files -f %{name}-%{version}-filelist |
195 |
|
|
%defattr(-,root,root) |
196 |
|
|
|
197 |
|
|
%clean |
198 |
|
|
rm -rf $RPM_BUILD_ROOT |
199 |
|
|
|
200 |
|
|
%post |
201 |
|
|
|
202 |
|
|
%preun |
203 |
|
|
|
204 |
|
|
true |