1 |
# $Id: smeserver-password.spec,v 1.3 2021/03/24 08:46:36 brianr Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
%define name smeserver-password |
6 |
%define version 1.2.0 |
7 |
%define release 13 |
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.xz |
16 |
Patch0: smeserver-password-1.0.0-locale-2014-06-08.patch |
17 |
Patch1: smeserver-password-1.2.0-fix-password-aging.patch |
18 |
Patch2: smeserver-password-1.2.0-fix_expire_field.patch |
19 |
Patch3: smeserver-password-1.2.0-locale-2015-07-01.patch |
20 |
Patch4: smeserver-password-1.2.0-locale-2016-03-09.patch |
21 |
Patch5: smeserver-password-1.2.0-Add-Update-event-to-createlinks.patch |
22 |
Patch6: smeserver-password-1.2.0-locale-2021-08-23.patch |
23 |
|
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
26 |
BuildRequires: e-smith-devtools |
27 |
Requires: e-smith-formmagick >= 1.4.0-12 |
28 |
|
29 |
%description |
30 |
Smeserver addon panel to change password strength and password ageing |
31 |
|
32 |
%changelog |
33 |
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.2.0-13.sme |
34 |
- apply locale 2021-08-23 patch |
35 |
|
36 |
* Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.2.0-12.sme |
37 |
- Add Update event to createlinks [SME: 11034] |
38 |
|
39 |
* Wed Mar 24 2021 BogusDateBot |
40 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
41 |
by assuming the date is correct and changing the weekday. |
42 |
Mon May 07 2008 --> Mon May 05 2008 or Wed May 07 2008 or Mon May 12 2008 or .... |
43 |
Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or .... |
44 |
|
45 |
* Tue Oct 13 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.0-11.sme |
46 |
- Initial import to SME10 tree [SME: 11034] |
47 |
|
48 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.2.0-10.sme |
49 |
- apply locale 2016-03-09 patch |
50 |
|
51 |
* Wed Jul 1 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-9 |
52 |
- add smeserver-password-1.2.0-locale-2015-07-01.patch [SME: 8968] |
53 |
|
54 |
* Tue Feb 10 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-7 |
55 |
- Fix the expire field error [SME: 8823] |
56 |
- code done by Stefano Zamboni <zamboni@mind-at-work.it> |
57 |
|
58 |
* Fri Feb 06 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-6 |
59 |
- Add Update event to createlinks password aging [SME: 8823] |
60 |
|
61 |
* Sun Jun 08 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-2 |
62 |
- Initial release to contribs9 |
63 |
- Added locale smeserver-password-1.0.0-locale-2014-06-08.patch |
64 |
|
65 |
* Wed Jun 04 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-1 |
66 |
- Initial release to sme9 |
67 |
|
68 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0.0-32.sme |
69 |
- apply locale 2013-07-14 patch |
70 |
- also fix for some languages [SME: 4920] |
71 |
|
72 |
* Sat Jun 22 2013 JP Pialasse <tests@pialasse.com> 1.0.0-31.sme |
73 |
- workaround for fixing [SME: 5915] |
74 |
|
75 |
* Thu Jun 20 2013 JP Pialasse <tests@pialasse.com> 1.0.0-30.sme |
76 |
- Add Update event to createlinks english translation of panel [SME: 4920] |
77 |
- Add Update event to createlinks Error saving password properties [SME: 7038] |
78 |
- Add Update event to createlinks deselecting a user and saving has not effect [SME: 5915] |
79 |
- porting to sme8 |
80 |
|
81 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0.0-27.sme |
82 |
- apply locale 2011-03-06 patch |
83 |
|
84 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.0.0-26.sme |
85 |
- apply locale 2010-03-02 patch |
86 |
|
87 |
* Wed Oct 21 2009 SME Translation Server <translations@contribs.org> 1.0.0-25.sme |
88 |
- apply locale 2009-10-21 patch |
89 |
|
90 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0.0-24.sme |
91 |
- apply locale 2009-08-24 patch |
92 |
|
93 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.0.0-23.sme |
94 |
- apply locale 2009-05-20 patch |
95 |
|
96 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0.0-22.sme |
97 |
- apply locale 2009-04-27 patch |
98 |
|
99 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-21 |
100 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
101 |
|
102 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-20 |
103 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
104 |
|
105 |
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-19 |
106 |
- Apply 5 Nov 2008 locale patch |
107 |
|
108 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-18 |
109 |
- Apply 14 Oct 2008 locale patch |
110 |
|
111 |
* Sun Sep 28 2008 Stephen Noble <support@dungog.net> - 1.0.0-17 |
112 |
- Apply locale patch |
113 |
|
114 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-16 |
115 |
- Apply 1 July 2008 locale patch |
116 |
|
117 |
* Fri May 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-15 |
118 |
- Apply 30 May 2008 locale patch |
119 |
|
120 |
* Sat May 24 2008 Stephen Noble <support@dungog.net> - 1.0.0-14 |
121 |
- rewrite user-passwd-expiration [SME 4361] |
122 |
|
123 |
* Wed May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-13 |
124 |
Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or .... |
125 |
- Apply 21 May 2008 locale patch |
126 |
- Fixing changelog version entries |
127 |
|
128 |
* Wed May 07 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-12 |
129 |
Mon May 07 2008 --> Mon May 05 2008 or Wed May 07 2008 or Mon May 12 2008 or .... |
130 |
- Apply 7 May 2008 locale patch |
131 |
- Removed missing patch of 5 May 2008, seems not committed and is |
132 |
superseeded by the one from 7 May 2008 |
133 |
|
134 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-11 |
135 |
- Apply 5 May 2008 locale patch |
136 |
|
137 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-10 |
138 |
- Add common <base> tags to e-smith-formmagick's general |
139 |
|
140 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-9 |
141 |
- Added 22 April 2008 locale patch |
142 |
- Moved db defaults out of spec file |
143 |
|
144 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0.0-8 |
145 |
- Update to UTF-8 translations |
146 |
|
147 |
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0.0-7 |
148 |
- update locale 2008-03-11 |
149 |
|
150 |
* Sat Mar 01 2008 Stephen Noble <support@dungog.net> - 1.0.0-6 |
151 |
- build on smecontribs |
152 |
- default password aging = no |
153 |
|
154 |
* Sat Mar 01 2008 Stephen Noble <support@dungog.net> - 1.0.0-5 |
155 |
- removed Italian lexicon for now |
156 |
- removed <trans> values in general |
157 |
- moved from collaboration to security |
158 |
|
159 |
* Wed Jun 20 2007 Blaz <gxs@sishell.net>,Stefano Zamboni <zamboni@mind-at-work.it> |
160 |
- 1.0.0-04 |
161 |
- Added functions to lock account and reset password age |
162 |
|
163 |
* Wed Jan 24 2007 Blaz <gxs@sishell.net> |
164 |
- 1.0.0-03 |
165 |
- Cosmetics fixes |
166 |
- English typos fixing |
167 |
|
168 |
* Wed Jan 24 2007 Stefano Zamboni <zamboni@mind-at-work.it> |
169 |
- 1.0.0-02 |
170 |
- completed english translation |
171 |
|
172 |
* Fri Jan 12 2007 Stefano Zamboni <zamboni@mind-at-work.it> |
173 |
- 1.0.0-01 |
174 |
- Original version |
175 |
|
176 |
%prep |
177 |
%setup |
178 |
%patch0 -p1 |
179 |
%patch1 -p1 |
180 |
%patch2 -p1 |
181 |
%patch3 -p1 |
182 |
%patch4 -p1 |
183 |
%patch5 -p1 |
184 |
%patch6 -p1 |
185 |
|
186 |
%build |
187 |
LEXICONS=$(find root/etc/e-smith/locale/ -type f ) |
188 |
|
189 |
for lexicon in $LEXICONS |
190 |
do |
191 |
/sbin/e-smith/validate-lexicon $lexicon |
192 |
done |
193 |
|
194 |
perl createlinks |
195 |
|
196 |
%install |
197 |
rm -rf $RPM_BUILD_ROOT |
198 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
199 |
rm -f %{name}-%{version}-filelist |
200 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
201 |
%clean |
202 |
rm -rf $RPM_BUILD_ROOT |
203 |
%post |
204 |
true |
205 |
%postun |
206 |
true |
207 |
%files -f %{name}-%{version}-filelist |
208 |
%defattr(-,root,root) |