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