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