1 |
Summary: Expire and archive user accounts |
2 |
Name: smeserver-expire-accounts |
3 |
Version: 0.1.8 |
4 |
Release: 6 |
5 |
License: MIT |
6 |
Group: Applications/System |
7 |
Source: %{name}-%{version}.tar.gz |
8 |
Patch0: smeserver-expire-accounts-0.1.8-locale-2022-08-23.patch |
9 |
Patch1: smeserver-expire-accounts-0.1.8-locale-2024-09-05.patch |
10 |
|
11 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
12 |
BuildArchitectures: noarch |
13 |
BuildRequires: e-smith-devtools |
14 |
BuildRequires: gettext |
15 |
|
16 |
Requires: e-smith-base >= 5.2.0 |
17 |
Requires: qmail |
18 |
Requires: qmail-autoresponder |
19 |
Requires: perl(DateTime) |
20 |
Requires: xz |
21 |
Requires: /bin/tar |
22 |
Provides: perl(esmith::FormMagick::Panel::expireaccounts) |
23 |
|
24 |
%description |
25 |
With this, you can set an expiration date for user accounts |
26 |
|
27 |
%prep |
28 |
%setup -q -n %{name}-%{version} |
29 |
%patch0 -p1 |
30 |
%patch1 -p1 |
31 |
|
32 |
%build |
33 |
perl createlinks |
34 |
/sbin/e-smith/generate-lexicons |
35 |
%{__mkdir_p} root/etc/e-smith/events/%{name}-update |
36 |
%{__mkdir_p} root/home/e-smith/files/archives/users |
37 |
|
38 |
%install |
39 |
/bin/rm -rf $RPM_BUILD_ROOT |
40 |
(cd root; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
41 |
/bin/rm -f %{name}-%{version}-filelist |
42 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
43 |
--dir /home/e-smith/files/archives 'attr(0750,root,root)' \ |
44 |
> %{name}-%{version}-filelist |
45 |
|
46 |
%clean |
47 |
rm -rf $RPM_BUILD_ROOT |
48 |
|
49 |
%files -f %{name}-%{version}-filelist |
50 |
%defattr(-,root,root) |
51 |
|
52 |
%pre |
53 |
|
54 |
%post |
55 |
|
56 |
%preun |
57 |
|
58 |
%changelog |
59 |
* Thu Sep 05 2024 Terry Fage <terry@fage.id.au> 0.1.8-6.sme |
60 |
- apply locale 2024-09-05.patch |
61 |
|
62 |
* Sun Aug 21 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.8-5.sme |
63 |
- apply smeserver-expire-accounts-0.1.8-locale-2022-08-23 |
64 |
|
65 |
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.8-3.sme |
66 |
- import to contribs 10 [SME: 12135] |
67 |
|
68 |
* Thu Jul 15 2021 Daniel Berteaud <daniel@firewall-services.com> 0.1.8-1 |
69 |
- Typo (daniel@firewall-services.com) |
70 |
|
71 |
* Mon Mar 08 2021 Daniel Berteaud <daniel@firewall-services.com> 0.1.7-1 |
72 |
- new package built with tito |
73 |
|
74 |
* Mon Mar 8 2021 Daniel Berteaud <daniel@firewall-services.com> - 0.1.7-1.sme |
75 |
- Suspend email delivery during archiving |
76 |
- Licence is MIT |
77 |
- Rebuild using tito |
78 |
|
79 |
* Mon May 30 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.6-1.sme |
80 |
- Fix a typo in en-us locale label for DESC_WARN_USER |
81 |
|
82 |
* Wed May 11 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.5-1.sme |
83 |
- Use xz as default compression format |
84 |
|
85 |
* Tue Apr 12 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.4-1.sme |
86 |
- Accept current day as a future date |
87 |
- Requires xz |
88 |
|
89 |
* Tue Apr 12 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.3-1.sme |
90 |
- Add tar in the archives extension |
91 |
|
92 |
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.2-1.sme |
93 |
- Only list expired accounts in the inactive accounts table |
94 |
|
95 |
* Mon Apr 4 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1.sme |
96 |
- Fix permissions on /home/e-smith/files/archives |
97 |
|
98 |
* Wed Mar 30 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1.sme |
99 |
- Initial release |