1 |
jpp |
1.4 |
# $Id: smeserver-audittools.spec,v 1.3 2021/08/23 04:13:22 jpp Exp $ |
2 |
stephdl |
1.1 |
|
3 |
|
|
Summary: SME Server auditing tools |
4 |
|
|
%define name smeserver-audittools |
5 |
|
|
Name: %{name} |
6 |
|
|
%define version 1.6.0 |
7 |
jpp |
1.4 |
%define release 4 |
8 |
stephdl |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: System Environment/Base |
12 |
|
|
Source: %{name}-%{version}.tar.xz |
13 |
jpp |
1.3 |
Patch0: smeserver-audittools-1.6.0-bz11674-bz11673.patch |
14 |
jpp |
1.4 |
Patch1: smeserver-audittools-1.6.0-bz10880-bz11932.patch |
15 |
|
|
|
16 |
stephdl |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
|
|
BuildArchitectures: noarch |
18 |
|
|
Requires: e-smith-lib |
19 |
|
|
Requires: perl(RPM2) |
20 |
|
|
BuildRequires: e-smith-devtools |
21 |
|
|
|
22 |
|
|
%description |
23 |
|
|
Tools for consistency audits of SME Servers. Useful for determining local |
24 |
|
|
modifications prior to upgrades. |
25 |
|
|
|
26 |
|
|
%changelog |
27 |
jpp |
1.4 |
* Tue Apr 05 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-4.sme |
28 |
|
|
- display yum repo as seen by yum and db [SME: 10880] |
29 |
|
|
- add remi-safe in list of newrpms [SME: 11932] |
30 |
|
|
|
31 |
jpp |
1.3 |
* Mon Aug 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-3.sme |
32 |
|
|
- fix temp event displayed by events audittool [SME: 11674] |
33 |
|
|
- fix links to different rpm rported as modified [SME: 11673] |
34 |
|
|
|
35 |
jpp |
1.2 |
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-2.sme |
36 |
|
|
- add update event [SME: 11161] |
37 |
|
|
|
38 |
stephdl |
1.1 |
* Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6.0-1.sme |
39 |
|
|
- Initial release to sme10 |
40 |
|
|
|
41 |
|
|
* Sun Feb 2 2014 Ian Wells <esmith@wellsi.com> 1.4.0-3.sme |
42 |
|
|
- Add logcheck to help analyse errors in the log files [SME: 8175] |
43 |
|
|
|
44 |
|
|
* Tue Dec 17 2013 Ian Wells <esmith@wellsi.com> 1.4.0-2.sme |
45 |
|
|
- Add an audit for groups, by Stephane de Labrusse [SME: 1208] |
46 |
|
|
|
47 |
|
|
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 1.4.0-1.sme |
48 |
|
|
- Roll new stream for sme9 |
49 |
|
|
|
50 |
|
|
* Sat Nov 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-7.sme |
51 |
|
|
- Fix regular expression to actually replace the colon with a dot [SME: 5572] |
52 |
|
|
|
53 |
|
|
* Sat Nov 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-6.sme |
54 |
|
|
- Undo changes made in 1.2.0-5 [SME: 5572] |
55 |
|
|
- Properly fix output for usernames and groups containing a dot [SME: 5572] |
56 |
|
|
|
57 |
|
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-5.sme |
58 |
|
|
- Remove comment lines from output of aliases [SME: 5572] |
59 |
|
|
|
60 |
|
|
* Thu Nov 5 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-4.sme |
61 |
|
|
- Remove the leading path for yum in newrpms [SME: 5562] |
62 |
|
|
|
63 |
|
|
* Sat Oct 24 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-3.sme |
64 |
|
|
- Revert changes made in [SME: 5417] |
65 |
|
|
|
66 |
|
|
* Sat Aug 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-2.sme |
67 |
|
|
- Sort the output of the repositories audittool alphabetically [SME: 5417] |
68 |
|
|
|
69 |
|
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 1.2.0-1.sme |
70 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
71 |
|
|
|
72 |
|
|
* Thu Aug 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.2-7 |
73 |
|
|
- New tool repositories, lists status of configured repositories [SME: 4438] |
74 |
|
|
|
75 |
|
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 0.0.2-6 |
76 |
|
|
- New tool events, lists modified events [SME: 3419] |
77 |
|
|
|
78 |
|
|
* Sat Jun 16 2007 Stephen Noble <support@dungog.net> 0.0.2-5 |
79 |
|
|
- New tool newrpms, lists installed rpms not in standard repos [SME: 1206] |
80 |
|
|
|
81 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
82 |
|
|
- Clean up spec so package can be built by koji/plague |
83 |
|
|
|
84 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
85 |
|
|
- Update to new release naming. No functional changes. |
86 |
|
|
- Make Packager generic |
87 |
|
|
|
88 |
|
|
* Wed Apr 12 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-03 |
89 |
|
|
- Change status output for templates audit. In particular |
90 |
|
|
OK -> OWNED_BY_RPM. This means that custom templates will appear |
91 |
|
|
as "OWNED_BY_RPM, OVERRIDE" rather than "OK, OVERRIDE". template |
92 |
|
|
fragments should not be placed in templates-custom via RPMs [SME: 792] |
93 |
|
|
|
94 |
|
|
* Thu Mar 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-02 |
95 |
|
|
- Fix output from pseudonyms audit [SME: 792] |
96 |
|
|
- Display commands on stdout and warnings on stderr [SME: 792] |
97 |
|
|
- Complain about pseudonyms with @, but no domain [SME: 792] |
98 |
|
|
- Complain if virtualdomains pseudonym doesn't match accounts db [SME: 792] |
99 |
|
|
|
100 |
|
|
* Thu Mar 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-01 |
101 |
|
|
- Roll new tarball with patches to 0.0.1-10 [SME: 792] |
102 |
|
|
|
103 |
|
|
* Thu Mar 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-10 |
104 |
|
|
- Add pseudonyms audit [SME: 762] |
105 |
|
|
|
106 |
|
|
* Thu Mar 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-09 |
107 |
|
|
- Moved all tools into /sbin/e-smith/audittools to reduce clutter |
108 |
|
|
and make it easier to run all of them [SME: 762] |
109 |
|
|
|
110 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-08 |
111 |
|
|
- audit-users2domains - What email address have been used? [SME: 762] |
112 |
|
|
|
113 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-07 |
114 |
|
|
- Remove verbose option to rpm_status - not used [SME: 762] |
115 |
|
|
|
116 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-06 |
117 |
|
|
- Determine how many RPMs own a template and whether it has been |
118 |
|
|
modified since the install of the RPM [SME: 762] |
119 |
|
|
|
120 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-05 |
121 |
|
|
- Only display commands required for conversion from virtualdomains |
122 |
|
|
hacks to user@domain pseudonyms. These are audit tools - changing |
123 |
|
|
the system should be a separate task [SME: 762] |
124 |
|
|
|
125 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-04 |
126 |
|
|
- Examine custom templates: |
127 |
|
|
- Are they owned by an RPM? |
128 |
|
|
- Are they an override or an addition? |
129 |
|
|
- Examine templates |
130 |
|
|
- Are they owned by an RPM? |
131 |
|
|
- TODO: Have they been modified since the install? [SME: 762] |
132 |
|
|
|
133 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-03 |
134 |
|
|
- First cut at custom template audit [SME: 762] |
135 |
|
|
|
136 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-02 |
137 |
|
|
- Add dependency on perl(RPM2) [SME: 762] |
138 |
|
|
|
139 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-01 |
140 |
|
|
- Initial version [SME: 762] |
141 |
|
|
|
142 |
|
|
%prep |
143 |
|
|
%setup |
144 |
jpp |
1.2 |
mkdir -p root/etc/e-smith/events/%{name}-update |
145 |
jpp |
1.3 |
%patch0 -p1 |
146 |
jpp |
1.4 |
%patch1 -p1 |
147 |
stephdl |
1.1 |
|
148 |
|
|
%build |
149 |
|
|
|
150 |
|
|
%pre |
151 |
|
|
|
152 |
|
|
%post |
153 |
|
|
|
154 |
|
|
%install |
155 |
|
|
rm -rf $RPM_BUILD_ROOT |
156 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
157 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
158 |
|
|
--file /sbin/e-smith/audittools/ 'attr(0554,root,root)' \ |
159 |
|
|
> %{name}-%{version}-%{release}-filelist |
160 |
|
|
|
161 |
|
|
%clean |
162 |
|
|
rm -rf $RPM_BUILD_ROOT |
163 |
|
|
|
164 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
165 |
|
|
%defattr(-,root,root) |