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