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