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