1 |
# $Id: smeserver-password.spec,v 1.7 2015/02/06 22:15:32 stephdl Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
%define name smeserver-password |
6 |
%define version 1.0.0 |
7 |
%define release 36 |
8 |
|
9 |
Summary: SME Server password panel |
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GNU GPL version 2 |
14 |
Group: Networking/Daemons |
15 |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-password-1.0.0-locale-2008-03-11.patch |
17 |
Patch1: smeserver-password-1.0.0-locale-2008-04-01.patch |
18 |
Patch2: smeserver-password-1.0.0-initdb.patch |
19 |
Patch3: smeserver-password-1.0.0-locale-2008-04-22.patch |
20 |
Patch4: smeserver-password-1.0.0-add2general.patch |
21 |
Patch5: smeserver-password-1.0.0-locale-2008-05-07.patch |
22 |
Patch6: smeserver-password-1.0.0-locale-2008-05-21.patch |
23 |
Patch7: smeserver-password-1.0.0-Acctinfo.patch |
24 |
Patch8: smeserver-password-1.0.0-locale-2008-05-30.patch |
25 |
Patch9: smeserver-password-1.0.0-locale-2008-07-01.patch |
26 |
Patch10: smeserver-password-1.0.0-locale-2008-09-27.patch |
27 |
Patch11: smeserver-password-1.0.0-locale-2008-10-14.patch |
28 |
Patch12: smeserver-password-1.0.0-locale-2008-11-05.patch |
29 |
Patch13: smeserver-password-1.0.0-locale-2009-01-01.patch |
30 |
Patch14: smeserver-password-1.0.0-locale-2009-03-01.patch |
31 |
Patch15: smeserver-password-1.0.0-locale-2009-04-27.patch |
32 |
Patch16: smeserver-password-1.0.0-locale-2009-05-20.patch |
33 |
Patch17: smeserver-password-1.0.0-locale-2009-08-24.patch |
34 |
Patch18: smeserver-password-1.0.0-locale-2009-10-21.patch |
35 |
Patch19: smeserver-password-1.0.0-locale-2010-03-02.patch |
36 |
Patch20: smeserver-password-1.0.0-locale-2011-03-06.patch |
37 |
Patch21: smeserver-password-1.0.0-sme8update.patch |
38 |
Patch22: smeserver-password-1.0.0-epoch.patch |
39 |
Patch23: smeserver-password-1.0.0-locale-2013-07-14.patch |
40 |
Patch24: smeserver-password-1.0.0-locale-2014-06-08.patch |
41 |
Patch25: smeserver-password-1.0.0_uninitialized_value_passwordopt-pm.patch |
42 |
Patch26: smeserver-password-1.0.0-fix-password-aging.patch |
43 |
Patch27: smeserver-password-1.0.0-fix_expire_field.patch |
44 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
45 |
BuildArchitectures: noarch |
46 |
BuildRequires: e-smith-devtools |
47 |
Requires: e-smith-formmagick >= 1.4.0-12 |
48 |
|
49 |
%description |
50 |
Smeserver addon panel to change password strength and password ageing |
51 |
|
52 |
%changelog |
53 |
* Tue Feb 10 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-36 |
54 |
- Fix the expire field error [SME: 8838] |
55 |
- code done by Stefano Zamboni <zamboni@mind-at-work.it> |
56 |
|
57 |
* Fri Feb 06 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-35.sme |
58 |
- Fix password aging [SME: 8838] |
59 |
|
60 |
* Mon Jun 16 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-34.sme |
61 |
- patch against unitialized values |
62 |
- smeserver-password-1.0.0_uninitialized_value_passwordopt-pm.patch |
63 |
|
64 |
* Sun Jun 08 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-33.sme |
65 |
* added locale smeserver-password-1.0.0-locale-2014-06-08.patch |
66 |
|
67 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0.0-32.sme |
68 |
- apply locale 2013-07-14 patch |
69 |
- also fix for some languages [SME: 4920] |
70 |
|
71 |
* Sat Jun 22 2013 JP Pialasse <tests@pialasse.com> 1.0.0-31.sme |
72 |
- workaround for fixing [SME: 5915] |
73 |
|
74 |
* Thu Jun 20 2013 JP Pialasse <tests@pialasse.com> 1.0.0-30.sme |
75 |
- fix english translation of panel [SME: 4920] |
76 |
- fix Error saving password properties [SME: 7038] |
77 |
- fix deselecting a user and saving has not effect [SME: 5915] |
78 |
- porting to sme8 |
79 |
|
80 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0.0-27.sme |
81 |
- apply locale 2011-03-06 patch |
82 |
|
83 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.0.0-26.sme |
84 |
- apply locale 2010-03-02 patch |
85 |
|
86 |
* Wed Oct 21 2009 SME Translation Server <translations@contribs.org> 1.0.0-25.sme |
87 |
- apply locale 2009-10-21 patch |
88 |
|
89 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0.0-24.sme |
90 |
- apply locale 2009-08-24 patch |
91 |
|
92 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.0.0-23.sme |
93 |
- apply locale 2009-05-20 patch |
94 |
|
95 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0.0-22.sme |
96 |
- apply locale 2009-04-27 patch |
97 |
|
98 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-21 |
99 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
100 |
|
101 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-20 |
102 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
103 |
|
104 |
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-19 |
105 |
- Apply 5 Nov 2008 locale patch |
106 |
|
107 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-18 |
108 |
- Apply 14 Oct 2008 locale patch |
109 |
|
110 |
* Sun Sep 28 2008 Stephen Noble <support@dungog.net> - 1.0.0-17 |
111 |
- Apply locale patch |
112 |
|
113 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-16 |
114 |
- Apply 1 July 2008 locale patch |
115 |
|
116 |
* Fri May 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-15 |
117 |
- Apply 30 May 2008 locale patch |
118 |
|
119 |
* Sat May 24 2008 Stephen Noble <support@dungog.net> - 1.0.0-14 |
120 |
- rewrite user-passwd-expiration [SME 4361] |
121 |
|
122 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-13 |
123 |
- Apply 21 May 2008 locale patch |
124 |
- Fixing changelog version entries |
125 |
|
126 |
* Mon May 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-12 |
127 |
- Apply 7 May 2008 locale patch |
128 |
- Removed missing patch of 5 May 2008, seems not committed and is |
129 |
superseeded by the one from 7 May 2008 |
130 |
|
131 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-11 |
132 |
- Apply 5 May 2008 locale patch |
133 |
|
134 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-10 |
135 |
- Add common <base> tags to e-smith-formmagick's general |
136 |
|
137 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-9 |
138 |
- Added 22 April 2008 locale patch |
139 |
- Moved db defaults out of spec file |
140 |
|
141 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0.0-8 |
142 |
- Update to UTF-8 translations |
143 |
|
144 |
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0.0-7 |
145 |
- update locale 2008-03-11 |
146 |
|
147 |
* Sat Mar 01 2008 Stephen Noble <support@dungog.net> - 1.0.0-6 |
148 |
- build on smecontribs |
149 |
- default password aging = no |
150 |
|
151 |
* Sat Mar 01 2008 Stephen Noble <support@dungog.net> - 1.0.0-5 |
152 |
- removed Italian lexicon for now |
153 |
- removed <trans> values in general |
154 |
- moved from collaboration to security |
155 |
|
156 |
* Wed Jun 20 2007 Blaz <gxs@sishell.net>,Stefano Zamboni <zamboni@mind-at-work.it> |
157 |
- 1.0.0-04 |
158 |
- Added functions to lock account and reset password age |
159 |
|
160 |
* Wed Jan 24 2007 Blaz <gxs@sishell.net> |
161 |
- 1.0.0-03 |
162 |
- Cosmetics fixes |
163 |
- English typos fixing |
164 |
|
165 |
* Wed Jan 24 2007 Stefano Zamboni <zamboni@mind-at-work.it> |
166 |
- 1.0.0-02 |
167 |
- completed english translation |
168 |
|
169 |
* Fri Jan 12 2007 Stefano Zamboni <zamboni@mind-at-work.it> |
170 |
- 1.0.0-01 |
171 |
- Original version |
172 |
|
173 |
%prep |
174 |
%setup |
175 |
%patch0 -p1 |
176 |
%patch1 -p1 |
177 |
%patch2 -p1 |
178 |
%patch3 -p1 |
179 |
%patch4 -p1 |
180 |
%patch5 -p1 |
181 |
%patch6 -p1 |
182 |
%patch7 -p1 |
183 |
%patch8 -p1 |
184 |
%patch9 -p1 |
185 |
%patch10 -p1 |
186 |
%patch11 -p1 |
187 |
%patch12 -p1 |
188 |
%patch13 -p1 |
189 |
%patch14 -p1 |
190 |
%patch15 -p1 |
191 |
%patch16 -p1 |
192 |
%patch17 -p1 |
193 |
%patch18 -p1 |
194 |
%patch19 -p1 |
195 |
%patch20 -p1 |
196 |
%patch21 -p1 |
197 |
%patch22 -p1 |
198 |
%patch23 -p1 |
199 |
%patch24 -p1 |
200 |
%patch25 -p1 |
201 |
%patch26 -p1 |
202 |
%patch27 -p1 |
203 |
|
204 |
%build |
205 |
LEXICONS=$(find root/etc/e-smith/locale/ -type f ) |
206 |
|
207 |
for lexicon in $LEXICONS |
208 |
do |
209 |
/sbin/e-smith/validate-lexicon $lexicon |
210 |
done |
211 |
|
212 |
perl createlinks |
213 |
|
214 |
%install |
215 |
rm -rf $RPM_BUILD_ROOT |
216 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
217 |
rm -f %{name}-%{version}-filelist |
218 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
219 |
%clean |
220 |
rm -rf $RPM_BUILD_ROOT |
221 |
%post |
222 |
true |
223 |
%postun |
224 |
true |
225 |
%files -f %{name}-%{version}-filelist |
226 |
%defattr(-,root,root) |