1 |
# $Id: smeserver-password.spec,v 1.2 2020/10/13 11:50:56 brianr Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
%define name smeserver-password |
6 |
%define version 1.2.0 |
7 |
%define release 12 |
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 |
|
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 |
* Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.2.0-12.sme |
34 |
- Add Update event to createlinks [SME: 11034] |
35 |
|
36 |
* Wed Mar 24 2021 BogusDateBot |
37 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
38 |
by assuming the date is correct and changing the weekday. |
39 |
Mon May 07 2008 --> Mon May 05 2008 or Wed May 07 2008 or Mon May 12 2008 or .... |
40 |
Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or .... |
41 |
|
42 |
* Tue Oct 13 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.0-11.sme |
43 |
- Initial import to SME10 tree [SME: 11034] |
44 |
|
45 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.2.0-10.sme |
46 |
- apply locale 2016-03-09 patch |
47 |
|
48 |
* Wed Jul 1 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-9 |
49 |
- add smeserver-password-1.2.0-locale-2015-07-01.patch [SME: 8968] |
50 |
|
51 |
* Tue Feb 10 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-7 |
52 |
- Fix the expire field error [SME: 8823] |
53 |
- code done by Stefano Zamboni <zamboni@mind-at-work.it> |
54 |
|
55 |
* Fri Feb 06 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-6 |
56 |
- Add Update event to createlinks password aging [SME: 8823] |
57 |
|
58 |
* Sun Jun 08 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-2 |
59 |
- Initial release to contribs9 |
60 |
- Added locale smeserver-password-1.0.0-locale-2014-06-08.patch |
61 |
|
62 |
* Wed Jun 04 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-1 |
63 |
- Initial release to sme9 |
64 |
|
65 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0.0-32.sme |
66 |
- apply locale 2013-07-14 patch |
67 |
- also fix for some languages [SME: 4920] |
68 |
|
69 |
* Sat Jun 22 2013 JP Pialasse <tests@pialasse.com> 1.0.0-31.sme |
70 |
- workaround for fixing [SME: 5915] |
71 |
|
72 |
* Thu Jun 20 2013 JP Pialasse <tests@pialasse.com> 1.0.0-30.sme |
73 |
- Add Update event to createlinks english translation of panel [SME: 4920] |
74 |
- Add Update event to createlinks Error saving password properties [SME: 7038] |
75 |
- Add Update event to createlinks deselecting a user and saving has not effect [SME: 5915] |
76 |
- porting to sme8 |
77 |
|
78 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0.0-27.sme |
79 |
- apply locale 2011-03-06 patch |
80 |
|
81 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.0.0-26.sme |
82 |
- apply locale 2010-03-02 patch |
83 |
|
84 |
* Wed Oct 21 2009 SME Translation Server <translations@contribs.org> 1.0.0-25.sme |
85 |
- apply locale 2009-10-21 patch |
86 |
|
87 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0.0-24.sme |
88 |
- apply locale 2009-08-24 patch |
89 |
|
90 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.0.0-23.sme |
91 |
- apply locale 2009-05-20 patch |
92 |
|
93 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0.0-22.sme |
94 |
- apply locale 2009-04-27 patch |
95 |
|
96 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-21 |
97 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
98 |
|
99 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-20 |
100 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
101 |
|
102 |
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-19 |
103 |
- Apply 5 Nov 2008 locale patch |
104 |
|
105 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-18 |
106 |
- Apply 14 Oct 2008 locale patch |
107 |
|
108 |
* Sun Sep 28 2008 Stephen Noble <support@dungog.net> - 1.0.0-17 |
109 |
- Apply locale patch |
110 |
|
111 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-16 |
112 |
- Apply 1 July 2008 locale patch |
113 |
|
114 |
* Fri May 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-15 |
115 |
- Apply 30 May 2008 locale patch |
116 |
|
117 |
* Sat May 24 2008 Stephen Noble <support@dungog.net> - 1.0.0-14 |
118 |
- rewrite user-passwd-expiration [SME 4361] |
119 |
|
120 |
* Wed May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-13 |
121 |
Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or .... |
122 |
- Apply 21 May 2008 locale patch |
123 |
- Fixing changelog version entries |
124 |
|
125 |
* Wed May 07 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-12 |
126 |
Mon May 07 2008 --> Mon May 05 2008 or Wed May 07 2008 or Mon May 12 2008 or .... |
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 |
|
182 |
|
183 |
%build |
184 |
LEXICONS=$(find root/etc/e-smith/locale/ -type f ) |
185 |
|
186 |
for lexicon in $LEXICONS |
187 |
do |
188 |
/sbin/e-smith/validate-lexicon $lexicon |
189 |
done |
190 |
|
191 |
perl createlinks |
192 |
|
193 |
%install |
194 |
rm -rf $RPM_BUILD_ROOT |
195 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
196 |
rm -f %{name}-%{version}-filelist |
197 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
198 |
%clean |
199 |
rm -rf $RPM_BUILD_ROOT |
200 |
%post |
201 |
true |
202 |
%postun |
203 |
true |
204 |
%files -f %{name}-%{version}-filelist |
205 |
%defattr(-,root,root) |